Commit graph

601 commits

Author SHA1 Message Date
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
Kijin Sung
fbda332c0a Update test for contenteditable="false" 2022-12-26 00:20:48 +09:00
Kijin Sung
35a93f3928 Remove code that uses defuse/php-encryption (from next branch) 2022-12-25 19:45:12 +09:00
Kijin Sung
0ed1cfdef7 Support YYYY-MM-DD HH:MM:SS format and ISO 8601 format in zdate(), ztime(), and related functions 2022-12-24 22:57:18 +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
928a24fac0 Add polyfills for str_contains(), str_starts_with(), str_ends_with() for PHP < 8.0 2022-12-02 15:45:58 +09:00
Kijin Sung
606989c451 Also support $foo->$bar syntax in cond="" and loop="" syntax 2022-10-31 01:40:40 +09:00
Kijin Sung
2a026a6c86 Allow true/false/yes/no values for autoescape
템플릿의 <config autoescape="on" /> 문법이 on, off만 지원하기 때문에
흔히 사용하는 true, false, yes, no, Y, N 등의 불리언 값을 입력하면
안전하지 않은 off로 인식하게 됨. 이 경우에도 적절히 처리하도록 변경.
2022-10-30 22:28:39 +09:00
Kijin Sung
a398c7548d Test more complex syntaxes using some of the filter tests 2022-10-30 21:43:29 +09:00
Kijin Sung
93a7348606 Support $foo->$bar syntax in templates
기존: $__Context->$__Context->bar 로 변환되어 오작동
개선: $__Context->{$__Context->bar} 로 변환되어 정상 작동되며
      변싱 순서에 따라 이 중괄호가 다시 해석되지는 않음
2022-10-30 21:41:40 +09:00
Kijin Sung
326f84584a Change MySQL default user from root to rhymix 2022-10-30 18:24:24 +09:00
Kijin Sung
7c918c52ca Add iwinv SMS driver to unit test 2022-10-30 17:37:55 +09:00
Kijin Sung
7f260be361 Remove cafe24 SMS driver from unit test 2022-10-30 17:37:06 +09:00
Kijin Sung
ad86a34833 #2006 add more unit tests for aspect-ratio and object-fit 2022-10-30 13:22:21 +09:00
Kijin Sung
ad23796906 Fix #2003 remove default act from short URL if there are no arguments 2022-10-29 22:06:36 +09:00
Kijin Sung
a44959382e Fux #2006 allow some aspect-ratio values and all valid object-fit values in HTML filter 2022-10-29 21:23:39 +09:00
Kijin Sung
8abe1b1d7d Add option to escape() to keep user lang codes intact #1976 2022-08-15 18:06:26 +09:00
Kijin Sung
58d369cc31 Improve unit tests for default and blacklisted plugins 2022-08-06 13:31:02 +09:00
Kijin Sung
099d8397c9 Prevent path conversion of data: URL in <img> tag 2022-07-11 21:55:09 +09:00
Kijin Sung
8b611e9d08 Add more tests for table alias handling (#1956 보완) 2022-07-03 17:49:19 +09:00