Kijin Sung
0f554c6d51
Consoliate all debug-related variables under the Rhymix object
2025-05-21 14:07:34 +09:00
Kijin
cac3ec1165
Fix potentially erroneous response size in debug output #2546
2025-04-28 21:46:45 +09:00
Kijin Sung
8c5f96f8c5
Fix incorrect Content-Type in JSON callback responses #2448
2024-12-15 00:16:57 +09:00
Kijin Sung
d0183268ce
Add newline after JSON and XML responses
2024-04-16 21:38:56 +09:00
Kijin Sung
925ddf9fa0
Output previously buffered content only if the response format is HTML
2024-03-24 21:34:07 +09:00
kkigomi
42919d1259
Debug 메시지가 json_encode() 오류로 인해 잘못된 포맷으로 응답을 생성하는 문제 해결
2024-01-20 23:24:30 +09:00
Kijin Sung
f00d6c7e19
Remove leading whitespace from displayed response
2023-11-21 22:51:14 +09:00
Kijin Sung
c8638d2548
Change cache-busting query string format from ?YYYYMMDDHHMMSS to ?t=UnixTime
...
- 날짜, 유닉스 타임스탬프, 16진수(CKEditor) 등 여러 가지 포맷을 혼용하고 있던
캐시 방지용 쿼리스트링의 형태를 "유닉스 타임스탬프"로 통일
- 표준 시간대 처리 등 은근히 많은 자원을 소모하는 date() 함수를 사용하지 않음
- t=를 붙여서 정상적인 쿼리스트링 구조가 나오도록 하여, 웹방화벽이나 CDN
등에서 문제를 일으킬 가능성을 줄임
- 덤으로, 길이도 2바이트씩 짧아짐
2023-09-12 23:15:26 +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
2197b0a982
Add option to control whether boards and pages are indexed by search engines, using the X-Robots-Tag header
2023-08-13 02:03:02 +09:00
Kijin Sung
5ba6346bec
Add security options to add X-Frame-Options and X-Content-Type-Options headers
...
- 보안 관련하여 널리 알려진 헤더 3종 가운데 2종을 기본 지원
- X-XSS-Protection 헤더는 IE 지원 종료로 불필요
2023-06-18 23:33:41 +09:00
Kijin Sung
e3ce2bcbcc
Remove gzip support; rely on webserver instead
2023-06-18 23:05:16 +09:00
Kijin Sung
7d88e532c9
Fix deprecation warning in PHP 8.2 when $output is null
2023-05-01 02:59:45 +09:00
dewekk
871b25c3ba
디버그 패널에서 무조건 에러 내용이 표시되는 문제 수정
...
- 패널, JSON 요청에서 요청/응답정보, 에러 정보 표시가 디버그 설정에 따라 표시되게 수정
2023-02-10 16:30:04 +09:00
Kijin Sung
dfa1e93c79
Remove unnecessary header and footer from class files
...
- 아래에 이미 author 언급이 있으므로 중복되는 저작권 표기는 제거
- 클래스 하단에 불필요한 end of file 표시 제거 (파일 하나에 클래스 하나씩이므로
파일이 중간에 끊겼다면 클래스가 닫히지 않아 쉽게 알 수 있음)
2023-01-30 23:52:23 +09:00
Kijin Sung
c881e73c1d
Remove trailing whitespace in legacy class files
2023-01-17 21:07:55 +09:00
Kijin Sung
684eed4a4d
Remove special cases for MSIE
2022-12-28 00:41:59 +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
1a204d8c52
Completely disable Debug logging if it is not enabled for the current user
...
관리자 또는 특정 IP에서만 디버그 기능을 사용하도록 설정된 경우,
그 밖의 요청에서는 어떤 에러메시지, 쿼리, 트리거 소요시간 등의 기록도
디버그 클래스에 저장하지 않도록 변경합니다.
워닝이 많이 발생하는 PHP 8.0에서는 20~30%의 성능 개선 효과가 있습니다.
2021-01-07 02:51:43 +09:00
Kijin Sung
88d31de75d
Remove unnecessary duplicate method calls
2020-12-13 22:17:50 +09:00
Kijin Sung
a405b91e42
Add RawDisplayHandler and fix RSS/Atom not producing the correct headers
2020-12-13 22:06:16 +09:00
Kijin Sung
417e4d15b0
More fixes to improve PHP 8.0 compatibility
2020-10-31 00:40:28 +09:00
Kijin Sung
8cabb88dbb
Be more consistent about JSON responses
...
cf. #152
2020-10-08 13:25:46 +09:00
Kijin Sung
9782c30654
Merge branch 'develop' into next
2020-08-19 15:41:14 +09:00
Kijin Sung
a6bb44bf88
Convert PHP_EOL to \n for consistency
...
adf067e 보완
- classes 내에서 사용하는 PHP_EOL을 \n으로 교체
- common/framework/debug.php, common/scripts 내의 스크립트들은
OS에 맞춰야 하므로 수정하지 않음
2020-08-06 14:54:32 +09:00
Kijin Sung
5985ca5b6b
Merge branch 'develop' into next
2020-07-05 00:09:26 +09:00
Kijin Sung
03f8081550
Send application/json content-type with JSON responses
2020-07-04 19:08:17 +09:00
Kijin Sung
96950161f1
Use Context::getResponseMethod() to decide the response format
2020-07-02 16:28:15 +09:00
Kijin Sung
052930a6d4
Replace some usages of getModel(), getController(), etc. with getInstance()
2020-05-18 21:45:44 +09:00
Kijin Sung
098a02a008
Fix #1275 add layout (before) trigger point
2020-04-27 22:46:52 +09:00
Kijin Sung
dfbdf46085
Fix #1262
2020-04-03 17:09:26 +09:00
Kijin Sung
6a43274826
Filter error location in JSON and XML responses
2020-03-19 17:56:38 +09:00
Kijin Sung
030f27d488
Fix #1228 #1243 thanks to @nemo9l
2020-02-14 16:27:10 +09:00
Kijin Sung
a114976d2b
Fix #1195 debug file not being written if comment is enabled
2019-09-13 15:02:00 +09:00
Kijin Sung
b048200a30
Allow multiple selection of display debug types
2018-09-06 17:00:50 +09:00
Kijin Sung
1a81fd43f3
Convert Object class to BaseObject in core classes
2017-11-27 22:34:28 +09:00
Kijin Sung
a3b557dcbc
Revert "Fix #881 disable display.before triggers if site is locked and visitor is not admin"
...
This reverts commit 44be0468ab .
2017-07-31 15:57:53 +09:00
Kijin Sung
44be0468ab
Fix #881 disable display.before triggers if site is locked and visitor is not admin
2017-07-23 22:21:28 +09:00
conory
468b1cc00f
XML 응답 처리 문제 수정
...
rss 요청시 Content-Type: text/xml 헤더로 응답할 수 없었던 문제 수정
2017-07-22 21:32:16 +09:00
Kijin Sung
d240fcbb70
02731e1 보완
...
일부 요청에서 JSON을 반환할 때 Content-Type: text/xml 헤더가 나오는 문제 수정
2017-04-27 11:01:28 +09:00
Kijin Sung
2d54687a52
Add slow remote requests to debug content
2016-06-08 16:15:32 +09:00
conory
29507df48f
httpStatusCode 를 정수형으로 만들기
2016-04-19 23:14:50 +09:00
Kijin Sung
88ffabfb7c
Improve error handling in AJAX requests
2016-04-16 17:51:31 +09:00
Kijin Sung
71724bb9fa
Always save debugging information even if DisplayHandler is not invoked
2016-03-24 08:34:13 +09:00
Kijin Sung
7b0c24e67c
Improve debug settings
2016-03-06 14:13:34 +09:00
Kijin Sung
bfe6be6535
Never allow warnings to be printed before headers
2016-02-16 16:35:29 +09:00
Kijin Sung
c52eb1600e
Remove triggers after debug output
2016-02-16 13:03:17 +09:00
Kijin Sung
191fa7c0c1
Call common.flushDebugInfo automatically on shutdown
2016-02-16 11:12:01 +09:00
Kijin Sung
516479cf20
Migrate addon, trigger, and widget logging functions to Debug class
2016-02-16 11:01:45 +09:00