Commit graph

87 commits

Author SHA1 Message Date
Kijin Sung
d34d08438f Fix #2052 move all charset and import statements to the beginning of concatenated CSS scripts 2022-12-28 00:06:50 +09:00
Kijin Sung
23a827923e Support timestamp() with customizable format in XML query 2022-12-24 22:38:18 +09:00
Kijin Sung
4cc730e489 Support order_default attribute to <index> tag in XML query 2022-12-18 01:18:55 +09:00
Kijin Sung
8b611e9d08 Add more tests for table alias handling (#1956 보완) 2022-07-03 17:49:19 +09:00
Kijin Sung
cb9f3dd1db Fix #1868 incorrect parsing of CSS/SCSS import containing special characters 2022-02-03 14:28:25 +09:00
Kijin Sung
7f6e020d97 PROPERLY fix null value handling in both read and write queries 2022-01-25 14:54:17 +09:00
Kijin Sung
f7146a4791 Fix #1778 support multi-column unique indexes using legacy syntax 2021-08-26 00:44:13 +09:00
Kijin Sung
6a4d3d912c Fix #1706 support default="null" in XML query parser 2021-06-19 20:26:09 +09:00
Kijin Sung
b01a148675 Fix #1729 @import of external URL in concatenated CSS 2021-06-19 19:39:57 +09:00
Kijin Sung
741a714abd Set standalone attribute to 'auto' if new class syntax is used in module.xml
- 새로 추가된 클래스 문법 사용시 standalone 속성 기본값은 true가 아닌 auto로 지정

- standalone 속성의 의미는 아래와 같음
  - true: 항상 접근 허용 (기존 방식으로 선언한 액션의 기본값)
  - false: mid가 소속 모듈과 일치하거나, admin 모듈인 경우에만 접근 허용
  - auto: module 또는 mid가 소속 모듈과 일치하거나, admin 모듈인 경우에만 접근 허용
    (즉, false와 비슷하지만 exec_json 함수 등에서 module+act로 호출하는 경우에는
    mid가 없더라도 module만 일치하면 호출할 수 있도록 허용하여 개발 편의를 높임)

- 단, global_route 속성이 있는 경우 standalone 속성 기본값은 true임
  (전역 짧은주소는 mid 없이 호출될 수밖에 없으므로)
2021-04-20 21:45:21 +09:00
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
957be16a25 Replace all wildcard columns with '1' in count-only subquery #1575 2021-01-29 14:40:28 +09:00
Kijin Sung
aefa19e850 Fix SCSS imports with relative paths not working 2021-01-21 15:45:58 +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
02122cb383 Add unit tests for SELECT COUNT(*) queries 2021-01-07 01:06:02 +09:00
Kijin Sung
9e7d654885 #1517 보완: 더 복잡한 조건으로 유닛 테스트 추가 2021-01-02 22:47:14 +09:00
Min-Soo Kim
3ff91018cc Add unit test + 통합검색 키워드 글자 수 제한 변경 2020-12-27 21:14:51 +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
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
1abdb2d788 Add unit tests for ModuleInfoParser 2020-07-07 18:04:17 +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
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
Kijin Sung
464325c6f6 Update Markdown formatter to support footnotes and hard wraps natively 2017-06-29 23:58:20 +09:00
Kijin Sung
e12dd2d540 Add unit tests for SMS class 2016-11-06 21:55:51 +09:00
Kijin Sung
cb8bb2e1b0 Add unit tests for CSS imports and relative path conversion 2016-05-05 20:18:45 +09:00
Kijin Sung
b5a10e850f Add unit tests for concatCSS() and concatJS() 2016-05-05 13:45:57 +09:00
Kijin Sung
90bce20794 Add parser for IE conditional comments, to be used in JS concatenation 2016-05-04 18:06:02 +09:00
Kijin Sung
ed50a57f9c Add formatter class and associated unit tests 2016-03-18 14:10:10 +09:00
bnu
dd667fd578 codeception 추가
- unit test 이전
2015-04-10 18:05:21 +09:00