Commit graph

262 commits

Author SHA1 Message Date
Kijin Sung
e7d14be6bb Fix inappropriate quoting of "distinct" in XML query
https://rhymix.org/qna/1914711
2025-08-19 00:22:02 +09:00
Kijin Sung
451d0b95ac Disable all conversion inside verbatim section of template v2 2025-08-18 22:24:48 +09:00
Kijin Sung
f7543e4c9a In template v2, process escape filters before other filters 2025-08-18 22:09:31 +09:00
Waterticket
108da2eac3 자신을 참조하는 외래키는 생성 순서에 영향을 주지 않도록 변경 #2576 2025-07-04 18:44:01 +09:00
Kijin Sung
dd4d4fe979 Treat pattern attribute of form elements as JS context in Template v2 2025-06-17 17:15:49 +09:00
Kijin Sung
b849c597bc Reimplement skin XML parser 2025-06-01 15:28:37 +09:00
Kijin Sung
07e3298eb1 Reimplement layout XML parser using modern alternatives 2025-06-01 02:35:15 +09:00
Kijin Sung
6e325526c8 Add notnull property to <group> tag in conditions 2025-05-29 23:08:05 +09:00
Kijin Sung
f99102ca33 Clean up handling of table schemas that are marked as deleted in XML 2025-05-23 15:31:02 +09:00
Kijin Sung
66e040b3f9 Use RulesetParser instead of XeXmlParser in Validator 2025-05-19 23:52:08 +09:00
Kijin Sung
a77b9a5d3a Implement RulesetParser 2025-05-19 22:44:32 +09:00
Kijin Sung
278369b70e Replace widget and widgetstyle XML parsing and caching logic 2025-05-19 21:38:58 +09:00
Kijin Sung
6727b124cd Always initialize extra_vars attribute 2025-05-19 21:29:25 +09:00
Kijin Sung
86118dbf50 Update XML parsers for more backward compatibility 2025-05-19 20:56:22 +09:00
Kijin Sung
a3d682a294 Rewrite addon info.xml parser and support default values 2025-05-18 21:42:36 +09:00
Kijin Sung
addf4d9972 Fix incorrect type hints 2025-05-17 23:46:58 +09:00
Kijin Sung
8c87d9ee1d Allow dynamic properties in XEXMLParser 2025-05-17 13:06:54 +09:00
Kijin Sung
e0ba5aa5b6 Prevent undefined property errors in XEXMLParser use cases 2025-05-17 13:02:29 +09:00
Kijin Sung
db72b670d8 Replace XE XML parser with new implementation based on SimpleXML 2025-05-17 12:44:04 +09:00
Kijin Sung
0a3fa5c77b Prevent unnecessary length calculation if minlength/maxlength are not set 2025-04-16 12:06:57 +09:00
Kijin Sung
ba74b47a29 Fix matching of partial attribute names #2537 2025-03-31 01:11:51 +09:00
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
01f34781df Don't parse template v1 syntax (single braces) in CSS/JS context 2025-03-19 00:42:01 +09:00
Kijin Sung
9689a1ed68 Implement better contextual escape for template v2 2025-03-19 00:12:39 +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
a208e0dbbc Fix RVE-2025-1 potential SQL injection via third-party program 2025-02-16 14:55:40 +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
658a28dfd8 Support "if" attribute in navigation elements of XML query 2025-02-15 22:32:42 +09:00
Kijin Sung
fd0491cb0d Reorder return values of VariableBase::getValue() so that the value can be quickly accessed 2025-02-15 22:25:25 +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
848a45cabe Fix #2313 inconsistent email validation rules 2024-04-17 23:15:24 +09:00
Kijin Sung
267aa9c397 Remove unnecessary conversion of ftp.config.php
https://xetown.com/questions/1819188
2024-04-12 00:07:57 +09:00
Kijin Sung
777a62af35 Fix erroneous detection of SSL configration when importing very old XE configuration file 2024-04-08 22:48:59 +09:00
Kijin Sung
f419353013 Allow comma as a separator for module action methods 2024-03-24 22:29:53 +09:00
Kijin Sung
0b9131e664 Remove unnecessary encoding of /, &, ' in template v2 JSON output 2024-03-24 21:29:54 +09:00
Kijin Sung
dd4d04f409 Allow passing falsey values to if="" attribute of XML queries 2024-03-19 22:52:39 +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
e2cfa524d0 Fix TemplateParserV1 and FrontEndFileHandler not recognizing Google webfonts '.../css2?...' URL as CSS 2024-01-10 13:09:01 +09:00
Kijin Sung
3e09ca63a9 Fix #2241 inconsistent handling of class name specified in event handler 2023-12-30 20:45:48 +09:00
Kijin Sung
8ba0d351a0 Fix warning when order_var is not set 2023-12-06 16:55:08 +09:00
Kijin Sung
f58c3e2db2 Fix #2215 missing lang code (also see #2131) 2023-11-24 14:43:50 +09:00
Kijin Sung
ad5c3c0f5c Fix duplicate condition when joined subquery contains <conditions>
https://xetown.com/questions/1795994
2023-11-21 22:13:17 +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
c42d059594 Add deprecation warnings if syntax like <--#include-->, <!--%import--> is used in template v2 2023-10-23 14:17:30 +09:00
Kijin Sung
a5d6a76cf4 Add parent reference to Template instances 2023-10-22 00:46:58 +09:00
Kijin Sung
fefd3dd895 Fix path normalization problem 2023-10-21 14:19:20 +09:00
Kijin Sung
6085b82d19 Inherit parent vars and add own vars when a template is included with vars from another template that has vars; add unit tests for vars inheritance 2023-10-21 13:52:02 +09:00