Commit graph

429 commits

Author SHA1 Message Date
BJRambo
3006bfe598 Cleanup code like 99d1633a69 2020-06-15 19:33:54 +09:00
BJRambo
99d1633a69 Cleanup code 2020-06-15 19:30:06 +09:00
BJRambo
32bbdb0d50 Simplify unnecessary inspection operations 2020-06-14 20:27:03 +09:00
BJRambo
ce4f6133cc Add comment to uploadImage funtion 2020-06-14 15:05:06 +09:00
BJRambo
6516984dc0 do not use Curl and send more that two message, create a group to improve text message.
* messages 혹은 $options->to 으로 넘어오는 전화번호의 갯수의 의해 문자를 2건 이상 전송할 경우 무조건 그룹메세지를 통해 전송하도록 고침.
* static선언하는 메소드들을 전부 static선언을 지움
* 최종 요청을 FileHandler::getRemoteResource() 으로 처리하도록 고침
2020-06-14 14:53:48 +09:00
BJRambo
a925f68871 Add to image upload for SolAPI driver 2020-06-13 21:43:06 +09:00
BJRambo
8c4e300f1a Add SolAPI driver for SMS 2020-06-13 20:19:45 +09:00
Kijin Sung
ae36419ee7 Remove temporary fix for session domain
2020년 3월 한때 develop 브랜치에서 세션 도메인이 잘못 지정되었던 문제를
우회하기 위해 삽입했던 임시 코드를 삭제 또는 주석처리함.

문제가 있던 당시에 develop 브랜치로 업데이트했던 일부 사이트 외에는
필요하지 않은 코드이므로, master 머지를 앞두고 제거함.

참고: #1264
2020-04-21 22:49:02 +09:00
Kijin Sung
04bb0493c7 Implement SameSite cookie policy
- 세션 쿠키, 세션 보안키 등에 SameSite 속성을 적용할 수 있는 기능 추가
  (시스템 설정 -> 보안 설정)
- 일반적인 사이트는 Lax를 권장함, PG사 연동 오류 등의 경우 None 사용
- None 사용시 크롬 80부터는 SSL 전용 세션으로 지정해야 함
- Rhymix\Framework\Session에서 쿠키 관련 루틴들 정리
- PHP 7.3 이상, 7.2 이하 버전으로 나누어 처리
2020-04-21 22:39:10 +09:00
Kijin Sung
2284fb7128 Remove excess dots from filenames #1251 2020-04-16 17:46:39 +09:00
Kijin Sung
10ef0dd33d Rename Leafo\ScssPhp to ScssPhp\ScssPhp 2020-04-08 00:11:50 +09:00
Kijin Sung
255352df62 Fix #942 SSO error when CSRF token checking is enabled 2020-04-07 23:43:14 +09:00
Kijin Sung
dc9c137243 Fix all functions relying on domain from Session::_getParams() 2020-04-05 14:33:39 +09:00
Kijin Sung
99bab256b3 Regenerate session cookie after removing conflict 2020-04-05 00:43:04 +09:00
Kijin Sung
d0df41d232 Clean conflicting cookies from current host if needed 2020-04-05 00:39:48 +09:00
Kijin Sung
f7c67b54fd Set session domain to null by default 2020-04-04 23:13:09 +09:00
Kijin Sung
03160fe0ca Remove leading dot from session domain consistently 2020-04-04 17:02:18 +09:00
Kijin Sung
95f0caafcc Rename session.override_domains to session.conflict_domains
- 설정 이름을 바꾸어 기존에 설정된 것 무효화
- 도메인 없이 setcookie()하는 부분을 모두 찾아 도메인 지정
2020-03-30 23:02:14 +09:00
Kijin Sung
3ca551e5f2 Fix multidomain not working when domain is IDN 2020-03-26 22:12:33 +09:00
Kijin Sung
4f9fab5e8b Add MIME types for common executables and package formats 2020-03-24 01:07:07 +09:00
Kijin Sung
7633bc7b3a Add option to exclude multimedia files from direct download #1207 2020-03-23 01:52:57 +09:00
Kijin Sung
342c011a6c Add functions for converting between country codes and calling codes 2020-03-18 21:02:23 +09:00
Kijin Sung
9b4b07b29d Revert "Fix filename encoding for Android 10 webview #1251"
이 패치는 효과가 없는 것으로 밝혀졌으므로 취소함
짧은주소 다운로드 기능으로 대체함
2020-03-15 00:56:15 +09:00
Kijin Sung
78e575f17b Fix filename encoding for Android 10 webview #1251 2020-03-11 16:58:09 +09:00
Kijin Sung
4ac0a6bf66 Use RX_WINDOWS constant in core and file module 2020-02-14 16:16:33 +09:00
conory
482985aa4a 윈도우에서 실행파일을 체크하지 못하는 문제 수정
https://xetown.com/questions/1333742
2020-02-07 21:45:11 +09:00
Kijin Sung
e3da3ba794 Treat 'Mediapartners-Google' as a robot 2019-12-23 13:50:15 +09:00
conory
c10e4c082b open_basedir로 제한되어 있는 경우 ffmpeg 기능을 사용할 수 없는 문제 수정 2019-10-10 18:44:45 +09:00
conory
77122a32b2 is_command() 대체 2019-10-09 23:28:23 +09:00
Kijin Sung
805a7324cc Storage::getContentType() 메소드를 MIME 클래스로 이동함 2019-10-09 15:20:19 +09:00
Kijin Sung
9163bc24e9 기존에 direct download가 허용되던 타입을 복원하되, 레거시 타입은 별도 표기 2019-10-09 15:19:47 +09:00
conory
ddf6bafaaa 잘못된 이미지 타입이 반환되어 작동하지 않는 문제 수정 2019-10-04 20:04:35 +09:00
conory
1075b528d6 MIME 타입과 지원 확장자 수정 2019-10-04 01:12:19 +09:00
conory
6db830c4c4 파일이나 확장자가 이미지, 오디오, 동영상이며, MIME 타입이 전혀 다른 경우에만 확장자를 고치도록 수정
direct가 아닌 첨부파일 본문 삽입시의 오류 수정
이미지, 오디오, 동영상 MIME 타입을 mime_content_type()의 반환값으로 수정
2019-10-03 23:40:55 +09:00
conory
16e44d44c7 움직이지 않는 gif도 mp4로 변환되는 문제 수정
FFmpeg 사용 불가 안내 메시지 추가
추후에 활용하기 위한 type, width, height, duration 컬럼 추가
업로드시 이미지, 오디오, 동영상 파일의 확장자가 잘못된 경우 올바른 확장자를 덧붙이는 기능 추가
2019-10-01 22:50:38 +09:00
conory
cdbc2d7a82 동영상 섬네일, GIF로 취급 기능 추가
이미지, 동영상 첨부시 구분할 수 있도록 그 섬네일에 play 아이콘 추가
모듈별 파일 설정시 파일 모듈의 업로드 기본, 이미지, 동영상 설정을 각각 달리 적용할 수 있도록 기본 설정 제어 옵션 분리
2019-09-27 00:34:19 +09:00
Kijin Sung
82213ce11a Add ability to customize robot user agents 2019-09-14 21:42:02 +09:00
Kijin Sung
180b6668db Support playsinline attribute for audio/video tags #1187 2019-09-13 16:18:48 +09:00
Kijin Sung
023081019d Use signature instead of encryption to handle custom editor component properties in HTMLFilter 2019-08-13 15:15:59 +09:00
Kijin Sung
d8fa31722c Allow autoplay attribute of <audio> and <video> tags #1187 2019-08-13 15:11:08 +09:00
Kijin Sung
b284d69760 Try raw output for Android browser, Whale, webview 2019-07-31 16:08:26 +09:00
Kijin Sung
f33c8d9fbe Fix #1180 download filename issue in Android webview and Naver App 2019-07-30 20:43:27 +09:00
Kijin Sung
d873196aa8 Improve validation and formatting for 0303 and 0505 phone numbers 2019-05-13 15:34:09 +09:00
Kijin Sung
70108f858d XEVE-19-001, XEVE-19-003, XEVE-19-006
xpressengine/xe-core@18ec8078eb
2019-05-04 17:36:41 +09:00
conory
c2221a25e6 캐시가 없는 상황에서 DB 연결 에러시 DB 에러 메세지 대신 php 치명적 에러가 나오는 문제 수정
(라이믹스 오류 화면 출력시에도 DB 연결이 사용되므로 Debug::displayErrorScreen() 함수를 거치면 치명적 에러가 발생되기에 Exception로 처리하지 않았음)
라이믹스가 설치되지 않은 상태에서는 "에러 로그로 확인하라는 메세지" 없이 에러가 바로 출력되도록 수정
2019-01-17 18:26:46 +09:00
Kijin Sung
6e0a51520d Don't encode Unicode when printing JSON error message 2018-12-20 11:55:04 +09:00
Kijin Sung
335d356c0c Don't print error in JSON if not an AJAX request
https://xetown.com/questions/1131537
2018-12-20 11:47:05 +09:00
Kijin Sung
ea5d955072 Use apcu_* functions for APC cache
PHP 7에서는 apcu 확장모듈이 apc의 기능을 제공합니다.
이 때 apcu_* 함수는 존재하지만, apc_* 함수가 존재한다는 보장은 없습니다.
(리눅스 배포판에 따라서는 apcu-bc 패키지를 추가로 설치해야 합니다.)

라이믹스는 PHP 7만을 타겟으로 하므로, apcu_* 함수를 직접 사용하도록
변경하여 apc_* 함수가 존재하지 않는 경우 오류가 발생하지 않도록 합니다.
2018-12-19 16:52:36 +09:00
Kijin Sung
bf6dca0f7d 디버그에서 최후의 수단으로 text를 출력하는 경우에도 상황에 맞는 인코딩 및 escape 처리 2018-12-18 14:36:48 +09:00
conory
ff79092019 디버깅 편의를 위해 오류 페이지 출력 도중 오류가 또 발생된다면 무시하고 그냥 text로 출력
https://xetown.com/questions/1123378
2018-12-15 01:13:37 +09:00