Commit graph

1303 commits

Author SHA1 Message Date
60e33edce9 Append total posts count at the end of the leaderboard. 2023-08-31 00:52:14 +00:00
d6ba0953fc Fixed oversight. 2023-08-31 00:40:07 +00:00
45522cedc7 Fixed missing use statement. 2023-08-31 00:38:20 +00:00
aed8c8b126 Added permission for displaying load timings in the footer. 2023-08-31 00:37:09 +00:00
a120cce5a0 Removed old database backend. 2023-08-31 00:31:11 +00:00
9911c51d9b Count profile stats using Index database backend. 2023-08-31 00:24:59 +00:00
2ea1018123 Added shitty search hack to users class. 2023-08-31 00:19:20 +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
0d90b6576b Fixed errors on profiles. 2023-08-28 14:45:32 +00:00
4bdc00fac3 Removed manage.php. 2023-08-28 13:45:36 +00:00
6b7d9b6637 Fixed user colours in comments sections. 2023-08-28 13:33:39 +00:00
99cc05f991 Fixed topic type string usage. 2023-08-28 01:41:13 +00:00
71463fefcc Fixed user colours not showing on forum posts. 2023-08-28 01:32:05 +00:00
265399d343 Rewrote forum backend. 2023-08-28 01:17:34 +00:00
f033e27ab5 Fixed emoticon ordering in chat. 2023-08-07 12:59:08 +00:00
ce8f9c0435 Fixed profile editing failing due to old argument. 2023-08-06 19:09:59 +00:00
4f56427501 Fixed error 500 when trying to log in to a non-existing user. 2023-08-06 18:22:39 +00:00
f7bc703b4a Fixed oversight regarding RNG ordering of user list. 2023-08-05 13:55: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
758a052191 Fixed forum post deletion and editing. 2023-08-04 22:49:09 +00:00
c1bf19bc12 Converted all Misuzu style route handlers to Index style ones. 2023-08-04 20:51:02 +00:00
761fdb7f80 Fixed error 500 when viewing profiles as guest. 2023-08-04 17:44:37 +00:00
0a0e882950 Fixed search and updated collations of various fields to more appropriate ones. 2023-08-03 12:40:37 +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
99353c4e70 Added server side stuff for Satori hooks. 2023-07-29 22:18:20 +00:00
d90d734c90 Some TOTP touch-ups. 2023-07-29 20:18:41 +00:00
9449af30ef Removed permissions stuff from the User object. 2023-07-29 18:15:30 +00:00
05d1beb267 Fixed error when news comments category doesn't exist somehow. 2023-07-29 18:01:41 +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
3dd854e383 Don't update last online time and ip address when impersonating. 2023-07-28 20:43:08 +00:00
eb4fc96b29 Added notice when there's no account logs to display. 2023-07-28 20:36:16 +00:00
7a3875d6da Hide roles section from settings if there's only one available. 2023-07-28 20:33:44 +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
a7b8b905b4 Cleaned up User and UserSession queries. 2023-07-28 15:07:30 +00:00
adf7a40e07 Fixed phpstan detections. 2023-07-27 23:49:55 +00:00
9dbfb0a396 Rewrote user role handling. 2023-07-27 23:26:05 +00:00
d2db06d0e4 Fixed data export. 2023-07-27 13:14:32 +00:00
5022222162 Pluralise user role relations table name. 2023-07-27 13:09:22 +00:00
25c87ada6b Rewrote TFA session code. 2023-07-27 12:44:50 +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
d71990f30e Fixed warning deletion. 2023-07-26 22:48:47 +00:00
a97955b7e2 Split Sharp Chat kick and ban permissions based on the Misuzu warnings and bans permissions. 2023-07-26 22:46:35 +00:00