Commit graph

829 commits

Author SHA1 Message Date
Kijin Sung
dbd46edcc2 Add client-side Rhymix.lang() to get or set lang codes 2025-05-23 20:33:04 +09:00
Kijin Sung
3fb9d0acaa Fix incorrect short URL for POST requests made by Rhymix.ajax() 2025-05-21 15:07:15 +09:00
Kijin Sung
ad02de4f93 Remove unnecessary attributes from iframe modals 2025-05-21 14:38:33 +09:00
Kijin Sung
b229738808 Clean up editable preview handling code 2025-05-21 14:37:18 +09:00
Kijin Sung
d6da245166 Remove outdated JS unit tests 2025-05-21 14:21:08 +09:00
Kijin Sung
51983aad8f Restore default success callback of ajaxForm() so that successful messages are printed 2025-05-21 14:19:43 +09:00
Kijin Sung
7e53bef104 Call Rhymix.ajax() in doCallModuleAction() 2025-05-21 14:19:10 +09:00
Kijin Sung
64f0ffbd91 Call Rhymix.ajax() in procFilter() 2025-05-21 14:15:20 +09:00
Kijin Sung
a0606dcf60 Move Rhymix.ajaxForm() to common.js 2025-05-21 14:12:10 +09:00
Kijin Sung
0f554c6d51 Consoliate all debug-related variables under the Rhymix object 2025-05-21 14:07:34 +09:00
Kijin Sung
3d64c26232 Remove window.rhymix_debug_pending_data 2025-05-21 13:58:39 +09:00
Kijin Sung
a778c46afa Reorder event handlers defined at document.ready 2025-05-21 13:56:21 +09:00
Kijin Sung
e7fbeee414 Update rx_ajax to use Rhymix.ajax() underneath 2025-05-21 13:49:31 +09:00
Kijin Sung
688c9ea87c Implement Rhymix.ajax() 2025-05-21 13:36:32 +09:00
Kijin Sung
0915863ba9 Complete reorganization of common.js 2025-05-21 00:50:48 +09:00
Kijin Sung
c546af7bf5 Also handle modal layers of any kind 2025-05-20 18:01:39 +09:00
Kijin Sung
5bddaa1bd3 Rename openFullscreenIframe() to openModalIframe() and handle the back button properly 2025-05-20 17:58:21 +09:00
Kijin Sung
e60bbb7e7c Remove unused variables 2025-05-20 17:40:04 +09:00
Kijin Sung
24c8f4bd06 Remove MSIE-specific polyfill 2025-05-20 17:39:24 +09:00
Kijin Sung
6a46c39851 Improve fullscreen iframe handling 2025-05-20 17:38:50 +09:00
Kijin Sung
bd3e642d37 Also apply iframe solution to dispDocumentDeclare 2025-05-14 02:37:17 +09:00
Kijin Sung
d1d278719c Also apply iframe solution to dispTempSavedList 2025-05-14 02:32:23 +09:00
Kijin Sung
7157181726 Consolidate popup/iframe handling code in common areas 2025-05-14 02:13:04 +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
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