Commit Graph

118 Commits

Author SHA1 Message Date
419c61ed7f Fix some utf8 and xml encoding stuff 2023-04-25 18:09:51 -04:00
d9323c721b Set up @EXPORT for Markdown 2023-04-25 12:03:05 -04:00
e86cda1cc5 Added Markdown support 2023-04-25 11:56:42 -04:00
94988c2d34 xml_escape() on INSERT and don't XML escape thread/remark body in templates 2023-04-25 10:40:47 -04:00
fe19848b51 Don't need the JOIN anymore 2023-04-24 15:33:42 -04:00
57de51b29c cleanup 2023-04-24 15:30:42 -04:00
b15fae5a77 Grab just the latest 15 threads for feed 2023-04-24 15:29:08 -04:00
3796846809 Add <guid> to RSS feed 2023-04-24 15:08:05 -04:00
ebfad34e2f Implement RSS feed 2023-04-24 14:25:32 -04:00
5f030d5e6b Make date format static for now 2023-04-24 13:26:29 -04:00
a3b76dabb2 Change default date format to be RFC822 compliant 2023-04-24 12:46:10 -04:00
8cfd13d821 Clean up routing 2023-04-24 12:14:04 -04:00
777a8fbcda Cleanup 2023-04-23 23:28:43 -04:00
25e370bba5 Added commands for creating and promoting accounts 2023-04-22 00:48:30 -04:00
28c914565f Use _mod suffix for the route names for consistency 2023-04-21 23:55:49 -04:00
9a68e9ec83 Actions for promoting/demoting admins 2023-04-21 23:21:12 -04:00
10cd3cffb1 Actions for locking/unlocking accounts 2023-04-21 22:25:05 -04:00
27fda1f00a Actions for resetting passwords 2023-04-21 21:40:39 -04:00
86a7d92156 Added under() behavior for admin users 2023-04-21 17:32:16 -04:00
65d98d594c Fix the is_admin helper 2023-04-16 15:15:39 -04:00
33e38e26f6 lil cleanup 2023-04-15 10:22:39 -04:00
8591fe5610 Swap emoji 2023-04-15 01:06:09 -04:00
25f47ce80d Created action for creating new mods 2023-04-15 00:57:45 -04:00
829be876c1 Re-added is_admin helper 2023-04-14 22:50:59 -04:00
2681360352 Fix logging out and tests 2023-01-10 00:45:31 -05:00
b685388289 Move this to somewhat organize 2023-01-09 19:50:54 -05:00
c34b07c129 New method to retrieve admin_status; add is_admin to session 2023-01-09 19:24:08 -05:00
c4a35d0759 Just noticed this... 2023-01-08 23:54:58 -05:00
ae73969320 Too easy to not just do this now 2023-01-08 23:53:30 -05:00
a33cbff534 Check lock_status before logging in 2023-01-08 23:37:41 -05:00
f48c139ad9 Set timestamp when mod logs in 2023-01-08 23:03:55 -05:00
6be8cc43a9 Add method for creating moderator 2023-01-08 22:41:59 -05:00
270f0df12d Don't drink and Perl kids 2022-12-24 23:37:50 -05:00
5cce06c984 Use perlcritic theme; add is_admin() helper; clean up some things 2022-12-18 14:00:54 -05:00
4527219d91 Add boolean for admin 2022-12-17 21:46:29 -05:00
6b82c5c96b Was in the neighborhood and... 2022-12-10 19:03:53 -05:00
a62a4c495e Add view for hidden posts 2022-12-08 18:50:21 -06:00
babd302ba2 Great suggestion by @ology@fosstodon.org 2022-12-08 18:19:09 -06:00
0b79b0a977 Make less ugly 2022-12-08 15:11:49 -06:00
a4b82238bf Implement basic view of flagged posts 2022-12-08 14:54:46 -06:00
bfb5ab9986 Re-work the nav bar at the top a lil; fix date format display; implement routing for the remark mod stuff 2022-12-08 12:41:23 -06:00
d01acbcde2 Added buttons for the mod stuff; had to restructure things to make room for mod remark stuff 2022-12-08 00:13:59 -06:00
088daa120d Clean up routing 2022-12-07 23:15:46 -06:00
9a65aff125 Whoopsie 2022-12-07 23:07:58 -06:00
452229780e Add routes + tests for the unflag, hide and unhide actions 2022-12-07 20:18:48 -06:00
7d3d6c1fca Change mod_list to flagged_list; add moderator nav bar under regular nav bar 2022-12-02 23:22:55 -05:00
de8a76271d Create helper for checking if user is moderator 2022-11-28 23:55:11 -05:00
45614f4035 Cleaning up some things; moar tests 2022-11-28 23:33:19 -05:00
f7030968d3 Some clean-up 2022-11-27 23:56:35 -05:00
9f51c4dad9 Tests for Moderator 2022-11-25 23:22:38 -05:00