Commit graph

14 commits

Author SHA1 Message Date
c2836719c7 Updated to use Syokuhou config library. 2023-10-20 22:29:28 +00:00
8b0f960c86 Split auth stuff off into own context. 2023-09-08 00:43:00 +00:00
07a2868159 Rewrote permissions system. 2023-08-30 22:37:21 +00:00
9dd7156c79 Fixed issue caused by used of dangling variable on sessions page. 2023-08-03 01:43:43 +00:00
00d1d2922d Changed the way msz_auth is handled.
Going forward msz_auth is always assumed to be present, even while the user is not logged in.
If the cookie is not present a default, empty value will be used.
The msz_uid and msz_sid cookies are also still upconverted for some reason but are no longer removed even though there's no active sessions that can possibly have those anymore.
As with the previous change, shit may be broken so report any Anomalies you come across, through flashii-issues@flash.moe if necessary.
2023-08-03 01:35:08 +00:00
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
d2f0eebfb2 Use random alphabetic string instead hex bytes for session tokens. 2023-07-28 20:13:11 +00:00
3148da4403 Rewrote Sessions backend. 2023-07-28 20:06:12 +00:00
20b309563e Fixed phpstan detections. 2023-07-27 23:49:55 +00:00
b4d4e8578c Rewrote TFA session code. 2023-07-27 12:44:50 +00:00
86432616c6 Expiration -> Expires 2023-07-26 18:24:49 +00:00
dd21fce6e3 Rewrote password recovery token storage using new DB backend. 2023-07-22 21:20:03 +00:00
392881c0d8 Fixed type on getUserId in LoginAttemptInfo. 2023-07-22 17:27:42 +00:00
6e3023a772 Rewrite login attempts log to use new database backend. 2023-07-22 16:37:57 +00:00