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 |
|
Kijin Sung
|
066f3017c7
|
Use gzip setting from new config format
|
2016-02-08 15:50:26 +09:00 |
|
Kijin Sung
|
0c2c0d2b19
|
Set request method to XMLRPC if called via exec_xml()
|
2016-02-05 11:41:27 +09:00 |
|
Kijin Sung
|
3a419d586d
|
Improve backward compatibility with AXUpload5 and other third-party AJAX apps
|
2016-01-26 10:32:59 +09:00 |
|
Kijin Sung
|
f73892de82
|
Fix incorrect Content-Type header when displaying JSON
|
2016-01-22 14:22:02 +09:00 |
|
Kijin Sung
|
e20dc5d2f9
|
Clean up some non-static methods in DisplayHandler
|
2016-01-22 14:10:44 +09:00 |
|
Kijin Sung
|
db87085967
|
Remove unnecessary calls to getMicroTime()
|
2016-01-08 14:05:48 +09:00 |
|
Kijin Sung
|
29fb8344f8
|
Merge #1631 ob_gzhandler 대신 zlib.output_compression 사용 by kijin
* pr/1631:
Use zlib.output_compression instead of ob_gzhandler
|
2015-10-08 15:03:21 +09:00 |
|