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
Kijin Sung
f75649ccb1
Remove unnecessary HTML5 shiv library
2023-08-31 00:49:27 +09:00
Kijin Sung
6e38b440ea
Convert popup menu AJAX actions from XML to JSON
2023-08-30 23:36:26 +09:00
Kijin Sung
79dd9ae45e
Use console.warn for JS deprecation notices so that the user can see a stack trace
2023-08-30 22:38:41 +09:00
Kijin Sung
06e736178b
Support sending all _rx_* POST fields as HTTP headers instead
...
하위호환성, 부가기능 등을 위한 _rx_* POST 필드가 점점 많아짐에 따라
모두 헤더로 대체할 수 있도록 지원하고, 앞으로 점점 헤더로 바꿀 예정
CSRF 토큰은 예전부터 X-CSRF-Token 헤더를 지원했음
2023-08-27 23:32:31 +09:00
Kijin Sung
e22ae8259a
Open most member popup menus in the same window #2154
2023-07-17 21:58:25 +09:00
Kijin Sung
58ce0defca
Add option to control error and query log consolidation
2023-05-01 02:59:22 +09:00
Kijin Sung
a1bd9cc2bc
Only record the same error or query once
...
PHP 8.2로 올라오면서 동일한 오류가 수백~수천 번 반복되어
디버그 데이터가 너무 많은 메모리를 차지하는 문제가 종종 발생하고 있음.
동일한 위치에서 발생한 동일한 오류나 쿼리는 한 번만 기록하고
count를 증가시키도록 하여, 불필요한 메모리 사용을 줄이고
반복되는 오류나 쿼리를 쉽게 찾을 수 있도록 개선함.
2023-04-30 23:56:54 +09:00
Kijin Sung
cecc20cc8e
Merge branch 'develop' into fix-debug
2023-04-30 23:22:20 +09:00
Kijin Sung
c9d3e9048d
Remove excess whitespace in jQuery.fileUpload integration script
2023-04-30 22:30:26 +09:00
Kijin Sung
907750ff79
Fix #2108 use error callback function if AJAX transmission fails for any reason
2023-04-30 22:29:37 +09:00
Kijin Sung
f6209202bf
Add deprecation notice to exec_xml()
2023-04-30 22:09:52 +09:00
Kijin Sung
a4905ab65a
Fix #2109 update error message for exec_html()
2023-04-30 22:06:25 +09:00
Kijin Sung
703b04ca97
Remove unnecessary whitespace in common JS files
2023-04-30 22:05:43 +09:00
dewekk
871b25c3ba
디버그 패널에서 무조건 에러 내용이 표시되는 문제 수정
...
- 패널, JSON 요청에서 요청/응답정보, 에러 정보 표시가 디버그 설정에 따라 표시되게 수정
2023-02-10 16:30:04 +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
c21d728880
Delete jQuery 1.x which is only used in very old IE
2022-12-28 00:52:06 +09:00