Commit graph

2752 commits

Author SHA1 Message Date
Kijin Sung
f13e3d633b Remove lang from exception list in TemplateParser_v1 2023-10-15 00:24:12 +09:00
Kijin Sung
f0554137ec Initial implementation of Template Parser v2 2023-10-14 23:36:33 +09:00
Kijin Sung
7263fc9a5b Support disabling template cache and alternative version directive 2023-10-11 01:33:08 +09:00
Kijin Sung
a5c0f61b67 Allow customizing the extension in Template constructor 2023-10-11 00:21:24 +09:00
Kijin Sung
d46d25c69f Fix Template class not recognizing extensions other than .html and .php 2023-10-10 15:05:15 +09:00
Kijin Sung
c777b59afb Merge branch 'develop' into template-v2 2023-10-10 14:23:39 +09:00
Kijin Sung
6928abbe2c Version 2.1.7 2023-10-10 12:46:09 +09:00
Kijin Sung
416b9c8498 Fix #2198 type error in debug panel for async requests 2023-10-10 11:16:03 +09:00
Kijin Sung
610a23f2fb Fix all async HTTP requests being treated as slow 2023-10-10 11:15:30 +09:00
Kijin Sung
3c29b7dff3 Update CKEditor to 4.22.1 final version 2023-10-09 21:39:30 +09:00
Kijin Sung
adb9942bd6 Don't set timezone in session until somebody calls setTimezone(), allowing fallback to system default timezone 2023-10-08 01:30:41 +09:00
Kijin Sung
7643f339b9 Fix potential null issue in autoload.php 2023-10-07 13:29:10 +09:00
Kijin Sung
c0850865a4 Fix undefined variable in Config::save() 2023-10-07 13:26:14 +09:00
Kijin Sung
639ad7ad06 Fix passing null to strtoupper() 2023-10-06 22:53:27 +09:00
Kijin Sung
a3497cc2b1 Remove unnecessary special treatment of -srl attributes 2023-10-06 22:50:40 +09:00
Kijin Sung
321d0ea88c Fix #2197 preserve position of data-file-srl attribute and trailing slash in tags 2023-10-06 22:49:15 +09:00
Kijin Sung
221602ceb8 Experimental support for data-* attributes in HTML #2194 2023-10-05 22:18:29 +09:00
Kijin Sung
a643ff60eb Pass additional arguments to HTMLFilter preprocessors and postprocessors 2023-10-05 21:02:10 +09:00
Kijin Sung
5ae810a54c Fix #2194 allow <details> amd <summary> tags 2023-10-05 20:52:20 +09:00
Kijin Sung
f589737dcf Fix column name "unknown" in error message for insert/update queries 2023-10-04 20:57:54 +09:00
Kijin Sung
3505d49de6 Separate common Template class from Template v1 parser 2023-10-03 23:27:02 +09:00
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