Commit graph

2593 commits

Author SHA1 Message Date
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
0f1ea1dbc2 Remove characters in writePHPData() comment that could cause syntax error 2023-09-05 02:07:21 +09:00
Kijin Sung
206f6e706a Encode non ASCII printable characters in cache keys for maximum compatibility with all cache backends 2023-09-05 01:57:26 +09:00
Kijin Sung
5b5010a401 Fix <!-- ETC --> comment stuck after body with no newline 2023-09-05 00:42:42 +09:00
Kijin Sung
770cde8b8a Preserve line numbers when compiling SCSS with sourcemap 2023-09-04 23:40:09 +09:00
Kijin Sung
096d841263 Create sourcemaps when compiling SCSS 2023-09-04 23:05:06 +09:00
Kijin Sung
74cc098370 Remove incorrect sourceMap link in concatenated JS output 2023-09-04 22:00:12 +09:00
Kijin Sung
99c905a6f4 Fix warning when session is used on CLI 2023-09-04 15:19:12 +09:00
Kijin Sung
0fde7eb7e7 Use console.error() instead of console.warn() in Firefox, because it doesn't show stack trace for warnings 2023-08-31 22:59:15 +09:00
Kijin Sung
1014208e49 Version 2.1.4 2023-08-31 12:27:00 +09:00
Kijin Sung
c5c8b70579 Fix collision of common constants with other programs like codeception 2023-08-31 12:02:57 +09:00
Kijin Sung
15648d10d1 Fix #2167 allow removing no-store and must-revalidate from Cache-Control headers 2023-08-31 02:19:18 +09:00
Kijin Sung
51cd77a06e Clean up more old files that haven't been used in a while in Rhymix 2023-08-31 01:00:12 +09:00
Kijin Sung
380c50aa6a Remove unnecessary polyfill for window.matchMedia 2023-08-31 00:51:52 +09:00
Kijin Sung
f75649ccb1 Remove unnecessary HTML5 shiv library 2023-08-31 00:49:27 +09:00
Kijin Sung
3e38515c23 Remove unnecessary CSS for old browsers and IE 2023-08-31 00:35:11 +09:00
Kijin Sung
6e38b440ea Convert popup menu AJAX actions from XML to JSON 2023-08-30 23:36:26 +09:00
Kijin Sung
f5997b642a Make Router::parseURL() return a consistent type and format for all action properties 2023-08-30 22:58:05 +09:00
Kijin Sung
79dd9ae45e Use console.warn for JS deprecation notices so that the user can see a stack trace 2023-08-30 22:38:41 +09:00
Kijin Sung
0d8b8a51dd Improve parser logic for action attributes 2023-08-30 01:53:55 +09:00
Kijin Sung
ec36839303 Add options in module.xml to disable session and Cache-Control headers for individual actions 2023-08-30 01:45:37 +09:00
Kijin Sung
a1ce3ccaf2 Fix missing array key in session 2023-08-29 23:55:40 +09:00
Kijin Sung
4af7354bf0 Add options to control autologin cookie lifetime and refresh function 2023-08-29 23:42:01 +09:00
Kijin Sung
87300c9944 Resend autologin key periodically to maintain useful lifetime 2023-08-29 23:21:20 +09:00
Kijin Sung
31fd79c71e Fix default value handling for #2169 2023-08-27 23:43:22 +09:00
Kijin Sung
3fbb1327d2 Fix #2169 allow simple expressions as default values for table columns 2023-08-27 23:38:29 +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
dc492345da Fix custom query caller location being shown as DB.php in debug info 2023-08-27 22:57:56 +09:00
Kijin Sung
2b55d8cc91 Update Korean IP ranges 2023-08-21 22:44:23 +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
ea345ad7e1 Improve filtering of "allow" and "referrerpolicy" attributes of <iframe> 2023-08-16 22:41:14 +09:00
Kijin Sung
91efe04d7d Version 2.1.3 2023-08-15 14:52:11 +09:00
Kijin Sung
2197b0a982 Add option to control whether boards and pages are indexed by search engines, using the X-Robots-Tag header 2023-08-13 02:03:02 +09:00
Kijin Sung
58d6d51e9f Remove unnecessary condition in autoloader for custom namespaces 2023-08-12 21:55:20 +09:00
Kijin Sung
a7954506f6 Use associative array to store custom namespaces 2023-08-12 21:53:52 +09:00
Kijin Sung
911772393a Fix missing Context::init() in common script 2023-08-12 21:17:52 +09:00
Kijin Sung
47996cb294 Prevent Rhymix reserved namespaces from being registered as custom 2023-08-12 09:50:10 +09:00
Kijin Sung
5823253d60 Optimize order of conditions in autoloader 2023-08-12 01:18:59 +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
9e13c5ee6e Add convenience functions for XML parsing 2023-08-11 02:37:39 +09:00
Kijin Sung
57be6abc9d Make placeholder for custom prefix support in the future 2023-08-11 02:07:28 +09:00
Kijin Sung
32832d1ab2 Support custom namespaces in autoloader 2023-08-11 02:05:23 +09:00
Kijin Sung
4d4d454af0 Fix update_all_modules.php not calling all the update routines of the Install module 2023-08-11 01:38:28 +09:00
Kijin Sung
acc1117d26 Register event handlers and custom namespaces defined in module.xml 2023-08-11 00:16:57 +09:00
Kijin Sung
d0306df095 Add parser logic for new module.xml settings 2023-08-10 23:52:01 +09:00
Kijin Sung
6e7012394e Emphasize NOT in the common script error message 2023-08-10 10:57:02 +09:00
Kijin Sung
a36177d772 Dislay actual error location when a fatal error is caught by Debug class 2023-08-08 00:49:53 +09:00
Kijin Sung
e31704ffc2 Move friendly error message feature to Message module 2023-08-08 00:49:14 +09:00
Kijin Sung
df6ccfc7d4 Show friendly error message for very common error conditions, such as Object class 2023-08-07 15:14:47 +09:00