Commit graph

22 commits

Author SHA1 Message Date
0158333c90 Removed permissions stuff from the User object. 2023-07-29 18:15:30 +00:00
e3c0ae662e Removed HasRankInterface. 2023-07-29 17:31:43 +00:00
5c8ffa09fc Cleaned up User and UserSession queries. 2023-07-28 15:07:30 +00:00
461ffbf73b Rewrote user role handling. 2023-07-27 23:26:05 +00:00
1d552e907b Added new banning system.
it actually works and isn't confusing this time around!
2023-07-26 18:19:48 +00:00
ee304af133 Removed the concept of silencing.
Nothing really implemented it properly or checked for it and the places that did check just handled it as a slightly softer ban.
It's pretty obvious that the existence of this feature was directly taken from osu! where the differentation between a ban and a silence probably makes more sense, though even there Silences are just non-permanent bans, so like why does this exist lol?
Well, it doesn't anymore! Hopefully chat will upgrade successfully because I let it get 18 commits behind :D
2023-07-23 21:47:15 +00:00
d0e3f6ce65 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
ebac064c59 Fixed error 500 on logs and sessions pages because of dead library. 2023-07-21 11:33:27 +00:00
f32624c61d Improved profile fields code. 2023-07-20 19:36:43 +00:00
e6c826a7d7 Fixed various errors and oversights caught by phpstan. 2023-07-18 22:24:23 +00:00
3e2183b7b2 Fixed leap year birthdays without a year set. 2023-07-12 23:08:35 +00:00
f025ee13d0 Rely on NGINX GeoIP2 module for country code lookup. 2023-07-11 00:25:43 +00:00
9cb0a04611 Get rid of unused JSON stuff. 2023-07-10 20:12:20 +00:00
027ed5aff6 Cleaned up various utility functions. 2023-07-05 01:33:12 +00:00
b5b4bf6b5a Fixed birthdate setting not working (did it ever work???). 2023-05-26 18:41:21 +00:00
6f679fc78c Fixed oversights that occur because of the empty username. 2023-04-29 21:57:21 +00:00
2394492bf8 Remove IPAddress::remote and all implicit resolving of the request remote address. 2023-01-05 18:33:03 +00:00
4f3d0c5246 Replaced Misuzu Colour library with the Index ones. 2023-01-02 23:48:04 +00:00
ed2201090c Pruned a lot of existing Javascript, comments will receive and overhaul later. 2023-01-02 20:07:55 +00:00
525ced6e4e Index updates + floatval, intval -> casts. 2023-01-01 19:06:01 +00:00
e70aed3a2c Added Flappyzor hacks. 2023-01-01 01:53:29 +00:00
28890cd5d5 Imported into new repository. 2022-09-13 15:14:49 +02:00