Commit graph

863 commits

Author SHA1 Message Date
conory
b3068758ef for unit test 2019-12-26 23:36:44 +09:00
conory
40e35a9451 add rhymix_alert 2019-12-26 21:04:09 +09:00
conory
9e6005ccbc form rx_ajax 사용시 XE_VALIDATOR_MESSAGE 세션을 이용한 메세지 표시가 되지 않는 문제 수정 2019-12-25 23:01:37 +09:00
conory
ca8204a4c0
Merge pull request #1200 from conory/pr/gif
GIF → MP4 더 완벽하게...
2019-10-10 16:36:34 +09:00
Kijin Sung
0f6c1edc68 Support success and error callbacks in rx_ajax forms 2019-10-10 02:36:03 +09:00
Kijin Sung
2385a62b95 Fix duplicate definition of request_info 2019-10-10 02:28:18 +09:00
Kijin Sung
4e6607c1c3 Automatically add method=POST and enctype=multipart/form-data to iframe submissions 2019-10-10 02:27:11 +09:00
Kijin Sung
69611520c3 Support submitting arbitrary forms by AJAX or IFRAME 2019-10-10 01:56:38 +09:00
conory
111a010e72 크롬에서 업로드 후 자동 본문 삽입시 발생하는 간헐적인 CK에디터 오류 무시 (파일 증발 문제 수정)
Uncaught TypeError: Cannot read property 'checkReadOnly' of undefined (ckeditor.js)
2019-10-04 23:47:12 +09:00
conory
52fe5ecdc7 동영상 본문 삽입시 video 태그에 섬네일 URL이 들어가는 문제 수정 2019-10-04 21:09:59 +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
conory
c2025c4bde original_type로 column 이름 변경 2019-09-23 15:30:53 +09:00
conory
1fcba0a44c GIF → MP4 더 완벽하게... 2019-09-22 21:24:43 +09:00
Kijin Sung
b286cb15a9 Fix image auto-insertion 2019-08-20 10:43:30 +09:00
Kijin Sung
e65b1caf3c Fix #1187 auto-insert <audio> and <video> tags for appropriate attachments 2019-08-13 15:36:34 +09:00
Kijin Sung
c40a47724d Simplify allowed_filetypes input format 2019-08-01 15:57:05 +09:00
Kijin Sung
3ce11f6432 Fix #1176 progress bar closing too early when uploading multiple files 2019-05-29 08:38:12 +09:00
Kijin Sung
bf5f53024e Fix blankshield.js error in Chrome 72+
https://xetown.com/topics/1218391
2019-05-13 17:33:28 +09:00
conory
5f812820fa jshint warning: 'target_url' used out of scope 수정 2019-01-30 01:01:50 +09:00
conory
9c5fea46e5 잘못된 url을 가진 링크가 있을 경우 자바스크립트 오류가 발생되는 문제 수정
https://xetown.com/questions/1159682
2019-01-30 00:14:55 +09:00
conory
ba12035106 form action이 빈 경우 CSRF token 문제 수정
예) 회원 그룹 > 저장
2019-01-29 23:11:28 +09:00
bnu
866a33fd39 #2314 #2284 이슈에서 수정했던 jquery.fileupload 플러그인의 Safari 호환성 문제 해결 코드로 인해 d&d 파일 업로드가 실패하는 문제 수정
- https://github.com/blueimp/jQuery-File-Upload/pull/3512
2018-10-18 09:59:23 +09:00
Kijin Sung
9a82af7366 Revert "Revert "#2284 jQuery Fileupload가 safari에도 파일 업로드에 실패하는 문제 수정""
This reverts commit fa4fb72b27.
2018-10-18 09:58:54 +09:00
Kijin Sung
2ab012f65b Revert "Revert "#2284 jQuery Fileupload 업데이트""
This reverts commit 7a97084df9.
2018-10-18 09:58:40 +09:00
Kijin Sung
7a97084df9 Revert "#2284 jQuery Fileupload 업데이트"
This reverts commit d9a7b89a74.
2018-10-11 14:27:19 +09:00
Kijin Sung
fa4fb72b27 Revert "#2284 jQuery Fileupload가 safari에도 파일 업로드에 실패하는 문제 수정"
This reverts commit 21acfd97cc.
2018-10-11 14:27:12 +09:00
Kijin Sung
a3b67b2c7f Merge branch 'pr/js-cookie' into develop 2018-10-04 11:56:41 +09:00
Kijin Sung
71e5bdb354 Add js-cookie library 2018-10-02 23:20:31 +09:00
bnu
21acfd97cc #2284 jQuery Fileupload가 safari에도 파일 업로드에 실패하는 문제 수정
- safari에서 dialog에서 선택한 파일을 업로드할 수 없는 문제
- PR 코드로 패치 함 : https://github.com/blueimp/jQuery-File-Upload/pull/3512
2018-10-02 22:52:27 +09:00
bnu
d9a7b89a74 #2284 jQuery Fileupload 업데이트
- 9.22.0
2018-10-02 22:52:07 +09:00
Min-Soo Kim
a16670c6f6
기본 팝업창 스타일 수정. (#1075)
# 기본 팝업창 스타일 수정.

- 바뀐 관리자 페이지 스타일과 통일성 유지.
 - 임시 저장 글 불러오는 팝업 창 스타일 조정
- 팝업창 크기 계산 함수 조정
 - 폭을 먼저 확정한 다음 높이를 계산하도록 순서 조정
 - 위젯 수정 페이지 팝업 창 크기 계산 수정
 - 창 너비를 자유롭게 바꿀 수 있기 때문에, `.popup` 클래스를 가진 객체의 가로 폭을 자바스크립트가 강제로 변경하지 않도록 수정. (초기 가로 폭은 정확히 계산하여서 기존과 동일하게 맞춤)
- 라이믹스 문법에 맞춤
 - `jQuery` 를 `$` 로 쓸 수 있으므로 생략 가능한 구문 수정
2018-08-19 16:50:00 +09:00
Kijin Sung
deca0d40b1 Deselect all files after inserting to content
첨부파일 본문삽입 후 선택 해제
엔데벨님의 패치를 GPL/LGPL 허가에 따라 사용함
https://xetown.com/rxe_tip/1036447
2018-08-12 01:09:44 +09:00
Kijin Sung
a49f2f5f06 Change Context::isAlwaysSSL() to config('session.use_ssl_cookies')
- Main session cookie is httpOnly if use_ssl is true
- SSO cookie is always httpOnly
2018-08-06 01:23:22 +09:00
Min-Soo Kim
25d2e4892a Revert "Example of the cookie option"
This reverts commit 93a35c251b.
2018-08-02 00:35:52 +09:00
Min-Soo Kim
93a35c251b Example of the cookie option 2018-08-02 00:35:27 +09:00
Min-Soo Kim
30fd0c428c Improve cookie security; Secure flag
SSL 항상 사용 옵션인 경우 쿠키도 이에 맞추어 SSL 인 경우에만 사용되도록 secure flag 를 추가합니다.
선택적 SSL 인 경우 SSL 이 적용되지 않은 구간에서도 쿠키를 읽을 수 있어야 하므로, 적용하지 않습니다.

이 PR 로 변경되는 내용

- Context 클래스에 checkSslEnforce 메소드 추가
- SSL 항상 사용 옵션일 경우, 가능한 secure 플래그를 달아서 쿠기 굽기
- SSO 쿠키의 경우 javascript 접근이 필요 없을 것으로 예상 ( https://github.com/rhymix/rhymix/pull/1034 ) 되어서 `httpOnly` 플래그도 추가.

안드로이드 웹뷰의 경우 StackOverFlow 의 Reading secure cookies in android WebView 라는 글을 참고하면, 읽어오는 것이 가능하다고 합니다. 주소에 프로토콜을 적지 않을 경우 secure flag 가 달린 쿠키는 정상적으로 읽어오지 않는 듯 하니 안드로이드 웹뷰를 사용하시는 분들은 대응이 필요할 것으로 보입니다.

https: //github.com/rhymix/rhymix/pull/1034 를 실수로 merge 하여서 다시 올립니다.
Co-Authored-By: Kijin Sung <kijin@kijinsung.com>
2018-07-29 12:15:24 +09:00
Min-Soo Kim
b62a1322c9 Revert "Merge branch 'develop' into develop"
This reverts commit ec54bbd415, reversing
changes made to 9b12e0a71c.
2018-07-29 11:54:14 +09:00
Min-Soo Kim
ec54bbd415
Merge branch 'develop' into develop 2018-07-29 11:49:27 +09:00
Kijin Sung
d069cf1194 업로드 파일명 처리 관련 버그 수정
xpressengine/xe-core#2008
xpressengine/xe-core#2269
2018-07-20 19:14:36 +09:00
Kijin Sung
1a3cbb7ae0 Fix #1037 IDN in Javascript @misol 2018-05-30 21:31:41 +09:00
Min-Soo Kim
c1c9a94623 Improve cookie security; Secure flag
SSL 항상 사용 옵션인 경우 쿠키도 이에 맞추어 SSL 인 경우에만 사용되도록 `secure` flag 를 추가합니다.
선택적 SSL 인 경우 SSL 이 적용되지 않은 구간에서도 쿠키를 읽을 수 있어야 하므로, 적용하지 않습니다.
2018-04-24 19:30:38 +09:00
Kijin Sung
591e9cb270 Revert "Improve cookie secure setting values"
This reverts commit 73da2af393.
2018-04-23 00:43:24 +09:00
Min-Soo Kim
73da2af393 Improve cookie secure setting values
HTTPS 를 사용하는 상황에 대한 판단을 할 수 있는 상황에서 쿠키의 secure flag 를 달아준다.
2018-04-22 23:58:13 +09:00
Kijin Sung
e506975439 Fix #1028 JS error when attribute does not exist 2018-04-10 16:04:13 +09:00
Kijin Sung
ddb2a8afa1 Fix CKEditor Korean line break issue in iOS #932
- iOS에서는 divarea 플러그인과 @largeden 님의 ios_enterkey 플러그인을 사용
- iOS에서는 divarea 플러그인과 호환되지 않는 에디터 컴포넌트를 로딩하지 않음
  - 추후 호환성 문제가 해결되면 다시 사용하도록 변경할 수 있음
- 기본 폰트 등의 스타일이 cke_wysiwyg_div 클래스에도 적용되도록 조치함
2018-03-08 14:23:47 +09:00
Kijin Sung
53599756a1 Fix inconsistent use of 'data' variable in jquery.fileUpload integration script
공통으로 사용하는 data 변수를 이벤트 핸들러 파라미터 이름으로도 사용하여
특정 상황에서 스크립트 에러가 발생하는 문제를 수정함.
다른 이벤트 핸들러에서도 혼동의 여지가 없도록 변수명을 다르게 지정함.
2018-03-07 11:45:49 +09:00
Kijin Sung
ed3696ae93 Fix #987 error in URI.js when invalid URL is supplied 2018-03-07 02:40:56 +09:00