Commit graph

174 commits

Author SHA1 Message Date
ee304af133 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
3d67b59238 Attempt 2 at fixing the profile fields issue (this one actually fixes the issue!) 2023-07-22 21:25:51 +00:00
dd21fce6e3 Rewrote password recovery token storage using new DB backend. 2023-07-22 21:20:03 +00:00
f6058823f1 Fixed error 500 on profiles when filling certain fields in specific conditions. 2023-07-22 20:54:52 +00:00
392881c0d8 Fixed type on getUserId in LoginAttemptInfo. 2023-07-22 17:27:42 +00:00
6e3023a772 Rewrite login attempts log to use new database backend. 2023-07-22 16:37:57 +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
42d893fc18 Use the Index DbStatementCache implementation. 2023-07-22 14:00:51 +00:00
baefea88df Use the Index DbTools version for list prepare thing. 2023-07-22 13:54:42 +00:00
e369038609 Updated Index Serialiser usage. 2023-07-21 21:56:09 +00:00
9962bbc5df Added phpstan as a dev dependency. 2023-07-21 19:38:54 +00:00
761bc94b8e Removed local config plugin and fixed Index info pages. 2023-07-21 19:30:28 +00:00
ffbe25d0b5 Oops it's all white! 2023-07-21 19:17:57 +00:00
e4b647f2c6 Updated project licence to BSD3CC and import Index through Composer. 2023-07-21 18:58:37 +00:00
683462ef71 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
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
ebac064c59 Fixed error 500 on logs and sessions pages because of dead library. 2023-07-21 11:33:27 +00:00
f32624c61d Improved profile fields code. 2023-07-20 19:36:43 +00:00
2e49940260 Upgrade to PHP 8.2. 2023-07-19 19:10:20 +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
c9993bf08b Display full join and seen dates on hover. 2023-07-19 18:18:27 +00:00
e678efedf4 Minor members list redesign. 2023-07-19 18:14:04 +00:00
239b0bae61 Removed overbearing global shadow. 2023-07-19 14:43:49 +00:00
30e77bd698 Removed leftover abstract class. 2023-07-19 14:34:02 +00:00
65549e3fa4 Fixed whatever the date formatter was smoking. 2023-07-18 23:19:19 +00:00
319f37a313 Removed server-side relative time. 2023-07-18 23:12:47 +00:00
bec58f589f Removed unnecessary checks from URL formatter. 2023-07-18 22:36:07 +00:00
473d5f22b5 Removed old formats of and unused SharpChat endpoints. 2023-07-18 22:33:13 +00:00
e6c826a7d7 Fixed various errors and oversights caught by phpstan. 2023-07-18 22:24:23 +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
96be282a93 Fixed Javascript not working because it's written very poorly. 2023-07-17 14:44:09 +00:00
074e078692 Use Node for asset building instead of building on the fly every time (feat. minification!) 2023-07-17 14:37:54 +00:00
f24f811acc Rewrote most of the comments backend.g 2023-07-15 23:58:17 +00:00
6274f7f8d3 Fixed some routing oversights. 2023-07-15 17:45:39 +00:00
472fc0decc Show Index and PDO query counts separately in the footer. 2023-07-15 17:15:40 +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
c56617e051 Fixed error on main page. 2023-07-15 02:08:13 +00:00
76c9cc50f4 Rewrote the Changelog code. 2023-07-15 02:05:49 +00:00
6d0d49171e Added more elegant method for statement caching. 2023-07-14 20:26:38 +00:00
3e2183b7b2 Fixed leap year birthdays without a year set. 2023-07-12 23:08:35 +00:00
3909cdf762 Rewrote backend for emoticons.
Manage actually works this time!!!
2023-07-12 21:52:55 +00:00
9b65ce005a Fixed possible NULL in CSRF check. 2023-07-12 19:14:40 +00:00
29165de457 Use the Index DSN to create the PDO based DB instance. 2023-07-11 22:45:23 +00:00
1186b0daeb Use Index for CSRF protection tokens. 2023-07-11 22:13:56 +00:00
ba8115fe10 CSRF and URL cleanup. 2023-07-11 20:51:24 +00:00