Commit graph

174 commits

Author SHA1 Message Date
a894db2052 Rewrite login attempts log to use new database backend. 2023-07-22 16:37:57 +00:00
20c528a88c Normalised custom exception usage in user classes.
Also updated the Index library to include the MediaType fix.
2023-07-22 15:02:45 +00:00
52aa43dd94 Determine client info on insert rather than on retrieve for speed improvements.
i suppose device detect only ever expects to analyse a single string at once given its made for matomo so it on the slower side for multiple dingusses
2023-07-21 12:47:59 +00:00
1094f8dc67 Fixed error 500 on logs and sessions pages because of dead library. 2023-07-21 11:33:27 +00:00
d870a386cf Improved profile fields code. 2023-07-20 19:36:43 +00:00
aefc4ddb9c Upgrade to PHP 8.2. 2023-07-19 19:10:20 +00:00
b41df8ffbe Removed leftover abstract class. 2023-07-19 14:34:02 +00:00
31cb6ab82d Fixed various errors and oversights caught by phpstan. 2023-07-18 22:24:23 +00:00
8339892559 Config class overhaul. 2023-07-18 21:48:44 +00:00
5868a6c38c Fixed leap year birthdays without a year set. 2023-07-12 23:08:35 +00:00
d69f7c2abf Rely on NGINX GeoIP2 module for country code lookup. 2023-07-11 00:25:43 +00:00
a4059de89a Get rid of unused JSON stuff. 2023-07-10 20:12:20 +00:00
f9edc5b9cf Switched to Index byte formatter and adjusted max file sizes. 2023-07-05 23:09:28 +00:00
070b788038 Cleaned up various utility functions. 2023-07-05 01:33:12 +00:00
aa8f70db12 Fixed birthdate setting not working (did it ever work???). 2023-05-26 18:41:21 +00:00
01c43e38d8 Fixed oversights that occur because of the empty username. 2023-04-29 21:57:21 +00:00
d2f9328979 Sharp Chat interop updates. 2023-02-08 00:06:15 +00:00
59a09cf4ac Use interface constants instead of a dedicate enum class for config types. 2023-01-06 20:50:41 +00:00
bc03c0756c Remove IPAddress::remote and all implicit resolving of the request remote address. 2023-01-05 18:33:03 +00:00
901add2ce9 Replaced Misuzu Colour library with the Index ones. 2023-01-02 23:48:04 +00:00
08b6358cba Pruned a lot of existing Javascript, comments will receive and overhaul later. 2023-01-02 20:07:55 +00:00
b881a9fea9 Fixed error when trying to edit profile. 2023-01-02 03:27:20 +00:00
5631f464d2 Restructured config handler. 2023-01-01 20:23:53 +00:00
46b30d5470 Index updates + floatval, intval -> casts. 2023-01-01 19:06:01 +00:00
8245bc0a7b Added Flappyzor hacks. 2023-01-01 01:53:29 +00:00
7d6b94294f Converted Sharp Chat routes to Index. 2022-06-10 20:26:24 +02:00
0339bc3ec9 Removed special case from about page length limit. 2022-06-06 17:10:11 +02:00
3bc18f3d2c Removed MisuzuException and use RuntimeException as base. 2022-02-28 01:55:36 +00:00
d55585372e Ran PHPStan over everything and attempted some fixes. 2022-02-19 19:03:00 +00:00
0da24c0aaa Fixed compatibility issues with PHP 8.1. 2022-02-15 22:28:49 +00:00
fb77a936f5 Removed leftovers from chat token system. 2022-01-13 00:59:35 +01:00
50dee8eeb4 Removed the existing, broken follow system. 2021-08-28 20:25:01 +00:00
71e905c9a8 Added ban management endpoints for the chat. 2021-03-02 19:40:17 +00:00
78ba57750c Removed old userDisplayInfo fetch. 2020-06-10 18:20:30 +00:00
5da66e7cf3 Use User class in manage. 2020-06-10 17:50:15 +00:00
90ab9a280b Fixed chat ban loading. 2020-06-09 19:21:20 +00:00
fa80803dd2 Moved user asset loading into the router. 2020-06-09 18:48:35 +00:00
e99625c2ad Fixed a couple oversights. 2020-06-07 20:55:43 +00:00
44fc436134 Made user asset handling OOP. 2020-06-07 20:37:03 +00:00
d60f36f86f Actually hook up the memoizer for UserRole. 2020-06-05 12:43:04 +00:00
0bf8fde6c2 Rewrote roles code to be OOP. 2020-06-04 18:48:01 +00:00
a165f9cffd // actually remove old warnings file 2020-06-01 00:34:11 +00:00
73d3552dcb Rewrote warnings system to be OOP, also added permanent warnings. 2020-06-01 00:33:16 +00:00
5556891a40 Made user relation code OOP. 2020-05-29 19:07:18 +00:00
2b5faa0aac Made password recovery OOP. 2020-05-29 15:30:49 +00:00
8bd45209a2 Made two factor auth session code OOP. 2020-05-28 17:52:31 +00:00
4657bfa548 Removed old session functions. 2020-05-27 17:11:52 +00:00
a5d79b2306 Moved user validation code into User object. 2020-05-27 17:05:23 +00:00
a176107bf8 Added better console command handling. 2020-05-26 18:44:06 +00:00
d2aa478c58 Rewrote session code to be OOP. 2020-05-25 19:58:06 +00:00