forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

7310 Commits (82acc5fd0fb43260eb46859a1513043cc41e5413)

Author SHA1 Message Date
Aevann fe981e97d6 fix 500 error 2023-09-28 23:47:30 +03:00
Aevann ad16527a40 fix keyerror when referrer is https://watchpeopledie.tv/notifications/messages?page=2 2023-09-28 01:09:09 +03:00
Aevann 5ea9bfcde0 fix 500 error 2023-09-28 01:04:19 +03:00
Aevann fb5a77b415 fix 500 error 2023-09-27 01:25:27 +03:00
Aevann 46633a4529 dedup sql-escaping code 2023-09-27 01:12:01 +03:00
Aevann c3870505ea use get_user whenever possible instead of repeating code 2023-09-27 00:57:33 +03:00
Aevann 88d77fd6c1 fix a bug in referral commit 2023-09-27 00:57:12 +03:00
Aevann 324d1f5cd0 make referrals work on original usernames 2023-09-27 00:40:06 +03:00
Aevann c9aa92cc04 remove print-debugging 2023-09-27 00:34:23 +03:00
Aevann 0bfeabd682 Revert "remove unnecessary response code"
This reverts commit f7e4c77898.
2023-09-27 00:30:03 +03:00
Aevann 21e37172f8 print-debugging 2023-09-27 00:17:52 +03:00
Aevann fb0b92364a fix /refresh_chat once and for all 2023-09-26 23:59:56 +03:00
Aevann 89df128827 more trying 2023-09-26 23:55:45 +03:00
Aevann 59d984af3f make the important part of disconnect always work 2023-09-26 23:47:42 +03:00
Aevann 6c46de47de try smth on devrama to fix chat refreshing 2023-09-26 23:45:16 +03:00
Aevann 28559e6d34 try fixing /notifications/messages live thing 2023-09-26 23:35:41 +03:00
Aevann e7ab0be33b make /notifications/messages LIVE 2023-09-26 23:05:39 +03:00
Aevann f6a862af07 Revert "allow enabling under attack mode manually"
This reverts commit 05c262517e.
2023-09-26 22:48:30 +03:00
Aevann 7128f4eee7 remove linebreak 2023-09-26 20:12:01 +03:00
Aevann 64dccd385b add missing import 2023-09-26 19:59:58 +03:00
Aevann cfab8408ac use ffmpeg-python (#209)
Reviewed-on: rDrama/rDrama#209
2023-09-26 16:58:51 +00:00
Aevann 568f66e070 dont show <img loading="lazy" data-bs-toggle="tooltip" alt=":marseytrain2:" title=":marseytrain2:" src="https://i.rdrama.net/e/marseytrain2.webp"> when its not rendered 2023-09-26 18:39:06 +03:00
Aevann f7e4c77898 remove unnecessary response code 2023-09-26 18:20:43 +03:00
Aevann 4f227e5c8b use POST instead of GET 2023-09-26 18:19:29 +03:00
Aevann c9f3b95f86 refresh chat automatically when orgy starts 2023-09-26 15:29:36 +03:00
Aevann 204c756de5 remove leftover print code 2023-09-26 14:33:49 +03:00
Aevann 75d2739c29 try to fix online count increasing infinitely issue 2023-09-26 13:26:39 +03:00
Aevann d089d18e2d merge /chat and /orgy again 2023-09-25 01:12:42 +03:00
Aevann 570b46a7e9 increase emoji size for better quality 2023-09-23 20:58:04 +03:00
Aevann dbd170f205 make jannies immune to automatic chat mute 2023-09-23 20:51:34 +03:00
Aevann a9b078007e refactor slurs and profanities and put them in their own file 2023-09-22 20:01:30 +03:00
Aevann 85cf331ae1 add janny award discount of 2% per level, cap disccount at 45%, decrease benefactor given marseybux to 2000 2023-09-22 09:55:54 +03:00
Aevann 4d1efffee6 rename 2 attributes for clarity 2023-09-22 09:53:13 +03:00
Aevann 64f66347a1 add a monthly janny salary of 10k mbux per janny level 2023-09-21 23:17:45 +03:00
Aevann f35f495b17 add this https://rdrama.net/h/countryclub/post/79285/-/5029126#context 2023-09-21 23:02:12 +03:00
Aevann 0bc3cbaaed add spaces to variable declaration 2023-09-21 22:36:45 +03:00
Aevann 93bf904af7 remove repeated filters 2023-09-21 22:36:15 +03:00
Aevann f11c687866 make award punishments still apply even if a janny edits the post/comment 2023-09-21 22:24:26 +03:00
Aevann f9b4d182b9 automate sunday rerun too 2023-09-20 20:52:39 +03:00
HeyMoon c410b5b4d0 Add new chud msgs (#202)
yeah

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#202
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-09-20 15:01:03 +00:00
Aevann b49b2d0381 handle edges cases when redirecting 2023-09-20 16:54:34 +03:00
Aevann f0a5349519 Revert "Revert "Adds blackjack split (#197)""
This reverts commit 9daa939cae.
2023-09-18 19:31:58 +03:00
Aevann 1ba8cc038a following holes has nothing to do with the frontpage 2023-09-18 14:37:11 +03:00
Aevann 60580cc6fa add orgy icon 2023-09-17 23:58:08 +03:00
Aevann ac6a71223d fix mp3 songs 2023-09-17 23:14:41 +03:00
Aevann 1f6a31617b remove legacy code 2023-09-17 22:29:06 +03:00
Aevann 516ef19603 hide bannedfor and chuddedfor icons in chudrama html-side 2023-09-17 22:20:26 +03:00
Aevann 06aacf10ec remove rdrama exception 2023-09-17 22:16:05 +03:00
Aevann bb729f6e27 make it 1000 TS 2023-09-17 22:15:10 +03:00
Aevann ddbfb715e0 make tor users with more than 100 truescore able to upload stuff (RDRAMA ONLY) 2023-09-17 21:49:47 +03:00
Aevann 7d49737e5d revert earlier change that caused chat messages by shadowbanned-cels to go through 2023-09-16 02:54:58 +03:00
Aevann a9a16c8376 remove redundant function 2023-09-16 02:48:33 +03:00
Aevann 324037c049 nerf /h/countryclub and /h/highrollerclub in WPD 2023-09-15 20:10:26 +03:00
Aevann 2607c94d08 nerf /h/medical in wpd 2023-09-15 20:09:24 +03:00
Aevann 17bef3e42b better headers 2023-09-15 18:46:58 +03:00
Aevann 5c6dcc9107 dont count referrals if alts 2023-09-15 18:07:56 +03:00
Aevann c7d09a5c0a add average upvotes leaderboards 2023-09-15 17:26:20 +03:00
Aevann 42385ea60f better removal for repeated notifications 2023-09-15 16:32:35 +03:00
Aevann 9daa939cae Revert "Adds blackjack split (#197)"
This reverts commit 30d10f638e.
2023-09-15 14:30:08 +03:00
top 30d10f638e Adds blackjack split (#197)
Holy shit this was a massive pain, done now though lol.

I recommend additional testing, I mean I did test this a ton locally but I also spent 3 hours fixing bugs and maybe missed something

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#197
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-09-15 11:27:00 +00:00
Aevann ce62364262 check lowercase snappy quotes 2023-09-15 13:49:17 +03:00
Aevann 96f20d0c2c revert countryclub boost, if its rly good ill pin it 2023-09-15 13:48:43 +03:00
Aevann b3ef4734a5 more accurate function name 2023-09-15 03:07:17 +03:00
Aevann c9b202ac59 silence error 2023-09-15 02:30:02 +03:00
Aevann a22c14f21c remove unnecessary shit 2023-09-15 02:19:44 +03:00
Aevann 95239be400 remove last snappy quote if author deletes their comment adding it 2023-09-15 02:17:47 +03:00
Aevann 39642ec2b4 patch exploit 2023-09-15 01:40:25 +03:00
Aevann 8b0daa3aa2 fix this post not being in my notifications even tho i follow /h/slackernews https://rdrama.net/h/slackernews/post/204394/smartest-marseytrain2-lizfongjones-admits-to-tortious 2023-09-15 01:26:47 +03:00
Aevann a12790622d fix broken shit in /formatting 2023-09-15 00:04:46 +03:00
Aevann 56cf292eac make permabans propagate to alts on carp request 2023-09-14 23:50:06 +03:00
Aevann 962c23c968 allow permabannedcels to logout 2023-09-14 23:04:30 +03:00
Aevann b029ae2c38 only print "Cron tasks finished" when they're actually finished 2023-09-14 20:36:14 +03:00
Aevann 4cafef23fd minor reorder 2023-09-14 20:36:14 +03:00
Aevann f392c6bb9c disallow permabanned-cels from all POST endpoints that require auth except /reply /contact /delete/post /delete/comment 2023-09-14 19:49:46 +03:00
Aevann 61484f7fe1 remove unnecessary syntax 2023-09-14 19:15:12 +03:00
Aevann 7bd582278d remove i.reddit.com for being deprecated 2023-09-14 03:09:19 +03:00
Aevann 15083eccb6 minor effeciancy 2023-09-14 02:42:43 +03:00
Aevann d37676b524 disallow ppl from posting in holes they dont have access to 2023-09-14 02:42:13 +03:00
Aevann 9b75debb2d automate movie night 2023-09-14 01:39:47 +03:00
Aevann ee990aeaec dont run cron in chat worker in localhost 2023-09-14 01:37:52 +03:00
Aevann ef906cb8da add forgotten field 2023-09-14 00:40:25 +03:00
Aevann 6afd8d64ab add every_fri cron flag 2023-09-13 23:55:59 +03:00
Aevann 7e171e8b50 easier subtitle handling 2023-09-13 20:48:27 +03:00
Aevann 51494a7440 allow all video formats in orgies 2023-09-13 20:44:19 +03:00
Aevann 018cf5e21d fix snappy quotes 2023-09-13 20:15:55 +03:00
Aevann 3c35bb353b reorder alphabetically 2023-09-13 19:06:03 +03:00
Aevann 8d90e76805 fix repeated linebreaks in snappy quotes 2023-09-13 01:08:34 +03:00
Aevann cc22f009c2 redirect new chat entrants to /orgy when an orgy is active and display number of ppl in the orgy 2023-09-13 01:04:58 +03:00
Aevann d2a61cab1c remove unnecessary f 2023-09-13 01:04:58 +03:00
Aevann 19d5cd8a37 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4968005#context 2023-09-11 21:03:05 +03:00
Aevann 4e42ebb650 hide /h/selfharm and /h/pets for logged-out-cels on the frontpage on non-hot sorts 2023-09-11 20:32:51 +03:00
Aevann 6f88ef72f9 always use fake headers 2023-09-09 21:09:35 +03:00
Aevann 1dba2d7aa2 use undelete.pullpush.io 2023-09-09 18:44:47 +03:00
Aevann 5a60a6783e boost quad by x3 2023-09-09 17:24:44 +03:00
Aevann bbe0ed3abb silence error 2023-09-09 17:24:44 +03:00
Aevann e28a748d81 have orgy chat be running at all times instead of the error message 2023-09-09 02:32:39 +03:00
Aevann ee5748abd1 rename variable to prevent future confusion 2023-09-09 01:31:18 +03:00
Aevann 3ed4ceaea6 have /s/ url conversion happen when editing post too 2023-09-09 01:14:44 +03:00
Aevann ca9482b520 the final solution to reddit /s/ links --- in posts only 2023-09-09 00:32:23 +03:00
Aevann bcab0ef9c3 always commit or rollback 2023-09-09 00:04:39 +03:00
Aevann a912c482e4 delete weird shit 2023-09-08 23:50:11 +03:00
Aevann a79a416cc2 ultra-boost /h/countryclub and /h/highrollerclub 2023-09-08 23:40:35 +03:00
Aevann 420af5ce3d add ban reason to bannedfor tooltip 2023-09-08 22:57:15 +03:00
Aevann 52974641e3 dedup reason variable 2023-09-08 22:51:59 +03:00
Aevann 1e2ef23344 fix accidentially deleted endpoint :derp: 2023-09-08 21:16:12 +03:00
Aevann 3ff47224cf 403 instead of 404 2023-09-08 19:13:27 +03:00
Aevann 05c262517e allow enabling under attack mode manually 2023-09-08 16:00:11 +03:00
Aevann 6ee03f143b more intuitive css urls for easier css sharing 2023-09-07 19:16:13 +03:00
Aevann 1232760e3b minor fix for googlebot 2023-09-07 18:54:30 +03:00
Aevann 9ee45b4a24 remove unnecessary spaces and tabs 2023-09-07 18:26:31 +03:00
Aevann e6883ba613 add /@<username>/muters and /@<username>/muting 2023-09-07 12:35:06 +03:00
Aevann 9b7ab04ddd add /notification_mutes 2023-09-07 12:15:22 +03:00
Aevann b418364c58 rename 2 endpoints 2023-09-07 11:51:57 +03:00
Aevann d7eecbdc1a remove redundant shit 2023-09-07 11:51:51 +03:00
Aevann 50439f988f remove graceful=True from filter_emojis_only cuz its not useful at all 2023-09-06 21:14:07 +03:00
Aevann 7cd1fbd08f remove unnecessary graceful=True from get_user() usages 2023-09-06 21:13:32 +03:00
Aevann 6662eb0606 do this https://rdrama.net/h/countryclub/post/79285/-/4899909#context 2023-09-06 21:02:47 +03:00
Aevann 3acea943f9 fix cron testing on localhost 2023-09-06 20:08:24 +03:00
Aevann 95d59a418d fix chat errors 2023-09-06 17:29:31 +03:00
Aevann f97552b076 handle error 2023-09-06 17:25:01 +03:00
Aevann b4823b1509 increase wpd ddos threshold to 4000 2023-09-06 16:30:09 +03:00
Aevann 07a5beac1c allow chat users to upload images higher than 1,000,000 bytes 2023-09-05 22:45:00 +03:00
Aevann 03983e7ece add 'pets' 2023-09-05 22:24:14 +03:00
Aevann 586aef40e0 order LIMITED_WPD_HOLES alphatically to match the sidebar 2023-09-05 22:23:48 +03:00
Aevann 78ba2f4a62 dont cache notification count in /leaderboard to prevent user confusion 2023-09-05 22:10:49 +03:00
Aevann 69bf4ccf80 fix /!commenters ordering 2023-09-05 21:31:55 +03:00
Aevann f5b8147567 fix sunshine annoyance 2023-09-05 21:28:59 +03:00
Aevann 7facf9ff5b do this https://rdrama.net/h/countryclub/post/79285/-/4911807#context 2023-09-05 21:24:10 +03:00
Aevann 8bae228129 add separate chatroom for orgies 2023-09-05 18:32:57 +03:00
Aevann f2ed74ec6a dedup sorting in the jinja templates 2023-09-05 17:32:36 +03:00
Aevann 462bb23e6d remove unused JL0 perms (bloat) 2023-09-05 15:30:16 +03:00
Aevann ef6ead1f82 handle edge case when a new user tried to DM a janny and gets undersieged, resulting in duplicate notifications 2023-09-05 15:04:27 +03:00
Aevann a113e15ba2 fix prev commit 2023-09-04 21:48:06 +03:00
Aevann bb3bdfdab6 im genuinely retarded (fix algo issue) 2023-09-04 21:25:51 +03:00
Aevann 58f800271b handle unique violation error 2023-09-04 18:23:28 +03:00
Aevann 7ce0345bb2 remove unused imports 2023-09-04 18:05:37 +03:00
Aevann d12b33ba55 order banned domains by time banned 2023-09-02 10:35:27 +03:00
Aevann c2c9c79e20 decrease edit and delete ratelimits to hinder mass-deleting and mass-editing 2023-09-01 11:23:49 +03:00
Aevann 174adfd179 fix delete button in modal sending multiple requests which triggers ratelimit when mass-deleting way too early 2023-09-01 11:15:33 +03:00
Aevann 024542510d add SITE condition 2023-09-01 10:56:44 +03:00
Aevann 024c532bb3 dont notify ppl when someone they blocked replies to them 2023-09-01 10:51:20 +03:00
Aevann 973ce49af1 minor vote change 2023-08-31 16:50:39 +03:00
Aevann aa1c0903e6 do this https://rdrama.net/h/countryclub/post/200985/-/4900434#context 2023-08-31 16:22:49 +03:00
Aevann 47f89bdfcb print username instead 2023-08-31 16:16:03 +03:00
Aevann 19ac58bce1 remove redundant perm 2023-08-31 14:04:51 +03:00
Aevann d6cbbc05c6 simplar syntax 2023-08-31 13:46:07 +03:00
Aevann 745b43adad space+tab -> tab 2023-08-31 13:38:18 +03:00
Aevann df45eb3c57 rename some perms 2023-08-31 13:38:01 +03:00
Aevann 7ce4e34453 user PERMS whenever u can 2023-08-31 13:31:04 +03:00
Aevann 1664c82374 move yearly badges to cron 2023-08-31 13:09:18 +03:00
Aevann 1a6c4ed648 comment worlcup shit 2023-08-31 13:09:17 +03:00
Aevann 7848587136 remove code that wasnt working 2023-08-31 13:09:17 +03:00
Aevann 4ed9eb4277 allow ppl to empty their flair, pronouns, and checkmark text 2023-08-30 20:01:53 +03:00
Aevann 61a656b43c add space 2023-08-30 19:50:33 +03:00
Aevann ad06534ab9 opt-out instead of opt-in 2023-08-30 16:10:30 +03:00
Aevann 8b77aef0cc stop "delete my account" spam on wpd 2023-08-30 14:06:27 +03:00
Aevann f08c728692 use this https://rdrama.net/h/chudrama/post/200604/-/4892230#context 2023-08-30 12:02:01 +03:00
Aevann 0c1cf5e3f8 remove legacy mentions 2023-08-29 08:44:49 +03:00
Aevann e3fd480bdc handle challenges.cloudflare.com shitting the bed 2023-08-26 20:31:35 +03:00
Aevann 11cb3ab18f handle 500 error 2023-08-26 00:11:32 +03:00
Aevann ba9f802bbb fix 500 error 2023-08-26 00:08:49 +03:00
Aevann 8af12ad2c9 make CC and chat threshold the same for movie night purposes 2023-08-26 00:00:53 +03:00
Aevann 796caef336 dont allow this https://watchpeopledie.tv/post/62465/a-place-where-a-body-shouldnt 2023-08-25 05:25:09 +03:00
Aevann 73e2e474b3 handle 500 error 2023-08-24 09:22:10 +03:00
Aevann b0e6166398 stop googlebot from running into a 500 error 2023-08-24 00:58:29 +03:00
Aevann 8d84748c42 add spaces for consistency 2023-08-24 00:57:39 +03:00
Aevann c05a63b78c stop /admin/shadowbanned from taking so long 2023-08-23 14:13:35 +03:00
Aevann ef3564c1a1 stop using NOTIFICATION_THREAD 2023-08-23 13:42:25 +03:00
Aevann 6356b9a5dc change default to Marsey cuz thats what ppl usually are looking for anyway 2023-08-23 13:13:06 +03:00
Aevann 1705893fa6 Revert "very needful update"
This reverts commit b0fb782b3c.
2023-08-23 05:26:41 +03:00
Aevann 18ef2cc0bc more performant syntax 2023-08-23 03:31:07 +03:00
Aevann af7fc01ff2 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4850444#context 2023-08-23 02:39:15 +03:00
Aevann f9f5f507ce fix BUG_THREAD not being imported 2023-08-23 01:47:28 +03:00
Aevann b0fb782b3c very needful update 2023-08-23 00:54:15 +03:00
Aevann e30cc4a2b7 fix last commit 2023-08-23 00:46:48 +03:00
Aevann 8139b908f3 improve last commit 2023-08-23 00:44:06 +03:00
Aevann a9a68ae79d fix additional error due to flask patch 2023-08-23 00:43:36 +03:00
Aevann 3f7a15c431 same as last commit 2023-08-23 00:39:32 +03:00
Aevann bccc2fb35f same as last commit 2023-08-23 00:39:04 +03:00
Aevann 3b6275d6d5 same as last commit 2023-08-23 00:38:12 +03:00
Aevann f760574e3a fix 500 error 2023-08-23 00:36:19 +03:00
Aevann 57d7342802 fix polls not appearing when making comment 2023-08-21 18:51:40 +03:00
Aevann e1d6c97465 Revert "use gevent.with_timeout whenever u can"
This reverts commit eb0af76e46.
2023-08-20 19:24:53 +03:00
Aevann eb0af76e46 use gevent.with_timeout whenever u can 2023-08-20 19:14:02 +03:00
Aevann a78157208e remove now-unnecessary line relating to autoflush 2023-08-20 19:03:36 +03:00
Aevann 8097c16b55 remove now-unnecessary lines relating to int vals 2023-08-20 19:03:34 +03:00
Aevann 2783b7361c make sure notifs are marked as read in the template 2023-08-20 06:06:46 +03:00
Aevann 96668282df use flush intead of commit 2023-08-20 06:04:25 +03:00
Aevann a6469085b3 add necessary flush 2023-08-20 06:03:07 +03:00
Aevann e1eecfc0f2 make sure shadowbanned-cels cant generate push notifs 2023-08-20 05:36:43 +03:00
Aevann 81e8d09cd1 grammar 2023-08-20 05:14:32 +03:00
Aevann bfffedc5a7 ensure no alts get added 2023-08-20 05:10:51 +03:00
Aevann 4993c3a889 remove auto-flush to reduce average lock duration 2023-08-20 05:00:35 +03:00
Aevann b60deb44f1 try smth 2023-08-20 04:00:53 +03:00
Aevann c7dee1ab56 remove url requirement for sk8r boi badge 2023-08-19 00:06:57 +03:00
Aevann 1962fe4d2d increase /h/highrollerclub's boost from 1.25 to 2 2023-08-18 23:39:33 +03:00
Aevann bfa6aa5df4 restore accidentially deleted line 2023-08-18 22:01:56 +03:00
Aevann 7c6fb8715e remove notif spam for fish 2023-08-18 21:28:45 +03:00
Aevann 7e4c8018e3 renamed the `heart` modifier to `love` 2023-08-17 18:37:30 +03:00
Aevann 6bead41d68 stop submitted emojis from ending with modifiers 2023-08-17 18:28:14 +03:00