Commit graph

186 commits

Author SHA1 Message Date
Kijin Sung
cd3af499e8 Fix missing file list when editing a partial section of a widget page
https://rhymix.org/qna/1924307
2025-11-23 23:14:42 +09:00
Kijin Sung
70e04a1dc5 Fix infamous "내용 값은 필수입니다" in legacy sketchbook skin 2025-08-25 23:55:00 +09:00
Kijin Sung
702eebaa92 Fix undefined values in various modules 2025-06-01 17:58:00 +09:00
Kijin Sung
7f6553fd47 Add more detailed note about editor_mid 2025-05-30 17:24:30 +09:00
Kijin Sung
ef0ef45303 Allow filtering file list by upload target type 2024-10-07 22:35:50 +09:00
Hyeonguk Ryu
5de50ebe0f
Fix minor typos
odule => module
2024-06-17 13:59:39 +09:00
Kijin Sung
24a6f0e615 Fix type error when editor add/remove plugins variable contains an empty string 2024-05-02 00:32:55 +09:00
Kijin Sung
ae7920a276 Fix #2309 support Blade template as main file of editor skin 2024-04-28 22:29:45 +09:00
Kijin Sung
010ba87c5b Fix undefined variables and properties 2024-01-04 14:45:49 +09:00
Kijin Sung
9a6524d63d Allow pre-setting upload_target_type for each editor 2023-11-19 21:29:15 +09:00
Kijin Sung
426027509c Use raw bytes, not MB, when setting allowed filesize in session 2023-11-06 08:39:15 +09:00
Kijin Sung
a647fff6b8 Allow setting file size and extension limits in setUploadInfo() 2023-11-06 08:24:04 +09:00
Kijin Sung
4bdadcdf2c Fix potentially undefined properties in EditorModel::getEditor() 2023-11-06 07:57:04 +09:00
Kijin Sung
990343d906 Set editor_mid automatically based on module_srl 2023-11-03 16:42:56 +09:00
Kijin Sung
e1cfb09652 Set proper module_srl and mid when uploading in member and communication modules 2023-11-02 21:22:43 +09:00
Kijin Sung
bffa50dd15 Fix RVE-2023-6 (validate module_srl when uploading/deleting) 2023-11-02 13:19:41 +09:00
Kijin Sung
df6fdd3bc3 Fix potential type error in editor component XML handling logic 2023-10-03 16:19:04 +09:00
Kijin Sung
7444bc3f1d Fix capitalization of class names 2023-10-02 22:55:41 +09:00
Kijin Sung
68ee78f1f8 Update CKEditor timestamp if editor module config is updated #2173 2023-09-12 23:03:12 +09:00
Kijin Sung
ed7a0bd4e2 Fix RVE-2023-1 editor module XSS 2023-07-05 01:34:48 +09:00
Kijin Sung
37b0d3a1e6 Remove trailing whitespace 2023-01-30 21:43:21 +09:00
Kijin Sung
db3fb20a52 Fix optional parameter before required parameter 2022-12-27 22:54:31 +09:00
Kijin Sung
e3541c046b Prevent disabled editor component in editor popup 2021-12-31 00:06:13 +09:00
Kijin Sung
c6f728cec6 Fix warnings in PHP 8.0 related to editor components 2021-02-09 01:21:53 +09:00
Kijin Sung
b388161c03 If there are multiple saved documents, only use one 2021-01-29 10:32:18 +09:00
Kijin Sung
cfca3a11fd
Merge pull request #1546 from kijin/pr/editor-dark-mode
에디터에서 다크모드 자동 감지
2021-01-08 11:43:15 +09:00
Kijin Sung
4dcdb9e4bd Fix various warnings in PHP 8.0 2021-01-08 00:27:00 +09:00
Kijin Sung
e7b49baf13 Support automatic switching to dark skin in CKEditor and SimpleEditor 2021-01-06 23:35:51 +09:00
Kijin Sung
49923844b2 Various fixes to remove warnings in PHP 8.0 2020-12-15 00:18:42 +09:00
Kijin Sung
f5ff91491b Fix missing editor lang 2020-10-01 17:10:03 +09:00
Kijin Sung
143600306d Clean up editor module 2020-07-09 16:37:04 +09:00
Kijin Sung
1c58a31cd6 Fix comment editor skin for PC not being applied properly 2020-07-09 10:56:21 +09:00
Kijin Sung
e0f5678aba Add option to select different editors for PC and mobile 2020-07-09 00:23:54 +09:00
Kijin Sung
f9ab8da493 Fix #1342 incorrect property access in editor.model.php 2020-07-05 18:59:19 +09:00
Kijin Sung
6ff3f34d3e Remove unnecessary code from previous versions 2020-07-04 23:54:46 +09:00
Kijin Sung
8d05a674f5 Fix #1335 support autoinsert option by file type 2020-07-03 23:56:37 +09:00
Min-Soo Kim
e7cb5ede82
에디터 스타일과 기본 스타일의 합병
* 기본 에디터 스타일과 기본 스타일 설정이 충돌하는 경우가 많았습니다.
 - 기본 스타일을 지정했는데, 기본 에디터 스타일 내의 스타일 지정이 있는 경우 반영이 안되는 경우, 또는 기본 에디터 스타일을 변경했는데 기본 스타일 설정 때문에 반영이 적절하게 되지 않는 경우 등.
* 기본 에디터 스타일에서도 less 또는 sass를 사용하도록 하고 싶었지만, 위지윅 에디터에서 본문에 나타날 스타일을 그대로 보여주는데 한계가 있었습니다.
 - 기본 에디터 스타일을 위지윅 에디터 내에서 나타내기 위해서 변칙적인 방법이 많이 활용되었습니다. 때문에 실제 본문에서 적용되는 스타일 시트의 우선순위와 위지윅 에디터 내에서 적용되는 스타일 시트의 우선순위에 차이가 있었습니다. 이 차이는 실제 보여지는 스타일과 작성하는 에디터 내의 스타일 차이를 크게 만들 가능성이 있었습니다.
* 기능의 의미가 많이 퇴색되었고, 의미 전달이 명확하지 않은 기능이었습니다.
 - 기능상 기본 에디터 스타일과 기본 스타일은 서로 겹치는 영역의 기능입니다. 기본으로 포함된 두 에디터 스타일 간에 차이가 크지 않기도 해서 어떤 기능인지 사용자가 알아채기도 어려웠습니다. 자료실에 배포되고 있는 에디터 스타일도 대단히 적었습니다.
* 게시판이나 각 글의 모듈 스킨에서 지정하는 스타일과 충돌할 가능성도 있습니다.

따라서, 에디터 스타일이 의도한 것 처럼 글의 스타일에 대한 관리자 통제 기능은 유지하면서, 다른 기능과 중복되거나 충돌할 수 있는 기능을 정리합니다.
가능한 많은 환경에서 테스트 하였으나, 추가로 이와 관련한 의견이 있을 경우 merge 후에도 계속 반영 해나가겠습니다.
2020-06-16 00:33:19 +09:00
conory
56aca19fd2 php7.4에서 에디터 설정을 불러오지 못하는 문제 수정
getModulePartConfig()는 호환(배열로 접근할 있도록)을 위해 ArrayObject::ARRAY_AS_PROPS 플래그가 설정된 ArrayObject를 반환하고 있는 데 php7.4의 get_object_vars() 함수는 이런 경우를 처리하지 못하는 것으로 확인됨 (빈 배열만 반환)

이 문제에 대해 php측에 제보했으나, 버그가 아니라는 답변을 받은 상태.
https://bugs.php.net/bug.php?id=79101
2020-01-16 21:43:08 +09:00
Kijin Sung
b1f7a7ba53 Fix #1210 autosave error for logged-in users @largeden 2019-11-23 10:33:13 +09:00
Kijin Sung
00e70f80df Add defenses against XEVE-19-008
xpressengine/xe-core@1f048c94
2019-11-22 21:33:59 +09:00
Kijin Sung
a23323335b Remove liststyle, tabletools, contextmenu CKEditor plugins by default 2019-07-30 21:05:13 +09:00
Kijin Sung
4f9c80e424 Always use object cache for editor components 2018-12-18 17:36:12 +09:00
Kijin Sung
6a9a884680 Fix XEVE-18-006 2018-12-18 15:50:45 +09:00
Kijin Sung
0dd20267af Use Moono Lisa colorset if current settings is incompatible with CKEditor
xpresseditor를 사용하던 사이트에서 라이믹스로 업데이트하면 컬러셋이 white, black,
black_text_nohtml 등 CKEditor에서 지원하지 않는 것으로 설정되어 있어 에디터가 로딩되지 않는 문제 수정.
이런 경우 강제로 Moono Lisa 컬러셋을 사용하도록 함.
2018-09-06 16:05:04 +09:00
Kijin Sung
be1ce69073 Update more modules to throw exceptions 2018-09-05 23:12:08 +09:00
bnu
f72ea052f1 fix #2229 자동저장 기능에 IP 대신 암호키를 대조하도록 변경 2018-03-07 02:18:17 +09:00
Kijin Sung
3992b4b5bc Fix strict count() behavior in PHP 7.2 2017-12-01 01:49:20 +09:00
Kijin Sung
84e5542d77 Remove unnecessary use of BaseObject
- 트리거 등 반환값이 필요하지 않은 곳에서 new BaseObject()를 반환하는 것 삭제
- 모듈 설치, 업데이트 후 무의미한 new BaseObject()를 반환하는 것 삭제
- 사용자에게 에러 메시지를 돌려주는 용도로 new BaseObject(-1, '에러메시지')를
  사용하는 경우는 대부분 $this->setError()로 변경함. 언어 변환과 sprintf()
  처리까지 한 번에 이루어지므로 이쪽이 더 편리함.
2017-12-01 00:54:51 +09:00
BJRambo
f3f40f6859 php7.2호환을 위해 변경한 클래스 Object 를 BaseObject으로 변경 2017-11-28 20:01:28 +09:00
Kijin Sung
9ba0b1e3e6 Add option to control focus on CKEditor
https://www.xetown.com/qna/801549
2017-11-21 15:33:24 +09:00