Commit graph

1325 commits

Author SHA1 Message Date
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
0971240ab1 Cleaned up some things I missed. 2023-09-08 01:05:17 +00:00
485cbe38c9 Make PHPStan happy. 2023-09-08 00:54:19 +00:00
3309f75592 Split auth stuff off into own context. 2023-09-08 00:43:00 +00:00
0d0bd041a4 Route registration with attributes! 2023-09-08 00:13:30 +00:00
ef74057b5a Fixed incorrect type on latest forum post fetching result. 2023-09-07 20:53:19 +00:00
b2e30f4e49 Merge SharpChat permission set into the Misuzu permission system directly. 2023-09-06 20:44:28 +00:00
df970df252 Moved authentication related macros out of MisuzuContext. 2023-09-06 20:06:07 +00:00
92ff644290 Rewrote Satori recent forum post fetch. 2023-09-06 19:35:50 +00:00
ade2460b92 Moved user related stuff into its own context object. 2023-09-06 13:50:19 +00:00
618a3c31d9 Syntactic sugar for mass route registration. 2023-09-06 11:59:44 +00:00
cb6ef1e151 Fixed edit display threshold. 2023-09-06 11:32:13 +00:00
e81a032d75 Pluralise Views. 2023-09-06 11:19:54 +00:00
82043f14ff Fixed topic read status check. 2023-09-06 11:19:04 +00:00
fdafd9b129 Switch to Sasae. 2023-08-31 21:33:34 +00:00
84eef6dae9 Fixed static analysis detections. 2023-08-31 17:14:41 +00:00
d680b29f16 Moved render_info and render_error into Template class. 2023-08-31 15:59:53 +00:00
c0dbd36cbe 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
4493cc1ab1 No longer rely on Referer header for the comments return URL. 2023-08-31 14:39:50 +00:00
60a5fb6804 Fixed leaderboard name not retaining the leading 0. 2023-08-31 00:54:17 +00:00
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