Commit graph

756 commits

Author SHA1 Message Date
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
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
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
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
1dffd30136 Rewrote password recovery token storage using new DB backend. 2023-07-22 21:20:03 +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
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
d870a386cf Improved profile fields code. 2023-07-20 19:36:43 +00:00
aefc4ddb9c Upgrade to PHP 8.2. 2023-07-19 19:10:20 +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
b41df8ffbe Removed leftover abstract class. 2023-07-19 14:34:02 +00:00
6a32119c8a Fixed whatever the date formatter was smoking. 2023-07-18 23:19:19 +00:00
d938ff74c1 Removed server-side relative time. 2023-07-18 23:12:47 +00:00
f1fdf5c792 Removed unnecessary checks from URL formatter. 2023-07-18 22:36:07 +00:00
540b886b18 Removed old formats of and unused SharpChat endpoints. 2023-07-18 22:33:13 +00:00
31cb6ab82d Fixed various errors and oversights caught by phpstan. 2023-07-18 22:24:23 +00:00
8339892559 Config class overhaul. 2023-07-18 21:48:44 +00:00
0930fde6dd Rewrote audit log on new database backend. 2023-07-17 17:43:17 +00:00
ace24c8eee Use Node for asset building instead of building on the fly every time (feat. minification!) 2023-07-15 23:58:17 +00:00
ec74f74624 Rewrote most of the comments backend.g 2023-07-15 23:58:17 +00:00
bca3286c1a Fixed some routing oversights. 2023-07-15 17:45:39 +00:00
7d0e907fa8 Show Index and PDO query counts separately in the footer. 2023-07-15 17:15:40 +00:00
f5d14fac14 Rewrote the news backend. 2023-07-15 17:02:46 +00:00
b6c9c6c627 Rewrote the Changelog code. 2023-07-15 02:05:49 +00:00
c05ec36e60 Added more elegant method for statement caching. 2023-07-14 20:26:38 +00:00
5868a6c38c Fixed leap year birthdays without a year set. 2023-07-12 23:08:35 +00:00
142ccc3f01 Rewrote backend for emoticons.
Manage actually works this time!!!
2023-07-12 21:52:55 +00:00
849b38cbea Fixed possible NULL in CSRF check. 2023-07-12 19:14:40 +00:00
50fac1e585 Use the Index DSN to create the PDO based DB instance. 2023-07-11 22:45:23 +00:00
163ff95cdf Use Index for CSRF protection tokens. 2023-07-11 22:13:56 +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