Kijin Sung
6b7486e74f
Add 'ifvar' attribute to most query elements
...
XML 쿼리에서 'ifvar' 속성을 사용하여, 특정 변수가 있을 때만 유효한 테이블이나
컬럼, 인덱스 힌트 등을 지정할 수 있도록 합니다. 어떤 변수를 넣는지에 따라
<condition> 뿐 아니라 <table>, <column>, <index_hint? 등의 적용 여부도
XML 쿼리 수정 없이 자유롭게 컨트롤할 수 있게 됩니다.
2021-02-09 21:58:07 +09:00
Kijin Sung
800f323b9c
Fix count error when searching by extra_vars
...
https://xetown.com/questions/1519425
2021-01-31 01:34:56 +09:00
Kijin Sung
957be16a25
Replace all wildcard columns with '1' in count-only subquery #1575
2021-01-29 14:40:28 +09:00
Kijin Sung
3467250e17
Fix missing variables in ConfigHelperTest
2021-01-29 00:42:25 +09:00
Kijin Sung
334b1cc277
Fix remainder of unit test warnings in PHP 8.0
2021-01-29 00:36:24 +09:00
Kijin Sung
60465fb2db
Fix various warnings in PHP 8.0
2021-01-28 22:32:56 +09:00
Kijin Sung
f46b41f437
Update unit tests for latest codeception
2021-01-28 21:53:44 +09:00
Kijin Sung
d5160c28ce
Pass RX_REQUEST_URL directly to the Router
2021-01-19 23:28:13 +09:00
Kijin Sung
03e5909036
Add ability to configure index hint with variable
...
See #1560
2021-01-14 00:40:57 +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
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