Commit graph

178 commits

Author SHA1 Message Date
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 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 f7030968d3 Some clean-up 2022-11-27 23:56:35 -05:00
swagg boi 9f51c4dad9 Tests for Moderator 2022-11-25 23:22:38 -05:00
swagg boi d58bd9f1d7 Moar emoji 2022-11-21 23:02:25 -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 9089b78db7 Some clean-up and TODO 2022-11-20 21:37:40 -05:00
swagg boi 4a59dd69dc Implement login page 2022-11-19 23:55:03 -05:00
swagg boi f755addae6 Make email_addr unique 2022-11-19 21:50:23 -05:00
swagg boi 45b64a214e Implement Argon2 in place of bcrypt, argon2 command instead of bcrypt and Crypt::Passphrase instead of Authen::Passphrase 2022-11-03 15:38:40 -04:00
swagg boi 6d37beec38 Remove old per_page method; require v5.34 instead of v5.36 for now 2022-11-03 14:10:43 -04:00
swagg boi 1e4ff30ff0 Use subroutine for attribute rather than blessed hash reference value 2022-11-03 14:03:48 -04:00
swagg boi 835a790ba0 use Authen::Passphrase::BlowfishCrypt instead of bcrypt plugin; implement Moderator model 2022-10-23 14:30:43 -04:00
swagg boi f51af35605 Restructured some things to make it simpler and easier to read 2022-10-22 14:09:31 -04:00
swagg boi db2f835adf lmao... whoops 2022-10-20 17:06:45 -04:00
swagg boi 20f50780c3 Configurable bcrypt_cost, added TODO 2022-10-19 13:59:57 -04:00
swagg boi 6da98c996c Implement bcrypt command 2022-10-18 21:28:18 -04:00
swagg boi a0bf85d724 Rename bump_count to bump_tally 2022-10-18 20:31:07 -04:00
swagg boi fdf36b4738 Create table for moderators 2022-10-15 01:40:09 -04:00
swagg boi 0cd3142250 Implement flag button 2022-10-13 23:57:58 -04:00
swagg boi 419769545b Cleaning stuff up 2022-10-12 23:58:46 -04:00
swagg boi 99cef47f95 Consolidate routes forever 2022-10-12 23:21:13 -04:00
swagg boi f549107dee Consolidate routing for Remarks 2022-10-12 23:06:26 -04:00
swagg boi 787cfc9bb1 New TODO and some tests for Flagging 2022-10-12 22:14:28 -04:00
swagg boi 4ca8ebdd15 Make this match the style in the docs just in-case 2022-10-12 10:36:44 -04:00
swagg boi cefba7d507 Some small tweaks including another URI fragment thing 2022-10-08 23:14:18 -04:00
swagg boi ee9be4f855 Whoopsie... Remark must be created first before remark->last_for() 2022-10-08 22:50:44 -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 451e751aae Implement migration for bump 2022-10-08 00:42:31 -04:00
swagg boi c7e2445c37 Implement tests for Bump feature; tweak some tests a bit; begin initial bump feature stuff 2022-10-06 22:46:38 -04:00
swagg boi f60362ee65 Lil cleanup 2022-10-02 00:13:19 -04:00
swagg boi 898b3d8cd1 Bump thread after remark; redirect to last remark page after remark; some small tweaks/clean-up 2022-10-01 23:53:44 -04:00
swagg boi d316efb952 Grow into full-blown Mojo 2022-10-01 18:00:23 -04:00
swagg boi 39f01309d6 Remove shebang lines from Perl modules, ignore that empty module for now... 2022-10-01 16:22:21 -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 2b8721d76f Redirect to thread once thread is posted 2022-09-22 16:51:56 -04:00
swagg boi ad00f26824 s/post/body/ for consistency 2022-09-21 00:12:16 -04:00
swagg boi 3d5a75ffd8 Make by_page() return the number of remarks 2022-09-20 14:20:10 -04:00
swagg boi 18515197df s/name/author/g 2022-09-17 02:39:49 -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 c7693ed768 Hybrid time 2022-09-15 19:14:40 -04:00
swagg boi 8069a255a6 Implement single remark view 2022-09-02 22:45:41 -04:00
swagg boi 7671180e1b Remove all traces remaining traces of old method names 2022-09-02 21:25:51 -04:00
swagg boi 3fda11c417 Shorten moar 2022-09-02 20:46:27 -04:00
swagg boi 29a11f9886 Implement shortened method names and create aliases to old names 2022-09-02 20:40:26 -04:00
swagg boi 2331110768 Add last_remark() method 2022-08-29 10:14:50 -04:00
swagg boi cea83b0ef7 Lil cleanup 2022-08-23 20:24:58 -04:00
swagg boi 2c3faa9f2e Some TODOs 2022-08-23 19:09:08 -04:00
swagg boi 3be6dae9f0 Implement totally broken remark paging 2022-08-22 22:17:14 -04:00
swagg boi 6ccbaf2245 Added create_remark() method 2022-08-22 20:42:41 -04:00
swagg boi 8ea06cf0eb Remove this hard-coded path stuff 2022-08-22 16:37:38 -04:00
swagg boi 7b74dbe787 Implement Remark model 2022-08-22 15:50:10 -04:00
swagg boi 9062d983b4 Add Remark model 2022-08-22 12:09:43 -04:00
swagg boi 7088480a9a Whoopsie 2022-08-22 11:06:26 -04:00
swagg boi 4bb1e76b8f Tweak date format 2022-08-22 11:05:16 -04:00
swagg boi bf5a320e3e Clean up date format stuff 2022-08-22 01:24:34 -04:00
swagg boi 59a5763f49 Built-in error handling should take care of this in dev mode 2022-08-20 12:47:30 -04:00
swagg boi 17557a72a4 Display replies in single thread view 2022-08-20 12:42:04 -04:00
swagg boi cffa4bfa9d Implement single thread view 2022-08-19 23:11:20 -04:00
swagg boi 3bec9a71f1 Implement Reply model 2022-08-19 22:42:30 -04:00
swagg boi a5599ce259 New migration for Replies 2022-08-19 22:36:26 -04:00
swagg boi aa56927306 Return an actual number instead of string 2022-08-17 11:00:19 -04:00
swagg boi aad8d8f1e0 Should be using bump_date for sorting 2022-08-17 10:53:09 -04:00
swagg boi 1e0d36a81b Lil cleanup 2022-08-15 20:25:21 -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 1fc236f2fd Appease perlcritic... 2022-08-14 00:33:50 -04:00
swagg boi 48de91f31b Implement get_threads() and send em to /view 2022-08-04 22:46:35 -04:00
swagg boi c66b23b21a Implement create_thread() method 2022-08-03 23:44:34 -04:00
swagg boi 7eb6d2d37e Implement Thread model 2022-07-28 21:13:26 -04:00
swagg boi 2026dfff7a Put files in place for Thread model 2022-07-28 19:53:21 -04:00