Commit graph

219 commits

Author SHA1 Message Date
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
3fead75834 Renamed user class files. 2020-05-13 21:14:31 +00:00
21f254a8c0 Updated libraries and class loading code. 2020-05-12 23:09:03 +00:00
7c1a3179b1 Make auth cookie available to the entire domain. 2020-04-15 19:59:04 +02:00
8f7a0feeed Added cron task to remove expired chat tokens. 2019-12-14 20:24:02 +01:00
364fa3c24f Router beginnings. 2019-12-13 21:37:17 +01:00
b4a581087a Massive overhauls. 2019-12-12 01:42:28 +01:00
51f3c47a31 CSRF from Hanyuu. 2019-12-11 19:10:54 +01:00
2728a1fca9 Added TOTP class from Hanyuu. 2019-12-09 04:24:10 +01:00
1a40c11a54 Emoticon restructure. 2019-12-09 03:41:34 +01:00
7b910c49bb // I FORGOT TO COMMIT THE FILES AHAHAHAHA 2019-12-06 02:04:10 +01:00
f8f1118a9e Moved type utility functions to utility.php 2019-12-04 19:23:00 +01:00
96ea7772cb Ported Template class from Hanyuu project. 2019-12-04 19:16:22 +01:00
e50cb31a6e // forgot the init call! 2019-12-03 20:12:17 +01:00
2446789b7d Ported Mailer class from Hanyuu. 2019-12-03 20:09:18 +01:00
7cfdfc6bd8 Made config functions into a static class. 2019-12-03 19:52:20 +01:00
a5481d68a2 Imported Base* classes from Hanyuu project. 2019-12-03 03:00:58 +01:00
fe1562fd86 Reworked profile field handling. 2019-12-03 02:06:36 +01:00
0ab653e9e2 Removed explicit gzip. 2019-11-02 19:05:55 +01:00
c4cd40eb11 // can't be bothered to come up with a proper comment 2019-09-29 03:46:48 +02:00
fbd25a443a Fixed registration of error handlers. 2019-09-29 01:53:22 +02:00
55bdaa8c83 Fixed migration oversight. 2019-09-29 00:53:36 +02:00
d47052d1b4 Rewrote database stuff. 2019-09-29 00:38:39 +02:00
87a2ce77f8 Updated migration template. 2019-08-14 21:48:09 +02:00
1b51cc99dc Allow login on http. 2019-08-14 21:44:30 +02:00
81826fe874 Moved all config except database creds into the database. 2019-08-14 21:40:36 +02:00
46aa7cee81 Initial emoticon management stuff. 2019-07-04 19:27:21 +02:00
119bbdd3e8 Code style updates. 2019-06-10 19:04:53 +02:00
5bc6c0728b Split the changelog manage section up into multiple files. 2019-06-08 23:46:24 +02:00
36a0c750e8 Lowered retention for login history and account actions. 2019-06-06 21:15:36 +02:00
0da70b46cd Bump cookie lifetime as well if session is set to bump lifetime. 2019-05-29 14:16:58 +02:00
2b5151bf2a Removed all uses of . 2019-05-07 10:08:27 +02:00
3b84f4c9e0 Rewrote forum permission backend (removed all WITH RECURSIVE statements). 2019-04-30 22:55:12 +02:00
20ef18cc82 Reworked permission fetching. 2019-04-30 02:55:10 +02:00
f81e8a513d Prevent soft-deleted users from being logged in. 2019-04-29 23:50:20 +02:00
f3a2285509 WIP poll support. 2019-04-18 01:59:33 +02:00
a7b82293a6 Added private Forum Leaderboard page. 2019-03-31 18:49:16 +02:00
30e534c702 Added request encoding check. 2019-03-18 21:57:50 +01:00
a5459e1120 Revert fucking everything. 2019-03-18 21:47:25 +01:00
7bf60765be Updated more stuff to use RequestVar. 2019-03-18 20:53:05 +01:00
b6c98275ca Improved two factor login flow. 2019-03-10 19:27:44 +01:00
b2176cd030 Fixed migration page. 2019-03-10 02:05:40 +01:00
305599c8cb Added time based two factor authentication support. 2019-03-10 01:57:19 +01:00
9c739e1062 Split auth.php up into multiple files. 2019-03-08 01:35:53 +01:00
81b0abfd91 Added Twitter auth command and some base functions. 2019-03-06 11:27:38 +01:00
06d0575831 Fixed bug where migration page would never disappear. 2019-03-03 15:28:36 +01:00
6e5854b165 Some preparations for the activity feed. 2019-03-02 23:49:10 +01:00
0e1eb7c873 Removed dumb comment. 2019-03-02 20:41:35 +01:00
35d7150965 Removed needless caching stuff. 2019-03-02 19:42:50 +01:00
4761c9e9f9 Run some cron tasks at a lower frequency (lofreq are run once an hour, hifreq every 10 minutes). 2019-02-26 16:05:05 +01:00
5cabd79702 Recursively count topics and posts. 2019-02-26 15:35:35 +01:00
f8a3b8bb9b Added lite login model window, closes #79. 2019-02-12 17:38:42 +01:00
dea897456a Merged auth cookies into one. 2019-02-12 16:26:39 +01:00
06b34d6133 Removed some old utility functions. 2019-02-05 21:29:37 +01:00
5d36e24fc7 Lock the site during migrations to avoid dumb errors. 2019-02-05 14:39:22 +01:00
74e7789cba Lowered audit and login history lifetime to six months from a year. 2019-01-28 09:11:31 +01:00
a94ed4ce91 Put cron task queries into an array. 2019-01-28 09:10:56 +01:00
d146cbae61 Started centralising URLs. 2019-01-24 21:54:24 +01:00
e9a1f59b4f Nuked the stale chat quotes code, rewrite when the chat actually exists. 2019-01-10 23:59:24 +01:00
9505cb1f0b Added more typesafe shorthands for fetching database operations. 2019-01-09 20:06:02 +01:00
2857f45f1a Added small topic pagination to topic listing. 2019-01-04 02:40:18 +01:00
782380f51f Allow overriding the lockdown message. 2019-01-03 03:00:20 +01:00
0cf328c05d Rewrote the pagination system. 2019-01-03 01:33:02 +01:00
727e13b03b Added experimental user navigation bar. 2018-12-31 19:07:41 +01:00
e1e84c43c0 Added cron task to synchronise post forum ids after moving. 2018-12-30 04:27:42 +01:00
698ab50435 Finished implementation of warning and banning system, closes #87. 2018-12-28 06:03:42 +01:00
f345b7fe51 Added some base stuff for warnings. 2018-12-24 21:35:25 +01:00
a37f48fdd6 //cidr stuff 2018-12-22 18:03:58 +01:00
b041962403 Improved CLI mode checking. 2018-11-29 01:42:14 +01:00
b84121e277 Moved some of the comments javascript stuff to typescript. 2018-11-15 23:53:52 +01:00
061100f0d7 Moved some of the JavaScript stuff to TypeScript. 2018-11-06 23:55:05 +01:00
f690679412 Added permissions override flag to table structure. 2018-11-03 17:44:19 +01:00
f01eaf87c0 Added rule to remove stale forum tracking rows. 2018-11-02 23:54:40 +01:00
b89cecd0bc Fixed naming error in cron tasks. 2018-10-31 09:21:08 +01:00
366ea2710a Moved Twig functions and filters into an Extension class. 2018-10-29 23:00:49 +01:00
485749c997 Added per-session activity timestamp. 2018-10-29 22:23:53 +01:00
d832b59905 Updated everything to use new table names. 2018-10-29 22:18:53 +01:00
72d72e4c60 Merge settings pages into one. 2018-10-28 03:02:00 +01:00
8a62431139 Replaced inputs of type hidden, csrf and text with macros. 2018-10-25 03:35:53 +02:00
ddedb556be Use new style on the forum. 2018-10-22 00:11:14 +02:00
74712f96fb Templating wrapper updates. 2018-10-19 23:38:32 +02:00
df77983a7c Removed old git_branch() function, we're using tags now. 2018-10-19 22:47:47 +02:00
836f7272c5 Add chat quotes to front page. 2018-10-09 23:09:54 +02:00
1785aae6eb Moved password recovery code into its own file. 2018-10-08 14:59:58 +02:00
daae61aacf Move avatar and background functions into their own files. 2018-10-08 14:29:18 +02:00
de8670087a Database stuff is now also procedural, would ya look at that. 2018-10-07 01:30:48 +02:00
fb93b908c9 Caching but it's procedural now. 2018-10-07 00:40:14 +02:00