Commit graph

178 commits

Author SHA1 Message Date
swagg boi 079910ad68 Some template cleanup and semantic HTML changes 2023-05-09 20:09:04 -04:00
swagg boi 3ea6d892c3 Whoopsie 2023-05-03 23:24:30 -04:00
swagg boi b1c2d41826 Make Login button become Logout 2023-05-03 22:46:38 -04:00
swagg boi ab0f53ba26 Sanitize HTML in body; enforce NOT NULL on body; template clean-up 2023-05-03 21:05:57 -04:00
swagg boi c7d00e834e Create 'about' and 'rules' pages 2023-04-25 22:28:11 -04:00
swagg boi e86cda1cc5 Added Markdown support 2023-04-25 11:56:42 -04:00
swagg boi 94988c2d34 xml_escape() on INSERT and don't XML escape thread/remark body in templates 2023-04-25 10:40:47 -04:00
swagg boi 9f89b66df7 Some template cleanup 2023-04-24 23:00:09 -04:00
swagg boi ebfad34e2f Implement RSS feed 2023-04-24 14:25:32 -04:00
swagg boi 28c914565f Use _mod suffix for the route names for consistency 2023-04-21 23:55:49 -04:00
swagg boi bf4691b7ed Fixed the List button 2023-04-21 23:33:32 -04:00
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 86a7d92156 Added under() behavior for admin users 2023-04-21 17:32:16 -04:00
swagg boi 65d98d594c Fix the is_admin helper 2023-04-16 15:15:39 -04:00
swagg boi 25f47ce80d Created action for creating new mods 2023-04-15 00:57:45 -04:00
swagg boi 0ea7f7c906 Link for hidden posts for mods 2023-01-08 23:10:58 -05:00
swagg boi a62a4c495e Add view for hidden posts 2022-12-08 18:50:21 -06:00
swagg boi 75381754d4 HTML is hard yo 2022-12-08 15:49:59 -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 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 10e7944bc3 Rename layout to default per convention 2022-11-28 23:22:25 -05:00
swagg boi f7030968d3 Some clean-up 2022-11-27 23:56:35 -05:00
swagg boi 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
swagg boi 4a59dd69dc Implement login page 2022-11-19 23:55:03 -05:00
swagg boi a0bf85d724 Rename bump_count to bump_tally 2022-10-18 20:31:07 -04:00
swagg boi 1ab0adfc8a Lil tweaky tweak 2022-10-14 00:04:17 -04:00
swagg boi 0cd3142250 Implement flag button 2022-10-13 23:57:58 -04:00
swagg boi cefba7d507 Some small tweaks including another URI fragment thing 2022-10-08 23:14:18 -04:00
swagg boi 7d81490a31 Add a link to Bump from single_thread 2022-10-08 23:01:05 -04:00
swagg boi 0bea8118ba Use url_for()->fragment() to make certain links jump to appropriate sections 2022-10-08 22:39:54 -04:00
swagg boi 7e05af4c4b Implement the rest of the stuff for bumps; then some clean up along the way 2022-10-08 01:58:18 -04:00
swagg boi d316efb952 Grow into full-blown Mojo 2022-10-01 18:00:23 -04:00
swagg boi 77d10c8c70 Truncate threads > 500 characters in the thread list page 2022-09-27 14:37:55 -04:00
swagg boi ff93fa1d2b Fix test; clean up the author name stuff a lil 2022-09-27 13:20:30 -04:00
swagg boi 279c1cd47d Various tweaks 2022-09-21 01:28:50 -04:00
swagg boi 846eaac58d Lil clean-up again 2022-09-21 00:27:16 -04:00
swagg boi ad00f26824 s/post/body/ for consistency 2022-09-21 00:12:16 -04:00
swagg boi bb47eb82a4 Some clean-up 2022-09-20 21:16:42 -04:00
swagg boi e69ca992c0 Return number of remarks with thread and clean up templates (explicit dereference) 2022-09-20 14:33:56 -04:00
swagg boi 3d5a75ffd8 Make by_page() return the number of remarks 2022-09-20 14:20:10 -04:00
swagg boi 50a512f2ae More granular tests and cleaned up whitespace in templates 2022-09-20 13:45:37 -04:00
swagg boi 8be78a2e31 I literally have no idea how this worked before, it's so late and my brain is fried 2022-09-17 03:56:07 -04:00
swagg boi 5435678de8 Implement name persistence instead of anything actually on my TODOs 2022-09-16 21:46:56 -04:00
swagg boi a0a423e3aa Add hyperlink to single remark view 2022-09-03 13:05:54 -04:00
swagg boi 8069a255a6 Implement single remark view 2022-09-02 22:45:41 -04:00
swagg boi 2054de053e Return last remark with Remark form 2022-09-02 18:11:23 -04:00
swagg boi e62c29462f Add a hyperlink back to thread 2022-08-24 22:15:52 -04:00
swagg boi 6ee158a89e s/view/list/g 2022-08-24 00:48:48 -04:00
swagg boi 8a99330eeb Remove these old templates 2022-08-24 00:36:44 -04:00
swagg boi 5fa2e9e938 Cleaned up routes/template names 2022-08-24 00:35:35 -04:00
swagg boi 4576163015 A lil cleanup 2022-08-24 00:21:18 -04:00
swagg boi d9bbcf6bae Another Remark hyperlink and finally figured out link_to() smh 2022-08-23 21:48:30 -04:00
swagg boi 9169d8b8cd Link to remark form 2022-08-23 21:20:23 -04:00
swagg boi edc7a19bb0 Clean up this template a lil 2022-08-23 20:05:07 -04:00
swagg boi ed31fb963c Show the parent thread in the remark form 2022-08-23 19:38:45 -04:00
swagg boi e73170c1f2 Implement form for remarking to threads 2022-08-23 19:06:33 -04:00
swagg boi e0b7ab4a7d Fixed remarks paging 2022-08-22 23:09:48 -04:00
swagg boi 3be6dae9f0 Implement totally broken remark paging 2022-08-22 22:17:14 -04:00
swagg boi ab9b055047 Implement hyperlinking to single-thread view 2022-08-22 17:33:15 -04:00
swagg boi 7b74dbe787 Implement Remark model 2022-08-22 15:50:10 -04:00
swagg boi 17557a72a4 Display replies in single thread view 2022-08-20 12:42:04 -04:00
swagg boi bb48817534 Clean up the single thread view a bit and put a test in place 2022-08-19 23:28:16 -04:00
swagg boi cffa4bfa9d Implement single thread view 2022-08-19 23:11:20 -04:00
swagg boi d9bf249728 Implement AssetPack 2022-08-15 18:35:30 -04:00
swagg boi 4adc4b18b0 Handle invalid input a lil better 2022-08-15 17:48:58 -04:00
swagg boi e702fd9139 Implement paging for viewing threads (and fixed a broken test) 2022-08-14 18:30:22 -04:00
swagg boi 2925808d57 The edibles kicked in 2022-08-14 03:02:37 -04:00
swagg boi 48de91f31b Implement get_threads() and send em to /view 2022-08-04 22:46:35 -04:00
swagg boi 9f1c9f6061 Implement page navigation 2022-08-03 20:29:41 -04:00
swagg boi 78a5683389 Clean up views a bit 2022-07-30 02:33:45 -04:00
swagg boi 55e6089fdd New Thread form, more tests, more TODOs 2022-07-29 23:30:19 -04:00
swagg boi 98a44773d5 Contruct a basic view template and layout 2022-07-28 20:44:47 -04:00
swagg boi 2026dfff7a Put files in place for Thread model 2022-07-28 19:53:21 -04:00