Commit graph

501 commits

Author SHA1 Message Date
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
60d14f9709 Fix some oversights and add a fallback page for when there are no forums. 2018-05-24 02:57:13 +02:00
8b2e174d40 Cleaned up forum index, listing and topic page as well as added read tracking. 2018-05-24 02:38:42 +02:00
cd9e72d3c0 functions yay 2018-05-23 03:41:57 +02:00
4c366ce454 login checks and some minor javascriptery 2018-05-22 04:09:53 +02:00
9d3074dfd0 heading a different direction instead with this thing, keeping posting.php separate for posting logic tho 2018-05-22 03:26:47 +02:00
990a32d8a1 Posting page 2018-05-22 02:54:20 +02:00
60e6accb2e SQL is black magic 2018-05-22 01:05:25 +02:00
14424687d6 Add last replied topic to the forums listing. 2018-05-21 21:08:40 +02:00
feb1ecf530 Topic listing is pretty much complete 2018-05-21 18:37:17 +02:00
5364bcac78 posts stuff! gettin places 2018-05-21 04:28:51 +02:00
b6e6adb039 rename paginate -> pagination for consistency 2018-05-20 22:16:30 +02:00
1559c5bf40 VERY basic topic viewer exist now yeet 2018-05-20 22:12:45 +02:00
9aa5ed140e topic stuffs 2018-05-20 03:16:29 +02:00
1e5f98bc33 slow day 2018-05-19 02:51:31 +02:00
387ab2ccb4 unfinished forum stuff 2018-05-18 03:20:27 +02:00
fc18634e09 Fix backend pagination. 2018-05-16 23:06:14 +02:00
48f68cfa2d Fix frontend pagination. 2018-05-16 22:48:33 +02:00
26ed87ce02 Add migrations system and remove Illuminate dependencies. 2018-05-16 20:18:30 +02:00
966301c21e bye bye ORM (successfully this time!) 2018-05-16 04:58:21 +02:00
b9f0e88f25 something, do not look 2018-04-30 23:39:43 +02:00
85ebfef072 Smol optimisations and fixes a few things, mainly auth.php. 2018-04-26 17:01:59 +02:00
e716af9b5a Removed wonky modules system and added documentation all over. 2018-04-25 00:55:46 +02:00
aa83955c7b Management stuff (also pagination in places). 2018-04-23 05:00:55 +02:00
7e68147716 smol bit of maintenance and also colours 2018-04-17 23:50:21 +02:00
4965ef8700 Add last seen and user title fields to users table. 2018-04-17 23:01:49 +02:00
1415272ff4 now with journalism! 2018-04-16 02:33:54 +02:00
afa9495f29 Disallow e-mail and password changing from test site. 2018-04-14 05:10:47 +02:00
aea66a62fb News, part 1 at least. 2018-04-14 04:58:53 +02:00
c1259ef503 Backlog of things. 2018-04-01 00:28:32 +02:00
5b828279a1 Now with functional pagination! 2018-03-28 02:35:37 +02:00
f19d95b2d7 Management beginnings. 2018-03-27 05:15:03 +02:00
610a6a8b72 Made e-mail and username case insensitive. 2018-03-26 04:24:32 +02:00
13c1c0722e Added underlying code to sessions page. 2018-03-26 04:08:35 +02:00
d43d48c48c Make the avatars page not bad. 2018-03-26 02:13:26 +02:00
4fc826d4a1 404 2018-03-26 00:00:42 +02:00
753fd8c17b Somehow forgot UPLOAD_ERR_NO_FILE. 2018-03-25 23:40:01 +02:00
073389c964 Add avatar uploading. 2018-03-24 05:31:42 +01:00
a23b2729cc Mirror, mirror, on the wall, who has the smallest brain of them all? 2018-03-23 23:28:53 +01:00
391d8e9cc7 Add links to profile. 2018-03-23 01:27:46 +01:00
8a6a36d6bf Add profile fields to database and add changing logic. 2018-03-23 01:01:42 +01:00
b5f14a1ef7 Add temp CSRF functions, for reusage. 2018-03-22 19:07:02 +01:00
b26ecb0d68 Fix profile.php errors. 2018-03-22 18:56:35 +01:00
877a7b1d47 Add login rate limiting. 2018-03-22 04:45:59 +01:00
d058036da1 Welcome back, mio! 2018-03-22 02:56:41 +00:00
19d19adec3 Rework IP address handling. 2018-03-16 03:01:24 +01:00
fdff8e00d9 Add favicon! 2018-03-14 19:37:05 +01:00
7a160c1e3e You say 'a step backwards', I say 'modern web development'. 2018-03-14 02:39:02 +01:00
f57b58b212 switch over to phroute for now 2018-03-14 00:24:38 +01:00
3862a66807 Use custom session system. 2018-02-11 00:18:49 +01:00
feb1bc810e Add Model base class and load modules when required. 2018-01-03 22:39:01 +01:00
db12ccd25b Type signatures + porting Zalgo from Ayase 2017-12-16 20:17:29 +01:00