ruan
85b1d375a2
Opt into dynamic properties for PHP 8.2
2023-01-28 08:14:21 +02:00
ruan
e421569aff
Fix another possible deprecation warning
2023-01-20 06:12:22 +02:00
Raúl
8ff0368126
Fix 500 error while viewing a punishment
2022-05-07 12:27:17 +00:00
ruan
4a3eb465c0
Improve info badge generation, ensure expired bans don't show as active
2022-05-02 16:16:34 +02:00
ruan
7706ee7284
Add unban & unmute reasons
2021-06-12 21:17:24 +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
9630eaa52b
Add support for simple URLs (e.g. /bans/)
2020-06-21 00:39:16 +02:00
ruan
817d7605fd
Simplify info.php
...
Removed code duplication. Pruned columns are not computed due to lazy loading (via closures).
2020-06-11 10:43:20 +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
c5d89e32a0
Clean up info.php
2018-10-15 07:36:10 +02:00
ruan
ef84e6f782
Use undashed UUIDs for URL parameters
2018-09-22 15:14:27 +02:00
ruan
f35efe70de
Use bindParam instead of execute parameters
2018-09-22 14:34:07 +02:00
ruan
eaee415b66
Use <div> instead of <p> for avatars
2018-09-01 14:38:54 +02:00
ruan
21b774a33a
Make colors configurable for navbar and badges
2018-07-08 11:18:29 +02:00
ruan
9218cdc430
Translate label types
2018-05-30 11:02:56 +02:00
ruan
77c4bf71a0
Add "Expired" tag, make labels more customizable
2018-05-05 09:38:51 +02:00
ruan
39fbdeb0a2
Fix badge centering on info.php, set as right-of-center
...
Badges are now treated as zero-width and will not weigh down the centered header title.
2018-04-19 12:22:46 +02:00
ruan
dc6fe732b4
Adjustments & fixes
2018-03-30 10:26:39 +02:00
ruan
0970eb3eb5
Keep expires row on info.php
2018-03-13 12:31:03 +02:00
ruan
78cec5c94b
Refactor CSS
2018-03-13 12:08:53 +02:00
ruan
52499677c1
Refactor
2018-03-10 10:16:46 +02:00
ruan
73eb0e152f
Add [IP Ban], [IP Mute] labels for info.php
2018-03-09 09:01:11 +02:00
ruan
f64a147a72
Spring cleaning - another big refactor for the locale system
...
en_US locale reduced from 88 messages to 43 messages.
Redundant messages have been purged, making it much easier to translate everything.
Message indexes now form a consistent and generified tree/branch/leaf structure.
2018-03-09 08:29:13 +02:00
ruan
4abcd21eaf
Added server origin to punishment info pages
2018-02-28 09:57:05 +02:00
ruan
da32ec89b2
Make it possible to translate info.php tags - Active, Inactive, Permanent
2018-01-31 16:45:20 +02:00
ruan
cfe574d9cf
Fixed warnings generating an error on history.php ( fixes #31 )
2018-01-11 06:04:17 +02:00
ruan
bc233ad9d4
Add server scope column to all tables
2017-12-04 06:53:05 +02:00
ruan
260d6a67cc
Big refactor to locale system for fallback language support
2017-12-04 06:44:23 +02:00
ruan
9f20c77428
Allow name_under for info.php
2017-06-30 19:51:00 +02:00
ruan
424be314af
Disable left align in info.php ( fixes #20 )
2017-05-09 13:05:01 +02:00
ruan
d80d7b2f49
Show permanent label only for active punishments
2016-12-10 09:42:24 +02:00
ruan
d26d56775a
Fix info.php labels
2016-10-15 08:39:54 +02:00
ruan
fc2471d94c
Fix info.php labels
2016-10-15 08:39:00 +02:00
ruan
534e0d2ca2
Fix error with info.php as well
2016-10-04 02:32:03 +02:00
ruan
40b132a686
Close cursor after query
2016-10-04 01:14:19 +02:00
ruan
320aa974bc
Fallback to date() if strftime() doesn't work
2016-08-14 18:50:52 +02:00
ruan
ee87e090ea
Refactor
2016-07-15 10:29:43 +02:00
ruan
50cbbe2594
Fix info.php page title showing incorrectly
2016-07-06 18:07:51 +02:00
ruan
ee71bcc1b9
Fix warning info page
2016-02-15 19:20:40 +02:00
ruan
4d019365f6
Reformat code
2016-02-12 11:44:36 +02:00
BuildTools
d63d69e553
Support for international localisation via separate language files
2016-02-12 10:20:05 +01:00
ruan
5660317403
Updates
...
- Remove namespaces for PHP 5.2 support
- Rename "includes" to "inc"
- Add database error handling and error pages
2016-01-09 21:24:18 +02:00
ruan
ee70900b8e
Reformat code
2015-11-03 09:04:18 +02:00
ruan
335229b0d1
Validate arguments further
2015-11-01 12:56:26 +02:00
ruan
7817c33088
Use same selection across all queries
2015-10-09 09:34:26 +02:00
ruan
180d757078
Another try
2015-10-09 08:44:10 +02:00
ruan
55ebee2724
Does it work on PHP 5.3.x yet? Maybe
2015-10-09 05:11:46 +02:00
ruan
162d0ede65
Updates
...
- Updated jQuery to v2.1.4, include original unformatted versions
- Added punishment totals to the header (bans, mutes, warnings, kicks) as badges
- Refactored and cleaned up a few classes
2015-10-09 04:27:07 +02:00
ruan
ec48432a94
Possible fix for expired bans with PHP <=5.3
2015-09-24 09:30:08 +02:00
ruan
17f13948f0
Add staffhistory implementation and links
2015-09-20 13:23:22 +02:00