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
99353c4e70
Added server side stuff for Satori hooks.
2023-07-29 22:18:20 +00:00
d90d734c90
Some TOTP touch-ups.
2023-07-29 20:18:41 +00:00
9449af30ef
Removed permissions stuff from the User object.
2023-07-29 18:15:30 +00:00
05d1beb267
Fixed error when news comments category doesn't exist somehow.
2023-07-29 18:01:41 +00:00
8a63906bdb
Removed HasRankInterface.
2023-07-29 17:31:43 +00:00
4a59be7d9d
Emit audit log upon impersonation.
2023-07-28 23:23:45 +00:00
cb40f1efce
Added counters table for storing numbers of things statically.
2023-07-28 23:17:37 +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
eb4fc96b29
Added notice when there's no account logs to display.
2023-07-28 20:36:16 +00:00
7a3875d6da
Hide roles section from settings if there's only one available.
2023-07-28 20:33:44 +00:00
4fe77f345c
Use random alphabetic string instead hex bytes for session tokens.
2023-07-28 20:13:11 +00:00
10ec424a4f
Rewrote Sessions backend.
2023-07-28 20:06:12 +00:00
a7b8b905b4
Cleaned up User and UserSession queries.
2023-07-28 15:07:30 +00:00
adf7a40e07
Fixed phpstan detections.
2023-07-27 23:49:55 +00:00
9dbfb0a396
Rewrote user role handling.
2023-07-27 23:26:05 +00:00
d2db06d0e4
Fixed data export.
2023-07-27 13:14:32 +00:00
5022222162
Pluralise user role relations table name.
2023-07-27 13:09:22 +00:00
25c87ada6b
Rewrote TFA session code.
2023-07-27 12:44:50 +00:00
1d26871bc6
Fixed the manage index statistics causing a 500 because the old warnings table is Gone.
2023-07-26 22:57:03 +00:00
d71990f30e
Fixed warning deletion.
2023-07-26 22:48:47 +00:00
a97955b7e2
Split Sharp Chat kick and ban permissions based on the Misuzu warnings and bans permissions.
2023-07-26 22:46:35 +00:00
d31cc70128
Rewrote user warnings backend.
2023-07-26 22:43:50 +00:00
4318c3fbe1
Expiration -> Expires
2023-07-26 18:24:49 +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
42560a62e6
Pluralise.
2023-07-26 11:56:06 +00:00
1ff9b11b97
Fixed typo that would cause things to fail.
2023-07-26 11:54:49 +00:00
49b3062dbe
Fixed gross misalignment.
2023-07-25 19:03:48 +00:00
92f18bfe9a
Redesigned news post preview information section.
2023-07-25 19:02:00 +00:00
eb30b6b718
Fixed error 500 when trying to view a non-existent profile.
2023-07-25 15:03:25 +00:00
26d5abffe5
Allow moderators to view a stripped down version of the user page in the broom closet.
2023-07-25 14:52:51 +00:00
96f9ea7271
Added new moderator notes system.
2023-07-25 14:40:31 +00:00
8c52338751
Removed the concept of silencing.
...
Nothing really implemented it properly or checked for it and the places that did check just handled it as a slightly softer ban.
It's pretty obvious that the existence of this feature was directly taken from osu! where the differentation between a ban and a silence probably makes more sense, though even there Silences are just non-permanent bans, so like why does this exist lol?
Well, it doesn't anymore! Hopefully chat will upgrade successfully because I let it get 18 commits behind :D
2023-07-23 21:47:15 +00:00
f382e1f210
Attempt 2 at fixing the profile fields issue (this one actually fixes the issue!)
2023-07-22 21:25:51 +00:00
1dffd30136
Rewrote password recovery token storage using new DB backend.
2023-07-22 21:20:03 +00:00
033abfd150
Fixed error 500 on profiles when filling certain fields in specific conditions.
2023-07-22 20:54:52 +00:00
4243d50abd
Fixed type on getUserId in LoginAttemptInfo.
2023-07-22 17:27:42 +00:00
a894db2052
Rewrite login attempts log to use new database backend.
2023-07-22 16:37:57 +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
6414d1290a
Use the Index DbStatementCache implementation.
2023-07-22 14:00:51 +00:00
2c02a3594f
Use the Index DbTools version for list prepare thing.
2023-07-22 13:54:42 +00:00
d559df61da
Updated Index Serialiser usage.
2023-07-21 21:56:09 +00:00
7831da9f70
Added phpstan as a dev dependency.
2023-07-21 19:38:54 +00:00
45900202dc
Removed local config plugin and fixed Index info pages.
2023-07-21 19:30:28 +00:00
84dc4ee873
Oops it's all white!
2023-07-21 19:17:57 +00:00
f292e64322
Updated project licence to BSD3CC and import Index through Composer.
2023-07-21 18:58:37 +00:00
f628c8ad76
Just use Composer for DeviceDetector.
...
It was initially my goal to lessen use of Composer, but given I just switched to using NPM packages for asset compilation, it's a little bit silly to try and keep that going.
2023-07-21 16:12:08 +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
1094f8dc67
Fixed error 500 on logs and sessions pages because of dead library.
2023-07-21 11:33:27 +00:00