Commit Graph

65 Commits

Author SHA1 Message Date
flash 9bb943bacf Fixed various oversights. 2024-03-30 03:19:08 +00:00
flash 107d16cf46 Updated Misuzu to new HTTP router. 2024-03-30 03:14:03 +00:00
flash 89ef9d9ad1 Fixed bans no longer working. 2024-02-15 22:55:24 +00:00
flash c0caceed7b Fixed use of wrong BanInfo constructor. 2024-02-08 15:18:57 +00:00
flash 070dc5e782 Added lazy database object creation. 2024-02-07 00:04:45 +00:00
flash b80151583e Added private messages. 2024-01-30 23:47:02 +00:00
flash 3e49f6e503 Added URL registry attributes. 2023-09-10 00:04:53 +00:00
flash c3bed1c0e3 Rewrote URL registry. 2023-09-08 20:40:48 +00:00
flash c5a284f360 Route registration with attributes! 2023-09-08 00:13:30 +00:00
flash 15e96684c2 Moved authentication related macros out of MisuzuContext. 2023-09-06 20:06:07 +00:00
flash 9b2c409a24 Moved user related stuff into its own context object. 2023-09-06 13:50:19 +00:00
flash 7190a5f4df Syntactic sugar for mass route registration. 2023-09-06 11:59:44 +00:00
flash 9682fa595a Fixed static analysis detections. 2023-08-31 17:14:41 +00:00
flash 45500ce698 Removed html_colour function, moved renamed DateCheck to Tools and moved the country names function into it and use new callable syntax. 2023-08-31 14:55:39 +00:00
flash 4d6fb64f3a Added shitty search hack to users class. 2023-08-31 00:19:20 +00:00
flash f03c8ebfa5 Moved validation methods into the new Users class. 2023-08-30 23:41:44 +00:00
flash 07a2868159 Rewrote permissions system. 2023-08-30 22:37:21 +00:00
flash 39c6269cf3 Rewrote forum backend. 2023-08-28 01:17:34 +00:00
flash 0a11c5525a Fixed oversight regarding RNG ordering of user list. 2023-08-05 13:55:34 +00:00
flash cf71129153 Converted all Misuzu style route handlers to Index style ones. 2023-08-04 20:51:02 +00:00
flash b7de5acfd8 Fixed search and updated collations of various fields to more appropriate ones. 2023-08-03 12:40:37 +00:00
flash 383e2ed0e0 Rewrote the user information class.
This one took multiple days and it pretty invasive into the core of Misuzu so issue might (will) arise, there's also some features that have gone temporarily missing in the mean time and some inefficiencies introduced that will be fixed again at a later time.
The old class isn't gone entirely because I still have to figure out what I'm gonna do about validation, but for the most part this knocks out one of the "layers of backwards compatibility", as I've been referring to it, and is moving us closer to a future where Flashii actually gets real updates.
If you run into anything that's broken and you're inhibited from reporting it through the forum, do it through chat or mail me at flashii-issues@flash.moe.
2023-08-02 22:12:47 +00:00
flash e813f2a90e Some TOTP touch-ups. 2023-07-29 20:18:41 +00:00
flash 0158333c90 Removed permissions stuff from the User object. 2023-07-29 18:15:30 +00:00
flash e3c0ae662e Removed HasRankInterface. 2023-07-29 17:31:43 +00:00
flash 3148da4403 Rewrote Sessions backend. 2023-07-28 20:06:12 +00:00
flash 5c8ffa09fc Cleaned up User and UserSession queries. 2023-07-28 15:07:30 +00:00
flash 20b309563e Fixed phpstan detections. 2023-07-27 23:49:55 +00:00
flash 461ffbf73b Rewrote user role handling. 2023-07-27 23:26:05 +00:00
flash 70623d3a7c Pluralise user role relations table name. 2023-07-27 13:09:22 +00:00
flash b4d4e8578c Rewrote TFA session code. 2023-07-27 12:44:50 +00:00
flash 2231cd8124 Rewrote user warnings backend. 2023-07-26 22:43:50 +00:00
flash 86432616c6 Expiration -> Expires 2023-07-26 18:24:49 +00:00
flash 1d552e907b Added new banning system.
it actually works and isn't confusing this time around!
2023-07-26 18:19:48 +00:00
flash 057551edb3 Pluralise. 2023-07-26 11:56:06 +00:00
flash 710049794f Fixed typo that would cause things to fail. 2023-07-26 11:54:49 +00:00
flash 3299d73df2 Added new moderator notes system. 2023-07-25 14:40:31 +00:00
flash 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
flash dd21fce6e3 Rewrote password recovery token storage using new DB backend. 2023-07-22 21:20:03 +00:00
flash 6e3023a772 Rewrite login attempts log to use new database backend. 2023-07-22 16:37:57 +00:00
flash 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
flash 14c5635b4f 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
flash ebac064c59 Fixed error 500 on logs and sessions pages because of dead library. 2023-07-21 11:33:27 +00:00
flash f32624c61d Improved profile fields code. 2023-07-20 19:36:43 +00:00
flash 2e49940260 Upgrade to PHP 8.2. 2023-07-19 19:10:20 +00:00
flash 30e77bd698 Removed leftover abstract class. 2023-07-19 14:34:02 +00:00
flash e6c826a7d7 Fixed various errors and oversights caught by phpstan. 2023-07-18 22:24:23 +00:00
flash 2f7cddde19 Config class overhaul. 2023-07-18 21:48:44 +00:00
flash 3e2183b7b2 Fixed leap year birthdays without a year set. 2023-07-12 23:08:35 +00:00
flash f025ee13d0 Rely on NGINX GeoIP2 module for country code lookup. 2023-07-11 00:25:43 +00:00