Commit graph

205 commits

Author SHA1 Message Date
ace24c8eee Use Node for asset building instead of building on the fly every time (feat. minification!) 2023-07-15 23:58:17 +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
d69f7c2abf Rely on NGINX GeoIP2 module for country code lookup. 2023-07-11 00:25:43 +00:00
839fd4e7f1 Switched to a tools directory for commands. 2023-07-10 22:52:30 +00:00
24e4ab980c Updated authentication token format. 2023-05-21 18:15:04 +00:00
3ea078df34 Removed Twitter integrations. 2023-03-09 21:38:03 +00:00
da1d3184bc Added rudimentary EEPROM file uploading support to the forum post editor. 2023-03-09 21:05:37 +00:00
9c6c7d9786 Made Twitter and Chat link targets in the header configurable. 2023-01-31 16:21:19 +00:00
67aeb9a70a Updated database migration system to use the Index methods. 2023-01-07 04:15:19 +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
86701122d0 Removed error to exception conversion in Misuzu (handled in Index). 2023-01-05 23:54:27 +00:00
587e341c59 Updates to GeoIP lookup stuff. 2023-01-05 20:03:26 +00:00
bc03c0756c Remove IPAddress::remote and all implicit resolving of the request remote address. 2023-01-05 18:33:03 +00:00
86e465797d Rewrote Twitter connection (v1.1 -> v2). 2023-01-05 03:20:31 +00:00
22ac2e05c7 Use Git HEAD hash for the template cache folder name. 2023-01-01 20:33:32 +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
7d6b94294f Converted Sharp Chat routes to Index. 2022-06-10 20:26:24 +02:00
3c518c48e6 Fixed cookies not being set correctly when running on a non-standard port. 2022-06-06 16:57:45 +02:00
56911715fe Added root context class, moved routes into it and removed _sockchat.php redirect. 2022-02-28 19:47:50 +00:00
881426e950 First bits of Indexification. 2022-02-26 01:27:52 +00:00
d55585372e Ran PHPStan over everything and attempted some fixes. 2022-02-19 19:03:00 +00:00
0da24c0aaa Fixed compatibility issues with PHP 8.1. 2022-02-15 22:28:49 +00:00
2929adcc03 Removed tracking code. 2021-07-31 04:44:01 +00:00
78ba57750c Removed old userDisplayInfo fetch. 2020-06-10 18:20:30 +00:00
42fc65abbc Fixed private mode not working as expected with the router. 2020-06-09 19:09:59 +00:00
0e885f6311 Added Matomo support. 2020-06-09 17:42:35 +00:00
44fc436134 Made user asset handling OOP. 2020-06-07 20:37:03 +00:00
0bf8fde6c2 Rewrote roles code to be OOP. 2020-06-04 18:48:01 +00:00
3521d06cef Minor template clean-up. 2020-06-01 19:38:02 +00:00
a165f9cffd // actually remove old warnings file 2020-06-01 00:34:11 +00:00
73d3552dcb Rewrote warnings system to be OOP, also added permanent warnings. 2020-06-01 00:33:16 +00:00
5556891a40 Made user relation code OOP. 2020-05-29 19:07:18 +00:00
2b5faa0aac Made password recovery OOP. 2020-05-29 15:30:49 +00:00
8bd45209a2 Made two factor auth session code OOP. 2020-05-28 17:52:31 +00:00
4657bfa548 Removed old session functions. 2020-05-27 17:11:52 +00:00
a5d79b2306 Moved user validation code into User object. 2020-05-27 17:05:23 +00:00
737be27198 Moved 503 check higher up into the startup process.
Since it no longer depends on Twig we don't have to initialise that, removing further points of failure.
2020-05-26 18:59:22 +00:00
e19c5a68ba Updated 503 page to not depend on CSS or Twig existing. 2020-05-26 18:57:35 +00:00
a176107bf8 Added better console command handling. 2020-05-26 18:44:06 +00:00
d2aa478c58 Rewrote session code to be OOP. 2020-05-25 19:58:06 +00:00
174d25d40f Made login attempts functions OOP. 2020-05-25 14:15:17 +00:00
bfe69276b8 Rewrote audit log to be OOP. 2020-05-21 15:05:30 +00:00
c365e32d89 Added sanity to changelog code. 2020-05-20 18:09:38 +00:00
41f1a59b1d Rewrote comments backend. 2020-05-18 21:27:34 +00:00
b66eb8ba76 Moved news pages into the router and made news object oriented. 2020-05-16 22:35:11 +00:00
ca0f1ecb39 Made the router code less janky. 2020-05-14 21:39:38 +00:00