Commit graph

104 commits

Author SHA1 Message Date
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
a16364de6d Remove console.log() 2024-08-21 22:24:41 +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
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
bd138800bc Unify the logic for inserting uploaded file into editor content 2024-04-24 23:17:56 +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
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
c9d3e9048d Remove excess whitespace in jQuery.fileUpload integration script 2023-04-30 22:30:26 +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
22781e2117 Add poster attribute to <video> tag if thumbnail is available 2021-09-07 01:58:16 +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
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
08272aa154 Fix inability to insert file manually if auto insert is turned off 2020-09-19 17:00:58 +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
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
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
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
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
f12cf74dda Revert "다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리"
This reverts commit b1cb1f3f34.
2018-08-04 20:56:24 +09:00
conory
b1cb1f3f34 다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리
변경전의 xe.less 파일도 rhymix.less와 함께 load 하여 호환정 유지

CSS 충돌 예)
bootstrap의 .btn
사용 예)
bootstrap 사용시엔 {Context::unloadBasicFiles('xe')}으로 unload 시키면 문제없음
2018-08-03 19:45:30 +09:00
Kijin Sung
d069cf1194 업로드 파일명 처리 관련 버그 수정
xpressengine/xe-core#2008
xpressengine/xe-core#2269
2018-07-20 19:14:36 +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