Commit graph

601 commits

Author SHA1 Message Date
Kijin Sung
e192bc0ff6 Add widget directive for Template v2 2025-03-20 14:01:56 +09:00
Kijin Sung
3e052d2d00 Improve detection of template v1-style syntax in CSS/JS contexts 2025-03-19 12:44:17 +09:00
Kijin Sung
04a7734b2e Add unit test for contextual escape 2025-03-19 11:23:56 +09:00
Kijin Sung
49f57980dd Add unit test for inline styles in template v2 2025-03-19 00:16:08 +09:00
Kijin Sung
0bc3635b6c Update unit tests for improved contextual escape 2025-03-19 00:12:57 +09:00
Kijin Sung
baadb36e37 Improve escape_css() to accept most common CSS expressions 2025-03-18 23:53:06 +09:00
Kijin Sung
62eb6b2aae Add more context switches for inline scripts and styles 2025-03-18 23:17:42 +09:00
Kijin Sung
800eb2f444 Change behavior of \@mobile directive in template v2 #2510 2025-03-18 22:51:22 +09:00
Kijin Sung
82195c3e14 #2527 보완: 유닛 테스트 추가 2025-03-18 22:38:07 +09:00
Kijin Sung
2b8656eaf0 Add unit tests for RVE-2025-1 2025-02-16 14:55:50 +09:00
Kijin Sung
ae0e13eca9 Add unit tests for if="var" support in XML query 2025-02-15 22:42:11 +09:00
Kijin Sung
0d14aca1c0 Add unit test for type="module" and fix broken tests 2025-02-15 22:13:35 +09:00
Kijin Sung
08d6db7657 Don't convert Cloudflare IP if CF-Worker header is set 2025-02-13 22:43:46 +09:00
Kijin Sung
00db2ab402 Fix broken emoji and other HTML entities when using cut_str()
https://xetown.com/questions/1855257
2025-02-13 22:39:13 +09:00
Kijin Sung
d7f2201905 Fix unit test for external media #2476 2025-02-07 18:02:08 +09:00
Kijin Sung
f5c1d095c9 Fix unit test for external media #2476 2025-02-07 17:59:40 +09:00
Kijin Sung
746afdacb3 Fix queue config interfering with unit tests 2024-12-12 21:37:53 +09:00
Kijin Sung
eebd9a0005 Modify current queue config for unit testing 2024-12-12 21:31:31 +09:00
Kijin Sung
50974a325e Add unit tests for scheduled tasks 2024-12-12 21:28:43 +09:00
Kijin Sung
a2cdd3d897 Update unit tests for dummy queue driver 2024-12-12 01:58:05 +09:00
Kijin Sung
c7d7cdda8b Remove APISTORE from unit tests 2024-10-25 02:21:55 +09:00
Kijin Sung
4b0b485a13 Add basic unit tests for Queue class using Dummy driver 2024-10-11 23:19:53 +09:00
Kijin Sung
405b047054 Add unit tests for new robots 2024-10-07 22:06:46 +09:00
Kijin Sung
8a012a5847 Add R\F\URL::getCurrentDomain() 2024-05-27 01:43:04 +09:00
Kijin Sung
5f47ddeb53 Fix #2352 automatically convert relative paths in CSS url() function, only in template v2 2024-05-25 01:34:47 +09:00
Kijin Sung
1dbf601bab Fix #2342 incorrectly placed context switch markers inside raw PHP code block 2024-05-07 23:02:09 +09:00
Kijin Sung
e57c6c5c25 Improve relative path handling in Template v2 #2310 2024-04-30 23:45:17 +09:00
Kijin Sung
848a45cabe Fix #2313 inconsistent email validation rules 2024-04-17 23:15:24 +09:00
Kijin Sung
ab5a2c4f5f Disable debug output during template parser tests 2024-04-08 22:56:19 +09:00
Kijin Sung
0b9131e664 Remove unnecessary encoding of /, &, ' in template v2 JSON output 2024-03-24 21:29:54 +09:00
Kijin Sung
ee9a1a2b20 Fix #2272 unintended conversion of v1 echo statements inside verbatim section of v2 template 2024-01-16 21:43:38 +09:00
Kijin Sung
2d1ff01688 Fix #2271 data-file-srl attribute of <video> and <audio> tags 2024-01-16 21:30:27 +09:00
Kijin Sung
e2cfa524d0 Fix TemplateParserV1 and FrontEndFileHandler not recognizing Google webfonts '.../css2?...' URL as CSS 2024-01-10 13:09:01 +09:00
Kijin Sung
f16da70c64 Add DB::getIndexInfo() 2023-12-31 00:16:43 +09:00
Kijin Sung
b344bbfb26 Properly handle "loading" and "sandbox" attributes of iframes 2023-12-12 19:05:40 +09:00
Kijin Sung
a78df8d4fd Fix incorrect recognition of 0507 phone numbers 2023-12-04 17:33:52 +09:00
Kijin Sung
a36ecab8b4 Reset cache driver after unit test 2023-11-30 23:57:34 +09:00
Kijin Sung
4a2ea92f07 Fix unit test for #2215 2023-11-25 22:33:53 +09:00
Kijin Sung
de08f5ee62 유닛 테스트 수정 및 강화하여 #2214 보완 2023-11-25 22:30:51 +09:00
Kijin Sung
40d3ce4f46 Add unit test ad5c3c0f5 2023-11-21 22:13:56 +09:00
Kijin Sung
d54eb4f3d5 Handle the special case of Context::loadFile($filename, true)
https://xetown.com/questions/1793899
2023-11-09 01:17:21 +09:00
Kijin Sung
177e54f86c Remove redundant Context::init() in unit tests 2023-11-06 09:18:21 +09:00
Kijin Sung
e7eadcc6f1 Fix unit test error when repository name is not "rhymix" 2023-11-02 13:00:39 +09:00
Kijin Sung
a128b6e3cb Fix unit test error when repository name is not "rhymix" 2023-11-02 12:44:03 +09:00
Kijin Sung
720193d9b9 Separate compile unit tests for template v2 into several methods 2023-10-31 22:01:22 +09:00
Kijin Sung
e72336c90c Fix #2203 'this' in lang directive will refer to current module 2023-10-31 21:59:33 +09:00
Kijin Sung
af0dab0e1b Always initialize Context before unit test 2023-10-31 11:35:54 +09:00
Kijin Sung
c8cac3653f Fix missing Context::init() in unit test for Password class 2023-10-29 23:41:48 +09:00
Kijin Sung
1f688c167c Change deprecated Codeception class name 2023-10-24 20:16:44 +09:00
Kijin Sung
c42d059594 Add deprecation warnings if syntax like <--#include-->, <!--%import--> is used in template v2 2023-10-23 14:17:30 +09:00