117 Commits

Author SHA1 Message Date
ruan
85b1d375a2 Opt into dynamic properties for PHP 8.2 2023-01-28 08:14:21 +02:00
ruan
f42a142f97 Fix silent kicks always being displayed 2022-08-11 21:29:20 +02:00
ruan
f2d08bb991 Move database implementation out of Settings 2022-01-19 10:43:16 +02:00
ruan
9de7a88f9a Update extension checks 2021-12-30 11:20:12 +02:00
ruan
f15b2275a3 Store date formatter instance 2021-12-30 11:12:55 +02:00
ruan
1ca2d09137 Remove deprecated functions (https://php.watch/versions/8.1/strftime-gmstrftime-deprecated) 2021-12-30 11:10:39 +02:00
ruan
cf229bac0b Fix #80 2021-12-30 10:39:31 +02:00
ruan
7706ee7284 Add unban & unmute reasons 2021-06-12 21:17:24 +02:00
ruan
ac2447040f #64: Use more portable SQL in run_query 2021-04-28 21:30:34 +02:00
ruan
51cdf888dc #63: Disable PHP workaround for pgsql driver 2021-04-28 20:54:10 +02:00
ruan
ad425339b5 Fix newline rendering 2021-01-16 13:31:46 +02:00
ruan
3e2d6286f3 Disable English fallback 2021-01-07 21:12:44 +02:00
ruan
8e33ed362c Minor performance improvements / cleanup 2020-10-21 15:44:38 +02:00
ruan
3a2e1ed25e Simple URLs: Fix error on handling regular URLs 2020-09-08 11:11:13 +02:00
ruan
5a0826db1d Simple URLs: Fix duplicate header 2020-09-08 10:59:52 +02:00
ruan
d0417bf115 Simplify/optimize get_name() 2020-09-04 07:28:46 +02:00
ruan
2b511094d2 Set init time at earliest time possible 2020-05-02 10:03:25 +02:00
ruan
2c0b588b48 Simplify pager 2020-08-18 16:54:31 +02:00
ruan
b57ca651a5 Make padding unselectable 2020-08-09 08:17:49 +02:00
ruan
3d967f9f2c Remove lc_first function since PHP 5.2 is no longer supported 2020-08-08 13:05:37 +02:00
ruan
dc4a25c8cf Use require_once instead of include_once in all cases. 2020-08-08 13:00:39 +02:00
ruan
ca86925bb3 Fix PHP 5.3 compat issue 2020-08-07 20:43:55 +02:00
ruan
2b7bc8fe2e [CI] Add pager test + MySQL service 2020-08-07 19:39:12 +02:00
ruan
e975ab8001 [CI] Update LangTest 2020-08-06 16:44:24 +02:00
ruan
477ccd601a Refactor locale classes for unit testing 2020-08-06 15:39:55 +02:00
ruan
82e778ff08 Allow kick expire column value to be translated (#48) 2020-06-27 12:29:48 +02:00
ruan
3a959a8d15 Fixed pager with simple_urls disabled 2020-06-21 16:49:13 +02:00
ruan
4443721716 Fix history.php / info.php error when simple_urls is disabled 2020-06-21 08:35:32 +02:00
ruan
9630eaa52b Add support for simple URLs (e.g. /bans/) 2020-06-21 00:39:16 +02:00
ruan
2333fda8df Minor code inspection cleanup 2020-06-15 13:43:36 +02:00
ruan
b45b174923 Remove the redundant "avatar_allow_offline_mode_uuids" option.
Since {name} and {uuid} can be used in avatar_source_offline_mode,
 this option no longer serves a purpose. The avatar_source_offline_mode option makes avatar_allow_offline_mode_uuids obsolete.
2020-06-08 18:10:29 +02:00
ruan
355a40727d Fix redirection on non-English locales 2020-02-12 07:03:07 +02:00
ruan
6c40fdfeb9 Clean up, add query comments
All user input appended to queries is either constantified or prepared - SQL injection should be impossible.
2020-01-18 11:54:28 +02:00
ruan
56ebfe0150 Add support for checking players without JavaScript 2019-11-29 13:09:00 +02:00
ruan
439fab95ae Add server origin column, disabled by default 2019-09-08 09:13:49 +02:00
ruan
d6c1d89bd4 Limit jQuery attempts to 30 (3 seconds) 2019-06-17 13:10:32 +02:00
ruan
1437d0155a Fix left-aligned avatars being collapsed to the next line if username/reason is too long
If there is a better way to fix this besides "display: flex" I'll consider it.
2019-01-01 16:25:27 +02:00
ruan
ef84e6f782
Use undashed UUIDs for URL parameters 2018-09-22 15:14:27 +02:00
ruan
7e4d5de57a
Fix for previous commit 2018-09-22 14:40:47 +02:00
ruan
ac9219e06a
Simplify uuid_dashify 2018-09-22 14:39:21 +02:00
ruan
f35efe70de
Use bindParam instead of execute parameters 2018-09-22 14:34:07 +02:00
ruan
c8eb678db9
Add #39 2018-09-22 14:22:19 +02:00
ruan
eaee415b66
Use <div> instead of <p> for avatars 2018-09-01 14:38:54 +02:00
ruan
0d36e13bd3
Add individual translations for "Permanent Ban", "Permanent Mute" 2018-09-01 14:13:45 +02:00
ruan
120bfd1a07
Add detection and error handling for extensions like pdo_mysql 2018-07-29 08:48:13 +02:00
ruan
c4afc1399f
Spring cleaning 2018-07-21 12:51:35 +02:00
ruan
2a6815ae9f
Array-based dynamic column selection generation 2018-06-01 12:13:14 +02:00
ruan
87e7b25fa2
Use PDO::FETCH_ASSOC for listings 2018-05-31 10:33:44 +02:00
ruan
0f8ff13c43
More refactoring 2018-04-26 07:59:12 +02:00
ruan
b63a0eb3eb
Fixed warnings icons 2018-04-23 08:27:02 +02:00