80 Commits

Author SHA1 Message Date
ruan
85b1d375a2 Opt into dynamic properties for PHP 8.2 2023-01-28 08:14:21 +02:00
ruan
6ef64fefde Add mariadb driver support 2022-09-28 19:11:09 +02:00
ruan
f2d08bb991 Move database implementation out of Settings 2022-01-19 10:43:16 +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
5e29467a54 [CI] Fix tests 2021-06-29 20:07:11 +02:00
ruan
15635939b9 #68: Use absolute path for default name_link 2021-06-26 08:33:14 +02:00
ruan
70778aea43 Update Bootstrap: 4.0.0 -> 4.5.3 2020-12-20 07:59:07 +02:00
ruan
33183b1db5 PHP 5.3 compatibility fix 2020-10-21 15:43:09 +02:00
ruan
a323b1a4c8 Update documentation for settings.php 2020-10-12 17:00:59 +02:00
ruan
8900e0a970 Simple URLs: Fix name link 2020-09-08 11:45:55 +02:00
ruan
2335143b34 Simplify init_tables 2020-05-04 09:27:07 +02:00
ruan
9f54f33a91 Batch verification into header query when possible 2020-08-23 14:21:34 +02:00
ruan
205df0e285 Add options to show server scope/origin in info.php.
Disable server scope column by default, since most people only use global bans.
2020-08-17 08:37:54 +02:00
ruan
8eb8ddac52 Refactor settings.php 2020-08-17 08:30:19 +02:00
ruan
ca86925bb3 Fix PHP 5.3 compat issue 2020-08-07 20:43:55 +02:00
ruan
abc453bac8 [CI] Disable table verification for tests
The table was being checked before creation.
2020-08-07 20:25:58 +02:00
ruan
2b7bc8fe2e [CI] Add pager test + MySQL service 2020-08-07 19:39:12 +02:00
ruan
e7598dee7e Fix up default index link if simple_urls is enabled 2020-06-21 10:14:31 +02:00
ruan
9630eaa52b Add support for simple URLs (e.g. /bans/) 2020-06-21 00:39:16 +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
ca7e7dcccc Change default avatar source
In response to Crafatar serving default skins for some reason.
2020-06-08 17:35:40 +02:00
ruan
317b1d44d0 Make configuration more consistent 2020-05-03 15:24:14 +02:00
ruan
b924f87b90 Add timezone specification example 2020-04-24 08:45:57 +02:00
ruan
439fab95ae Add server origin column, disabled by default 2019-09-08 09:13:49 +02:00
ruan
29d54464ca Hide server scope column by default
Most people only use global bans so this can easily be redundant information.
2019-09-08 08:32:23 +02:00
ruan
d9fe00a23c Set a default timeout of 5 seconds for database connections 2019-05-18 15:05:03 +02:00
Noah van der Aa
33f2a380fe Added overlay to crafatar avatar images. 2018-12-09 17:52:37 +00:00
ruan
d4da4a8e22
Revert settings.php cleanup from last commit
Intellij diff highlighting broke for some reason.
2018-10-11 05:06:04 +02:00
ruan
4b85ad4f81
Revert "Use faster query to fetch entry counts"
This reverts commit 95bdf49
2018-10-11 04:58:53 +02:00
ruan
95bdf49a6a
Use faster query to fetch entry counts 2018-08-26 15:09:49 +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
21b774a33a
Make colors configurable for navbar and badges 2018-07-08 11:18:29 +02:00
ruan
f276e9df34
Set name_link to index.php by default, add example 2018-04-19 12:38:35 +02:00
ruan
813b72d2b0
Redirect to outdated-plugin instead of tables-not-found if bans table exists 2018-04-19 05:52:51 +02:00
ruan
dec15c1ca5
Use gmstrftime() instead of strftime() for testing
I can't replicate any bugs that may affect test_strftime(), so this might not fix anything.
2018-03-20 14:52:26 +02:00
ruan
3435a68fff
Use gmstrftime() instead of strftime() for testing
I can't replicate any bugs that may affect test_strftime(), so this might not fix anything.
2018-03-20 14:51:05 +02:00
ruan
9260bbdf4e
Add #30 - option to disable server scope column 2018-02-28 10:05:06 +02:00
ruan
16f2dc1f7c
Changed avatar source tokens from $UUID/$NAME to {uuid}/{name} 2018-02-28 09:32:52 +02:00
ruan
f70426330d
Refactor settings.php, added documentation
Clarified offline-mode avatar source situation.
2018-02-23 15:48:44 +02:00
ruan
a2abd7f782
Add offline-mode avatar source as Crafatar no longer supports names 2018-02-21 12:40:15 +02:00
ruan
da32ec89b2
Make it possible to translate info.php tags - Active, Inactive, Permanent 2018-01-31 16:45:20 +02:00
ruan
f9f3ffde8c
Added option to hide silent bans 2018-01-20 12:40:51 +02:00
ruan
b29aa21fcc
Update for version 2.2.5 2017-11-14 09:01:29 +02:00
ruan
531aa2c6d5
Add option for offline-mode UUID avatars 2017-09-08 06:29:33 +02:00
ruan
12ff3aad62
Update strftime assertion error message 2017-02-27 10:02:19 +02:00
ruan
d9b7360f25
Modify strftime test 2017-02-04 14:47:44 +02:00
ruan
ea25965003
Possible fix for #16 2017-02-03 13:36:45 +02:00
ruan
e60cefc43b
Use UTC for strftime testing 2017-01-08 08:23:10 +02:00
ruan
2dbe4c1da6
Make date format test compatible with all locales 2017-01-01 08:12:09 +02:00