Commit graph

19801 commits

Author SHA1 Message Date
Kijin Sung
2baa4b5369 Fix warning when the author's member info cannot be found 2023-11-02 21:36:27 +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
f6a02fd006 Fix typo in procFileDelete 2023-11-02 21:18:59 +09:00
Kijin Sung
eda9af546c Automatically set module_srl in upload info, and check it strictly 2023-11-02 20:49:05 +09:00
Kijin Sung
bffa50dd15 Fix RVE-2023-6 (validate module_srl when uploading/deleting) 2023-11-02 13:19:41 +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
99de7db35a Fix RVE-2023-6 (getFileList) 2023-11-01 22:36:05 +09:00
Kijin Sung
4a9a89b299 Fix RVE-2023-6 (procFileDelete, procFileSetCoverImage) 2023-11-01 22:32:47 +09:00
Kijin Sung
613518aa28 Fix RVE-2023-6 (procFileUpload, procFileIframeUpload) 2023-11-01 22:23:06 +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
3233619eac Fix template v2 not working in external pages
https://xetown.com/questions/1792598
2023-10-31 21:42:27 +09:00
Kijin Sung
d79c2f5140 Fix #2202 undefined properties if domain settings are not saved 2023-10-31 11:50:00 +09:00
Kijin Sung
a602779fc2 General cleanup of Context vars 2023-10-31 11:36:20 +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
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
986fc23043 Redirect to inbox after sending message 2023-10-27 19:32:17 +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
dbcbb57413 Fix broken admin footer when counter addon is disabled 2023-10-27 10:43:08 +09:00
Kijin Sung
dd64698c66 Version 2.1.8 2023-10-27 10:24:58 +09:00
Kijin Sung
c58b13c459 Fix buttons being crushed when loading temp saved document with long content 2023-10-27 10:20:19 +09:00
Kijin Sung
ce0313acc5 Mark old Context methods as deprecated 2023-10-27 00:48:36 +09:00
Kijin Sung
286dc76e78 Support event handler (trigger) to customize the content of the admin dashboard 2023-10-27 00:22:12 +09:00
Kijin Sung
72ab8ea8fc Disable CKEditor 4.22 version check AJAX request 2023-10-26 23:10:05 +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
2d443a600e Use own store of codecept.phar for github actions 2023-10-26 20:36:51 +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
53ec02b6bb Restore sending message by email (revert #1109)
- 스팸 방지를 위해 관리자만 발송할 수 있도록 변경
- 보낸이의 메일 주소를 노출하지 않도록 변경
2023-10-24 21:33:39 +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
6856f60ff9 Fix incorrect default canonical URL on pages using Router 2023-10-24 20:27:16 +09:00
Kijin Sung
1f688c167c Change deprecated Codeception class name 2023-10-24 20:16:44 +09:00
Kijin Sung
4c49bc8d77 Fix undefined variable in layout cache file 2023-10-23 22:19:06 +09:00
Kijin Sung
c1ee5abaa1 Return early if hashed password is not provided 2023-10-23 22:10:07 +09:00
Kijin Sung
13ad81da5d Fix fatal error if dispBoardDeleteComment is called without comment_srl 2023-10-23 22:09:46 +09:00
Kijin Sung
1d079e3194
Merge pull request #2200 from kijin/template-v2
템플릿 언어 v2
2023-10-23 20:16:04 +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
6a2a2826ec Optimize common code paths using Template class 2023-10-23 14:11:26 +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