Commit graph

607 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
c275702fbf
Merge pull request #1482 from kijin/pr/color-scheme
다크모드 감지 및 설정을 위한 rx_color_scheme 쿠키값의 표준화
2020-12-15 01:59:17 +09:00
Kijin Sung
436728f7b7 Fix unit test for TemplateHandler 2020-12-15 00:24:26 +09:00
Kijin Sung
49923844b2 Various fixes to remove warnings in PHP 8.0 2020-12-15 00:18:42 +09:00
Kijin Sung
4c62231e88 Fix template syntax for Context::unloadFile() and related unit tests 2020-12-13 21:33:27 +09:00
Kijin Sung
380f779301 Add unit tests for UA::getColorScheme() and UA::setColorScheme() 2020-12-13 20:00:53 +09:00
Kijin Sung
99728527f9 Fix incorrect testing of CSS file index in FrontEndFileHandler 2020-10-31 15:27:47 +09:00
Kijin Sung
c920f6dca4 Refine default allowed methods 2020-10-27 21:38:26 +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
ffe9cda5e0 Merge branch 'develop' into next 2020-08-29 23:53:31 +09:00
Kijin Sung
84dfeb64f1 Fix unit test for 313e5275 2020-08-19 17:53:09 +09:00
Kijin Sung
0f469baae8 Merge branch 'develop' into next 2020-07-31 15:36:40 +09:00
Kijin Sung
a740f39538 Add unit tests for utf8_clean() 2020-07-31 14:58:21 +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
d167cb9ec8 Fix db_type in install cept 2020-06-30 20:55:51 +09:00
Kijin Sung
b9d116db68 Update db_type in autoinstall cept 2020-06-30 20:50:28 +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
Kijin Sung
fda931ede0 Fix unit tests to match expected behavior 2020-06-19 13:54:37 +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