Commit graph

241 commits

Author SHA1 Message Date
Kijin Sung
bc6eaae544 Remove old Flash-based uploader plugin 2025-10-23 13:42:21 +09:00
Kijin Sung
ad293fa4d0 Add empty paragraph after <video> tag in CKEditor 2025-10-22 23:02:15 +09:00
Kijin Sung
4869d4384d Remove unnecessary <br> tag from uploader error messages 2025-09-30 22:07:57 +09:00
Kijin Sung
0be03f216f Fix setting lang codes directly to xe object, not xe.lang 2025-05-23 20:51:36 +09:00
Kijin Sung
eccc337d44 Remove ogv from list of directly playable video formats #2469 2025-02-13 22:08:28 +09:00
Kijin Sung
44608bbe90 Fix incorrect encoding of filenames with single quotes 2024-10-09 15:37:22 +09:00
Kijin Sung
ce11578617 Fix old simple tree library error in jQuery 3.x 2024-08-21 22:36:52 +09:00
Kijin Sung
a16364de6d Remove console.log() 2024-08-21 22:24:41 +09:00
Kijin Sung
2b1e4495e2 Fix #2363 treat pasted HTML as image if a single <img> tag is the only content 2024-06-20 00:46:35 +09:00
Kijin Sung
24a4988151 Fix #2353 js error when editor/uploader has no primary key defined 2024-05-30 00:16:30 +09:00
Kijin Sung
7af4f93175 Add upload button to CKEditor image dialog 2024-05-25 00:59:53 +09:00
Kijin Sung
0c3879d0c8 Replace CKEditor image plugin with original source code 2024-05-25 00:59:15 +09:00
Kijin Sung
fda3bf939b Fix tables being pasted as image in CKEditor
https://xetown.com/questions/1823902
2024-05-16 11:02:38 +09:00
Kijin Sung
f3323ebec1 Fix #876 delete empty <p> tag when image or media is deleted from editor 2024-05-15 11:07:32 +09:00
Kijin Sung
f50772c1dd Fix #877 insert uploaded image even if CKEditor is in source mode 2024-05-15 11:02:26 +09:00
Kijin Sung
92b14bf1cb Fix invalid editor_sequence when CKEditor is in full-screen mode
https://xetown.com/questions/1822954
2024-05-10 23:30:48 +09:00
Kijin Sung
e15c913b21 Rename rx_upload CKEditor plugin to rx_paste, and move paste handler from editor.app.js to it 2024-04-30 22:18:11 +09:00
Kijin Sung
b9ea0e65b0 General cleanup of DOM traversal code in editor & uploader (should also fix #2303) 2024-04-26 13:35:20 +09:00
Kijin Sung
b817b85989 Re-disable clipboard_handleImages 2024-04-25 00:00:29 +09:00
Kijin Sung
516fd738f2 Fix broken reference to xefu-container if autosave message appears in between 2024-04-24 23:45:57 +09:00
Kijin Sung
6acd092dc6 Prevent the clipboard plugin from displaying the "file type not supported" error for webp, mp4, and other file types 2024-04-24 23:31:37 +09:00
Kijin Sung
bd138800bc Unify the logic for inserting uploaded file into editor content 2024-04-24 23:17:56 +09:00
Kijin Sung
633478710d Clean up error handling code in the auto upload plugin 2024-04-24 22:52:32 +09:00
Kijin Sung
5b530792e5 Initial implementation of auto upload on paste or drop 2024-04-24 22:45:36 +09:00
Kijin Sung
117023817d Eliminate unnecessary AJAX calls to file.getFileList
에디터 로딩 직후, 파일 업로드 직후, 파일 삭제 직후
첨부목록 갱신을 위해 file.getFileList를 호출하도록 되어 있는데,
첨부목록을 직전 요청의 응답과 함께 반환하도록 변경하여
불필요한 AJAX 요청이 발생하지 않도록 하고, 로딩 속도를 개선함.
2024-04-16 22:38:53 +09:00
Kijin Sung
72b862c27e Change eval() to JSON.parse() in filebox.js #2266 2024-01-30 21:53:25 +09:00
kkigomi
043bb312bc
위젯 설정 등의 페이지에서 파일박스에 업로드 후 문제 수정 2024-01-12 20:36:07 +09:00
Kijin Sung
c235f6b8b3 Adjust min-height to Prevent layout shift when CKEditor is loaded
https://xetown.com/questions/1801094
2023-12-31 16:21:05 +09:00
Kijin Sung
2b0be0944f Don't alert non-essential network errors from uploader
댓글폼마다 업로더가 로딩되므로 getFileList 액션이 자주 오류를 일으키고,
이에 따라 alert이 계속 뜨는 사례가 발견되어
해당 오류는 alert하지 않고 콘솔에만 표시하도록 임시조치함.
2023-11-21 23:43:01 +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
3c29b7dff3 Update CKEditor to 4.22.1 final version 2023-10-09 21:39:30 +09:00
Kijin Sung
c9d3e9048d Remove excess whitespace in jQuery.fileUpload integration script 2023-04-30 22:30:26 +09:00
Kijin Sung
dc1182f6f5 Add jQuery 3.x 2022-12-28 00:52:48 +09:00
Kijin Sung
bd904d7426 Remove non-minified version of jQuery migrate 1.x 2022-12-28 00:52:32 +09:00
Kijin Sung
17279c264b Add support for short download URLs #1875 #1922
- Originally committed on April 3, 2022
- Thanks to @misol @conory
- getDownloadUrl()에서 기존 메소드 형태 최대한 그대로 유지하는 방향으로 작업
  (단, source_filename 파라미터를 전달하지 않으면 긴주소로 강제됨)
- getDirectFileUrl()의 불필요하게 복잡한 코드 정리
- getFileList()에서 이미지가 아닌 파일도 절대경로를 반환하도록 수정
- procFileDownload, procFileOutput에서 URL에 포함된 파일명을 검증하도록 하여
  동일한 첨부파일에서 파일명 부분만 변형한 링크를 무한 생성할 수 없도록 함
- 짧은주소 미사용시 불필요한 module_srl 파라미터 제거
2022-12-26 16:23:19 +09:00
Kijin Sung
2b7255be7d Also preload Spectrum lang file 2022-10-30 17:16:56 +09:00
Kijin Sung
7493fe14fc Preload datepicker lang file and always apply dateFormat defaults (fix #1985)
영어를 예외처리하지 않도록 하여, 영어에서만 날짜 포맷이 다르게 지정되는 문제 수정
2022-10-30 17:08:57 +09:00
Kijin Sung
00dfd003f8 Remove unnecessary files from spectrum library to dismiss github security alert 2022-04-28 20:20:15 +09:00
Kijin Sung
f35dfcf2bb Fix inappropriate loading of disabled image_link editor component (78d1b6966a 보완) 2022-02-25 14:50:57 +09:00
Kijin Sung
78d1b6966a Fix image_link editor component popup loading even if image_link component is disabled 2021-12-31 00:19:30 +09:00
Kijin Sung
22781e2117 Add poster attribute to <video> tag if thumbnail is available 2021-09-07 01:58:16 +09:00
Kijin Sung
9160b867aa Fix incorrect relative URLs in other JS libraries #1601 2021-02-05 11:50:13 +09:00
Kijin Sung
5c0c4a3f76 Fix #1601 relative path in ui.colorpicker 2021-02-05 11:45:01 +09:00
Kijin Sung
6b0ef1f468 Fix #1589 remove unnecessary build directory 2021-01-30 21:23:30 +09:00
Kijin Sung
dd561d9159 Make proper URL if download URL is a partial relative URL 2021-01-19 23:02:17 +09:00
Kijin Sung
af65e81d3e Add preload="none" to videos that are not accessed directly #1557 2021-01-19 22:49:41 +09:00
Kijin Sung
f3542a0ec6 Also reference .cke_auto_dark_mode in file uploader #1556 2021-01-10 00:41:26 +09:00
Kijin Sung
98c6a22cfd Cleanup 2021-01-08 15:04:12 +09:00
Min-Soo Kim
980ad3c8ba CSS 문법 오류 정정
linear-gradient 에 대해서 잘못된 문법으로 되어 있던 것을 수정.
2021-01-08 03:33:37 +09:00