47 Commits

Author SHA1 Message Date
ruan
b079b0f954 Support Content Security Policy (CSP) 2024-08-10 23:36:27 +02:00
ruan
20817dd8ff Fix deprecation warnings for str_replace() (fixes #87) 2023-01-20 06:11:09 +02:00
ruan
f2d08bb991 Move database implementation out of Settings 2022-01-19 10:43:16 +02:00
ruan
8e33ed362c Minor performance improvements / cleanup 2020-10-21 15:44:38 +02:00
ruan
be6d81efde Use undashed UUIDs in history pager 2020-08-18 16:59:20 +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
9630eaa52b Add support for simple URLs (e.g. /bans/) 2020-06-21 00:39:16 +02:00
ruan
493a2c48b0 Fix history.php 2020-06-15 13:24:41 +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
439fab95ae Add server origin column, disabled by default 2019-09-08 09:13:49 +02:00
ruan
ef84e6f782
Use undashed UUIDs for URL parameters 2018-09-22 15:14:27 +02:00
ruan
8ef4033bf5
Another possible fix for #37 -- issues with 64-bit numbers 2018-08-03 10:55:35 +02:00
ruan
b038036724
Possible fix for #37 2018-07-31 17:45:42 +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
ae8f2c574f
Clean up, refactor history.php 2018-06-02 10:03:34 +02:00
ruan
b91def3b38
Fix #33 2018-06-02 08:32:58 +02:00
ruan
5857a0d374
Optimize queries 2018-05-31 10:16:10 +02:00
ruan
4b3565b9aa
history.php: Simplify addition 2018-05-31 09:01:20 +02:00
ruan
05d10a211c
history.php: Use one query instead of four to get entry count 2018-05-31 08:46:34 +02:00
ruan
0f8ff13c43
More refactoring 2018-04-26 07:59:12 +02:00
ruan
48e9b8856e
Bring back "Banned By", "Muted By", etc messages. 2018-04-19 18:18:12 +02:00
ruan
5ade292282
Add btn-primary to action.return button 2018-04-19 13:37:33 +02:00
ruan
a4b1d86d76
Fix history.php labels 2018-03-30 10:27:30 +02:00
ruan
78cec5c94b
Refactor CSS 2018-03-13 12:08:53 +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
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
f086baa49c
Fix #17 2017-01-08 06:11:22 +02:00
ruan
40b132a686
Close cursor after query 2016-10-04 01:14:19 +02:00
ruan
ee87e090ea Refactor 2016-07-15 10:29:43 +02:00
ruan
c9bc532c82 Rename handle_database_error to handle_error 2016-02-21 06:47:56 +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
816d9c781d Add lcfirst implementation for PHP < 5.3 2016-01-18 09:50:54 +02: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
57777295bb Optimize history.php for large data sets 2015-12-31 12:31:04 +02:00
ruan
335229b0d1 Validate arguments further 2015-11-01 12:56:26 +02:00
ruan
ac801e1543 Simplify table header printing 2015-10-16 06:03:05 +02:00
ruan
7817c33088 Use same selection across all queries 2015-10-09 09:34:26 +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
0243d02e2f Clean up line breaks 2015-09-23 09:35:36 +02:00
ruan
17f13948f0 Add staffhistory implementation and links 2015-09-20 13:23:22 +02:00
ruan
7cfa109b95 Make history.php pager inherit 'from' parameter 2015-09-19 14:06:15 +02:00
ruan
0c2001a75c Use table prefixes in history.php 2015-09-14 21:36:01 +02:00
ruan
6597a423e6 Add history.php 2015-09-14 18:49:19 +02:00