Commit graph

33 commits

Author SHA1 Message Date
497bc5323d Made database column names more consistent across the board. 2025-02-07 23:10:41 +00:00
b49868e9c7 Removed 'is'. 2025-02-06 21:12:13 +00:00
534e947522 Merged OAuth2 handling into Misuzu. 2025-02-02 02:09:56 +00:00
d462ee0594 Added Data suffix where applicable. 2025-01-29 23:36:35 +00:00
6c7568e261 Updated Index version. 2025-01-29 23:13:17 +00:00
b5f0f6cda6 Shortcut for pagination appending. 2024-12-19 02:27:28 +00:00
7d710e2d02 Use nextParameter instead of addParameter and manually counting where possible. 2024-12-19 02:23:05 +00:00
d3f9c299af Rewrote the Pagination handler. 2024-12-19 01:22:26 +00:00
0e64d85393 Raised checking level from 5 to 6. 2024-12-02 21:33:15 +00:00
3c10fb0de0 Fixed PHPstan detections. 2024-12-02 02:28:08 +00:00
163e54def1 Forgot half of it. 2024-11-30 04:20:20 +00:00
d103477fe1 Removed getter/setter methods in favour of property hooks and asymmetric visibility. 2024-11-30 04:09:29 +00:00
8fc998621b Updated RPC library. 2024-11-13 23:30:34 +00:00
99a592dcce Removed all references to the IPAddress class. 2024-10-05 14:22:14 +00:00
55a2424fee Updated to latest Index version. 2024-10-05 02:40:29 +00:00
76443a5d1a Added auth RPC routes. 2024-08-25 23:03:46 +00:00
e708f99fee Updated Index and switched to Carbon for date handling. 2024-08-04 21:37:12 +00:00
ba7fb5e15a Added lazy database object creation. 2024-02-07 00:04:45 +00:00
c9ef6e4112 Include SameSite attribute on cookies. 2024-01-24 22:14:48 +00:00
727d0650ce Updated to use Syokuhou config library. 2023-10-20 22:29:28 +00:00
3309f75592 Split auth stuff off into own context. 2023-09-08 00:43:00 +00:00
349cc237c5 Rewrote permissions system. 2023-08-30 22:37:21 +00:00
b08de04b07 Fixed issue caused by used of dangling variable on sessions page. 2023-08-03 01:43:43 +00:00
9ae2a6a39b 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
e000c21987 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
4fe77f345c Use random alphabetic string instead hex bytes for session tokens. 2023-07-28 20:13:11 +00:00
10ec424a4f Rewrote Sessions backend. 2023-07-28 20:06:12 +00:00
adf7a40e07 Fixed phpstan detections. 2023-07-27 23:49:55 +00:00
25c87ada6b Rewrote TFA session code. 2023-07-27 12:44:50 +00:00
4318c3fbe1 Expiration -> Expires 2023-07-26 18:24:49 +00:00
1dffd30136 Rewrote password recovery token storage using new DB backend. 2023-07-22 21:20:03 +00:00
4243d50abd Fixed type on getUserId in LoginAttemptInfo. 2023-07-22 17:27:42 +00:00
a894db2052 Rewrite login attempts log to use new database backend. 2023-07-22 16:37:57 +00:00