Commit graph

621 commits

Author SHA1 Message Date
Kijin Sung
3e1587c2ac Fix variable scope and absolute path handling in include syntax of template v2 2023-10-16 00:30:56 +09:00
Kijin Sung
8c4dfe744f Use actually existing filename for v1 parse test 2023-10-15 23:43:31 +09:00
Kijin Sung
27ab3fa7d9 More unit tests for template parser v2 2023-10-15 23:42:49 +09:00
Kijin Sung
1067588754 Unit tests should inherit Codeception\Test\Unit, not Codeception\TestCase\Test 2023-10-15 23:05:46 +09:00
Kijin Sung
9da1d56b21 Partial implementation of unit test for template parser v2 2023-10-15 23:03:27 +09:00
Kijin Sung
936663f804 Remove need for wrapper class in unit tests 2023-10-15 20:12:46 +09:00
Kijin Sung
93a0b63fdb Initialize unit test for TemplateParser v2 2023-10-15 00:51:49 +09:00
Kijin Sung
a640306123 Move unit test for TemplateParser v1 2023-10-15 00:50:26 +09:00
Kijin Sung
c777b59afb Merge branch 'develop' into template-v2 2023-10-10 14:23:39 +09:00
Kijin Sung
321d0ea88c Fix #2197 preserve position of data-file-srl attribute and trailing slash in tags 2023-10-06 22:49:15 +09:00
Kijin Sung
221602ceb8 Experimental support for data-* attributes in HTML #2194 2023-10-05 22:18:29 +09:00
Kijin Sung
5ae810a54c Fix #2194 allow <details> amd <summary> tags 2023-10-05 20:52:20 +09:00
Kijin Sung
3505d49de6 Separate common Template class from Template v1 parser 2023-10-03 23:27:02 +09:00
Kijin Sung
f8ed6da4ed Support both UUIDv4 and UUIDv7 in Security::getRandomUUID() 2023-10-03 19:22:04 +09:00
Kijin Sung
27c8d32dc5 Clean up missing or inconsistent types in Mail, SMS, Push classes 2023-10-03 15:05:06 +09:00
Kijin Sung
666e7beffc Clean up missing or inconsistent type declarations in Session class 2023-10-03 14:17:25 +09:00
Kijin Sung
b373dc94c0 Add type hints and use class constants instead of protected properties (continued) 2023-10-03 02:55:24 +09:00
Kijin Sung
5d78d114a7 Remove deprecated argument $errcontext from default error handler 2023-09-26 12:06:20 +09:00
Kijin Sung
14f3704215 Update unit tests for new cache-busting querystring format 2023-09-12 23:20:40 +09:00
Kijin Sung
0f1ea1dbc2 Remove characters in writePHPData() comment that could cause syntax error 2023-09-05 02:07:21 +09:00
Kijin Sung
a50041007d Remove UTF-8 BOM and CRLF in templates when compiling them 2023-09-05 01:05:53 +09:00
Kijin Sung
cd8e6371c6 Preserve line numbers when compiling templates 2023-09-05 00:17:15 +09:00
Kijin Sung
770cde8b8a Preserve line numbers when compiling SCSS with sourcemap 2023-09-04 23:40:09 +09:00
Kijin Sung
9d4961ff0d Update unit tests to force charset declaration and accommodate sourcemap comment 2023-09-04 23:05:14 +09:00
Kijin Sung
74cc098370 Remove incorrect sourceMap link in concatenated JS output 2023-09-04 22:00:12 +09:00
Kijin Sung
35dec01ab0 Fix unit test for FrontEndFileHandler after html5.js removal 2023-08-31 01:04:16 +09:00
Kijin Sung
2b916a8bdb Add unit tests for session and cache-control attributes of module.xml 2023-08-30 22:41:14 +09:00
Kijin Sung
ea345ad7e1 Improve filtering of "allow" and "referrerpolicy" attributes of <iframe> 2023-08-16 22:41:14 +09:00
Kijin Sung
316cb49729 Update unit test for ModuleActionParser 2023-08-11 22:17:10 +09:00
Kijin Sung
d0306df095 Add parser logic for new module.xml settings 2023-08-10 23:52:01 +09:00
Kijin Sung
5881d08f6a Fix unit tests failing if nofollow attribute is turned on 2023-08-10 23:51:50 +09:00
Kijin Sung
2dbdfbaadb Fix #2161 incorrect timestamp when seconds are missing or negative time zone is given 2023-08-04 12:13:09 +09:00
Kijin Sung
56b37b7cbc Remove session keys from unit tests 2023-07-22 20:04:54 +09:00
Kijin Sung
b6e1a4589a Fix #2131 missing translations 2023-06-22 21:55:25 +09:00
Kijin Sung
c3fdee7350 Fix unit test for getUrl() #2123 2023-06-20 22:06:17 +09:00
Kijin Sung
f0237921b9 Fix unit test for getUrl() #2123 2023-06-20 21:28:09 +09:00
Kijin Sung
9aa24c558f Add unit tests for array-based getURL() #2123 2023-06-20 21:13:14 +09:00
Kijin Sung
e238947c9a Add unit tests for DB->connect() and disconnect() 2023-06-19 15:38:24 +09:00
Kijin Sung
31f2d54f1a Update legacy test to reflect WAP removal and DB->isConnected() deprecation 2023-06-19 15:34:40 +09:00
Kijin Sung
7e438350ac Fix unit test for 10cd76d0 change 2023-06-19 02:25:14 +09:00
Kijin Sung
be97b3f5e5 Add unit tests for nested transaction support 2023-04-30 22:53:22 +09:00
Kijin Sung
7755821f20 Add unit tests for DB class equivalence and magic properties 2023-04-30 22:50:49 +09:00
Kijin Sung
5eab0474e5 Fix tests to account for argon2id support 2023-04-24 01:13:47 +09:00
Kijin Sung
3b77781d15 Remove trailing whitespace in all unit tests 2023-01-30 21:48:12 +09:00
Kijin Sung
3f3f270fda Reduce warnings due to undefined variables in templates
- 템플릿에서 변수를 단순 참조할 경우 ?? '' 를 붙여 워닝 방지
- 함수 호출이나 복잡한 문법 안에 들어간 변수까지 처리해 주지는 않음
- 불필요한 오류 메시지를 줄여서 정말 중요한 오류를 찾기 쉽도록
2023-01-17 00:00:34 +09:00
Kijin Sung
174e33ba7c Adjust unit tests for file cache removal 2022-12-30 00:21:17 +09:00
Kijin Sung
5c797c72ca Fix warning in PHP 8.x due to nonexistent targetie attribute 2022-12-28 00:41:35 +09:00
Kijin Sung
9e9adcdb43 Remove support for targetie attribute on assets 2022-12-28 00:35:57 +09:00
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
a667228f29 Change rhymix.less back to rhymix.scss because the LESS converter seems to be abandoned :( 2022-12-26 00:50:02 +09:00