Commit graph

84 commits

Author SHA1 Message Date
51b6d29a39 Alter output of /v1/me if banned. 2025-01-03 19:14:48 +00:00
b8687406b8 Shortcut for pagination appending. 2024-12-19 02:27:28 +00:00
5e1d36abac Use nextParameter instead of addParameter and manually counting where possible. 2024-12-19 02:23:05 +00:00
0f1a8886a6 Rewrote the Pagination handler. 2024-12-19 01:22:26 +00:00
5e0a2530a8 Raised checking level from 5 to 6. 2024-12-02 21:33:15 +00:00
5cf2529209 Fixed PHPstan detections. 2024-12-02 02:28:08 +00:00
ec2d81a8b1 Fixed oversight... 2024-11-30 15:30:30 +00:00
1f502d83b4 Forgot half of it. 2024-11-30 04:20:20 +00:00
3ed0e50ae1 Removed getter/setter methods in favour of property hooks and asymmetric visibility. 2024-11-30 04:09:29 +00:00
b2301dde45 Added simpler avatar URL field. 2024-11-22 20:57:02 +00:00
39be84fcc0 Reordered output cus it was bothering me. 2024-11-21 20:05:56 +00:00
242e70eabf Added option to include e-mail address in user rpc call. 2024-11-21 19:37:04 +00:00
8e006c7003 Updated RPC library. 2024-11-13 23:30:34 +00:00
1f16de2239 Fixed casing oversight. 2024-10-05 14:39:43 +00:00
1550a5da57 Removed all references to the IPAddress class. 2024-10-05 14:22:14 +00:00
0f45a5f60f Updated to latest Index version. 2024-10-05 02:40:29 +00:00
f8aaa71260 Added optional string role IDs for the API. 2024-09-16 21:44:37 +00:00
f547812d5a Added RPC endpoint for fetching user info. 2024-09-05 20:08:31 +00:00
cc9fccdf18 Updated Index and switched to Carbon for date handling. 2024-08-04 21:37:12 +00:00
9bb943bacf Fixed various oversights. 2024-03-30 03:19:08 +00:00
107d16cf46 Updated Misuzu to new HTTP router. 2024-03-30 03:14:03 +00:00
89ef9d9ad1 Fixed bans no longer working. 2024-02-15 22:55:24 +00:00
c0caceed7b Fixed use of wrong BanInfo constructor. 2024-02-08 15:18:57 +00:00
070dc5e782 Added lazy database object creation. 2024-02-07 00:04:45 +00:00
b80151583e Added private messages. 2024-01-30 23:47:02 +00:00
3e49f6e503 Added URL registry attributes. 2023-09-10 00:04:53 +00:00
c3bed1c0e3 Rewrote URL registry. 2023-09-08 20:40:48 +00:00
c5a284f360 Route registration with attributes! 2023-09-08 00:13:30 +00:00
15e96684c2 Moved authentication related macros out of MisuzuContext. 2023-09-06 20:06:07 +00:00
9b2c409a24 Moved user related stuff into its own context object. 2023-09-06 13:50:19 +00:00
7190a5f4df Syntactic sugar for mass route registration. 2023-09-06 11:59:44 +00:00
9682fa595a Fixed static analysis detections. 2023-08-31 17:14:41 +00:00
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
4d6fb64f3a Added shitty search hack to users class. 2023-08-31 00:19:20 +00:00
f03c8ebfa5 Moved validation methods into the new Users class. 2023-08-30 23:41:44 +00:00
07a2868159 Rewrote permissions system. 2023-08-30 22:37:21 +00:00
39c6269cf3 Rewrote forum backend. 2023-08-28 01:17:34 +00:00
0a11c5525a Fixed oversight regarding RNG ordering of user list. 2023-08-05 13:55:34 +00:00
cf71129153 Converted all Misuzu style route handlers to Index style ones. 2023-08-04 20:51:02 +00:00
b7de5acfd8 Fixed search and updated collations of various fields to more appropriate ones. 2023-08-03 12:40:37 +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
e813f2a90e Some TOTP touch-ups. 2023-07-29 20:18:41 +00:00
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
3148da4403 Rewrote Sessions backend. 2023-07-28 20:06:12 +00:00
5c8ffa09fc Cleaned up User and UserSession queries. 2023-07-28 15:07:30 +00:00
20b309563e Fixed phpstan detections. 2023-07-27 23:49:55 +00:00
461ffbf73b Rewrote user role handling. 2023-07-27 23:26:05 +00:00
70623d3a7c Pluralise user role relations table name. 2023-07-27 13:09:22 +00:00
b4d4e8578c Rewrote TFA session code. 2023-07-27 12:44:50 +00:00