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
Aevann1
73dbb2dd7e
change t2_ and t3_ to p_ and c_
2022-09-06 00:52:22 +02:00
Aevann1
0f232b264c
refactor torture_ap
2022-09-05 22:05:04 +02:00
Aevann1
959e08bb83
make marsify not count towards /marseys
2022-09-05 10:49:34 +02:00
Aevann1
b166fdcaf3
make hat designers gets their own hat for free
2022-09-05 09:59:24 +02:00
outruncolors
5e1d98a3bf
WIP: Add Casino (Do Not Merge) ( #341 )
...
* Add new /casino route and template
* Consolidate lottery into casino and add initial template for slots
* Change /lottery route to /casino and replace icon with usd symbol and change sitewide const to reflect change
* Hook up new slots method to casino
* Enable Marseybux spending in casino slots
* Add UI for playing blackjack in casino
* First connection of blackjack UI to backend
* Add protective clause thanks to help from carpathianflorist.
* Create new Casino_Game relation and persist inside of blackjack
* Connect new slots behavior to Casino_Game table
* Create UI action management logic
* Add blackjack game status checker which adds persistence for blackjack
* Gonna handle this better, hold on
* Reorganize blackjack helper methods
* Reorganize casino.js to account for new changes
* Connect up to frontend
* Little changes ya know
* Display a message when winning in Blackjack
* Fix some issues with double down and insure
* Revert "remove owoify-py from requirements"
This reverts commit 4454648ea2
.
* A little casino styling change
* Reorganize into a casino block
* Smallenize the card'
* Remove references to old game data on comments
* Add sql migration file
* Remove logic to drop old columns
* Fix two forgotten conflicts
2022-09-04 22:53:34 +02:00
Aevann1
91d7e4fcd3
fix hats being lowecase in admiggers thread
2022-09-03 04:15:03 +02:00
Aevann1
09d1e4d887
more hats
2022-09-03 02:48:01 +02:00
Aevann1
88a2c69659
Hats ( #348 )
...
* hat
* hats
* hats 2
* hats
* hats 4
* hats 5
* hats
2022-09-03 01:58:55 +02:00
Aevann1
62fd93ee7d
fix wrongly-named route
2022-09-02 19:36:49 +02:00