Commit graph

32 commits

Author SHA1 Message Date
262ba10694 Fixed error when trying to create a new role. 2023-12-02 02:57:46 +00:00
774494ac33 Fixed undefined variable. 2023-11-26 22:23:47 +00:00
727d0650ce Updated to use Syokuhou config library. 2023-10-20 22:29:28 +00:00
c7f2cf79e7 Fixed CSRF tokens not being added to URLs that need them. 2023-09-10 20:02:11 +00:00
98d36dffff Moved various .php file redirects into the LegacyRouter. 2023-09-08 20:47:54 +00:00
c3827bceff Rewrote URL registry. 2023-09-08 20:40:48 +00:00
a94b905116 Added separate context class for forum stuff and split up handling of each object type. 2023-09-08 13:22:46 +00:00
df970df252 Moved authentication related macros out of MisuzuContext. 2023-09-06 20:06:07 +00:00
ade2460b92 Moved user related stuff into its own context object. 2023-09-06 13:50:19 +00:00
d680b29f16 Moved render_info and render_error into Template class. 2023-08-31 15:59:53 +00:00
2603a597df Added targeted permission recalculation.
Reduces reliance on full recalculation and actually makes it viable to do from within the browser.
2023-08-30 23:56:33 +00:00
c724c02c66 Moved validation methods into the new Users class. 2023-08-30 23:41:44 +00:00
349cc237c5 Rewrote permissions system. 2023-08-30 22:37:21 +00:00
265399d343 Rewrote forum backend. 2023-08-28 01:17:34 +00:00
f394f372c1 Made data source argument lists for News, Changelog, Comments and Emotes consistent with the rest. 2023-08-05 13:50:15 +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
8a63906bdb Removed HasRankInterface. 2023-07-29 17:31:43 +00:00
4a59be7d9d Emit audit log upon impersonation. 2023-07-28 23:23:45 +00:00
cb40f1efce Added counters table for storing numbers of things statically. 2023-07-28 23:17:37 +00:00
35598a01a8 Allow non-super users to impersonate select users. 2023-07-28 21:20:19 +00:00
9dbfb0a396 Rewrote user role handling. 2023-07-27 23:26:05 +00:00
1d26871bc6 Fixed the manage index statistics causing a 500 because the old warnings table is Gone. 2023-07-26 22:57:03 +00:00
d31cc70128 Rewrote user warnings backend. 2023-07-26 22:43:50 +00:00
60cc6643a0 Added new banning system.
it actually works and isn't confusing this time around!
2023-07-26 18:19:48 +00:00
42560a62e6 Pluralise. 2023-07-26 11:56:06 +00:00
26d5abffe5 Allow moderators to view a stripped down version of the user page in the broom closet. 2023-07-25 14:52:51 +00:00
96f9ea7271 Added new moderator notes system. 2023-07-25 14:40:31 +00:00
8c52338751 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
20c528a88c 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
1094f8dc67 Fixed error 500 on logs and sessions pages because of dead library. 2023-07-21 11:33:27 +00:00
a09c8b7ef6 Restructured public folder and initialisation process. 2023-07-19 19:03:53 +00:00