17 Commits

Author SHA1 Message Date
2681360352 Fix logging out and tests 2023-01-10 00:45:31 -05:00
c34b07c129 New method to retrieve admin_status; add is_admin to session 2023-01-09 19:24:08 -05:00
f48c139ad9 Set timestamp when mod logs in 2023-01-08 23:03:55 -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
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
87dc291c86 Add link to mod login; change the way session is stored; add route to logout; some clean-up 2022-11-21 21:59:43 -05:00
4a59dd69dc Implement login page 2022-11-19 23:55:03 -05:00