swagg boi
|
1e3add3be2
|
New tests for 404 for hidden posts
|
2023-06-02 15:51:40 -04:00 |
|
swagg boi
|
89ee8de631
|
Used wrong method whoops
|
2023-06-02 15:19:17 -04:00 |
|
swagg boi
|
bb22c3c775
|
Don't show hidden for single_thread and single_remark
|
2023-06-02 15:11:15 -04:00 |
|
swagg boi
|
8c1681da0c
|
Update links to hidden posts
|
2023-06-02 14:53:33 -04:00 |
|
swagg boi
|
7357b9c791
|
Add routes for mods to view hidden posts
|
2023-06-02 14:46:58 -04:00 |
|
swagg boi
|
83d9034fde
|
Fix RSS validation
|
2023-06-01 23:28:05 -04:00 |
|
swagg boi
|
5f7ae2c04d
|
Add image to RSS feed
|
2023-06-01 22:02:33 -04:00 |
|
swagg boi
|
27e4e1eee7
|
Clean up RSS feed stuff and use full article as description
|
2023-05-30 21:48:22 -04:00 |
|
swagg boi
|
7cf9981973
|
Clean up remark->create plus new 404 behavior
|
2023-05-29 00:45:40 -04:00 |
|
swagg boi
|
957885a38e
|
Cleanup thread->by_page
|
2023-05-29 00:35:33 -04:00 |
|
swagg boi
|
e8d3e716ce
|
Clean up on thread->by_id
|
2023-05-29 00:27:16 -04:00 |
|
swagg boi
|
a220c233fa
|
Clean-up 404 for remark->by_id
|
2023-05-29 00:14:47 -04:00 |
|
swagg boi
|
f8bdcc9201
|
Report 404s better
|
2023-05-28 02:07:09 -04:00 |
|
swagg boi
|
65bb0ef5a0
|
Fixed up errors for validation; validate moar; style errors
|
2023-05-28 00:42:07 -04:00 |
|
swagg boi
|
b1583bbb95
|
twas bothering me
|
2023-05-27 13:09:41 -04:00 |
|
swagg boi
|
70e1f3a15c
|
Allow <br> and <s> input
|
2023-05-27 13:04:15 -04:00 |
|
swagg boi
|
5635d73d89
|
Some cleanup and /new route for new session
|
2023-05-26 22:56:22 -04:00 |
|
swagg boi
|
380fca1db3
|
Remove unused Sass pipe
|
2023-05-20 00:34:52 -04:00 |
|
swagg boi
|
74bc32f670
|
Change to Sass and some class name changes
|
2023-05-19 18:49:08 -04:00 |
|
swagg boi
|
061ee919a7
|
Handle 404 stuff better for thread.by_id
|
2023-05-14 16:17:10 -04:00 |
|
swagg boi
|
7f4f21c454
|
Change up redirects for mod actions
|
2023-05-12 23:48:29 -04:00 |
|
swagg boi
|
c0895274b2
|
thread->by_id() returns remark_tally and bump_tally
|
2023-05-12 22:15:33 -04:00 |
|
swagg boi
|
0ee6423be8
|
Change reference of 'count' to 'tally' for consistency
|
2023-05-12 21:38:57 -04:00 |
|
swagg boi
|
06c3476c22
|
Rename remark_count to remark_tally
|
2023-05-12 17:45:19 -04:00 |
|
swagg boi
|
91b6857607
|
Moar RSS validation shit
|
2023-05-12 15:23:44 -04:00 |
|
swagg boi
|
1337d35f0c
|
Add atom namespace for validator warnings
|
2023-05-12 14:42:45 -04:00 |
|
swagg boi
|
0a5e6a980d
|
Moar RSS validation stuff
|
2023-05-12 13:39:00 -04:00 |
|
swagg boi
|
9a50afad14
|
Add guid back to RSS feed
|
2023-05-12 12:38:06 -04:00 |
|
swagg boi
|
78a7338f7b
|
More RSS validation stuff
|
2023-05-10 16:07:14 -04:00 |
|
swagg boi
|
d83bc4b593
|
RSS validation errors
|
2023-05-10 15:46:33 -04:00 |
|
swagg boi
|
dae058c07f
|
Don't escape with HTML::Restrict
|
2023-05-06 00:01:34 -04:00 |
|
swagg boi
|
f88b75fdd4
|
Some cleanup
|
2023-05-05 23:26:58 -04:00 |
|
swagg boi
|
c0aa7bed11
|
Merge branch 'main' into feed
|
2023-05-05 23:21:03 -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
|
414872730c
|
Try some escaping stuff with the feed
|
2023-05-03 14:07:27 -04:00 |
|
swagg boi
|
2838f73840
|
Just use markdown() for the XML escaping ya dingus
|
2023-04-28 11:51:22 -05:00 |
|
swagg boi
|
c7d00e834e
|
Create 'about' and 'rules' pages
|
2023-04-25 22:28:11 -04:00 |
|
swagg boi
|
419c61ed7f
|
Fix some utf8 and xml encoding stuff
|
2023-04-25 18:09:51 -04:00 |
|
swagg boi
|
d9323c721b
|
Set up @EXPORT for Markdown
|
2023-04-25 12:03:05 -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
|
fe19848b51
|
Don't need the JOIN anymore
|
2023-04-24 15:33:42 -04:00 |
|
swagg boi
|
57de51b29c
|
cleanup
|
2023-04-24 15:30:42 -04:00 |
|
swagg boi
|
b15fae5a77
|
Grab just the latest 15 threads for feed
|
2023-04-24 15:29:08 -04:00 |
|
swagg boi
|
3796846809
|
Add <guid> to RSS feed
|
2023-04-24 15:08:05 -04:00 |
|
swagg boi
|
ebfad34e2f
|
Implement RSS feed
|
2023-04-24 14:25:32 -04:00 |
|
swagg boi
|
5f030d5e6b
|
Make date format static for now
|
2023-04-24 13:26:29 -04:00 |
|
swagg boi
|
a3b76dabb2
|
Change default date format to be RFC822 compliant
|
2023-04-24 12:46:10 -04:00 |
|
swagg boi
|
8cfd13d821
|
Clean up routing
|
2023-04-24 12:14:04 -04:00 |
|
swagg boi
|
777a8fbcda
|
Cleanup
|
2023-04-23 23:28:43 -04:00 |
|
swagg boi
|
25e370bba5
|
Added commands for creating and promoting accounts
|
2023-04-22 00:48:30 -04:00 |
|
swagg boi
|
28c914565f
|
Use _mod suffix for the route names for consistency
|
2023-04-21 23:55:49 -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
|
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
|
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
|
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
|
a33cbff534
|
Check lock_status before logging in
|
2023-01-08 23:37:41 -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
|
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
|
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
|
0b79b0a977
|
Make less ugly
|
2022-12-08 15:11:49 -06:00 |
|
swagg boi
|
a4b82238bf
|
Implement basic view of flagged posts
|
2022-12-08 14:54:46 -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
|
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 |
|