Commit graph

2777 commits

Author SHA1 Message Date
Kijin Sung
1acdbc4a47 Version 2.1.9 2023-11-06 09:25:33 +09:00
Kijin Sung
f4474070e1 Merge branch 'security/rve-2023-6' into develop 2023-11-06 07:47:14 +09:00
Kijin Sung
7132ef4c00 Fix type error when null is passed to cut_str()
https://xetown.com/questions/1793588
2023-11-05 20:24:07 +09:00
Kijin Sung
c4e1625afa Fix #2205 change FCM chunk size to 500 2023-11-03 19:19:41 +09:00
Kijin Sung
990343d906 Set editor_mid automatically based on module_srl 2023-11-03 16:42:56 +09:00
Kijin Sung
0d58c9038d Revert conversion to array in legacy_filter()
procFilter를 사용하는 레거시 서드파티 자료는 여러 개의 값을 제출할 경우
배열이 아닌 |@|로 구분된 문자열을 기대하므로, 기존 방식으로 전달
2023-11-02 21:36:55 +09:00
Kijin Sung
e1cfb09652 Set proper module_srl and mid when uploading in member and communication modules 2023-11-02 21:22:43 +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
3233619eac Fix template v2 not working in external pages
https://xetown.com/questions/1792598
2023-10-31 21:42:27 +09:00
Kijin Sung
a602779fc2 General cleanup of Context vars 2023-10-31 11:36:20 +09:00
Kijin Sung
96330593fd Add $this->request to module and template instances 2023-10-29 23:37:08 +09:00
Kijin Sung
a196706d7f Add Request class and make Router::parseUrl() return an instance of it 2023-10-29 23:32:49 +09:00
Kijin Sung
18c0e14b4b Fix failure to load template file if a directory of the same name (minus the extension) exists in the same path 2023-10-27 16:11:25 +09:00
Kijin Sung
47db7e6a0b Add template variables for backward compatibility 2023-10-27 16:06:48 +09:00
Kijin Sung
dd64698c66 Version 2.1.8 2023-10-27 10:24:58 +09:00
Kijin Sung
7ea912bb6e Add _rx_ajax_compat: XMLRPC field to AJAX requests generated by procFilter(), for improved backward compatibility 2023-10-26 23:08:05 +09:00
Kijin Sung
6416499d34 Replace cumbersome noescape filter with {!! $content !!} syntax in common templates 2023-10-26 13:01:47 +09:00
Kijin Sung
e0c396bb3e Convert common/tpl/*_layout files to template v2 2023-10-25 23:28:26 +09:00
Kijin Sung
9d5dff5371 Fix incorrect rx_login_status cookie immediately after autologin 2023-10-25 20:29:27 +09:00
Kijin Sung
80e50d41f5 Change default Cookie path to "/" for compatibility with JS function setCookie() 2023-10-24 23:17:01 +09:00
Kijin Sung
8d2b7101f4 Use Cookie class to control session and member-related cookies, too 2023-10-24 23:09:50 +09:00
Kijin Sung
a3cde9c109 Add config.php options to set defaults for Cookie class #2184 2023-10-24 23:09:17 +09:00
Kijin Sung
5005a09f06 Add Rhymix\Framework\Cookie class with sane defaults 2023-10-24 22:37:27 +09:00
Kijin Sung
c84756e769 Make procFilter() use exec_json() instead of exec_xml() internally, and deprecate it 2023-10-24 21:08:21 +09:00
Kijin Sung
e9e46e3391 Remove HTTP/2 server push for Cloudflare
클플에서 해당 기능 지원 중단하여 더이상 작동하지 않음
https://developer.chrome.com/blog/removing-push/
2023-10-24 20:32:35 +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
8d3a332344 Reset template configuration when paths are provided to compile() or compileDirect() 2023-10-23 14:07:27 +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
Kijin Sung
5b47151440 Change desktop and mobile directives to reference static Context method 2023-10-21 13:35:24 +09:00
Kijin Sung
fbc5564247 Prevent direct access to .blade.php templates 2023-10-20 23:15:21 +09:00
Kijin Sung
129a0403e4 Throw warning if <block>, cond, loop is used in template v2 2023-10-20 21:17:38 +09:00
Kijin Sung
a284a1b072 Also apply scope conversion to short PHP tags 2023-10-20 21:03:31 +09:00
Kijin Sung
55d91b9dc7 Implement unload directive 2023-10-20 20:56:14 +09:00
Kijin Sung
9a98e9220d Enforce the order of parameters to the load directive 2023-10-20 20:46:35 +09:00
Kijin Sung
ca5c96d02a Add unit tests for path conversion utilities in Template class 2023-10-18 21:33:49 +09:00
Kijin Sung
325c2c2b13 Rename internal list and add useful comment 2023-10-18 21:19:04 +09:00
Kijin Sung
3c401bbc20 Add pushOnce and prependOnce helper directives 2023-10-18 21:16:39 +09:00
Kijin Sung
6b2b3f0dc2 Add dd and url helper directives 2023-10-18 20:57:52 +09:00
Kijin Sung
c487c13864 Apply context-aware escape more generally; add can/cannot/canany and env directives 2023-10-18 12:09:45 +09:00
Kijin Sung
7c727c0fcb Cache the regexp for template v2 directives 2023-10-18 02:28:38 +09:00
Kijin Sung
c19d71847f Implement template v2 feature of pushing to stack 2023-10-18 02:23:18 +09:00
Kijin Sung
7b518ab747 Template v2 directives must match at word boundary 2023-10-18 01:44:36 +09:00
Kijin Sung
0f14ad8ccf Add error checking directive and unit tests for it 2023-10-18 00:29:32 +09:00
Kijin Sung
d4654eb5cf Remove member directive, and extend auth directive to look at grants 2023-10-18 00:12:40 +09:00
Kijin Sung
e044e11c5f Convert include code into a method of Template class 2023-10-18 00:01:11 +09:00
Kijin Sung
012dbb9ab7 Convert resource loading code into a method of Template class 2023-10-17 23:29:55 +09:00
Kijin Sung
55cafc5c33 Convert class and style builder into a method of Template class 2023-10-17 22:44:27 +09:00
Kijin Sung
82b9107ca0 Add support for fragment in template v2 2023-10-17 22:25:53 +09:00