49 Commits

Author SHA1 Message Date
ruan
785c58121f Improve Geyser username validation (add *) 2023-02-07 21:06:04 +02:00
ruan
2627439d6e Support Bedrock usernames - adds #85 2022-11-23 12:59:01 +02:00
ruan
3d4e7cb6a7 Fix searching by punishment ID 2022-04-19 13:43:21 +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
9630eaa52b Add support for simple URLs (e.g. /bans/) 2020-06-21 00:39:16 +02:00
ruan
355a40727d Fix redirection on non-English locales 2020-02-12 07:03:07 +02:00
ruan
f8318961ed Check names based on descending order of login date instead of ascending 2020-01-26 12:51:52 +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
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
c8eb678db9
Add #39 2018-09-22 14:22:19 +02:00
ruan
120bfd1a07
Add detection and error handling for extensions like pdo_mysql 2018-07-29 08:48:13 +02:00
ruan
4510409c29
Check form updates for Bootstrap 4 2018-04-19 13:57:26 +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
260d6a67cc
Big refactor to locale system for fallback language support 2017-12-04 06:44:23 +02:00
ruan
87953d86f8
Make it possible to search for punishments by ID 2016-11-14 08:59:21 +02:00
ruan
40b132a686
Close cursor after query 2016-10-04 01:14:19 +02:00
ruan
259a48e816 Disable Cloudflare rocket loader for check.php 2016-06-08 17:07:17 +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
335229b0d1 Validate arguments further 2015-11-01 12:56:26 +02:00
ruan
0243d02e2f Clean up line breaks 2015-09-23 09:35:36 +02:00
ruan
6597a423e6 Add history.php 2015-09-14 18:49:19 +02:00
ruan
7253b08960 Update 2015-09-10 15:01:30 +02:00
ruan
e870a85a86 Remove redundant closing tags 2015-09-02 12:11:17 +02:00
Ruan
636f33205a Refactor, fix active=1 with pgsql 2015-08-23 08:22:26 +02:00
Ruan
598dc950a9 Clean up concatenation 2015-07-13 09:04:41 +02:00
Ruan
692629af09 Clean up check.php 2015-07-13 08:02:52 +02:00
Ruan
992370b447 Get rid of globals 2015-07-13 07:44:34 +02:00
Ruan
928594e9b9 Add fade-out 2015-07-09 08:30:16 +02:00
Ruan
2def96da36 Fancy++; 2015-07-09 08:13:28 +02:00
Ruan
6f871d545c Fix regex 2015-07-08 09:18:45 +02:00
Ruan
09fff14917 More cleanup 2015-07-08 09:17:38 +02:00
Ruan
0013e0b263 Fix check.php 2015-07-03 18:09:49 +02:00
Ruan
8f005a0c78 Use relative paths for includes 2015-06-10 13:47:11 +02:00
Ruan
755cb4c221 Globals work sometimes 2015-06-08 17:49:14 +02:00
Ruan
331207f069 Validate before connecting. 2015-06-08 17:46:47 +02:00
Ruan
0848871c67 Validate user input 2015-06-08 17:44:53 +02:00
Ruan
40001ad0be Remove chat colors 2015-06-07 17:37:46 +02:00
Ruan
fa94244758 Consistency 2015-06-07 15:10:42 +02:00
Ruan
2e2e777b72 What are static types? 2015-06-07 15:09:41 +02:00
Ruan
e1c505042d Fix permanent ban checking 2015-06-07 15:00:54 +02:00
Ruan
f4f8c50c46 Cleanup, minor fixes 2015-06-06 13:43:10 +02:00
Ruan
88fba6ed62 Add ban check form. 2015-06-06 10:27:57 +02:00