Commit graph

67 commits

Author SHA1 Message Date
5cf2529209 Fixed PHPstan detections. 2024-12-02 02:28:08 +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
0f45a5f60f Updated to latest Index version. 2024-10-05 02:40:29 +00:00
bf65c95490 Updated highlight.js and created new code theme. 2023-12-15 12:47:01 +00:00
4322f2561c Fixed chat routes being broken. 2023-09-11 20:36:20 +00:00
67d9620037 Fixed legacy paths being too / tolerant. 2023-09-11 20:15:48 +00:00
17e0d1f591 Added Sentry error logging on the server side. 2023-09-10 20:46:58 +00:00
3e49f6e503 Added URL registry attributes. 2023-09-10 00:04:53 +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
1da6470928 Switch to Sasae. 2023-08-31 21:33:34 +00:00
c14195c4c3 Moved render_info and render_error into Template class. 2023-08-31 15:59:53 +00:00
16ea495c7a Added permission for displaying load timings in the footer. 2023-08-31 00:37:09 +00:00
07a2868159 Rewrote permissions system. 2023-08-30 22:37:21 +00:00
34bd71600a Removed manage.php. 2023-08-28 13:45:36 +00:00
cf71129153 Converted all Misuzu style route handlers to Index style ones. 2023-08-04 20:51:02 +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
0158333c90 Removed permissions stuff from the User object. 2023-07-29 18:15:30 +00:00
8ef113f3a9 Allow non-super users to impersonate select users. 2023-07-28 21:20:19 +00:00
a22433f7dd Don't update last online time and ip address when impersonating. 2023-07-28 20:43:08 +00:00
3148da4403 Rewrote Sessions backend. 2023-07-28 20:06:12 +00:00
1d552e907b Added new banning system.
it actually works and isn't confusing this time around!
2023-07-26 18:19:48 +00:00
d0e3f6ce65 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
14c5635b4f Determine client info on insert rather than on retrieve for speed improvements.
i suppose device detect only ever expects to analyse a single string at once given its made for matomo so it on the slower side for multiple dingusses
2023-07-21 12:47:59 +00:00
24d61cc60e Removed lockdown feature for now. 2023-07-19 19:04:57 +00:00
029c1ff20e Restructured public folder and initialisation process. 2023-07-19 19:03:53 +00:00
2f7cddde19 Config class overhaul. 2023-07-18 21:48:44 +00:00
cecfaf4852 Removed timeago library. 2023-07-17 20:14:21 +00:00
e5d9128cd0 Fixed account data export memory usage. 2023-07-17 19:28:13 +00:00
1a11a8f8ba Rewrote audit log on new database backend. 2023-07-17 17:43:17 +00:00
f24f811acc Rewrote most of the comments backend.g 2023-07-15 23:58:17 +00:00
bff42c26ab Rewrote the news backend. 2023-07-15 17:02:46 +00:00
69c6b6f2ac Fixed various other oversights. 2023-07-15 02:14:39 +00:00
76c9cc50f4 Rewrote the Changelog code. 2023-07-15 02:05:49 +00:00
3909cdf762 Rewrote backend for emoticons.
Manage actually works this time!!!
2023-07-12 21:52:55 +00:00
ba8115fe10 CSRF and URL cleanup. 2023-07-11 20:51:24 +00:00
f025ee13d0 Rely on NGINX GeoIP2 module for country code lookup. 2023-07-11 00:25:43 +00:00
9cb0a04611 Get rid of unused JSON stuff. 2023-07-10 20:12:20 +00:00
3507ae61ff Switched to Index byte formatter and adjusted max file sizes. 2023-07-05 23:09:28 +00:00
027ed5aff6 Cleaned up various utility functions. 2023-07-05 01:33:12 +00:00
0bb1303413 Updated authentication token format. 2023-05-21 18:15:04 +00:00
8038f61470 Added ability to add redirects to deleted topic ids. 2023-04-30 00:18:14 +00:00
6f679fc78c Fixed oversights that occur because of the empty username. 2023-04-29 21:57:21 +00:00
11ff8b5be1 Removed quirky newline. 2023-03-11 22:28:57 +00:00
d54528f8ea Gave posts a 1 minute cooldown for edits without being marked as edited. 2023-03-11 22:28:10 +00:00
d05046ff1f Removed Twitter integrations. 2023-03-09 21:38:03 +00:00
c7ed6ba511 Fixed smart event. 2023-02-24 18:36:32 +00:00