Commit graph

214 commits

Author SHA1 Message Date
swagg boi 9a68e9ec83 Actions for promoting/demoting admins 2023-04-21 23:21:12 -04:00
swagg boi 10cd3cffb1 Actions for locking/unlocking accounts 2023-04-21 22:25:05 -04:00
swagg boi 27fda1f00a Actions for resetting passwords 2023-04-21 21:40:39 -04:00
swagg boi 1c6e8811dc Split up the tests for mod actions and admin actions 2023-04-21 19:04:43 -04:00
swagg boi 86a7d92156 Added under() behavior for admin users 2023-04-21 17:32:16 -04:00
swagg boi 0fbe7dc184 New TODO 2023-04-17 21:09:01 -04:00
swagg boi 65d98d594c Fix the is_admin helper 2023-04-16 15:15:39 -04:00
swagg boi 33e38e26f6 lil cleanup 2023-04-15 10:22:39 -04:00
swagg boi 8591fe5610 Swap emoji 2023-04-15 01:06:09 -04:00
swagg boi 25f47ce80d Created action for creating new mods 2023-04-15 00:57:45 -04:00
swagg boi 829be876c1 Re-added is_admin helper 2023-04-14 22:50:59 -04:00
swagg boi 2681360352 Fix logging out and tests 2023-01-10 00:45:31 -05:00
swagg boi 936ec902b5 Add tests for the hidden/flagged buttons 2023-01-09 21:34:34 -05:00
swagg boi b685388289 Move this to somewhat organize 2023-01-09 19:50:54 -05:00
swagg boi c34b07c129 New method to retrieve admin_status; add is_admin to session 2023-01-09 19:24:08 -05:00
swagg boi 1607a0a7d5 Again 2023-01-08 23:55:25 -05:00
swagg boi c4a35d0759 Just noticed this... 2023-01-08 23:54:58 -05:00
swagg boi ae73969320 Too easy to not just do this now 2023-01-08 23:53:30 -05:00
swagg boi f2255f8207 New TODO 2023-01-08 23:38:23 -05:00
swagg boi a33cbff534 Check lock_status before logging in 2023-01-08 23:37:41 -05:00
swagg boi 0ea7f7c906 Link for hidden posts for mods 2023-01-08 23:10:58 -05:00
swagg boi f48c139ad9 Set timestamp when mod logs in 2023-01-08 23:03:55 -05:00
swagg boi 6be8cc43a9 Add method for creating moderator 2023-01-08 22:41:59 -05:00
swagg boi d9a18ffa44 New TODO 2023-01-08 22:11:46 -05:00
swagg boi 270f0df12d Don't drink and Perl kids 2022-12-24 23:37:50 -05:00
swagg boi 5cce06c984 Use perlcritic theme; add is_admin() helper; clean up some things 2022-12-18 14:00:54 -05:00
swagg boi 4527219d91 Add boolean for admin 2022-12-17 21:46:29 -05:00
swagg boi 28c3e2df17 #yolo 2022-12-17 21:24:11 -05:00
swagg boi 1d98dfc0f3 Want to use new array-slicing syntax, may undo this... 2022-12-17 21:11:45 -05:00
swagg boi 6b82c5c96b Was in the neighborhood and... 2022-12-10 19:03:53 -05:00
swagg boi a62a4c495e Add view for hidden posts 2022-12-08 18:50:21 -06:00
swagg boi babd302ba2 Great suggestion by @ology@fosstodon.org 2022-12-08 18:19:09 -06:00
swagg boi f6eb0dfc05 Moar tests 2022-12-08 16:10:11 -06:00
swagg boi 75381754d4 HTML is hard yo 2022-12-08 15:49:59 -06:00
swagg boi 0b79b0a977 Make less ugly 2022-12-08 15:11:49 -06:00
swagg boi 1cf929eb78 Added TODO 2022-12-08 14:55:30 -06:00
swagg boi a4b82238bf Implement basic view of flagged posts 2022-12-08 14:54:46 -06:00
swagg boi 4ffa8b2613 Buttons for remark mod stuff 2022-12-08 13:29:55 -06:00
swagg boi 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
swagg boi 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
swagg boi 088daa120d Clean up routing 2022-12-07 23:15:46 -06:00
swagg boi 9a65aff125 Whoopsie 2022-12-07 23:07:58 -06:00
swagg boi 452229780e Add routes + tests for the unflag, hide and unhide actions 2022-12-07 20:18:48 -06:00
swagg boi 34f2ec7033 Add TODO 2022-12-03 01:20:19 -05:00
swagg boi 7d3d6c1fca Change mod_list to flagged_list; add moderator nav bar under regular nav bar 2022-12-02 23:22:55 -05:00
swagg boi de8a76271d Create helper for checking if user is moderator 2022-11-28 23:55:11 -05:00
swagg boi 45614f4035 Cleaning up some things; moar tests 2022-11-28 23:33:19 -05:00
swagg boi 10e7944bc3 Rename layout to default per convention 2022-11-28 23:22:25 -05:00
swagg boi 4b6b0149bc Moar tests 2022-11-28 15:31:56 -05:00
swagg boi f7030968d3 Some clean-up 2022-11-27 23:56:35 -05:00