Commit graph

805 commits

Author SHA1 Message Date
Kijin Sung
ba6e6e0490 Simplify FormData detection in exec_json() 2024-10-09 19:59:33 +09:00
Kijin Sung
b598083a8c Replace rx_ajax iframe form submission with proper AJAX using FormData 2024-10-09 17:21:38 +09:00
Kijin Sung
206521a352
Merge pull request #2412 from kijin/pr/extra-vars
확장변수 기능 강화 (파일 업로드 지원 등)
2024-10-09 17:00:05 +09:00
Kijin Sung
44608bbe90 Fix incorrect encoding of filenames with single quotes 2024-10-09 15:37:22 +09:00
Kijin Sung
d45c116c56 Patch exec_json() and related functions to support file uploads 2024-10-08 23:25:03 +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
dbb4d1716e Show request method and redirect URL in debug panel and comment 2024-05-24 23:18:37 +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
0d71f5a0e0 Fix #2330 incompatible handling of redirect_url in JSON-based procFilter compared to old XML version 2024-04-29 23:39:21 +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
Kijin Sung
828aa04a22
Merge pull request #2266 from kkigomi/fix-filebox-upload
위젯 설정 등의 페이지에서 파일박스에 업로드 후 문제 수정
2024-01-30 21:50:31 +09:00
Kijin Sung
de1174c3b5 Fix data() name for compatibility with jQuery 3.x 2024-01-20 00:22:12 +09:00
kkigomi
043bb312bc
위젯 설정 등의 페이지에서 파일박스에 업로드 후 문제 수정 2024-01-12 20:36:07 +09:00
kkigomi
117decebeb
e361d2e 커밋에서 exec_xml() 함수의 대체가 잘못 수정된 문제 2024-01-05 04:51:15 +09:00
Kijin Sung
e361d2e40a Replace exec_xml() with exec_json() in document AJAX actions 2024-01-04 00:49:46 +09:00
Kijin Sung
76034163f9 Improve thumbnail handling for image and video search results #2230 2024-01-01 16:56:04 +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
0e56669cc4 Show more detailed URL in AJAX error message 2023-12-30 22:02:24 +09:00
Kijin Sung
7a6dad9237 Always send AJAX requests to the same domain as the current page 2023-12-30 21:51:30 +09:00
Kijin Sung
d78b8e8415 Delete .xfsr 2023-11-21 23:48:05 +09:00
Kijin Sung
ad84896b03 Add flag to control which AJAX errors to alert(), but always print them to console 2023-11-21 23:43:50 +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
fdc9e1e98d Fix incorrect debug/error/query count if the same entry appears multiple times 2023-11-19 00:02:34 +09:00
Kijin Sung
f4474070e1 Merge branch 'security/rve-2023-6' into develop 2023-11-06 07:47:14 +09:00
Kijin Sung
990343d906 Set editor_mid automatically based on module_srl 2023-11-03 16:42:56 +09:00
Kijin Sung
0d58c9038d Revert conversion to array in legacy_filter()
procFilter를 사용하는 레거시 서드파티 자료는 여러 개의 값을 제출할 경우
배열이 아닌 |@|로 구분된 문자열을 기대하므로, 기존 방식으로 전달
2023-11-02 21:36:55 +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
7ea912bb6e Add _rx_ajax_compat: XMLRPC field to AJAX requests generated by procFilter(), for improved backward compatibility 2023-10-26 23:08:05 +09:00
Kijin Sung
c84756e769 Make procFilter() use exec_json() instead of exec_xml() internally, and deprecate it 2023-10-24 21:08:21 +09:00
Kijin Sung
416b9c8498 Fix #2198 type error in debug panel for async requests 2023-10-10 11:16:03 +09:00
Kijin Sung
3c29b7dff3 Update CKEditor to 4.22.1 final version 2023-10-09 21:39:30 +09:00
Kijin Sung
0fde7eb7e7 Use console.error() instead of console.warn() in Firefox, because it doesn't show stack trace for warnings 2023-08-31 22:59:15 +09:00
Kijin Sung
380c50aa6a Remove unnecessary polyfill for window.matchMedia 2023-08-31 00:51:52 +09:00