Commit graph

183 commits

Author SHA1 Message Date
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
02122cb383 Add unit tests for SELECT COUNT(*) queries 2021-01-07 01:06:02 +09:00
Kijin Sung
3cdcd2dcc0 Accommodate formatter changes 2021-01-06 21:50:27 +09:00
Kijin Sung
09456462f4 #1517 보완: 따옴표 escape 처리에 대한 유닛 테스트 추가 2021-01-02 23:00:59 +09:00
Kijin Sung
7a982f134e #1517 보완: 유닛 테스트 더 많이 추가 2021-01-02 22:52:20 +09:00
Kijin Sung
9e7d654885 #1517 보완: 더 복잡한 조건으로 유닛 테스트 추가 2021-01-02 22:47:14 +09:00
Min-Soo Kim
dc5296f326 Unit test 수정.
키워드 양쪽에 wild-card가 붙는 것이 의도 된 것이 맞음..
2020-12-27 21:21:24 +09:00
Min-Soo Kim
b3abdfd696 Unit test 오타 수정.
- 맨 마지막 AND는 제거되는 것이 의도가 맞음.
- Distinct가 없는 예시.
2020-12-27 21:18:55 +09:00
Min-Soo Kim
3ff91018cc Add unit test + 통합검색 키워드 글자 수 제한 변경 2020-12-27 21:14:51 +09:00
Kijin Sung
02b2d54275 Provide incr() and decr() as static methods of Cache class 2020-12-15 02:13:38 +09:00
Kijin Sung
380f779301 Add unit tests for UA::getColorScheme() and UA::setColorScheme() 2020-12-13 20:00:53 +09:00
Kijin Sung
7f2504b9b7 Allow escaping column type with a backslash to use literal DB type, e.g. date
DB에서 지원하는 타입명과 XE 호환성을 위해 유지하는 타입명이 충돌하는 경우
(예: date) XML 스키마에서 타입명 앞에 백슬래시를 붙이면 (예: \date)
DB에서 지원하는 타입명을 강제로 사용할 수 있도록 함.
2020-10-22 01:15:23 +09:00
Kijin Sung
28b3c2ef34 Fix #1422 incorrect quoting of expressions in XML queries 2020-10-21 23:20:35 +09:00
Kijin Sung
2a87c060b9 Fix #1442 add prefixes to INSERT/UPDATE queries, too 2020-10-21 22:47:34 +09:00
Kijin Sung
627f05c077 Fix unit test for ModuleActionParser 2020-10-19 19:22:24 +09:00
Kijin Sung
4ad35bff8c Support index options 2020-07-11 18:00:36 +09:00
Kijin Sung
9b776942e5 Support more index types in DB table parser
UNIQUE, SPATIAL, FULLTEXT
2020-07-11 15:42:37 +09:00
Kijin Sung
592c8041cb Add unit tests for LangParser 2020-07-08 00:00:27 +09:00
Kijin Sung
716b0e19bd Add unit tests for XMLRPC request parser 2020-07-07 19:29:26 +09:00
Kijin Sung
dbb8cd684e Add unit tests for ModuleActionParser 2020-07-07 19:20:51 +09:00
Kijin Sung
1abdb2d788 Add unit tests for ModuleInfoParser 2020-07-07 18:04:17 +09:00
Kijin Sung
5dc1eb0762 Add unit tests for getQueryString() and getQueryParams() 2020-07-07 13:31:54 +09:00
Kijin Sung
46afc3551a Add unit tests for insert, update, delete queries 2020-07-06 20:11:54 +09:00
Kijin Sung
c6cb8f72b5 Add subquery unit tests for DBQueryParser 2020-07-06 14:43:57 +09:00
Kijin Sung
10302ea44e Add some unit tests for DBQueryParser (more to come) 2020-07-06 14:16:13 +09:00
Kijin Sung
8bb01edf86 Add unit tests for DBTableParser 2020-07-06 13:43:56 +09:00
Kijin Sung
77ab5cf870 Add unit tests for some methods of new DB class 2020-07-06 11:40:26 +09:00
Kijin Sung
dfc1082c85 Add UA::getLocale() 2020-07-05 20:21:44 +09:00
Kijin Sung
3abaee5e2b Add OS version and device model detection to UA::getBrowserInfo() 2020-06-25 15:17:11 +09:00
Kijin Sung
dcbd5ff9b6 Add SMS drivers for apistore, cafe24, ppurio 2020-06-24 22:12:10 +09:00
Kijin Sung
9a158fde7e Fix unit tests 2020-06-22 00:57:12 +09:00
Kijin Sung
1bb7248e3e Add tests for Router::getURL() and Router::parseURL() 2020-06-22 00:52:51 +09:00
Kijin Sung
3a13b51068 Add basic structure of unit test for Router 2020-06-19 14:20:30 +09:00
BJRambo
43161bab35 Fix typo 2020-06-13 20:34:03 +09:00
BJRambo
8c4e300f1a Add SolAPI driver for SMS 2020-06-13 20:19:45 +09:00
Kijin Sung
7633bc7b3a Add option to exclude multimedia files from direct download #1207 2020-03-23 01:52:57 +09:00
Kijin Sung
342c011a6c Add functions for converting between country codes and calling codes 2020-03-18 21:02:23 +09:00
Kijin Sung
9b4b07b29d Revert "Fix filename encoding for Android 10 webview #1251"
이 패치는 효과가 없는 것으로 밝혀졌으므로 취소함
짧은주소 다운로드 기능으로 대체함
2020-03-15 00:56:15 +09:00
Kijin Sung
78e575f17b Fix filename encoding for Android 10 webview #1251 2020-03-11 16:58:09 +09:00
Kijin Sung
e3da3ba794 Treat 'Mediapartners-Google' as a robot 2019-12-23 13:50:15 +09:00
conory
1075b528d6 MIME 타입과 지원 확장자 수정 2019-10-04 01:12:19 +09:00
conory
3964792b8b Fix unit test 2019-10-04 00:02:20 +09:00
conory
44c29e5fd1 Fix unit test 2019-10-03 23:51:27 +09:00
Kijin Sung
d8fa31722c Allow autoplay attribute of <audio> and <video> tags #1187 2019-08-13 15:11:08 +09:00
Kijin Sung
b284d69760 Try raw output for Android browser, Whale, webview 2019-07-31 16:08:26 +09:00
Kijin Sung
f33c8d9fbe Fix #1180 download filename issue in Android webview and Naver App 2019-07-30 20:43:27 +09:00
Kijin Sung
d873196aa8 Improve validation and formatting for 0303 and 0505 phone numbers 2019-05-13 15:34:09 +09:00
Kijin Sung
7b9fe8f7f2 Revert "Fix var_export() not working for stdClass in PHP < 7.3"
This reverts commit 3f7f802585.
2018-12-13 18:59:27 +09:00
Kijin Sung
3f7f802585 Fix var_export() not working for stdClass in PHP < 7.3 2018-12-13 15:22:11 +09:00
Kijin Sung
e98cf03d95 Move upload file filter to Rhymix Framework and add proper unit tests for SVG-based attacks 2018-10-18 14:34:19 +09:00