Commit graph

501 commits

Author SHA1 Message Date
6fabf2040e // 2019-03-18 21:45:14 +01:00
3684fc3b0c Fixed defaults handling. 2019-03-18 21:15:02 +01:00
af8e86ea09 Reduced ->value calls. 2019-03-18 20:59:46 +01:00
7bf60765be Updated more stuff to use RequestVar. 2019-03-18 20:53:05 +01:00
68db9ce243 Allow login with previous 2FA code as well, closes #163. 2019-03-18 13:17:46 +01:00
c6826bd4f1 Added profile topic listing (wip). 2019-03-10 22:18:33 +01:00
724bd29965 Removed experimental enum usage from comment votes table. 2019-03-10 20:00:10 +01:00
b6c98275ca Improved two factor login flow. 2019-03-10 19:27:44 +01:00
1b2804a8b3 Disable two factor authentication on password reset. 2019-03-10 17:01:45 +01:00
b0ac4a3da1 Moved some 2FA stuff into functions. 2019-03-10 16:58:49 +01:00
2f70c3e113 Rehash passwords when required during login. 2019-03-10 16:38:06 +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
4d47d290bf Added experimental request variable access class. 2019-03-07 19:11:24 +01:00
ff26ba3d0c Post featured news post links to Twitter. 2019-03-06 14:37:01 +01:00
eafa258d7a Just kidding, this actually fixes it. 2019-03-04 21:25:20 +01:00
5d4e2c84c8 Adjustments to make the TRIGGER execute properly. 2019-03-03 16:26:23 +01:00
6e5854b165 Some preparations for the activity feed. 2019-03-02 23:49:10 +01:00
aec69ff19c Moved stats into a single db_query call. 2019-03-02 20:29:41 +01:00
35d7150965 Removed needless caching stuff. 2019-03-02 19:42:50 +01:00
b3963f5c11 Removed old test site related redirect. 2019-02-28 22:55:11 +01:00
126eddec51 Updated most static urls to use the url registry. 2019-02-28 22:52:39 +01:00
490c3ebda5 Fixed backwards check. 2019-02-28 22:09:51 +01:00
8ee35f33c6 Massive user card overhaul. 2019-02-28 22:06:30 +01:00
3fc514feb6 Memoize perms (why wasn't this done already). 2019-02-27 20:24:17 +01:00
7057ca7855 Fixed typo. 2019-02-27 17:29:38 +01:00
19fb0ffc30 Added more styling to the followers/following page. 2019-02-27 17:26:49 +01:00
17fa18665f Updated profile.php in accordance with user assets no longer being served through it. 2019-02-27 16:32:13 +01:00
5fbad79c23 Moved user asset serving out of profile.php. 2019-02-27 15:46:18 +01:00
8cebfb6fae Added raw following/followers pages. 2019-02-27 15:05:27 +01:00
5cabd79702 Recursively count topics and posts. 2019-02-26 15:35:35 +01:00
fae13defa5 Added super user flag. 2019-02-22 10:05:50 +01:00
bddb4d4874 Fixed wrong base64_encode function being used in auth.php. 2019-02-12 17:49:44 +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
181f56bfc7 Updated more static urls. 2019-02-12 15:12:58 +01:00
546f040490 Fixed forum post deletion redirections. 2019-02-06 20:15:30 +01:00
06b34d6133 Removed some old utility functions. 2019-02-05 21:29:37 +01:00
39c9c128c0 Updated user management styling a little bit. 2019-02-04 22:10:00 +01:00
2379d953ac Restyled the manage user listing. 2019-02-04 12:38:20 +01:00
e3493aac79 Added posting preview button, closes #125. 2019-01-30 10:19:35 +01:00
0b17ee8bd2 Fixed broken redirect on the forum. 2019-01-29 23:53:07 +01:00
d146cbae61 Started centralising URLs. 2019-01-24 21:54:24 +01:00
df9f270883 // 2019-01-22 17:04:57 +01:00
6424f646e2 Added hierarchy checks in important places, mostly closes #94. 2019-01-22 16:18:01 +01:00
f1f20eebe2 Bypass avatar and background 404 on profiles when admin, closes #95. 2019-01-22 15:48:26 +01:00
d6eebeee75 Added forum action audit logging. 2019-01-22 15:24:30 +01:00
c70de41222 Added forum signatures. 2019-01-18 23:24:37 +01:00
96c665bfd5 Cleaned up random queries, closes #132. 2019-01-18 18:08:19 +01:00
205b019cef Added baseline for birthday field. 2019-01-18 15:11:15 +01:00
61214d63e5 Fixed CSRF check failure discarding posts. 2019-01-18 13:15:35 +01:00
906abdcd8f Use case sensitive ETag for proxy. 2019-01-16 19:53:45 +01:00
e259c91ce8 Serve basic error pages when using through the proxy script. 2019-01-15 00:30:01 +01:00
2896eca542 Moved mark as read button to the actions row. 2019-01-12 19:22:13 +01:00
9869190b2a Added some topic moderation tools. 2019-01-12 00:00:53 +01:00
93357f90e7 Added other jpeg mime type to the proxy. 2019-01-11 22:52:44 +01:00
e58e715e6d Proxy fixes. 2019-01-11 00:38:16 +01:00
e9a1f59b4f Nuked the stale chat quotes code, rewrite when the chat actually exists. 2019-01-10 23:59:24 +01:00
364cc75b68 Added basic post deletion (no AJAX or topic deletion yet). 2019-01-10 21:08:37 +01:00
624cba9d32 Added button to mark a forum or the entire thing as read. 2019-01-09 21:22:54 +01:00
9505cb1f0b Added more typesafe shorthands for fetching database operations. 2019-01-09 20:06:02 +01:00
44dc4ae2ce Fixed incorrect post count on posting page. 2019-01-09 18:30:09 +01:00
07f2322303 Added measure to prevent doubleposting. 2019-01-05 19:08:18 +01:00
ad6d4d9ec4 Fixed pagination not counting properly for moderators, closes #123. 2019-01-05 18:21:48 +01:00
2857f45f1a Added small topic pagination to topic listing. 2019-01-04 02:40:18 +01:00
a67c3d67ff Fixed post lookup. 2019-01-04 01:11:31 +01:00
5aaff24eca Fixed warnings manager 404. 2019-01-03 19:28:52 +01:00
55d991d261 Add ETag cache support to avatars, backgrounds and proxied media. 2019-01-03 18:00:56 +01:00
f524da4ad6 Fixed changelog date page throwing a 404. 2019-01-03 17:22:51 +01:00
2086a6cde2 Fixed forums with no posts throwing a 404. 2019-01-03 17:00:13 +01:00
4f15544a30 Fixed soft delete listing issues. 2019-01-03 16:57:17 +01:00
eed6fb7764 Add audio formats to the proxy whitelist. 2019-01-03 16:21:03 +01:00
d16703d6d3 Fixed oversight in post locating. 2019-01-03 03:19:53 +01:00
d4a74748d1 //whoops that wasn't supposed to be pushed! 2019-01-03 02:43:51 +01:00
4fe3c6644d Add media proxying. 2019-01-03 02:43:12 +01:00
0cf328c05d Rewrote the pagination system. 2019-01-03 01:33:02 +01:00
0e42f8df0e Fixed parser always being set to bbcode. 2019-01-01 15:36:08 +01:00
b84b4475fc Fixed editor discarding existing content when failing, closes #112. 2019-01-01 04:48:48 +01:00
a118d84a59 Redirect to topic rather than directly to post when creating a topic. 2018-12-31 04:07:08 +01:00
81e16bfad1 Sort last online users by time rather than random. 2018-12-31 02:41:53 +01:00
514f7c4513 A bunch of front page updates. 2018-12-31 02:37:47 +01:00
aa8bc37ef1 Fixed topics unpinning themselves when edited by original author. 2018-12-31 01:18:35 +01:00
3da99a37b6 Send relation actions through AJAX, closes #93. 2018-12-30 23:07:32 +01:00
eed548313b Added button to pin/unpin comments, closes #100. 2018-12-30 21:42:01 +01:00
0e0e431e26 Only bump post edit date field when the text has been changed. 2018-12-30 20:53:51 +01:00
8c7aad6d16 Added dropdown for selecting topic type in editor. 2018-12-30 20:51:32 +01:00
b3d04b138a Some index adjustments. 2018-12-30 18:36:57 +01:00
c025a2c88e Allow editing of the topic name when editing the original post. 2018-12-30 04:23:04 +01:00
e3d4d41a9a Added post editing, closes #97. 2018-12-30 04:02:35 +01:00
bb0fd1bf6a Added permission calculator to the forum section in manage. 2018-12-29 04:14:07 +01:00
3146b3bc88 Compare hierarchies before applying warnings. 2018-12-28 17:35:55 +01:00
698ab50435 Finished implementation of warning and banning system, closes #87. 2018-12-28 06:03:42 +01:00
e1c2c97669 Improved the warning management UI. 2018-12-27 22:01:57 +01:00
a34a546ace Added ability to assign warnings (WIP). 2018-12-27 06:13:03 +01:00
e70a22e104 Redid the topic create/reply form. 2018-12-27 05:25:51 +01:00
7f36672c0d Restored accidental cache disable. 2018-12-27 04:26:08 +01:00
f03b37e0c6 Fixed inability to view topics ever and also added icons. 2018-12-27 03:59:57 +01:00
306690c8a7 First bits of the management side for warnings. 2018-12-27 00:21:44 +01:00
dcd2830b40 // not really much reason to use the while workaround for this with only a single pyramid level 2018-12-26 17:07:14 +01:00
38cb13aefe Added a UI for managing the IP blacklist. 2018-12-26 17:03:26 +01:00
414f3e230e Removed profile notice as well. 2018-12-26 03:22:37 +01:00
c43a853bbc Removed notice on settings page. 2018-12-26 00:31:13 +01:00
abf67dd366 Added IP registration blacklisting. 2018-12-25 22:41:28 +01:00
f345b7fe51 Added some base stuff for warnings. 2018-12-24 21:35:25 +01:00
74910eddb6 Added CIDR IP range checking function, closes #88. 2018-12-24 19:58:12 +01:00
a37f48fdd6 //cidr stuff 2018-12-22 18:03:58 +01:00
774ce1f966 Added soft delete viewing support to the forum. 2018-12-22 12:02:26 +01:00
ee2d608dc3 Check if a comment is deleted before voting. 2018-12-22 11:37:18 +01:00
1042f0f6f7 // unfuck the permissions a bit so i can push to release 2018-12-16 22:52:41 +01:00
8fa8eaa1f9 Improved handling of soft deleted comments. 2018-12-15 23:15:35 +01:00
3428dc8cc2 Added more audit log events. 2018-12-15 22:16:12 +01:00
00a6e7ff9f Convert audit log strings to constants. 2018-12-15 19:46:48 +01:00
84948121bc Improved look of global audit log. 2018-12-15 19:14:23 +01:00
d3531fc2c1 // More comments system updates. 2018-12-10 00:56:36 +01:00
0a417b75af //Merging management and public user listing. 2018-12-05 20:57:56 +01:00
fa951c5da2 Fixed custom colour checkbox state being inverse. 2018-12-05 17:57:40 +01:00
e9ec03608c Removed avatar changing field from management panel. Closes #80. 2018-12-01 13:35:42 +01:00
8007d3db29 Fixed pagination in settings. Closes #73. 2018-12-01 13:20:21 +01:00
486e5c9e77 Redirect to previous page after login, closes #78. 2018-12-01 12:39:47 +01:00
e9bda13078 Use avatars for the online users box. 2018-11-17 23:44:58 +01:00
c4aa9c63f4 Restyle changelog log page. 2018-11-17 22:59:01 +01:00
e7cddfd37e Added personal role management. 2018-11-17 21:37:18 +01:00
3cb971aa03 //user role stuff 2018-11-16 18:54:56 +01:00
095acb829d Added subtle reminder to split the homepage up in two parts. 2018-10-31 10:44:07 +01:00
366ea2710a Moved Twig functions and filters into an Extension class. 2018-10-29 23:00:49 +01:00
d832b59905 Updated everything to use new table names. 2018-10-29 22:18:53 +01:00
67d59d90bf Massively cleaned up settings.php. 2018-10-29 20:12:06 +01:00
1430b2e692 Updated session manager styling. 2018-10-29 18:55:10 +01:00
72d72e4c60 Merge settings pages into one. 2018-10-28 03:02:00 +01:00
8495a83d18 Merged settings into a single page. 2018-10-28 00:01:01 +02:00
1e4dc367fc Only show the feature notice on own profile. 2018-10-27 23:39:36 +02:00
d5335a0d26 Centralised select template. 2018-10-27 23:38:01 +02:00
f3ba61418d Centralised file input selection. 2018-10-27 20:50:34 +02:00
7884c98f7e Fully moved profile, avatar and background editing to on-profile. 2018-10-27 03:20:27 +02:00
8a62431139 Replaced inputs of type hidden, csrf and text with macros. 2018-10-25 03:35:53 +02:00
71b65b93d6 Updated forum/topic tools styling. 2018-10-25 02:15:23 +02:00
aeb71d91d8 Styling fixes. 2018-10-22 23:05:22 +02:00
c25c2d76ed Restyled container titles. 2018-10-22 21:53:21 +02:00
ddedb556be Use new style on the forum. 2018-10-22 00:11:14 +02:00
b8a30fae6c Recursive forum accent colours! 2018-10-21 23:53:32 +02:00
670d672807 Use proper ability functions in forum.php. 2018-10-18 23:54:21 +02:00
7b33ef088d Fixed news tables and finished the shoddy news management panel. 2018-10-11 23:43:52 +02:00
1e0ab7312f Added manage links to the news pages. 2018-10-10 14:25:18 +02:00
6d39c6e3c9 News but everything is a function. 2018-10-10 11:21:57 +02:00
76cc71b0b8 Removed old use statements. 2018-10-10 00:45:53 +02:00
39ff56a6b7 Added horribad quote administration thing. 2018-10-10 00:36:54 +02:00
836f7272c5 Add chat quotes to front page. 2018-10-09 23:09:54 +02:00
a89c634799 Use better numeric check in the changelog date checker. 2018-10-08 15:24:26 +02:00
97024927ff //whoops 2018-10-08 15:07:48 +02:00
1785aae6eb Moved password recovery code into its own file. 2018-10-08 14:59:58 +02:00
7af8944314 Fixed password reset redirect. 2018-10-07 20:46: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
1f22a1e4b9 Moved GeoIP stuff into its own folder. 2018-10-05 13:00:37 +02:00
8ff10f9d3c Moved storage path into a constant. 2018-10-05 11:14:54 +02:00
c2b3becc14 Changed avatar limitations. 2018-10-05 11:06:39 +02:00
885b76fce3 Removed meta lockdown checks, they're only used once anyway. 2018-10-05 09:52:13 +02:00
818a8a9ade Removed prevent_registration config var, functionally replaced by the Private section. 2018-10-05 09:36:16 +02:00
7ab2c69f5c Removed getPrivateInfo from Application class. 2018-10-05 09:33:26 +02:00
2c151fd68c E-mailing: now more procedurally wrapped OOP than ever! 2018-10-04 23:53:37 +02:00
c6018d0a4d New config system, define a root dir constant and deprecate more of Application. 2018-10-04 22:30:55 +02:00
2dbe78f626 Most date manip is done by MySQL queries, so goodbye Carbon. 2018-10-03 00:43:04 +02:00
f01a6d5372 Made imperative bits of the session system procedural like the rest. 2018-10-03 00:34:05 +02:00
c21d1b65ac cool new CSRF protection system 2018-10-02 21:16:42 +02:00
5097cb812a Removed static.flash.moe references (topic left overs are up for redesign). 2018-10-02 19:31:33 +02:00
fd1a2fd76e Added some experimental background options. 2018-10-01 13:36:38 +02:00
d7fc87685d Added basic spambot countermeasure 2018-09-30 23:24:15 +02:00
a389ddec79 Revert "Experimenting with new colour scheme more"
This reverts commit 27fb701cec.
2018-09-30 23:10:51 +02:00
27fb701cec Experimenting with new colour scheme more 2018-09-29 23:31:44 +02:00
9b714d6b9b Improved private mode, replaces Auth.staging. 2018-09-28 09:56:55 +02:00
44cb3e5bac Prevent viewing the test site without logging in. 2018-09-28 00:27:30 +02:00
0cda47d5af Move more settings.php into functions. 2018-09-28 00:03:43 +02:00
012171635e Ridding of IPAddress and IPAddressRange, the latter was broken and the former was obsoleted by INET funcs. 2018-09-27 10:32:43 +02:00
b0f6db2450 Removed some refs to IPAddress class. 2018-09-27 09:15:33 +02:00
09490a7599 Removed dead use statements. 2018-09-27 08:48:23 +02:00
b385909298 Don't redirect if there are errors. 2018-09-27 08:42:43 +02:00
1d223ae0e5 Display guidelines section on profile in edit mode. 2018-09-27 08:39:49 +02:00
bdff37233e Cool new avatar changing UI on profile. 2018-09-26 11:23:36 +02:00
c11a452334 Added ability to get to profile by username. 2018-09-25 23:58:31 +02:00
238d454464 Remove profile field editor from manage and add return links. 2018-09-25 23:21:11 +02:00
0998e5d69c Added online users list to the frontpage. 2018-09-25 23:11:06 +02:00
0ef2dc898b cool profile editor v2 2018-09-23 21:12:40 +02:00
774527c616 uhh updates 2018-09-23 18:31:47 +02:00
aa168ed1d0 Updated auth styles to match site styling. 2018-09-23 03:32:18 +02:00
1468d22c9c Added styling to about editor. 2018-09-21 11:28:22 +02:00
65e70ce1f8 Moved parser utility functions to their own file. 2018-09-21 10:56:52 +02:00
8c4989c37b info beginnings, still gotta style this 2018-09-21 00:56:14 +02:00
14340774b9 quick 'n dirty about section 2018-09-20 18:50:11 +02:00
818ea9c4c9 Added basic friends system. 2018-09-19 00:16:29 +02:00
af222dfbd8 Restyled the accounts section accordingly with the new profile. 2018-09-17 20:39:46 +02:00
aa748e60c2 Added edit profile button to own profile. 2018-09-17 11:20:15 +02:00
d1c109a84f Missed this one. 2018-09-17 10:13:57 +02:00
bd578c7601 Actually check permissions. 2018-09-17 10:10:32 +02:00
1fe9a4fd92 dropkicked phpunit out, no longer expose Application to Twig and also defines. 2018-09-16 21:45:40 +02:00
38bdef2b74 More background stuff [laptop] 2018-09-16 20:45:49 +02:00
be861868f2 Some initial stuff for profile backgrounds. 2018-09-16 03:37:32 +02:00
f12ac03629 and also au revoir to all object trashy wrappings 2018-09-16 02:21:13 +02:00
bce19a2ed6 Use parse_ini_file instead of custom class. 2018-09-16 01:27:12 +02:00
c8aafe1a07 use mb_ functions on strings 2018-09-15 23:55:26 +02:00
33df85b980 Added basic permission viewing stuff. 2018-08-26 03:46:33 +02:00
7fd2a8d286 Implemented permission checks everywhere, manage is next. 2018-08-23 22:06:48 +02:00
55d3979d2c It's not much but if you like rectangles, this is the code for you. 2018-08-18 21:20:10 +02:00
2745dfe0cd Rename global permission constants to make more sense. 2018-08-18 04:31:46 +02:00
757362102f Remove dormant checks and add @ mentions to comments. 2018-08-17 03:39:44 +02:00
86bc60aca2 Restyled changelog related manage pages 2018-08-16 19:26:16 +02:00
f3760f62ff More manage stuff. 2018-08-15 22:29:18 +02:00
fa71040fbc More updates to integrate manage into the main site. 2018-08-15 19:20:41 +02:00
248ba3a539 Added delete all sessions button. 2018-08-15 15:36:40 +02:00
8ea1506a1c Changes the news post previews up a little 2018-08-15 15:08:20 +02:00
1bf81d7a7d First steps to merging manage with the main site. 2018-08-15 04:25:42 +02:00
f1979c8e4a Restructure templating system. 2018-08-15 03:12:58 +02:00
13d99a70a4 Display comment count on profiles. 2018-08-12 15:35:50 +02:00
97d2965d7d Allow account detail editing in debug mode when prevent_registration is enabled. 2018-08-12 15:32:07 +02:00
3cd7a0699e Merged the log pages into one. 2018-08-12 15:31:38 +02:00
e5335e5274 Fixed comment voting. 2018-08-12 14:55:51 +02:00
294380d7bc Merged account and avatar settings pages. 2018-08-11 20:56:54 +02:00
17463088dd Fixed news count in news.php not being provided. 2018-08-10 23:54:40 +02:00
00eeba9c30 merge time 2018-08-10 23:21:39 +02:00
6a7edd84a7 I suppose it's kinda ready to push to master rn? not sure yet though 2018-08-10 06:20:54 +02:00
74f5fd0921 i definitely did this today 2018-08-07 00:19:35 +02:00
105492154e Display audit log in settings. 2018-07-23 15:29:57 +02:00
dc79fcb2f8 Added password resetting. 2018-07-22 01:54:12 +02:00
e3ae2feb12 Fixed date validation in changelog viewer. 2018-07-21 02:50:58 +02:00
af8cc763bf Added per user colours, removed old chat key stuff and fixed a permissions editor error. 2018-07-18 18:01:17 +02:00
031a7f1413 Display current e-mail address in settings. 2018-07-18 03:55:44 +02:00
e1ab3bf84c Added e-mail. 2018-07-18 02:44:51 +02:00
c32525d489 Add audit log backend stuff. 2018-07-17 19:17:57 +02:00
41109793a7 Changes changelog on index to show last 10 entries. 2018-07-17 16:03:34 +02:00
0a8a4d3b99 Use shorthand database operations everywhere. 2018-07-16 00:59:14 +02:00
af4ec2ac45 Caching stuff. 2018-07-16 00:39:39 +02:00
af60ea5693 Fixed last user fetching on index. 2018-07-14 21:13:56 +02:00
ad3d836ae7 Fixed changelog date fetching. 2018-07-11 23:59:01 +02:00
5b2a49add7 Some front page improvements, more to come! 2018-07-11 23:48:41 +02:00
e5da1cce35 Some memberlist things. 2018-07-11 22:03:43 +02:00
5878a4c16c Move git functions out of ApplicationBase 2018-07-10 18:37:13 +02:00
c727491aec Made manage sections default to their actual default pages. 2018-07-10 03:04:44 +02:00
694837af1e Rewrite avatar upload handling in settings. 2018-07-10 01:50:12 +02:00
d751ded0d4 Fixed e-mail changing in the settings panel. 2018-07-08 21:26:57 +02:00
f924484ac3 Added permissions system. 2018-07-08 21:24:59 +02:00
ffc23c11fd Initial permission stuffs. 2018-07-08 01:24:34 +02:00
f4d8005ab3 Merged the changelog index and date templates. 2018-07-07 21:21:42 +02:00
a49f79dc45 Fixed some cross browser issues, chrome and edge suck. 2018-07-07 16:57:10 +02:00
1e80ed1394 Fixed tag archival. 2018-07-07 16:06:36 +02:00
074a89e6b1 changelog updates 2018-07-07 03:32:09 +02:00
80f9c7d0dc CHAnGELOG 2018-07-06 03:28:06 +02:00
2d7e55f103 member listing 2018-05-28 01:24:16 +02:00
d579d2c8e0 Add some basic user management logic. 2018-05-27 03:59:57 +02:00
fca5b423a4 A bunch of housekeeping. 2018-05-27 02:20:35 +02:00
b7507cf495 finishing touches for the baseline (nowhere near done tho) 2018-05-26 22:33:05 +02:00
4e2ff47137 Temporary-ish parsing facilities. 2018-05-24 21:31:48 +02:00