justcool393
ee85b5577a
use error handlers in cases where we can
2022-10-12 08:55:42 -07:00
justcool393
7b3361cfb7
temporary (maybe) sidebar and banner processing fn
...
* also make existing badge return 409 instead of 403
2022-10-12 03:04:34 -07:00
Aevann1
925ec12141
more shadowban refactor
2022-10-12 08:53:32 +02:00
justcool393
501fbbf5d3
move antispam code to actions
2022-10-11 22:34:55 -07:00
Aevann1
466867afd1
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-11 18:41:12 +02:00
Aevann1
e3a3cbd358
add "hot" comment sorting
2022-10-11 18:41:09 +02:00
justcool393
c0acb1722b
abort a bunch of stuff where we manually returned JSON
2022-10-11 08:40:19 -07:00
justcool393
456dd43bba
replace "if not FEATURES" with wrapper
2022-10-11 00:33:23 -07:00
justcool393
75e593da00
Revert "feature required wrapper"
...
This reverts commit 8700bcc5ee
.
2022-10-10 02:54:47 -07:00
justcool393
f872f734ec
constantify a bunch of things
...
* sign up follow id is now a thing (if not specified will just msg carp instead)
* notification thread id is also a constant now
* blackjackbtz id is a constant, used for i think special PM handling
2022-10-09 23:37:42 -07:00
justcool393
8700bcc5ee
feature required wrapper
2022-10-09 23:16:05 -07:00
justcool393
d6f4e20f7d
use constant for BBBB_ID instead of 12125
2022-10-09 07:03:21 -07:00
justcool393
56e800fd9d
move basedbot to actions as well
2022-10-09 06:49:08 -07:00
justcool393
63c7fe0c29
move zozbot and longpostbot into the actions helpers
2022-10-09 06:28:18 -07:00
justcool393
87fd8ee57a
comment sanity checks and constantization
...
* make HTML body length a constant and use it
* abort before uploads and other tasks if comment level is too deep
* what a nightmare of two functions, please do better next time
2022-10-09 05:54:46 -07:00
justcool393
c9ab2c515b
remove some more vestiges
...
get_post and get_comment both handle this
2022-10-09 01:25:21 -07:00
justcool393
8ea52ba95c
constantify comment body length limit and transfer limit
2022-10-09 00:20:28 -07:00
Snakes
556b3e3c4e
PCM: don't rescale uploaded banners.
2022-10-07 21:16:56 -04:00
justcool393
0627a12bc5
don't let users comment on things they can't see
2022-10-07 03:22:07 -07:00
justcool393
e372158729
Merge branch 'frost' into permissions-refactor
2022-10-06 19:05:42 -07:00
justcool393
e93e2d9ca9
convert some more >s to >=s
2022-10-06 01:40:21 -07:00
Aevann1
96f4f8499f
fix 500 errors
2022-10-06 09:30:38 +02:00
justcool393
06f88e8a4a
post based permissions mostly
2022-10-05 21:45:54 -07:00
justcool393
2fc3044d5b
shadowban perms and stuff
2022-10-05 19:24:37 -07:00
justcool393
d5a48871f8
user ban and also fix global hole mod a bit i hope i didn't screw up the templates
2022-10-05 18:58:43 -07:00
justcool393
04f24cd8fd
content moderation permission level
...
holy crap there's a lot
2022-10-05 17:57:08 -07:00
Aevann1
2f979b859b
generate modlogs when a hole janny toggles nsfw
2022-10-06 01:24:54 +02:00
justcool393
0a82ca0c30
don't reply to deleted posts/comments
2022-10-04 17:18:19 -07:00
Aevann1
3bf62c6ff0
add missing ban_reason when shadowbanning
2022-10-02 13:31:02 +02:00
Aevann1
da4ade067d
make pizza's vote on himself be the first
2022-10-02 12:35:04 +02:00
Aevann1
09cc43060d
add hole mod logs ( #380 )
2022-09-29 11:39:37 +02:00
Snakes
77ed5728c4
Restore mistakenly removed commenting logic.
2022-09-26 22:44:06 -04:00
Aevann1
cc85cab01d
make badges 300px instead
2022-09-27 02:48:03 +02:00
Aevann1
05079a40f4
limit banners to 1MB
2022-09-26 03:41:03 +02:00
Aevann1
4c26a7cd02
limit sidebar and badge images to 1MB
2022-09-26 03:27:31 +02:00
Aevann1
8fcc91a43e
reduce resize values
2022-09-26 03:15:36 +02:00
Aevann1
c12f7a5f9a
commit before rendering
2022-09-22 22:20:29 +02:00
Aevann1
85b72109a3
increase badge width from 200px to 400px
2022-09-20 20:05:36 +02:00
Aevann1
7d39cdb520
minor auth_desired refactor
2022-09-20 02:51:01 +02:00
Aevann1
2fb4ebdcb0
minor sanitize refactor
2022-09-16 18:30:34 +02:00
Aevann1
7ef876635b
fix marsey count
2022-09-14 14:47:16 +02:00
Aevann1
5587b415dc
fix kofi webhook
2022-09-14 10:01:25 +02:00
Aevann1
4abf75edc0
add error codes
2022-09-12 11:52:07 +02:00
Aevann1
b0057483c8
link the admigger upload threads in the admin panel for easier access
2022-09-11 09:11:10 +02:00
Aevann1
ae90eb1cf2
simplify house checking logic
2022-09-11 03:53:16 +02:00
outruncolors
d57a569125
[DO NOT MERGE] Casino changes ( #350 )
...
* Merge up
* Create composable template for casino games
* Big changerinos
* Only allow double down sometimes
* Add drawing capability
* Make everything pretty
* Add leaderboard
* Update files/routes/casino.py
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* Update files/helpers/casino.py
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* Update files/helpers/twentyone.py
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* Update files/helpers/twentyone.py
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* Update files/helpers/twentyone.py
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
* Add some stuff
* Rehab screen
* Default sets for no games
* Stupid revert
Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
2022-09-10 16:01:34 -05:00
Aevann1
1a64ba3db8
hat submission UI
2022-09-10 07:37:11 +02:00
Aevann1
30bdee98b2
fix comment level 10 bug, thanks @everyone
2022-09-10 02:47:48 +02:00
Aevann1
47890d771d
add Marsey Submission UI
2022-09-09 11:13:50 +02:00
Aevann1
057dfc7d80
upgrade to ubuntu 22.04
2022-09-07 07:51:05 +02:00