Kijin Sung
b5e9cd9343
Display required level in "Not permitted" error message ##2548
2025-05-22 13:36:23 +09:00
Kijin Sung
bb4cd62e31
Return different "Not permitted" error message depending on what is required #2548
2025-05-22 13:20:48 +09:00
Kijin Sung
4916a589aa
Support not_member permission in module.xml #2499
2025-05-22 00:59:21 +09:00
Kijin Sung
fd103ba67d
Fix #2522 browser titles for member pages not following admin template
2025-03-13 23:21:33 +09:00
Kijin Sung
f6a9d49db1
Add browser title for most items on the member menu
2025-03-09 20:41:13 +09:00
Kijin Sung
83a42081fa
Fix fatal error when some important variables contain non-scalar values
2025-03-08 14:29:25 +09:00
Kijin Sung
ef751041dd
Fix incorrect header script if member module uses its own layout #2474
2025-02-15 21:24:06 +09:00
Kijin Sung
2620049b4e
Merge branch 'master' into pr/manager-scopes
2024-10-27 23:09:40 +09:00
Kijin Sung
76bb57ad80
Move some meta tags back above the <title>
...
원칙적으로 순서는 관계가 없으나, description이 title보다 먼저 나와야 한다고
주장하는 변태들이 있으므로 빌미를 주지 않기 위해 상단으로 다시 옮김.
2024-10-27 23:07:23 +09:00
Kijin Sung
bf0093b56a
Move most meta tags above the <title> to below it #2419
2024-10-27 22:50:02 +09:00
Kijin Sung
008a15bcd5
Use admin scopes to check manager privileges
2024-10-14 23:41:33 +09:00
Kijin Sung
b598083a8c
Replace rx_ajax iframe form submission with proper AJAX using FormData
2024-10-09 17:21:38 +09:00
Malmani
28784b6540
Update ModuleHandler.class.php
...
Notice: Undefined property: stdClass::$menu_count
오류가 발생하는 부분을 수정합니다.
2024-08-16 19:46:05 +09:00
Kijin Sung
114755d13a
Fix error when trying to instantiate class that isn't a ModuleObject
2024-04-16 21:32:15 +09:00
Kijin Sung
eb5dd18659
Support more HTTP methods #2287
2024-03-24 22:57:07 +09:00
Kijin Sung
05f330cabe
Only modify module_info->layout_srl (or mlayout_srl) when it has a positive value
2024-01-17 14:53:11 +09:00
Kijin Sung
fb85d62f2f
Fix setLayoutAndTemplatePaths() no-op when PC layout is set to -1
2024-01-17 14:49:36 +09:00
Kijin Sung
a102f20766
Fix #2237 failure to recognize layout.blade.php
2023-12-30 23:53:05 +09:00
Kijin Sung
9175d51bd5
Fix warning when forwarded module info does not contain all attributes
2023-12-30 21:05:31 +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
618d075a99
Fix warning if header script is not defined in layout
2023-11-18 23:51:51 +09:00
Kijin Sung
8176bdb845
Fix undefined variables in several module config templates
2023-11-09 01:37:38 +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
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
6a2a2826ec
Optimize common code paths using Template class
2023-10-23 14:11:26 +09:00
Kijin Sung
4e8c184d0c
Don't add .html automatically to template name
2023-10-15 02:45:58 +09:00
Kijin Sung
45f016d53b
Update references to TemplateHandler in common code paths
2023-10-10 15:05:46 +09:00
Kijin Sung
6215e57762
Add warning to discourage ruleset use
...
https://xetown.com/questions/1788526
2023-10-03 19:31:15 +09:00
Kijin Sung
028a56a678
Remove notice about moving to mobile site
2023-09-27 15:55:12 +09:00
Kijin Sung
a4b49048f3
Fix uppercase scripts not working as CLI command
2023-09-26 15:02:09 +09:00
Kijin Sung
e60ffb4e8d
Add option to control partial page rendering (layout drop)
...
XE 시절부터 layout=none 또는 isLayoutDrop=1 파라미터로 레이아웃이 없는
부분적인 페이지 렌더링을 허용하는 기능이 있었습니다. 관리자 화면에서
팝업이나 iframe을 표시하는 용도로도 사용하고, AJAX로 페이지 일부 내용만
새로고침할 때 불필요한 데이터를 주고받지 않도록 하는 데도 유용합니다.
그러나 사이트에 따라서는 레이아웃을 적용하지 않을 경우 민감한 정보가
노출되는 등의 부작용이 발생할 수도 있으므로, 이 기능을 사용하지 않도록
선택하는 옵션을 제공합니다.
2023-09-12 00:33:54 +09:00
Kijin Sung
06e736178b
Support sending all _rx_* POST fields as HTTP headers instead
...
하위호환성, 부가기능 등을 위한 _rx_* POST 필드가 점점 많아짐에 따라
모두 헤더로 대체할 수 있도록 지원하고, 앞으로 점점 헤더로 바꿀 예정
CSRF 토큰은 예전부터 X-CSRF-Token 헤더를 지원했음
2023-08-27 23:32:31 +09:00
Kijin Sung
42d09bde65
Provide a single entry point for all command-line scripts
...
Core example:
php index.php common.clean_empty_dirs
-> executes common/scripts/clean_empty_dirs.php
Third-party example:
php index.php module_name.script_name
-> executes modules/module_name/scripts/script_name.php
This should be the preferred method of executing PHP scripts included with
any third-party module, because it ensures that the working environment is
correct. For example, it will set the current working directory to Rhymix root,
check that the UID matches the usual web user, include all core libraries and
initialize the Context properly.
Over time, we will expand the command-line functionality similar to
the 'artisan' command in Laravel.
2023-08-16 23:12:25 +09:00
Kijin Sung
ed424f031e
Capitalization
2023-08-16 22:45:48 +09:00
Kijin Sung
48e0f55d6b
Support event handlers (triggers) that are only called before/after specific action
2023-08-12 01:14:36 +09:00
Kijin Sung
3241354872
Support customizing the default (base) class and install class of a module
2023-08-11 22:09:26 +09:00
Kijin Sung
7502b7308b
Support custom namespaces in ModuleHandler and related processes
2023-08-11 21:56:42 +09:00
Kijin Sung
60a3edc994
Remove session keys, and always set httpOnly
2023-07-22 19:53:51 +09:00
conory
fe724d93ef
Allow an array of URL parameters in setRedirectUrl()
...
$this->setRedirectUrl(['module' => 'admin', 'act' => '...']);
2023-07-01 01:44:43 +09:00
Kijin Sung
7b16ee31c3
Fix backward incompatible behavior when is_skin_fix or is_mskin_fix is set
2023-06-27 00:16:29 +09:00
Kijin Sung
18b5d66605
Fix backward incompatible behavior when skin directory is a symlink
2023-06-27 00:09:56 +09:00
Kijin Sung
340b3aa49a
Set layout and template paths in one place
2023-06-26 22:12:32 +09:00
Kijin Sung
959503b6ec
Clean up references to deprecated DB methods in other places
2023-06-19 15:24:27 +09:00
Kijin Sung
f596947d0e
Add option to make pages available only on one domain
...
- 2021년에 next 브랜치 적용을 목표로 작업했던 것 가져옴
- modules 테이블에 domain_srl을 추가하여 특정 도메인에서만 유효하도록 설정 가능
- site_srl 변수를 사용하던 곳 중 삭제할 수 있는 곳은 모두 삭제함
2023-06-18 02:53:04 +09:00
Kijin Sung
22abeb7a88
Fix fatal error if logged_info is not an object at this stage
2023-06-10 21:11:54 +09:00
Kijin Sung
9815102b38
Mark Context::convertEncodingStr() and related methods as deprecated
...
https://xetown.com/questions/1759076
2023-04-30 22:58:45 +09:00
Kijin Sung
bd8fe996e1
Always return an error code of -2 if an exception is thrown during module init
2023-04-30 22:16:59 +09:00
Kijin Sung
875e5d1c2c
Fix #2098 create an instance of MessageMobile class instead of MessageView if user is mobile
2023-04-02 15:40:57 +09:00
Kijin Sung
87a34af69e
Fix #2072 redirect to proper URL if a document with is_notice=A is requested without mid
2023-03-23 22:44:51 +09:00