Commit graph

645 commits

Author SHA1 Message Date
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
Kijin Sung
499a7e4457 Fix cursor selection after converting preview to editor 2018-03-06 21:57:59 +09:00
Kijin Sung
a0ae7a2a30 Apply editor replacement to all .editable_preview elements 2018-03-06 21:39:04 +09:00
Kijin Sung
2bbf4d902f Fix isSameOrigin() with relative URLs 2018-01-11 17:36:05 +09:00
Kijin Sung
7563ab859d Update jQuery, jQuery Migrate, jQuery UI 2018-01-10 23:53:44 +09:00
Kijin Sung
01ee23b7d9 Fix JS error when either url1 or url2 is undefined in isSameOrigin() 2017-12-21 15:16:16 +09:00
Kijin Sung
7099e30372 Fix isSameOrigin() 2017-12-18 15:14:44 +09:00
Kijin Sung
999bc92753 mailto: 등 URN 링크 문제 고침 by @bnu
xpressengine/xe-core#2174
2017-11-30 22:11:55 +09:00
Kijin Sung
11c04c5a26 Add multiple member agreements
- 가입 약관, 개인정보처리방침 등을 5개까지 추가할 수 있음
- 약관마다 각각 필수 또는 선택을 지정할 수 있음
- 모든 필수 약관에 동의해야 가입 가능
- 기본 스킨은 수정함. 서드파티 스킨에는 여전히 약관 1개만 표시됨
- 서드파티 스킨 사용시 동의 하나만 선택해도 전체 동의로 간주
2017-11-27 14:43:20 +09:00
Kijin Sung
66e8ba4fca Fix URI.js error when processing mailto: links
https://www.xetown.com/rxe_issue/792186
xpressengine/xe-core#2174
2017-11-13 08:44:44 +09:00
Kijin Sung
c9026e44a1 Ensure that jQuery works properly even if there is some conflict 2017-10-30 01:31:23 +09:00
Kijin Sung
fcd8c2f211 Hide unhelpful messages in file upload box in mobile #928 2017-10-12 16:54:04 +09:00
Kijin Sung
eb5bff0fb3 Import URI related changes from XE
xpressengine/xe-core f680eb4, 27c8bf9 by @bnu
2017-10-12 15:55:45 +09:00
Kijin Sung
7948059c91 Fix JS error when a link has no target
xpressengine/xe-core#2162
2017-10-12 00:22:18 +09:00
Kijin Sung
824867259f Remove support for drEditor components #895 2017-09-28 18:13:30 +09:00
Kijin Sung
da4b995dc8 Fix spurious addition of 'undefined' to 'rel' attribute 2017-09-11 21:11:08 +09:00
Kijin Sung
7145d38822 Implement remainder of tabnapping protection from XE 1.8.44 2017-09-11 20:48:41 +09:00
Kijin Sung
1bf96e646e Add Blankshield.js and URI.js 2017-09-11 18:04:46 +09:00
Kijin Sung
c714c3629a Fix #879 align multimedia search results to the left 2017-08-16 23:20:08 +09:00