Commit Graph

2310 Commits (eb98740f972fe3e87e1b7d6757a0afa6792031a6)

Author SHA1 Message Date
justcool393 f5996afc5a add some perm requirements and add agendaposter thing 2022-10-05 20:04:38 -07:00
justcool393 970a7adfbd buy ghost award permission 2022-10-05 19:57:31 -07:00
justcool393 0349862531 view pending submitted marseys and hats perms 2022-10-05 19:55:54 -07:00
justcool393 ae0c215af3 ... 2022-10-05 19:51:44 -07:00
justcool393 43f137208a bypass pin limit perm and also fix a shadowban perm 2022-10-05 19:51:30 -07:00
justcool393 d8610b34b6 changelog permission and don't query db for badges if admin with perm level 2022-10-05 19:45:05 -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 591e6342bb editing permissions 2022-10-05 18:24:37 -07:00
justcool393 4b78ed176a global moderation perm and add some more checks for const perm 2022-10-05 18:16:52 -07:00
justcool393 04f24cd8fd content moderation permission level
holy crap there's a lot
2022-10-05 17:57:08 -07:00
justcool393 d58351637c use constants 2022-10-05 16:35:44 -07:00
justcool393 093ced7b20 introduce constant for post and title length 2022-10-05 16:35:44 -07:00
justcool393 88ae00deef sanitize raw bodies 2022-10-05 16:35:44 -07:00
justcool393 19b2f71c3b improve raw title sanitization and don't check the same thing like 5 times 2022-10-05 16:35:44 -07:00
Aevann1 045dac01a5 reduce NOTIFICATION_SPAM_AGE_THRESHOLD from 3 days to 0.5 days 2022-10-06 01:29:30 +02:00
Snakes 3f338fc3f2 WPD: add login required explanatory text. 2022-10-05 19:17:42 -04:00
Aevann1 9134a91481 add jigsaw tier 2022-10-06 00:47:12 +02:00
justcool393 9575e11b8b add get_sub_by_name function 2022-10-05 03:37:29 -07:00
justcool393 4037eed228 use constant instead of literal 200 for poll bets 2022-10-04 23:07:53 -07:00
justcool393 b0da0ac604 fix regex capturing groups 2022-10-04 17:58:51 -07:00
justcool393 d564592276 revert per aevann. (why are we replacing www.reddit.com) 2022-10-04 17:32:08 -07:00
justcool393 775686028b
use reddit regex from snapshillbot
reference: https://github.com/justcool393/SnapshillBot/blob/master/snapshill.py#L30
2022-10-04 16:05:14 -07:00
justcool393 f901d5af05
show raw unicode codes instead of the actual characters 2022-10-04 15:29:00 -07:00
Aevann1 243cf4eaf8 Revert "improve fishylinks_regex"
This reverts commit 88c1f1b233.
2022-10-05 00:19:50 +02:00
justcool393 4c71bd6b5c
fake colon 2022-10-04 14:33:23 -07:00
Aevann1 88c1f1b233 improve fishylinks_regex 2022-10-04 23:31:23 +02:00
Aevann1 d203b22461 fix "iibertarianphile" for real this time 2022-10-04 22:12:18 +02:00
Aevann1 ed6b7f1a10 fix "iibertarianphile" 2022-10-04 21:54:45 +02:00
Aevann1 337e5d59c5 Revert "make house holes immune from deletion"
This reverts commit 7defcd07cf.
2022-10-04 15:48:08 +02:00
justcool393 7defcd07cf
make house holes immune from deletion 2022-10-03 20:22:16 -07:00
Aevann1 13f5ab7c07 remove long slur filters 2022-10-02 12:33:01 +02:00
Aevann1 dee46a9306 revert an earlier change for video and audio files in sanitize() 2022-10-01 19:42:34 +02:00
Aevann1 fbaa3984a0 small adjustment to prev commit, making it an "elif" 2022-10-01 19:37:59 +02:00
Aevann1 15e0447826 ban ppl for 14 minutes if snappy comments ":marseyban:" on their post 2022-10-01 19:37:25 +02:00
Aevann1 2cf9c7560f remove unused legacy function 2022-10-01 18:29:16 +02:00
Aevann1 a7acbe9831 show our email to loggedout visitors in /contact 2022-10-01 12:14:46 +02:00
Aevann1 e9ffc02fb9 tweak slur filter to stop repititive bug reports 2022-10-01 11:56:31 +02:00
justcool393 fc623b7201 get id fix for sbs 2022-09-30 22:16:15 -07:00
justcool393 50689c9298
remove early life badge if status expired 2022-09-30 16:20:53 -07:00
justcool393 057bc360bf don't duplicate get checks for posts 2022-09-30 15:51:17 -07:00
justcool393 7e3f43c9ab
unperson shadowbanned users (#373)
* unperson shadowbanned users
if a shadowbanned user copes, does anyone hear them seethe?

* unperson shadowbanned users (by id)

* don't import that

* Add include_blocks.
We don't always want to request blocks from the db when we have a user set

* block shadowbanned users from hole mod tools

* don't allow awarding shadowbanned things

* fix conflict

* gracefully use get_account when specified and also add include_blocks flag to get_account as well
2022-09-30 14:00:58 -07:00
Snakes 60d6f8b20d WPD: add revolving banner selection. 2022-09-29 14:09:26 -04:00
Snakes e52fc4eb9e cron: commit roulette txn early for long tasks. 2022-09-29 14:09:26 -04:00
Aevann1 ff12923eb1 revert back to old welcome msg 2022-09-29 16:27:50 +02:00
Aevann1 3006da3f8f increase sanitize timeout limit from 2 seconds to 5 seconds 2022-09-29 12:34:09 +02:00
Aevann1 94f0789827 fix 500 error 2022-09-29 12:21:55 +02:00
justcool393 57ce828af4
add 1 words to filter (#379)
* add 2 words to filter

* Update const.py
2022-09-29 11:38:37 +02:00
Aevann1 cc38a82587 remove discord from image host whitelist (they delete images) 2022-09-29 10:24:12 +02:00
Aevann1 b9d3336a9e nitter shit 2022-09-29 07:53:37 +02:00
Snakes 4a54c6219a
Add trailing final newlines to source files.
Touched a ton of files to finally standardize on having trailing
final newlines, as best practice recommends and so our devs stop
accidentally fighting each other over it.

This was performed automatically with the following:
git ls-files -z '*.py' | while IFS= read -rd '' f; \
    do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
git ls-files -z '*.css' | while IFS= read -rd '' f; \
    do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2022-09-29 01:43:29 -04:00
Snakes f05ec93b95
Add gambling wager badge logic.
This commit touches more files than it ought to because this change
required untangling some circular imports, notably a lingering import
of files.helpers.slots in helpers.actions (presumably from old Snappy
gambling logic) and the User.active_blackjack_game accessor. Otherwise,
the logic is fairly straightforward.
2022-09-29 00:26:50 -04:00
Aevann1 0b5293d8e7 test stagger again 2022-09-27 12:56:57 +02:00
Aevann1 85653b0438 testing worker reloading 2022-09-27 12:55:20 +02:00
Aevann1 0686cdbcf6 remove testing print statement 2022-09-27 12:52:48 +02:00
Aevann1 c882b366a1 testing smth 2022-09-27 08:41:23 +02:00
Snakes d0d67085e3
Rebuild assetcache on inotify events. 2022-09-27 02:07:32 -04:00
Aevann1 faf4403e26 check for duplicate images when admigger threads for banners/sidebar/badges are used 2022-09-27 03:24:20 +02:00
Aevann1 fa4dee419d remove unnecessary imports 2022-09-27 02:47:52 +02:00
Aevann1 574040c3f5 add furry and pony image hosts 2022-09-26 11:02:39 +02:00
Snakes 0b416dcf2c
Revise marsify logic. 2022-09-26 02:09:26 -04:00
Snakes 742093aeae
Revert "Revert "WPD: enable rotating sidebar art & admin thread.""
This reverts commit 74db58e54b.
2022-09-26 01:19:37 -04:00
Aevann1 37e1f25624 make using proxies only happen in 3 circumstances again 2022-09-26 06:01:25 +02:00
Aevann1 517e62e61b add proxies on pushshift requests 2022-09-26 04:40:31 +02:00
Aevann1 0a83feb966 add proxies on lain.la requests 2022-09-26 04:40:21 +02:00
Aevann1 6158cf632a add proxies on discord requests 2022-09-26 04:40:08 +02:00
Aevann1 05079a40f4 limit banners to 1MB 2022-09-26 03:41:03 +02:00
Snakes b0529716bc Remove voluntary marsify toggle. 2022-09-25 21:32:36 -04:00
Aevann1 4c26a7cd02 limit sidebar and badge images to 1MB 2022-09-26 03:27:31 +02:00
Aevann1 e4f14c57de make holes cost 50k again 2022-09-25 13:34:34 +02:00
Aevann1 4212cfa0b2 testing on pcm 2022-09-25 06:11:06 +02:00
Aevann1 dd0f8fbed7 proxy all requests we make 2022-09-25 05:23:50 +02:00
Aevann1 f4b41f0049 make addition and removal of channels happen instantly (testing in devrama) 2022-09-25 05:08:44 +02:00
official-techsupport bd8b96c1f5
fix the TLD matching to exclude numbers (#371) 2022-09-24 18:06:53 -04:00
Snakes a3664e252c
assetcache: change asset_siteimg macro to filter. 2022-09-24 03:14:20 -04:00
Snakes ac66eb07e9
Implement hash-based cachebusting module.
Adds the files.helpers.assetcache module, which runs on worker startup
to compute CRC digests of files in given asset directories and provides
a Jinja filter to create cachebusted URLs based on those hashes.
This alleviates the need to increment cachebusting counters in query
strings entirely for files it is applied to.
2022-09-24 02:40:26 -04:00
official-techsupport 0ff839d396
Accept any TLDS (#369) 2022-09-24 02:04:09 +02:00
Aevann1 d1a8aeb3db allow some ppl to have spider permenantly 2022-09-24 02:02:27 +02:00
Snakes 2e464e307d
Make forced banned hat respect unban_utc. 2022-09-23 17:47:32 -04:00
Aevann1 a63d4940ae fix PCM /live list 2022-09-23 22:58:10 +02:00
Snakes 1cf5ec9e0d Revert "PCM: update live list in background."
This reverts commit 3acdb44a98.
2022-09-23 15:41:04 -04:00
Aevann1 c7b41f3b57 update pin/unpin award description 2022-09-23 16:43:45 +02:00
Aevann1 bb4e21b2f0 fix utm regex 2022-09-23 15:23:11 +02:00
Aevann1 0db9bf14b9 add the expiry code for spider award lol 2022-09-23 15:15:56 +02:00
Aevann1 d1bc2f3468 integrate check_ban_evade into check_for_alts 2022-09-23 14:33:58 +02:00
Aevann1 182b851e58 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-23 14:01:46 +02:00
Aevann1 08e4d04c92 minor change to silence warnings 2022-09-23 14:01:42 +02:00
Snakes 3acdb44a98
PCM: update live list in background. 2022-09-22 19:39:26 -04:00
Aevann1 cd5d0c7c92 dont archive rdrama.org 2022-09-22 22:45:26 +02:00
Aevann1 f9fdeed771 fix 2022-09-22 21:42:09 +02:00
Aevann1 8a8a67a059 remove ban_evade logic 2022-09-22 21:40:14 +02:00
Aevann1 d8ac954d53 remove unnecessary execution of function 2022-09-22 07:26:48 +02:00
Aevann1 55ca68e6fb same as last commit 2022-09-22 07:17:16 +02:00
Aevann1 40485e9ab6 fix cron (im stoopid) 2022-09-22 07:15:55 +02:00
Aevann1 c02e1bd76f fix cron 2022-09-22 07:11:50 +02:00
Aevann1 9220424324 fix cron 2022-09-22 07:08:58 +02:00
Aevann1 77fa9de79a fix cronjob 2022-09-22 07:02:10 +02:00
Aevann1 553218aaa5 make /live a cached cron job 2022-09-22 04:33:45 +02:00
Aevann1 61739b765e made spider award not give any notifs 2022-09-21 22:27:12 +02:00
Aevann1 62527f4239 fix spider award 2022-09-20 20:00:03 +02:00
Aevann1 272e39ebf2 add spider award 2022-09-20 19:52:52 +02:00
Aevann1 6e3e05c6e1 tweak last commit 2022-09-20 04:55:38 +02:00
Aevann1 1a8439b461 add cron task to give monthly marseybux in WPD 2022-09-20 04:49:46 +02:00
Aevann1 d206057535 change owoify's hat 2022-09-20 02:55:25 +02:00
Aevann1 7d39cdb520 minor auth_desired refactor 2022-09-20 02:51:01 +02:00
Aevann1 45ba326222 add forced hats 2022-09-19 20:52:50 +02:00
Aevann1 f54791cc4c remove categories 2022-09-19 20:04:30 +02:00
Aevann1 f7727f1029 refactor sigs 2022-09-19 19:51:40 +02:00
Aevann1 bb28d2d2a3 delete /order 2022-09-19 19:13:24 +02:00
Snakes 2252493dc9
Update Bite description duration to match e5da38d. 2022-09-18 17:29:56 -04:00
Aevann1 0739358e3f same as last commit 2022-09-18 22:39:40 +02:00
Aevann1 253d72b3ba fix webm 2022-09-18 22:38:28 +02:00
Aevann1 0039f3a217 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-18 16:55:39 +02:00
Aevann1 b7c65c333b replace "np.reddit.com" (yikes) 2022-09-18 16:55:37 +02:00
justcool393 e00bf1f9a8
fix images in slur replacer (#359)
doesn't work with ALL CAPS TEXT, there's prolly a better way for this
2022-09-18 12:19:37 +02:00
justcool393 87c30bd1ee
fix utm regex (#357) 2022-09-17 23:13:14 +02:00
Aevann1 a186064465 fix 2022-09-17 14:15:22 +02:00
Aevann1 0c0a612f53 fix 500 error 2022-09-17 14:12:30 +02:00
Aevann1 24f7e30389 fix gift notifs on pcm 2022-09-17 00:02:30 +02:00
Aevann1 5034b4c988 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-16 21:17:17 +02:00
Aevann1 7ec5072e34 remove the webm code 2022-09-16 21:16:47 +02:00
Outrun Colors 36376e24d9
Try to blind-fix random dealer error 2022-09-16 13:51:58 -05:00
Aevann1 aa0e9bc04a fix wrong award descipriotn for Bite 2022-09-16 20:38:22 +02:00
Aevann1 2fb4ebdcb0 minor sanitize refactor 2022-09-16 18:30:34 +02:00
Outrun Colors 16794b8a41
Refund on break even 2022-09-15 17:30:18 -05:00
Outrun Colors 7273a4f762
Refund on break even 2022-09-15 17:28:48 -05:00
outruncolors a0c75ab677
Introduce user payment methods (#355)
* Add pay and charge methods into user class

* Replace casino charges/payments with new user methods

* Also refund wager on winning slots bets

* Unblock casino routes
2022-09-15 17:16:35 -05:00
Aevann1 74db58e54b Revert "WPD: enable rotating sidebar art & admin thread."
This reverts commit 5ddf1c979a.
2022-09-14 16:16:27 +02:00
Aevann1 b2927d7dfb I give up 2022-09-14 14:48:22 +02:00
Aevann1 41212779a9 make troon/trannie/tranny get replaced by :marseytrain: instead of (((unicode))) emoji 2022-09-14 13:19:47 +02:00
Aevann1 65d396a499 kofi 2022-09-14 10:28:01 +02:00
outruncolors 3ebccf35d1
Add order page (#353)
* Add order page route

* Initial backend post route

* Move to static and prevent logged in users

* Update files/routes/static.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Make requested changes

* Last snake changes

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
2022-09-13 21:21:25 -05:00
Aevann1 c13a1524fa dramacoin -> coin 2022-09-13 22:46:08 +02:00
Aevann1 1f79a563bf dramacoins -> coins 2022-09-13 22:13:58 +02:00
Aevann1 2fa71a252b kofi integration 2022-09-13 18:53:19 +02:00
Aevann1 e69827e6e0 kofi integration (testing on devrama) 2022-09-13 17:22:18 +02:00
Aevann1 7edc44ff6f fix https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2713626?context=8#context 2022-09-13 11:59:40 +02:00
Aevann1 71f4e511d6 sneed 2022-09-13 11:42:53 +02:00
Aevann1 cc5b476f3c Revert "wtf?"
This reverts commit 8ff5edc8e9.
2022-09-13 09:23:23 +02:00
Aevann1 8ff5edc8e9 wtf? 2022-09-13 09:19:54 +02:00
Outrun Colors a7ab4523de
Skip winners on 0 and 00 2022-09-12 22:14:55 -05:00
Aevann1 da5db208f6 sneed 2022-09-13 02:00:02 +00:00
outruncolors 7d8cfe5576
Add Roulette (#351)
* Add roulette file

* Rename variable to avoid name collission

* Add basic route and create new template for game

* More work on the roulette template

* Initial connection of front-end roulette to back-end roulette

* Add to cron job

* Pass bets to the front end

* Update front-end looks

* Add stackable poker chips for bets

* Minor last changes

* Handle minimum bets

* Add bet table
2022-09-12 20:07:39 -05:00
Aevann1 b3d2fca506 remove kf replacing 2022-09-12 13:59:49 +02:00
Aevann1 3425da05e3 remove marsey.cat from trusted domains 2022-09-12 13:59:11 +02:00
Aevann1 784e96fc1c ping chiobu whenever some1 mentions his name 2022-09-12 13:06:46 +02:00
Aevann1 ee756bf4b6 minor submission changes 2022-09-12 09:17:57 +02:00
Aevann1 cce159dc84 ping mccox whenever someone mentions his name 2022-09-12 07:01:37 +02:00
Aevann1 14961d856f trim non-animated marseys and increase width to 300px 2022-09-11 10:49:46 +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 af5d392fc0 sneed 2022-09-10 21:06:47 +00: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 c99343e9e0 bump hole price to 100k (per poll) 2022-09-10 11:03:21 +02:00
Aevann1 1a64ba3db8 hat submission UI 2022-09-10 07:37:11 +02:00
Aevann1 744f847c73 I dont remember the purpose of this line 2022-09-10 02:38:06 +02:00
Aevann1 fbbb2c2ceb marsey submission stuff 2022-09-10 01:41:54 +02:00
Aevann1 5076859817 marsey UI stuff 2022-09-09 11:39:03 +02:00
Aevann1 47890d771d add Marsey Submission UI 2022-09-09 11:13:50 +02:00
Aevann1 77128f54f8 adjust bite award logic 2022-09-09 08:49:05 +02:00
Aevann1 a306193e90 increase pin award price from 1k to 1500 2022-09-09 08:37:58 +02:00
Aevann1 6e1b454d1c fix last commit 2022-09-08 19:57:20 +02:00
Aevann1 40b4aff0e8 same as last commit 2022-09-08 19:51:03 +02:00
Aevann1 e382334c53 add description to new badge messages 2022-09-08 19:48:56 +02:00
Aevann1 28aaf15d85 fix bird award icon 2022-09-08 19:41:37 +02:00
Aevann1 615d18c41b like last commit 2022-09-08 17:49:34 +02:00
Aevann1 f23912bc5b cosmetic shit 2022-09-08 17:45:10 +02:00
Aevann1 f4e4ff3839 comsetic shit 2022-09-08 17:38:27 +02:00
Snakes e1c44d99d5
cron.py: hole inactivity criteria, stealth fix.
Two bugs:
  1) Drafts, deleted posts, and removed posts counted toward hole
     aliveness. This has been fixed.
  2) Foreign key constraints in sub_joins weren't getting deleted,
     so stealth holes couldn't be deleted.

Both of these conspired to keep /h/smuggies alive, so they must be
fixed.
2022-09-07 18:29:40 -04:00
Aevann1 be53d04d65 fix pp20 2022-09-07 08:41:08 +02:00
Aevann1 9475aa27e4 award badges shit 2022-09-07 05:31:55 +02:00
Aevann1 043a235082 buff vamp house award again 2022-09-07 00:35:05 +02:00
Aevann1 71f3a2c24c buff vamp house award 2022-09-07 00:25:29 +02:00
Aevann1 8e4866e43d forgot to add rainbow expiry code 2022-09-06 06:51:53 +02:00
Aevann1 d0cfd8a8c1 change house femboy award 2022-09-06 06:16:41 +02:00
Aevann1 de46a6e519 fix 2022-09-05 23:43:36 +02:00
Aevann1 3f54b065fa small modification 2022-09-05 23:28:05 +02:00
Outrun Colors 90507fc8e5 Merge branch 'frost' of github.com:Aevann1/rDrama into frost 2022-09-05 15:59:48 -05:00
Outrun Colors 3509d6a8b1 Implement a function to fix bad blackjack games 2022-09-05 15:59:42 -05:00
Aevann1 7404d94610 fix issues for new instances 2022-09-05 22:37:38 +02:00
Aevann1 0f232b264c refactor torture_ap 2022-09-05 22:05:04 +02:00
Outrun Colors b1674355c0
Restructure blackjack to only use a single endpoint and better handle "game end" logic 2022-09-05 13:27:00 -05:00
Aevann1 514e67a454 THERE SHOULDN'T BE CONCURRENT BLACKJACK GAMES BY SAME USER 2022-09-05 10:59:30 +02:00
Aevann1 959e08bb83 make marsify not count towards /marseys 2022-09-05 10:49:34 +02:00
Aevann1 22c65f74da reduce minimum gambling amount from 100 to 5 2022-09-05 09:28:53 +02:00
Aevann1 aae9389b23 comment "push" and "blackjack" 2022-09-05 08:50:18 +02:00
Aevann1 e554f0924b try fixing blackjack 2022-09-05 07:15:42 +02:00
Aevann1 225e64b91e add marsify toggle in settings 2022-09-05 06:50:27 +02:00
Aevann1 fe7f0316f7 flush before game query 2022-09-05 04:41:08 +02:00
Aevann1 11b391c437 fix blackjack when hitting blackjack 2022-09-05 04:34:30 +02:00
Aevann1 0271d4488f do this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2658067?context=8#context 2022-09-05 03:43:07 +02:00
Aevann1 cf5012aa35 blackjack fix (I hope) 2022-09-05 02:38:35 +02:00
Aevann1 97e3614072 fix 500 error 2022-09-05 01:39:56 +02:00
Aevann1 0c32d56cd6 casino + style shit 2022-09-05 01:15:37 +02:00
Aevann1 57dcd0ddef remove snappy gambling 2022-09-05 00:13:23 +02:00
Aevann1 eec0a6a436 casino shit 2022-09-04 23:35:18 +02:00
Outrun Colors cfa4231f7d
Fix issue with slots not reducing value / center casino games / update user currency without refresh 2022-09-04 16:17:44 -05: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 d88d5ad453 add logic for permarsify 2022-09-04 21:06:26 +02:00
Aevann1 3e4216c78e fix my whoopsie 2022-09-03 21:37:20 +02:00
Aevann1 5fa854afd6 dont archive site urls 2022-09-03 20:05:00 +02:00
Aevann1 284dfbc30e ignore archiveorg errors 2022-09-03 16:24:16 +02:00
Aevann1 18c0cfe94f sneed 2022-09-03 05:56:25 +02:00
Aevann1 982984acd2 sneed 2022-09-03 05:50:21 +02:00
Aevann1 e4d6c596ed sneed 2022-09-03 05:48:52 +02:00
Aevann1 a0579b40e0 restore metadata for audio 2022-09-03 05:39:35 +02:00
Aevann1 28dbe0d6ab fix WPD slowness 2022-09-03 05:34:06 +02:00
Aevann1 3a83e8f4c8 enable hats on all sites 2022-09-03 05:11:17 +02:00
Aevann1 2398cf45f7 refactor archive.org 2022-09-03 05:10:14 +02:00
Aevann1 515526f9cb fix hat name regex 2022-09-03 03:57:03 +02:00
Aevann1 f221af76f2 allow capital letters in hat names 2022-09-03 03:51:24 +02:00
Aevann1 79b4e2c7dc
Hats (#349)
* hat

* hats

* hats 2

* hats

* hats 4

* hats 5

* hats

* replace weird iOS apostrophe ’

* print archiveorg response codes
2022-09-03 02:10:15 +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 7bb902c814 remove comma bothering me 2022-09-02 20:14:13 +02:00
Aevann1 2201745c93 add owoify and marsify to offsites 2022-09-02 20:10:35 +02:00
Aevann1 1024c48cb4 prepare for site-wide marsify 2022-09-02 20:02:56 +02:00
Aevann1 03f37e4972 print archive.org exceptions 2022-09-02 19:43:16 +02:00
Aevann1 b416f2fb67 refactor slurs 2022-09-02 19:42:06 +02:00
Aevann1 027449325f tweak to send_repeatable_notification() to minimize num of comments 2022-09-02 03:59:05 +02:00
Aevann1 6201a79df0 fix gumroad for humbdolt 2022-09-02 02:48:15 +02:00
Aevann1 65d347cce0 all tags are lower-case alrdy 2022-09-02 00:51:35 +02:00
Aevann1 52dd53f1d6 add :#trumpjaktalking: to the bottom of chudded comments and posts 2022-09-02 00:49:07 +02:00
Aevann1 c4e46839c8 reduce minimum char count for marsify from 5 to 4 2022-09-02 00:47:09 +02:00
Aevann1 e50fd2d0f4 make marsify case-insensitive 2022-09-02 00:38:33 +02:00
Snakes ba05430a80 Prevent permabanned users from replying to DMs.
Permabanning already prevents users from initiating new DMs, and we
complete this by preventing replying to existing DM chains.
New modmails may still be initiated, and existing modmails may still
be replied to.
2022-09-01 17:30:15 -04:00
Aevann1 083371f20f keep_blank_values 2022-09-01 22:46:57 +02:00
Aevann1 523bfd93c5 show first frame of video 2022-09-01 22:43:11 +02:00
Aevann1 619a7bf0ec fix "DISABLE_DOWNVOTES" 2022-09-01 21:12:16 +02:00
Aevann1 768a2eda24 clarify CC function in WPD and PCM 2022-09-01 21:12:05 +02:00
Aevann1 78380d8b0c Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-01 20:52:47 +02:00
Aevann1 2312101157 sneed 2022-09-01 20:52:43 +02:00
official-techsupport d00d685c77
fix showmore regex (yet again) (#347) 2022-09-01 00:37:08 -04:00
official-techsupport 948972945a
fix showmore regex (again) (#346) 2022-08-31 17:08:27 +02:00
Aevann1 a2183a0ff2 remove "swagman" from mentions 2022-08-31 16:57:52 +02:00
Aevann1 8e44e9815c slurfilter update 2022-08-31 03:12:45 +02:00
official-techsupport 643ea8b429
rewrite regex nonsense (#345) 2022-08-31 00:40:15 +02:00
official-techsupport 36c3cd60e8
showmore works in the presence of pre tags (#344) 2022-08-30 18:11:45 -04:00
Aevann1 f586fac262 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-30 23:22:19 +02:00
Aevann1 648c792834 fix WPD welcome msg 2022-08-30 23:22:16 +02:00
official-techsupport a9eeb29b9b
fix showmore quadratic behavior (#343) 2022-08-30 23:19:53 +02:00
Aevann1 a3c0e39b39 add welcome_msg for WPD 2022-08-30 23:17:08 +02:00
Aevann1 a9714e77ec \n\n -> \n 2022-08-30 23:16:58 +02:00
Aevann1 14f109ea52 simplify marsify's code 2022-08-30 14:11:05 +02:00
Aevann1 2aaed858d2 add a #changelog channel in jannycord 2022-08-30 04:03:48 +02:00
Aevann1 7da380259c update wpd #posts discord channel id 2022-08-30 03:58:22 +02:00
Snakes 9c03ab2d5e
Fix owoify award affecting links, emoji, markup. 2022-08-27 00:48:44 -04:00
Aevann1 df022bd003 make marsify and owoify user-level 2022-08-27 05:22:57 +02:00
Aevann1 0f11312d24 add house awards 2022-08-27 04:57:19 +02:00
Aevann1 ac98f54902 remove .can_gamble 2022-08-26 23:00:17 +02:00
Aevann1 2dcd1288d7 Revert "adjust audio and video embedding"
This reverts commit e9d98e158c.
2022-08-26 20:15:26 +02:00
Aevann1 8ee8a44256 add approved image hosts to /formatting 2022-08-26 17:20:20 +02:00
Aevann1 4bb6eecb17 new rare carp snappy reply (idea by tax) 2022-08-26 01:40:57 +02:00
Aevann1 9032e23182 add patron icons for WPD 2022-08-25 22:34:05 +02:00
Aevann1 6a21dd347b Revert "Revert "Revert "restore autoflush"""
This reverts commit d84b26fc77.
2022-08-25 17:04:33 +02:00
Aevann1 0b786477fc support all existing TLDs 2022-08-25 17:04:25 +02:00
Aevann1 1675bdc2d3 sneed 2022-08-25 15:57:05 +02:00
Aevann1 965febc0a8 sneed 2022-08-25 15:53:24 +02:00
Aevann1 d0cae2f806 update WPD posts channel 2022-08-25 15:35:28 +02:00
Aevann1 11d7f34ad0 allow hole jannies to change the hole marsey + cachebust all site assets 2022-08-25 00:22:44 +02:00
Aevann1 75ad5b34f2 fix youtube embedding 2022-08-25 00:02:06 +02:00
Snakes f0becbd26e
Fix hole neglecter logic & missing imports.
Amends 69903bb94b and c3109601f4 after local testing.
2022-08-24 16:38:44 -04:00
Aevann1 c3109601f4 fix previous commit (thx sneks) 2022-08-24 22:30:31 +02:00
Aevann1 69903bb94b grant "Hole Neglector" badge automatically 2022-08-24 22:26:41 +02:00
Aevann1 9773930d48 sneed 2022-08-24 16:58:58 +02:00
Aevann1 d84b26fc77 Revert "Revert "restore autoflush""
This reverts commit 5aa03d87bb.
2022-08-24 16:36:44 +02:00
Aevann1 d924130479 progressiestack rn doesnt work on non-rdrama site, so i just disabled it instead of fixing it 2022-08-23 20:09:38 +02:00
Aevann1 5aa03d87bb Revert "restore autoflush"
This reverts commit 687cd766b9.
2022-08-23 17:17:37 +02:00
Aevann1 3c9145ee60 add .world tld 2022-08-23 00:13:32 +02:00
Aevann1 20e4e7c57a remove "groomercord" from slur filter 2022-08-22 22:47:42 +02:00
official-techsupport d49cba78a3
improve 'graceful' behavior of get_users (#331) 2022-08-21 21:54:55 +02:00
Aevann1 fbbd6f9be8 fix prev commit 2022-08-21 19:22:18 +02:00
Aevann1 663904fb3d steal the parts I wanted from spidey's PR 2022-08-21 19:20:09 +02:00
Aevann1 fb2437574f change ping_limit to be 3 for comments, and 50 for posts 2022-08-21 17:05:32 +02:00
Aevann1 0e0f414cc9 add .farm TLD 2022-08-21 15:29:35 +02:00
Aevann1 7084e71c57 fix pinging 2022-08-20 23:39:01 +02:00
Aevann1 e9d98e158c adjust audio and video embedding 2022-08-20 22:32:28 +02:00
Aevann1 734844291c fix bug I introduced 2022-08-20 14:38:46 +02:00
Aevann1 d8c6b575de fix pinging 2022-08-19 15:10:39 +02:00
Aevann1 df2f5d3b61 restore downvotes acting like upvotes in rdrama for comments 2022-08-19 14:50:35 +02:00
Aevann1 c29e5cdb5d adjust discord 2022-08-18 18:52:26 +02:00
Aevann1 7951064b19 fix 500 error when benefactor award expires 2022-08-18 17:19:32 +02:00
Aevann1 905e8ae351 WPD daisy filter 2022-08-18 11:52:37 +02:00
Snakes 80aee5cebb
WPD: add Marseys thread, notif keywords for 14668. 2022-08-17 18:53:14 -04:00
Aevann1 5234c8ef21 remove weird spaes 2022-08-17 22:30:07 +02:00
Aevann1 0715ab3e64 fix multipinging (hopefully this doesnt break other shit) 2022-08-17 21:41:09 +02:00
Aevann1 0cae055403 remove weird spaces annoying me 2022-08-17 21:25:57 +02:00
Aevann1 7ee7868185 restore the ability to permachud someone, apparently that stings less than being chudded for a month/year (fascinating) 2022-08-17 21:17:34 +02:00
Aevann1 05689c87f6 fix previous commit 2022-08-17 19:57:32 +02:00
Aevann1 687cd766b9 restore autoflush 2022-08-17 18:36:59 +02:00
Aevann1 b201d7d28a add longpostbot quote 2022-08-17 08:24:51 +02:00
Aevann1 7edd569090 refactor nitter 2022-08-16 18:53:24 +02:00
Aevann1 acd892d681 change WPD tier names 2022-08-16 17:26:50 +02:00
Aevann1 d14aa7100b fix gumroad for WPD 2022-08-16 17:17:16 +02:00
Aevann1 8e48728614 add imginn toggle 2022-08-15 19:45:43 +02:00
Aevann1 067eb208a2 enable procoins for WPD 2022-08-15 19:29:35 +02:00
Aevann1 8e8264de92 kill LGB 2022-08-15 17:24:40 +02:00
Aevann1 ce0d94f7b3 fix 500 error on /submit caused by me being a retard 2022-08-15 07:48:03 +02:00
Aevann1 5065ab3b48 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-08-15 07:10:17 +02:00
Aevann1 9176a7746a make the chance of snappy marseys and snappy quotes even
instead of being dependant on the number of each
2022-08-15 07:10:15 +02:00
Snakes 5ddf1c979a
WPD: enable rotating sidebar art & admin thread. 2022-08-14 20:12:55 -04:00
Aevann1 ed028f0fae disable procoins again on WPD 2022-08-14 15:18:06 +02:00