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
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
e1f98e573c
Fix #1944 add option to display complete call stack for queries
2022-12-19 01:11:43 +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
de7bf0a0a6
Automatically retry AJAX request with new CSRF token if token error is returned
...
다른 탭에서 로그아웃했다가 다시 로그인한 후 exec_json을 시도하는 등,
사용자가 보기에는 정상적인 상황인데도 보안정책(CSRF) 오류가 발생할 수 있음.
이 때 자연스럽게 토큰을 갱신한 후 요청을 다시 전송하도록 개선함.
2022-10-20 16:58:26 +09:00
Kijin Sung
fd8a4ff37d
AJAX 오류 발생시 ERR_* 코드가 있다면 표시 ( e4e252c1b4 보완)
2022-10-20 15:55:14 +09:00
Kijin Sung
064f321c74
Delete unnecessary "error -1" in query error info
2022-09-21 16:26:25 +09:00
Kijin Sung
7058f9fa85
Fix #1991 add shim for Modernizr to accommodate old addons that rely on it
2022-09-14 21:13:29 +09:00
Kijin Sung
a0f895a02f
Change scope of condition for using blankshield 4cbe598a
2022-08-01 00:46:57 +09:00
Kijin Sung
4cbe598a50
Restrict blackshield protection in modern WebKit-based browsers and Firefox
...
최근 브라우저들은 target="_blank" 사용시 자동으로 rel="noopener" 선언한 것으로
취급하므로 별도로 처리해 줄 필요가 없으며, blankshield 라이브러리 사용시
오히려 문제가 발생하는 경우가 많음. (예: iOS 웹뷰)
2022-07-31 21:42:48 +09:00
Kijin Sung
d4ffe761c5
Fix #1949 don't normalize to http URL if enforce_ssl is off
2022-06-09 21:54:59 +09:00
conory
f8336281c1
Fix rhymix alert keeping popping up
2022-05-14 18:16:12 +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
dacddd5d44
Fix JS exception when malformed URL is passed to isSameOrigin()
2021-12-26 20:47:13 +09:00
Kijin Sung
c86015c282
Fix incorrect console message
2021-09-29 02:17:12 +09:00
Kijin Sung
1f1e01917e
Support success and error callbacks in rx_ajax submissions using iframe
2021-09-13 10:57:55 +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
2c81be51c3
Fix #1704 detect color scheme as early as possible
2021-06-20 02:10:08 +09:00
Kijin Sung
856f2af743
Fix #1732 inconsistent 'target' attribute in popup menus
2021-06-19 22:30:18 +09:00
Kijin Sung
583604b845
Fix #1690 remove exec_html() that hasn't worked for 5 years anyway
2021-04-26 15:52:16 +09:00
Kijin Sung
a107ef1b90
Fix #1662 missing color scheme class on <body> when cookie exists
2021-03-17 23:01:43 +09:00
Kijin Sung
91b03795dc
Fix rx_ajax not working when a form contains file uploads
2021-02-24 11:02:29 +09:00
Kijin Sung
9b714acb55
Show memory usage in debug panel
2021-02-09 23:52:35 +09:00
Kijin Sung
1289776c97
Remove debug data from previous request (causes memory overage in PHP 8.0)
2021-02-09 19:33:47 +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
ca5d90fd07
Make rx_ajax forms more customizable
2021-02-02 16:04:53 +09:00
Kijin Sung
6b0ef1f468
Fix #1589 remove unnecessary build directory
2021-01-30 21:23:30 +09:00
Kijin Sung
64baf4e8e3
Remove ssl_actions and add rewrite_level to inline JS
2021-01-20 23:53:58 +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
Min-Soo Kim
899fe00dda
관리자가 모든 모듈의 다크모드 설정을 제어하도록 합니다. ( #1558 )
...
* 관리자가 다크모드 작동 여부를 선택할 수 있도록 수정
2021-01-10 22:21:13 +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