Commit graph

536 commits

Author SHA1 Message Date
e1cb500f99 Use .env file instead of local config. 2025-02-09 23:34:28 +00:00
4110cd5190 Moved constants out of misuzu.php. 2025-02-09 20:44:10 +00:00
534e947522 Merged OAuth2 handling into Misuzu. 2025-02-02 02:09:56 +00:00
269dc78919 Fixed broom closet index being visible while logged out??? 2025-01-30 14:55:20 +00:00
3e14f63bdb Redid HTTP error pages. 2025-01-30 14:52:01 +00:00
eb88cc0999 Updated Font Awesome. 2025-01-30 13:03:25 +00:00
6c7568e261 Updated Index version. 2025-01-29 23:13:17 +00:00
5333a3277f Read remote address from the right place. 2025-01-29 18:19:33 +00:00
33344541d6 Added ability to scope RoutingContext. 2025-01-29 00:25:53 +00:00
06d0413976 Replaced all / reads with filter_input in public/index.php. 2025-01-28 21:14:48 +00:00
3c10fb0de0 Fixed PHPstan detections. 2024-12-02 02:28:08 +00:00
163e54def1 Forgot half of it. 2024-11-30 04:20:20 +00:00
d103477fe1 Removed getter/setter methods in favour of property hooks and asymmetric visibility. 2024-11-30 04:09:29 +00:00
55a2424fee Updated to latest Index version. 2024-10-05 02:40:29 +00:00
7acfa8b30e Updated highlight.js and created new code theme. 2023-12-15 12:47:01 +00:00
ac66a3ecea Fixed chat routes being broken. 2023-09-11 20:36:20 +00:00
6bb9572913 Fixed legacy paths being too / tolerant. 2023-09-11 20:15:48 +00:00
28c97ef8ba Added Sentry error logging on the server side. 2023-09-10 20:46:58 +00:00
48b767edd4 Added URL registry attributes. 2023-09-10 00:04:53 +00:00
3309f75592 Split auth stuff off into own context. 2023-09-08 00:43:00 +00:00
df970df252 Moved authentication related macros out of MisuzuContext. 2023-09-06 20:06:07 +00:00
ade2460b92 Moved user related stuff into its own context object. 2023-09-06 13:50:19 +00:00
fdafd9b129 Switch to Sasae. 2023-08-31 21:33:34 +00:00
d680b29f16 Moved render_info and render_error into Template class. 2023-08-31 15:59:53 +00:00
aed8c8b126 Added permission for displaying load timings in the footer. 2023-08-31 00:37:09 +00:00
349cc237c5 Rewrote permissions system. 2023-08-30 22:37:21 +00:00
4bdc00fac3 Removed manage.php. 2023-08-28 13:45:36 +00:00
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