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 |
|
Kijin Sung
|
7c4fc37dd3
|
Make debug log filename configurable
|
2016-02-15 14:28:57 +09:00 |
|
Kijin Sung
|
4e2535624d
|
Use separate debug files and prevent direct access
|
2016-02-13 21:11:05 +09:00 |
|
Kijin Sung
|
51f985c215
|
Only use error handler and slowlog when debugging is enabled
|
2016-02-13 11:29:09 +09:00 |
|
Kijin Sung
|
12673a29c6
|
Also display debug information for previous AJAX request in panel
|
2016-02-13 10:31:04 +09:00 |
|
Kijin Sung
|
373305ab6b
|
Initial implementation of debug panel on web page
|
2016-02-13 01:33:06 +09:00 |
|
Kijin Sung
|
e956ee88d7
|
Also print debug information when responding via JSON
|
2016-02-12 21:48:00 +09:00 |
|
Kijin Sung
|
ac8460d782
|
Finalize debug data format and allow all statistics to be collected
|
2016-02-12 21:31:38 +09:00 |
|
Kijin Sung
|
8394afce74
|
Minor adjustments
|
2016-02-12 20:33:05 +09:00 |
|
Kijin Sung
|
4b835bfe71
|
Separate debug comment into its own template
|
2016-02-12 17:42:46 +09:00 |
|
Kijin Sung
|
d63900547e
|
Replace debug comment with new system
|
2016-02-12 16:35:10 +09:00 |
|
Kijin Sung
|
53a24a0e8a
|
Also prevent addons from overwriting output with query object
|
2016-02-10 16:39:19 +09:00 |
|
Kijin Sung
|
82da535ec6
|
Prevent addons from overwriting important variables with nonsense
|
2016-02-10 16:34:55 +09:00 |
|