Commit graph

2631 commits

Author SHA1 Message Date
Kijin Sung
f15cdecbe1 Fix potential type error in Debug::translateFilename() 2023-10-03 23:11:38 +09:00
Kijin Sung
f8ed6da4ed Support both UUIDv4 and UUIDv7 in Security::getRandomUUID() 2023-10-03 19:22:04 +09:00
Kijin Sung
c01ba1d3cf Clean up missing or inconsistent types in remainder of parser classes 2023-10-03 16:35:20 +09:00
Kijin Sung
141ee7f7e1 Clean up missing or inconsistent types in Lang, ModuleAction, ModuleInfo parser classes 2023-10-03 16:25:35 +09:00
Kijin Sung
df6fdd3bc3 Fix potential type error in editor component XML handling logic 2023-10-03 16:19:04 +09:00
Kijin Sung
db4e874660 Fix incorrect type declaration in XMLRPC parser 2023-10-03 16:18:37 +09:00
Kijin Sung
41febdd7ca Clean up missing or inconsistent types in core filter classes 2023-10-03 15:17:35 +09:00
Kijin Sung
27c8d32dc5 Clean up missing or inconsistent types in Mail, SMS, Push classes 2023-10-03 15:05:06 +09:00
Kijin Sung
7c844c7e24 Make UA::getBrowserInfo() return an instance of itself 2023-10-03 14:45:24 +09:00
Kijin Sung
c93f04f9c1 Clean up missing or inconsistent types in Timer, UA, URL classes 2023-10-03 14:42:38 +09:00
Kijin Sung
1b1bd19ecc Clean up missing or inconsistent type declarations in Storage class 2023-10-03 14:26:39 +09:00
Kijin Sung
666e7beffc Clean up missing or inconsistent type declarations in Session class 2023-10-03 14:17:25 +09:00
Kijin Sung
3294bccda8 Fix type error in Context::loadLang() 2023-10-03 11:50:00 +09:00
Kijin Sung
b373dc94c0 Add type hints and use class constants instead of protected properties (continued) 2023-10-03 02:55:24 +09:00
Kijin Sung
b6e8d41be8 Add type hints and use class constants where applicable in Rhymix Framework 2023-10-03 02:33:24 +09:00
Kijin Sung
9b5160eb94 Fix DBStmtHelper compatibility with PHP <= 7.4 2023-09-27 23:51:07 +09:00
Kijin Sung
f4c09bf634 Specify parameter and return types of all other helper class methods 2023-09-27 23:39:52 +09:00
Kijin Sung
bde78570f6 Make parameter types of HTTPHelper::withStatus() compatible with that of ResponseInterface 2023-09-27 23:37:18 +09:00
Kijin Sung
b9068c56f7 Clarify return types of DBStmtHelper 2023-09-27 23:35:16 +09:00
Kijin Sung
0da9244e33 Clarify return types of DB::prepare() and DB::query() 2023-09-27 23:33:06 +09:00
Kijin Sung
34922b0d46 Show warning when custom query is executed using unsafe methods like _query() and _fetch() 2023-09-27 15:51:46 +09:00
Kijin Sung
4cf8fc6eb5 Be a little more lenient on invalid querystrings passed to deprecated method 2023-09-27 15:45:45 +09:00
Kijin Sung
7b470b7609 Version 2.1.6 2023-09-27 09:53:42 +09:00
Kijin Sung
ea9f469513 Convert potentially problematic parameters to string before passing from legacy function to Rhymix Framework 2023-09-26 20:34:30 +09:00
Kijin Sung
9ca2c94fe4 Fix #2186 type error when unexpected values are passed to columnList 2023-09-26 20:08:08 +09:00
Kijin Sung
5d78d114a7 Remove deprecated argument $errcontext from default error handler 2023-09-26 12:06:20 +09:00
Kijin Sung
1de83747de Fix missing type declarations in Debug class 2023-09-26 11:27:30 +09:00
Kijin Sung
a1537bafe3 Fix incorrect or missing type declarations in Cache and DB classes 2023-09-26 11:09:55 +09:00
Kijin Sung
3c415e18d5 Fix #1204 #407 display more helpful error message when a post cannot be upvoted/downvoted/reported for whatever reason 2023-09-25 22:32:17 +09:00
Kijin Sung
234ba6c5c6 Fix some potentially misleading comments about constants 2023-09-24 23:01:54 +09:00
Kijin Sung
c48eb3a169 Add missing return type declarations 2023-09-24 22:57:37 +09:00
Kijin Sung
2fe3837f07 Mark changeValueInUrl() as deprecated 2023-09-24 22:57:24 +09:00
Kijin Sung
d8fcb3cc70 Add proper comments and some _rx_ variables to getDestroyXeVars() 2023-09-24 22:49:48 +09:00
Kijin Sung
caa80f8d97 Move deprecated functions to the end of legacy.php 2023-09-24 22:45:36 +09:00
Kijin Sung
29ea470f56 Mark more legacy functions as deprecated 2023-09-24 22:36:30 +09:00
Kijin Sung
6434a18b06 Add return types to legacy global functions
오래된 함수들은 서드파티 자료들이 예상치 못한 자료형의 변수를 넘기는 경우가
많으므로, 파라미터의 타입은 강제하지 않고 반환 타입만 선언함.
2023-09-24 22:33:02 +09:00
Kijin Sung
a7ac14ecbd Add type declarations to global functions where possible 2023-09-24 22:32:49 +09:00
Kijin Sung
585ea0f1d3 Version 2.1.5 2023-09-13 11:19:03 +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
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