Commit graph

224 commits

Author SHA1 Message Date
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
Min-Soo Kim
bcd6357fef 파일 업로드 다크모드 적용 2021-01-08 03:18:26 +09:00
Min-Soo Kim
5c1c0607b6 Darkmode: File upload 2021-01-08 03:09:58 +09:00
Kijin Sung
bace9d919e Update CKEditor to latest 4.x 2021-01-06 22:54:17 +09:00
Kijin Sung
661d23ab4e Fix incorrect thumbnail ratio in upload list 2021-01-03 21:13:47 +09:00
Kijin Sung
0067182e71 Add playsinline attribute to GIF-based video tags 2020-12-12 17:29:20 +09:00
Kijin Sung
bd13a73d78 Fix broken relative URL in category tree editor 2020-10-01 16:39:23 +09:00
Kijin Sung
08272aa154 Fix inability to insert file manually if auto insert is turned off 2020-09-19 17:00:58 +09:00
largeden
33bbe10251 https://github.com/rhymix/rhymix/issues/1244 최신 iOS 13.5.1에서 한글 입력시 엔터키 호환성 개선 2020-07-08 20:45:45 +09:00
Kijin Sung
8d05a674f5 Fix #1335 support autoinsert option by file type 2020-07-03 23:56:37 +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