Commit graph

509 commits

Author SHA1 Message Date
c1bf19bc12 Converted all Misuzu style route handlers to Index style ones. 2023-08-04 20:51:02 +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
9449af30ef Removed permissions stuff from the User object. 2023-07-29 18:15:30 +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
10ec424a4f Rewrote Sessions backend. 2023-07-28 20:06:12 +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
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
52aa43dd94 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
f5d8914991 Removed lockdown feature for now. 2023-07-19 19:04:57 +00:00
a09c8b7ef6 Restructured public folder and initialisation process. 2023-07-19 19:03:53 +00:00
8339892559 Config class overhaul. 2023-07-18 21:48:44 +00:00
2b92d00b4b Removed timeago library. 2023-07-17 20:14:21 +00:00
bd9f59f998 Fixed account data export memory usage. 2023-07-17 19:28:13 +00:00
0930fde6dd Rewrote audit log on new database backend. 2023-07-17 17:43:17 +00:00
ec74f74624 Rewrote most of the comments backend.g 2023-07-15 23:58:17 +00:00
f5d14fac14 Rewrote the news backend. 2023-07-15 17:02:46 +00:00
02e80cde61 Fixed various other oversights. 2023-07-15 02:14:39 +00:00
b6c9c6c627 Rewrote the Changelog code. 2023-07-15 02:05:49 +00:00
142ccc3f01 Rewrote backend for emoticons.
Manage actually works this time!!!
2023-07-12 21:52:55 +00:00
5d62e6e741 CSRF and URL cleanup. 2023-07-11 20:51:24 +00:00
d69f7c2abf Rely on NGINX GeoIP2 module for country code lookup. 2023-07-11 00:25:43 +00:00
a4059de89a Get rid of unused JSON stuff. 2023-07-10 20:12:20 +00:00
f9edc5b9cf Switched to Index byte formatter and adjusted max file sizes. 2023-07-05 23:09:28 +00:00
070b788038 Cleaned up various utility functions. 2023-07-05 01:33:12 +00:00
24e4ab980c Updated authentication token format. 2023-05-21 18:15:04 +00:00
c798ce5d61 Added ability to add redirects to deleted topic ids. 2023-04-30 00:18:14 +00:00
01c43e38d8 Fixed oversights that occur because of the empty username. 2023-04-29 21:57:21 +00:00
4358f0145b Removed quirky newline. 2023-03-11 22:28:57 +00:00
86c597edae Gave posts a 1 minute cooldown for edits without being marked as edited. 2023-03-11 22:28:10 +00:00
3ea078df34 Removed Twitter integrations. 2023-03-09 21:38:03 +00:00
b141070690 Fixed smart event. 2023-02-24 18:36:32 +00:00
1f6eb44ab6 Added most active forum category and topic to profiles. 2023-02-10 09:04:15 +00:00
7365a882ad Fixed inability to log in with two factor authentication. 2023-01-07 04:46:49 +00:00
59a09cf4ac Use interface constants instead of a dedicate enum class for config types. 2023-01-06 20:50:41 +00:00
5f0e94350f Changed name of context class and global variable. 2023-01-06 20:35:03 +00:00
bc03c0756c Remove IPAddress::remote and all implicit resolving of the request remote address. 2023-01-05 18:33:03 +00:00
ce392055b8 Removed IPAddress methods only used by the blacklist. 2023-01-05 17:15:26 +00:00
c0e5e8c9ed Removed IP blacklist for now. 2023-01-05 15:56:36 +00:00
86e465797d Rewrote Twitter connection (v1.1 -> v2). 2023-01-05 03:20:31 +00:00
901add2ce9 Replaced Misuzu Colour library with the Index ones. 2023-01-02 23:48:04 +00:00
6b64968afe Removed more XHR leftovers. 2023-01-02 23:12:23 +00:00
70a285aa29 Removed XHR stuff from comments handler. 2023-01-02 22:59:24 +00:00
a2a3c6a73c "Fixed" user editor in the broom closet. 2023-01-02 20:09:38 +00:00
bec238dc97 Removed unused built-in media proxy. 2023-01-01 20:27:25 +00:00
5631f464d2 Restructured config handler. 2023-01-01 20:23:53 +00:00
46b30d5470 Index updates + floatval, intval -> casts. 2023-01-01 19:06:01 +00:00
d43cb6f794 Removed unfinished leftovers of priority voting and polls. 2023-01-01 05:01:18 +00:00
64bda9339a Allow hiding values of settings in the overview. 2022-07-05 00:36:36 +00:00