Commit graph

70 commits

Author SHA1 Message Date
070dc5e782 Added lazy database object creation. 2024-02-07 00:04:45 +00:00
b89621cb1a Added PMs to data export. 2024-02-05 22:56:51 +00:00
b80151583e Added private messages. 2024-01-30 23:47:02 +00:00
dba5754ccc Fixed error when trying to add a new change. 2024-01-24 18:28:13 +00:00
2b34bde413 Fixed error when trying to create a new role. 2023-12-02 02:57:46 +00:00
432615508d Fixed undefined variable. 2023-11-26 22:23:47 +00:00
5f57e3fdf4 Use SharpConfig format for the pre-database config. 2023-10-21 23:45:40 +00:00
c2836719c7 Updated to use Syokuhou config library. 2023-10-20 22:29:28 +00:00
4f1e35b566 Fixed overly eager url encoding on the search page. 2023-10-18 10:11:21 +00:00
a945cc518a Fixed syntax error in post.php. 2023-09-11 19:18:10 +00:00
edc64b45ff Fixed error when trying to view a non-existent topic when logged out. 2023-09-10 21:04:10 +00:00
55e23c7b5d Fixed CSRF tokens not being added to URLs that need them. 2023-09-10 20:02:11 +00:00
e376671136 Attempt at fixing forum issues. 2023-09-10 19:13:36 +00:00
1248c0d2f6 Moved various .php file redirects into the LegacyRouter. 2023-09-08 20:47:54 +00:00
c3bed1c0e3 Rewrote URL registry. 2023-09-08 20:40:48 +00:00
163da8b213 Added separate context class for forum stuff and split up handling of each object type. 2023-09-08 13:22:46 +00:00
8b0f960c86 Split auth stuff off into own context. 2023-09-08 00:43:00 +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
69e4d05be6 Pluralise Views. 2023-09-06 11:19:54 +00:00
2d0f083e1a Fixed topic read status check. 2023-09-06 11:19:04 +00:00
c14195c4c3 Moved render_info and render_error into Template class. 2023-08-31 15:59:53 +00:00
0c9bac473b No longer rely on Referer header for the comments return URL. 2023-08-31 14:39:50 +00:00
061d4c8a8f Fixed leaderboard name not retaining the leading 0. 2023-08-31 00:54:17 +00:00
6fc10984e1 Append total posts count at the end of the leaderboard. 2023-08-31 00:52:14 +00:00
29426fafc1 Count profile stats using Index database backend. 2023-08-31 00:24:59 +00:00
4d6fb64f3a Added shitty search hack to users class. 2023-08-31 00:19:20 +00:00
40558ceb39 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
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
57b9e82c10 Fixed topic type string usage. 2023-08-28 01:41:13 +00:00
39c6269cf3 Rewrote forum backend. 2023-08-28 01:17:34 +00:00
bab8b29c5b Fixed error 500 when trying to log in to a non-existing user. 2023-08-06 18:22:39 +00:00
d4f6990e8a Made data source argument lists for News, Changelog, Comments and Emotes consistent with the rest. 2023-08-05 13:50:15 +00:00
87915b6a25 Fixed forum post deletion and editing. 2023-08-04 22:49:09 +00:00
cf71129153 Converted all Misuzu style route handlers to Index style ones. 2023-08-04 20:51:02 +00:00
6bfa3d7238 Fixed error 500 when viewing profiles as guest. 2023-08-04 17:44:37 +00:00
b7de5acfd8 Fixed search and updated collations of various fields to more appropriate ones. 2023-08-03 12:40:37 +00:00
9dd7156c79 Fixed issue caused by used of dangling variable on sessions page. 2023-08-03 01:43:43 +00:00
00d1d2922d 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
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
57081d858d Added server side stuff for Satori hooks. 2023-07-29 22:18:20 +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
61daa21d3a Emit audit log upon impersonation. 2023-07-28 23:23:45 +00:00
934b016541 Added counters table for storing numbers of things statically. 2023-07-28 23:17:37 +00:00
8ef113f3a9 Allow non-super users to impersonate select users. 2023-07-28 21:20:19 +00:00
3148da4403 Rewrote Sessions backend. 2023-07-28 20:06:12 +00:00
461ffbf73b Rewrote user role handling. 2023-07-27 23:26:05 +00:00