forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

7381 Commits (9300f5328047872333f3de992b47cde9718d90da)

Author SHA1 Message Date
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
Aevann 5b3a0a6073 reduce post ratelimit on wpd from 30/day to 20/day 2023-08-17 05:42:16 +03:00
Aevann e0921caf14 reduce frontpage delay on fish request 2023-08-17 04:54:13 +03:00
Aevann ffc55ebb81 fix posting on wpd taking a million years 2023-08-17 04:53:37 +03:00
Aevann d60c1b051a remove annoying ! 2023-08-17 03:07:29 +03:00
Aevann 88bfaa3326 allow carp to delete image assets 2023-08-17 03:07:13 +03:00
Aevann ac41cb9a82 add missing process_files to sigs 2023-08-17 02:46:42 +03:00
Aevann 293dd09ee4 make it so ppl are able to comment on shadowbanned niggas' walls so its a little less obvious they're shadowbanned 2023-08-17 02:23:13 +03:00
Aevann 729af8eb37 allow ppl to see other ppl's submissions in /submit/hats 2023-08-17 02:20:34 +03:00
Aevann a5cbc1ffbd Revert "try random shit to fix posting in WPD"
This reverts commit 12fbd8da83.
2023-08-17 02:17:49 +03:00
Aevann 6af8e60692 Revert "try random bullshit to fix posting on wpd"
This reverts commit f575c37b40.
2023-08-17 02:17:24 +03:00
Aevann 7b3e4e3e81 fix prev commit 2023-08-17 02:15:43 +03:00
Aevann 77e225eb56 fix unapproved hats appearing in /shop/hats 2023-08-17 02:14:32 +03:00
Aevann 2f555e87dd add missing pushnotif_url 2023-08-17 02:04:56 +03:00
Aevann a026721ea6 wipe /badges cache when a new badge is added 2023-08-17 01:13:08 +03:00
Aevann f575c37b40 try random bullshit to fix posting on wpd 2023-08-17 00:25:16 +03:00
Aevann 12fbd8da83 try random shit to fix posting in WPD 2023-08-17 00:14:11 +03:00
Aevann f0e6814384 add file orgies 2023-08-16 23:13:24 +03:00
Aevann 60eaa5d282 remove /old_chat (needless bloat) 2023-08-16 23:12:37 +03:00
Aevann 577b1e3780 fix this https://rdrama.net/post/197158/pov-you-are-a-coyote-you/4809394#context 2023-08-16 01:02:02 +03:00
Aevann 4b977054f2 do what g-tix wants 2023-08-16 00:42:33 +03:00
Aevann d920ae47c1 addendum to last commit 2023-08-15 23:34:06 +03:00
Aevann 2c19f5922c allow comment editing by JL5 2023-08-15 23:22:49 +03:00
Aevann f02029aab2 replace libreddit instance (old one stopped functioning 2023-08-15 22:45:38 +03:00
Aevann e64c6bf0f3 fix 500 error 2023-08-15 15:53:52 +03:00
Aevann d464aceecc get_ID ratelimiter should use session_id 2023-08-15 15:51:44 +03:00
Aevann c0a02b3b3c more line for efficiency 2023-08-14 22:57:51 +03:00
Aevann 48da547fb8 fix this https://watchpeopledie.tv/h/meta/post/27855/hidden-thread-for-viewing-notifications/1443770#context 2023-08-14 22:57:24 +03:00
Aevann 465376f1f4 better idea to reduce user confusion 2023-08-14 17:37:32 +03:00
Aevann 70047a3004 add patron backgrounds in chat 2023-08-14 15:26:42 +03:00
Aevann bd1ea70a1a - make rainbow, sharpen, queen not retroactive
- make sharpen fully affect all future posts
- make old posts and comments affected by these awards unfixable after they expire
2023-08-14 14:00:29 +03:00
Aevann 8df49c50da make chud award not affect comment when author has deflector 2023-08-14 13:14:14 +03:00
Aevann 1964c65f17 update edited_string when editing comments 2023-08-14 10:04:51 +03:00
Aevann 2e80ebdc0d update comment ping cost on edit 2023-08-13 19:03:29 +03:00
Aevann aff15f2de4 fix logged-out users getting ratelimited when trying to access logged-in endpoints 2023-08-13 18:30:54 +03:00
Aevann 414bd30fd7 allow verified-email-cels into chat 2023-08-13 18:13:09 +03:00
Aevann b06fc47a02 restrict the behavior added in last commit to post titles only 2023-08-13 17:23:47 +03:00
Aevann 4449ee939b fix cursormarsey appearing to wpd logged-out 2023-08-13 16:23:45 +03:00
Aevann b99bc05bb3 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4740259#context 2023-08-12 22:32:30 +03:00
Aevann aee38394f8 remove the incentive for paypigs to enable perma-marsify to avoid ever getting chudded 2023-08-12 21:38:41 +03:00
Aevann 1ed722c3b2 check file size via javascript to prevent unneedful upload of files that would get rejected by server for being too large 2023-08-12 21:28:21 +03:00
Aevann 1882653da6 addendum to 149095d91e 2023-08-12 17:56:39 +03:00
Aevann b7eb8170d0 make 'top' behavior exclusive to rdrama 2023-08-12 16:23:10 +03:00
Aevann 5221f34bab make unread color different from target color 2023-08-12 16:22:47 +03:00
Aevann 5cbb95689b force darkdeity posts in mnn 2023-08-12 13:19:12 +03:00
Aevann 0f8c75f252 dont allow "hot" with "all" to prevent query timeout 2023-08-12 01:36:24 +03:00
Aevann 39098fe323 kitchen sink commit 2023-08-12 00:50:23 +03:00
Aevann e9edd9f89a use abort for cocnsistency 2023-08-11 19:57:41 +03:00
Aevann 5712467c0d make "changelog" button on wpd link to changelog thread on wpd 2023-08-11 19:35:14 +03:00
Aevann 7ab046474f disallow !followers ping in posts 2023-08-11 16:38:49 +03:00
Aevann 6f5872cf62 remove \n 2023-08-11 16:36:43 +03:00
Aevann 5eb2c0dc27 add !followers 2023-08-11 16:34:56 +03:00
Aevann 92fa475acd remove nig=a 2023-08-11 16:22:25 +03:00
Aevann 45be4132ce remove fish award 2023-08-11 16:18:13 +03:00
Aevann 3ec2038caf same as last commit 2023-08-11 16:15:34 +03:00
Aevann 3306238d84 remove unnecessary all() 2023-08-11 16:14:50 +03:00
Aevann d886917ef0 last commit backfired and made it slower, try something else 2023-08-11 16:10:56 +03:00
Aevann 04a3e3922a make blocks faster and order it by most recent 2023-08-11 16:07:24 +03:00
Aevann fb0aed8e2b do this https://rdrama.net/h/countryclub/post/79285/-/4758207#context 2023-08-11 15:43:58 +03:00
Aevann 9e16fcac3e move code to reduce lock duration 2023-08-10 21:47:57 +03:00
Aevann 9127b58a36 order votes by vote creation 2023-08-10 20:23:33 +03:00
Aevann ef66c52aed last_active should change on voting and u know it 2023-08-10 19:05:19 +03:00
Aevann 0633c9b71d fix bug caused by 4602e374ee 2023-08-10 17:00:54 +03:00
Aevann 4277bac960 same as 4602e374ee 2023-08-10 15:45:45 +03:00
G-tix 4602e374ee Remove unnecessary redirects and remove temp event stuff. (#183)
Removing 400 redirects as this confuses users (including me lol). Also removed some event stuff which seems redundant.

Reviewed-on: rDrama/rDrama#183
Co-authored-by: G-tix <g-tix@noreply.fsdfsd.net>
Co-committed-by: G-tix <g-tix@noreply.fsdfsd.net>
2023-08-10 12:37:57 +00:00
Aevann 8ba3178c1c disallow mods from kicking other mods 2023-08-10 13:17:27 +03:00
Aevann 93d89218b1 remove login_required from ddos_detected 2023-08-10 00:46:12 +03:00
Aevann 9a28e36265 remove login_required from ddos_detected effects 2023-08-10 00:41:51 +03:00
Aevann 6bf8f67d0f disable signups when ddos detected 2023-08-10 00:09:15 +03:00
Aevann 73bb8f6153 Revert "increase wpd threshold to 5k"
This reverts commit 2e3bdc4b8e.
2023-08-10 00:07:43 +03:00
Aevann 2e3bdc4b8e increase wpd threshold to 5k 2023-08-09 21:40:38 +03:00
Aevann 028a92162b make blocking affect chat too 2023-08-09 18:19:43 +03:00
Aevann 6e02ea8abb add this https://rdrama.net/h/countryclub/post/79285/-/4744088#context 2023-08-08 21:08:29 +03:00
Aevann 40045eaa35 better erro message 2023-08-08 20:02:47 +03:00
Aevann 67f968d04d show who exiled the user in the icon 2023-08-08 20:01:58 +03:00
Aevann fa0f082104 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4747309#context 2023-08-08 17:51:20 +03:00
Aevann 5f8bc0442b per carp request, dont use user_cards for badge owners and hat owners 2023-08-08 17:49:00 +03:00
Aevann 8c76addad6 fix bug 2023-08-08 15:06:13 +03:00
Aevann a25960b1aa make sure ppl get their backlogged badges 2023-08-06 10:35:30 +03:00
Aevann be796452db dedup DEFAULT_RATELIMIT 2023-08-06 10:30:34 +03:00
Aevann a0c0f2af64 remove unnecessary () 2023-08-06 06:33:25 +03:00
Aevann d9e0e83639 url limit 3 more badges 2023-08-06 00:23:21 +03:00
Aevann cf7b034cf2 make sure url is null not '' 2023-08-05 22:51:01 +03:00
Aevann 9712a195f8 add url requirement to 8 badges 2023-08-05 22:36:32 +03:00
Aevann ed34558f33 remove unnecessary .all() 2023-08-05 22:26:42 +03:00
Aevann a3a29408f4 fix 500 error 2023-08-05 22:26:17 +03:00
Aevann fe5acdddd9 minor syntax change 2023-08-05 22:23:58 +03:00
Aevann 6ade4f2093 fix 500 error 2023-08-05 22:23:24 +03:00
Aevann 24b92d4f16 explain to ppl when their deflected award fails so they don't get confused and report it as a bug 2023-08-05 22:20:55 +03:00
Aevann 542e96585e remove unused imports 2023-08-05 22:03:48 +03:00
Aevann 3330c2517f total tracking parameter death 2023-08-05 21:51:09 +03:00
Aevann 13173376a4 use usernames instead of ids in GET urls visible to users whenever u can 2023-08-05 19:03:14 +03:00
Aevann 3b24eca320 move emoji download buttons to /emojis 2023-08-05 16:52:53 +03:00
Aevann 47008c53c5 rename megathread_index to directory 2023-08-05 16:46:47 +03:00
Aevann ff78548f82 add kind filter in /emojis 2023-08-05 14:13:59 +03:00
Aevann 29cfeb1e3b get shop icon to be highlighted when we're on the hats tab too 2023-08-05 13:44:26 +03:00
Aevann 847fb2a6b7 do this https://rdrama.net/h/countryclub/post/79285/-/4717844#context 2023-08-05 13:44:05 +03:00
Aevann b0069e18e0 fix emoji cachebusting 2023-08-05 13:32:29 +03:00
Aevann 87d0a14b37 notify ppl when they're muted or unmuted 2023-08-05 13:27:03 +03:00
Aevann 32966cbc62 add "give badge" button to profiles for easier badging 2023-08-05 13:24:37 +03:00
Aevann f0696aa68d restore old report ratelimits, i forgot that banner ppl sometimes use reports in lieu of comments 2023-08-05 05:26:08 +03:00
vasya 63f9d02abc Switch youtube_dl for yt_dlp (#178)
See #3. Tested by uploading anthem to test account and playing it back.

Co-authored-by: vasya <vasya34@proton.me>
Reviewed-on: rDrama/rDrama#178
Co-authored-by: vasya <vasya@noreply.fsdfsd.net>
Co-committed-by: vasya <vasya@noreply.fsdfsd.net>
2023-08-05 01:48:47 +00:00
Aevann 9d3fd84418 exempt me, part deux 2023-08-04 19:51:22 +03:00
Aevann 87a2c6be17 excempt me 2023-08-04 19:47:36 +03:00
Aevann 64d5687cc3 restore old report ratelimits for wpd 2023-08-04 19:29:07 +03:00
Aevann 85ee9cda7e fix 500 error 2023-08-04 19:15:51 +03:00
Aevann b2a3163a68 fix badge flow 2023-08-04 16:16:08 +03:00
Aevann 96388bfde2 fix unnecessary \n 2023-08-04 15:42:17 +03:00
Aevann c560e793d4 fix bug where edited post options didnt work unless u edit again 2023-08-04 03:11:34 +03:00
Aevann 4918e284d5 minor fix to winnings leaderboards 2023-08-04 01:14:16 +03:00
Aevann c3d32fa344 testing complete 2023-08-04 01:01:34 +03:00
Aevann b95ffac73b restore winnings leaderboards (testing on staging) 2023-08-04 00:57:50 +03:00
Aevann 1b8cc20659 fix capitalization 2023-08-04 00:38:36 +03:00
Aevann df2b20c8dd unmute alts too so the mute doesnt propagate back 2023-08-04 00:27:59 +03:00
Aevann 11b7c15758 move over_18 setting to cookies so ppl can have different settings for different devices 2023-08-04 00:17:55 +03:00
Aevann 05c04979ed rename 2 modactions 2023-08-04 00:07:57 +03:00
Aevann 54d7e1fe28 add cursormarsey toggle 2023-08-03 23:40:22 +03:00
Aevann 443615e14f better v.poor code 2023-08-03 23:40:22 +03:00
Aevann 4c9858f143 ratelimit reporting for carp 2023-08-03 23:40:21 +03:00
Aevann 0cac3ed55f dont include THOT's other bets 2023-08-03 11:48:02 +03:00
Aevann 144d7a31be rename is_activated to email_verified 2023-08-03 11:02:31 +03:00
Aevann 3358d833a9 shorten url 2023-08-03 09:31:15 +03:00
Aevann 08e479fccc add women world cup leaderboard 2023-08-03 09:27:25 +03:00
Aevann af0deb7f87 boost comments made during the night too 2023-08-03 08:15:30 +03:00
Aevann 9a527df75d add lifetimedonated_visible 2023-08-03 07:57:09 +03:00
Aevann 52f9a99af1 add mass badge granting and removal 2023-08-03 07:42:58 +03:00
Aevann 1280588283 add emojis_original_zip 2023-08-03 06:29:01 +03:00
Aevann e18fc9c7eb do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4642870#context 2023-08-03 05:52:29 +03:00
Aevann 331b60519f extremely lazy fix to shorten lock time on users 2023-08-02 11:49:51 +03:00
Aevann 299bda3b8a """""fix"""""" ping groups in /submit 2023-08-02 11:27:03 +03:00
Aevann b1f4290703 fix missing import 2023-08-02 11:25:40 +03:00
Aevann f77476fc3e fix 500 error 2023-08-02 10:47:49 +03:00
Aevann 53e96f9b43 dont do last_active in voting 2023-08-02 03:28:33 +03:00
Aevann b2253f0574 approve ppl automatcailly into !verifiedrich 2023-08-02 01:18:57 +03:00
Aevann 7bbd80ab69 make comments in admigger threads not increase author comment_count 2023-08-02 01:03:41 +03:00
Aevann 7fd46442d2 make !verifiecdrich a real ping group so ppl are able to leave it 2023-08-02 00:56:17 +03:00
Aevann bd942fe12e remove useless tabs 2023-08-01 10:38:58 +03:00
Aevann 69ec9dab2f fix top 10 patrons badge 2023-08-01 10:16:47 +03:00
Aevann 6fcea07e46 comment broken code 2023-08-01 10:00:20 +03:00
Aevann 022440aa7f fix 500 error on some ancient browsers or smth 2023-08-01 09:53:30 +03:00
Aevann 201eec7aa5 allow paypigs to have 1-letter and 2-letter names 2023-08-01 09:46:12 +03:00
Aevann 0900277226 add !verifiedrich and /h/highrollerclub for paypigs 2023-08-01 09:46:00 +03:00
Aevann b8ed316ef1 remove now-unneeded line 2023-08-01 09:45:29 +03:00
Aevann 106f8da561 add badge to top 10 patrons by lifetime_donated 2023-08-01 09:43:50 +03:00
Aevann 63c9715d7c fix this https://discord.com/channels/1104830662831247492/1104909974238400542/1135806954611167252 2023-08-01 09:43:32 +03:00
Aevann bcc494ecdb fix snappy merge conflicts 2023-08-01 04:30:50 +03:00
Aevann 65f9b986dd add button to claim paypig rewards for all users 2023-08-01 04:28:29 +03:00
Aevann 8c0093c279 generate tags and styles in /formatting dynamically 2023-08-01 02:17:19 +03:00
Aevann 10d138db5d fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4691321#context 2023-08-01 02:12:42 +03:00
Aevann 467135421a Revert "enforce consistency for ffmpeg params"
This reverts commit 19b30e726b.
2023-07-31 03:25:47 +03:00
Aevann 6e9d3d68dc strip after not before 2023-07-30 09:20:02 +03:00
Aevann 8b5bf42b54 fix snappy dupe detection 2023-07-30 09:16:01 +03:00
Aevann b6a02b0874 make sure all settings are visible + move the checkmark settings to their own section 2023-07-30 08:55:07 +03:00
Aevann 407eabf8f5 move profile background to the settings for consistency + improve banner-pic a bit 2023-07-30 08:36:57 +03:00
Aevann bd3a672c2d make thumbnail_thread not fail bc of idle_in_transaction_session_timeout 2023-07-30 04:35:12 +03:00
Aevann 8beb2d7e8e remove typing (useless code bloat) 2023-07-30 03:42:06 +03:00
Aevann 51d6d6f3cf remove leftover code causing error 2023-07-30 03:14:11 +03:00
Aevann 0a3fbaeb88 replace with sanitize_settings_text with much better process_settings_plaintext 2023-07-30 02:39:22 +03:00
Aevann e1853befaa restore needful .strip() 2023-07-29 22:17:50 +03:00
Aevann 7c462bc17f remove a bunch of unnecessary/confusing garbage 2023-07-29 22:13:37 +03:00
Aevann 1cfd8ed517 remove redundant line 2023-07-29 22:00:42 +03:00
Aevann 19b30e726b enforce consistency for ffmpeg params 2023-07-29 21:50:09 +03:00
Aevann 3ee037c2c7 temporarily disable ping groups on making posts 2023-07-29 21:32:00 +03:00
Aevann e8d8804c83 fix hieroglyphs award not applying in walls 2023-07-29 02:00:50 +03:00
Aevann 0a9b19bb15 delete redis cache on post deletion/removal/undeletion/unremoval 2023-07-29 01:51:54 +03:00
Aevann 5d8794ef5f get rid of ffmpeg console spam 2023-07-28 21:26:55 +03:00
Aevann 6f16ba3be0 enforce subprocess consistency 2023-07-28 20:01:56 +03:00
Aevann 3fc64da0e2 reduce ddos_threshold for rdrama from 3k to 1k 2023-07-28 18:23:53 +03:00
Aevann 52a7a98970 fix profile songs 2023-07-28 03:27:01 +03:00
Aevann b476022774 use SITE_FULL_IMAGES 2023-07-28 02:07:18 +03:00
Aevann 7000e1b07e remove a now-unnecessary line 2023-07-28 01:58:38 +03:00
Aevann dbeb0991d4 change print statement 2023-07-28 01:05:20 +03:00
Aevann be6526b958 diverge site badges 2023-07-27 23:11:17 +03:00
Aevann a3e88d99f7 Revert "try only loading id in get_logged_in_user"
This reverts commit 56997bc06c.
2023-07-27 22:55:04 +03:00
Aevann 0907ac5333 add warning about HOLE_INACTIVITY_DELETION 2023-07-27 22:52:35 +03:00
Aevann 56997bc06c try only loading id in get_logged_in_user 2023-07-27 22:49:37 +03:00
Aevann 16dfd64cdc add spaces 2023-07-27 22:49:36 +03:00
Aevann 5cbb2c7428 dont select all user columns when updating 2023-07-27 22:49:36 +03:00
Aevann 46d24cddfc same as 36b2db7b2b 2023-07-27 03:35:44 +03:00
Aevann 36b2db7b2b allow nsfw via the api, why the hell was that disabled 2023-07-27 03:15:50 +03:00
Aevann 641b1ae1bf fish 2023-07-26 23:06:28 +03:00
Aevann eb9e46b83d fix missing import 2023-07-26 20:27:30 +03:00
Aevann 65c277b5a6 fix 500 error 2023-07-26 16:19:53 +03:00
Aevann ffba8b3b2d only query the columns u need 2023-07-26 15:31:44 +03:00
Aevann 935cd1d116 silence lock error 2023-07-26 15:12:37 +03:00
Aevann 39ff09e777 restore bump sort 2023-07-26 01:59:49 +03:00
Aevann 6ceb087912 restore necessary flush 2023-07-26 01:08:33 +03:00
Aevann 2f8fec6fff partially revert a94dda90dd. restore some commits that turned out to be necessary 2023-07-26 00:42:47 +03:00
Aevann a57ff00e09 make the site faster by not having GET endpoints waiting for UPDATE statements to finish (they can take really long bc of locks) 2023-07-26 00:26:34 +03:00
Aevann b7e6eeebd4 add handy print statements to docker 2023-07-26 00:05:33 +03:00
Aevann a94dda90dd remove unnecessary flushes 2023-07-25 23:35:54 +03:00
Aevann 333e1329f9 move some functions to the top to help with making the next commit 2023-07-25 23:06:18 +03:00
Aevann 8222711e56 remove testing shit 2023-07-25 21:57:09 +03:00
Aevann e9e6ed5c7f test in wpd too 2023-07-25 21:54:26 +03:00
Aevann ce3e62b128 test smth 2023-07-25 21:52:29 +03:00
Aevann a104337204 move execute_snappy to the bottom and see what happens 2023-07-25 21:37:10 +03:00
Aevann 0340aaf244 remove unnecessary flush 2023-07-25 21:37:09 +03:00
Aevann 4710ba4467 readjust THOT pins 2023-07-25 15:27:10 +03:00
Aevann 9a7b08ebac disallow 10489 from changing his name 2023-07-24 17:41:22 +03:00
Aevann e5808c8ee2 tab consistency 2023-07-24 14:06:59 +03:00
Aevann dee71a74a6 add error details in wrappers 2023-07-24 14:06:42 +03:00
Aevann 30b7e3e96e add socketio-friendly wrappers 2023-07-24 13:33:04 +03:00
Aevann 5160c11478 since tempbanned can't speak, make it so they can't emit a typing event 2023-07-24 13:14:28 +03:00
Aevann feec6740d1 catch ffmpeg timeout for making poster 2023-07-23 18:14:10 +03:00
Aevann d6c250c910 remove unnecessary flush 2023-07-23 17:41:48 +03:00
Aevann 69de2382a4 fix typo 2023-07-23 17:41:39 +03:00
Aevann 1a9e442331 change wrong response codes 2023-07-23 03:36:28 +03:00
Aevann 4dfaced994 remove wrong response code that results in console error 2023-07-23 03:34:37 +03:00
Aevann 2522154808 fix this https://rdrama.net/h/lit/post/189977/i-like-wendigoon-but-boy-did/4638942#context 2023-07-23 03:10:08 +03:00
Aevann d0c7524154 put cron_fn in gevent to make it stop blocking 2023-07-23 00:31:44 +03:00
Aevann 645af47309 dont allow ppl to reply to normal comments like they're a message, @ThousandBestLives did this 2023-07-22 22:43:29 +03:00
Aevann 01151de87f do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4619404#context 2023-07-22 22:34:16 +03:00
Aevann 36e5845877 fix the last line of this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4609716#context 2023-07-22 22:20:00 +03:00
Aevann 7f6a45a5b6 run cron in localhost too 2023-07-22 20:11:07 +03:00
Aevann 472f1675ef do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4630694#context 2023-07-22 19:37:57 +03:00
Aevann 6726668237 force LLM posts in chudrama 2023-07-22 19:32:46 +03:00
Aevann 74e9f21261 much more intuitive upload flow 2023-07-22 19:29:19 +03:00
Aevann 988a14f187 use SITE_FULL_IMAGES whenever u possibly can 2023-07-22 19:24:16 +03:00
Aevann a2106d191a disasllow ppl from publishing drafts while banned 2023-07-22 17:40:23 +03:00
Aevann 0f76908c3b pin women worldcup posts 2023-07-22 13:57:54 +03:00
Aevann 684522f6b4 remove /badmins for not being highlighted 2023-07-21 17:30:11 +03:00
Aevann f0b51ed2c0 make !jannies dynamic 2023-07-21 17:27:49 +03:00
Aevann e353e67f19 fix this https://rdrama.net/@Aevann/wall/comment/4624316#context 2023-07-21 15:26:43 +03:00
Aevann 16fb709c00 boost /h/countryclub by x2 2023-07-20 19:54:59 +03:00
Aevann af52afb408 use abort in vote 2023-07-19 13:00:59 +03:00
Aevann 851329acb0 mute annoying error 2023-07-18 20:39:55 +03:00
Aevann d613bca1c9 increase /login limit from 10/day to 20/day 2023-07-18 20:31:05 +03:00
Aevann f192720dcf order holes by new by default 2023-07-18 16:06:00 +03:00
Aevann d2ee5be219 mute annoying error 2023-07-18 16:02:31 +03:00
Aevann d1ef92fa17 fix 2023-07-18 14:38:33 +03:00
Aevann 649ea49c67 mute annoying errors 2023-07-18 13:17:37 +03:00
Aevann f6f0d4c4c2 add nr request arg for notifs 2023-07-18 12:24:22 +03:00
Aevann c2d709e9ef dont allow saves sorting in posts (it results in 500 error) 2023-07-17 20:32:41 +03:00
Aevann 2b9647a37e try random bullshit to fix timeouts 2023-07-17 17:49:26 +03:00
Aevann fe183b7fef add exclamation mark 2023-07-17 17:49:07 +03:00
Aevann c8a40deb97 fix this https://rdrama.net/h/toomanyxchromosomes/post/187815/footballer-cleared-of-rpe-for-the/4583480#context 2023-07-16 14:56:24 +03:00
Aevann a139197371 persist ppl's edit text on failure 2023-07-14 20:07:58 +03:00
Aevann 79d8bb7d2c allow session cookie to work on videos.watchpeopledie.tv 2023-07-14 18:45:49 +03:00
Aevann f4dced0d09 fix >100MB uploads 2023-07-14 16:30:55 +03:00
Aevann da701f6e5b give success message when changing sidebar or css 2023-07-14 15:12:57 +03:00
Aevann b0cd42f73e save sidebar value when its too big 2023-07-14 15:12:13 +03:00
Aevann 1cacedf72e remove mass_css_validation_holes 2023-07-14 14:43:40 +03:00
Aevann de61601bf5 add - 2023-07-14 14:40:14 +03:00
Aevann edfe63b100 validate hole css 2023-07-14 14:38:48 +03:00
Aevann 2413af3467 remove worldcup shit 2023-07-14 12:22:08 +03:00
Aevann 955aaf48e5 revert 2 commits 2023-07-14 12:20:33 +03:00
Aevann e15effe223 move boosted_sites to its own file so i can link to it 2023-07-14 06:32:52 +03:00
Aevann 63fa768883 fix 500 error 2023-07-14 06:00:12 +03:00
Aevann 1d726ebd77 fix user counts being 0 in error pages 2023-07-13 17:02:58 +03:00
Aevann ff67e30949 dont count failed requests towards ratelimit 2023-07-13 16:50:46 +03:00
Aevann 6576934dca Revert "fix wrong coin and mbux count in /leaderboard"
This reverts commit 1359384560.
2023-07-13 16:03:04 +03:00
Aevann 1359384560 fix wrong coin and mbux count in /leaderboard 2023-07-13 15:59:34 +03:00
Aevann 75d3eea134 change lemmy boosting 2023-07-13 14:22:22 +03:00
Aevann 5e6fb299dc fix typo 2023-07-13 13:50:36 +03:00
Aevann cbd23b53d9 flush 2023-07-12 14:59:27 +03:00
Aevann a0f3866193 more extensible ADMIGGER_THREADS 2023-07-12 14:59:27 +03:00
Aevann 02c5494703 remove mass_css_validation 2023-07-12 05:12:41 +03:00
Aevann 10e5d52e48 mass css validation 2023-07-12 05:02:31 +03:00
Aevann 8c95a9e9d2 combine endpoints 2023-07-12 04:13:40 +03:00
Aevann 05fd2c60dd consistency 2023-07-12 04:11:47 +03:00
Aevann e5aaca4a18 consistency 2023-07-12 04:10:55 +03:00
Aevann 90824d0f5f another fix 2023-07-12 04:09:02 +03:00
Aevann 7356d52edc another fix 2023-07-12 04:07:58 +03:00
Aevann dc43bca129 consistency 2023-07-11 20:58:01 +03:00
Aevann 251ed10cec Revert "Revert "make it possible to message someone by id""
This reverts commit fd17dab06c.
2023-07-11 20:55:38 +03:00
Aevann ee12cd9d66 Revert "minor improvement"
This reverts commit 2831ae0ccb.
2023-07-11 20:54:32 +03:00
Aevann 8e57ece096 make it possible to message someone by id 2023-07-11 17:36:46 +03:00
Aevann fd17dab06c Revert "make it possible to message someone by id"
This reverts commit 718951f6a6.
2023-07-11 17:31:07 +03:00
Aevann 718951f6a6 make it possible to message someone by id 2023-07-11 15:30:44 +03:00
Aevann 2831ae0ccb minor improvement 2023-07-11 15:27:19 +03:00
Aevann 402ae8e40b allow using of Shit award to negative someone 2023-07-10 16:24:03 +03:00
Aevann cc30ca48af remove blackjack exception 2023-07-10 04:45:55 +03:00
Aevann 54137299ac same as last commit 2023-07-10 04:24:58 +03:00
Aevann 2a785acd5b same as last commit 2023-07-10 04:23:00 +03:00
Aevann 05040a4224 fix 500 error 2023-07-10 04:21:47 +03:00
Aevann 02acb35752 use claim_rewards_all_users everywhere 2023-07-10 04:17:31 +03:00
Aevann 13c99ec9ad fix claim_rewards by not importing Transaction from sqlalchemy which overrides my Transaction class 2023-07-10 03:49:08 +03:00
HeyMoon abd91f81ac Orgies: Support Rumble and Twitch and Mobile Viewing (#169)
Hell yeah

 - Rumble.com, basically youtube for rightoids (so you can do more edgy streams)
 - Twitch
 - Mobile orgy support, it's pretty bad thoever
 - Button to switch back to normalchat for phonefags

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#169
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-07-10 00:38:02 +00:00
Aevann e7e2b49c84 remove console spam that scrolls me to the bottom 2023-07-10 03:30:30 +03:00
Aevann f22a362f37 fix bug when both queen and namelock expire at the same time 2023-07-08 19:11:29 +03:00
Aevann fca27c37eb remove unnecessary v shit 2023-07-08 16:32:14 +03:00
Aevann 9652c13286 cache /leaderboard for 24hrs 2023-07-08 16:22:14 +03:00
Aevann 8b07f314e8 fix redirect getting wiped on login fail 2023-07-08 16:22:02 +03:00
Aevann d84b3220c3 test leaderboard in wpd 2023-07-08 16:09:58 +03:00
Aevann 3739e6669d make it possible to start the name of a marcus emoji with "marcus" 2023-07-08 02:25:07 +03:00
Aevann 2154684751 remove now-unnecessary app_id column 2023-07-08 02:19:37 +03:00
Aevann 517ed8a9d3 disallow ALL bots from voting 2023-07-08 02:18:03 +03:00
Aevann 21c69eebec use uuid for session_ids 2023-07-08 00:50:26 +03:00
Aevann ecf3e1133f exempt kaamrev from 1week edit limit 2023-07-08 00:28:08 +03:00
Aevann 43ff6a4b7e give ppl flairlocked by jannies the flairlock badge 2023-07-08 00:01:47 +03:00
Aevann a2cadc3815 fix None 2023-07-07 23:46:49 +03:00
Aevann 0e6ec728f1 fix errror 2023-07-07 23:45:39 +03:00
Aevann f11f58ed81 fix typo 2023-07-07 23:40:19 +03:00
Aevann f1856a6ec2 only call calc_users when its necessary 2023-07-07 23:40:16 +03:00
Aevann 6dacba53b6 tinker with cache to stop insane cpu usage by redis-server 2023-07-07 22:08:23 +03:00
float-trip 041481f2b6 Fix /comment JSON response (#167)
Since `replies` is no longer added to the response, returning the JSON for the top level comment makes it impossible to get the JSON for a reply.

Btw - you might want to remove the `author` field [here](60b5b33a79/files/classes/comment.py (L308)). It attaches the full user bio and badge list to every comment, which turns something like `GET https://rdrama.net/post/18459` into a 21MB response. `author_name` is pretty much all anyone needs anyway

Co-authored-by: float-trip <float-trip@fsdfsd.net>
Reviewed-on: rDrama/rDrama#167
Co-authored-by: float-trip <float-trip@noreply.fsdfsd.net>
Co-committed-by: float-trip <float-trip@noreply.fsdfsd.net>
2023-07-07 18:53:14 +00:00
Aevann 15e445b01b disable cookie clearing on wpd in case thats what caused the issue 2023-07-07 21:44:12 +03:00
Aevann 6747557a95 fix this https://rdrama.net/post/185672/the-best-advice-i-ever-received/4524955#context 2023-07-07 08:41:57 +03:00
Aevann 72c61b15c8 redirect /marseys to /emojis 2023-07-07 04:52:19 +03:00
Aevann f28f7b836c fix 500 error when all members leave group 2023-07-07 03:37:17 +03:00
Aevann fdf9e68801 remove unnecessay padding 2023-07-07 02:30:53 +03:00
Aevann 29876efcca increase ddos_detected limit to 3000 2023-07-07 01:23:06 +03:00
Aevann 6c89776b1d dont autopin ghost threads 2023-07-06 04:44:05 +03:00
Aevann bc13b908c8 increase loggedout_counter limit to 2000 2023-07-06 00:52:04 +03:00
Aevann 1adc447d18 do this https://rdrama.net/h/countryclub/post/79285/-/4493631#context 2023-07-05 23:45:57 +03:00
Aevann 31b685db57 boost all stealth holes by x2 2023-07-05 23:39:15 +03:00
Aevann 7ed0b8b494 improve GLOBAL 2023-07-05 21:44:57 +03:00
Aevann 9f8ffb528b fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4496247#context 2023-07-05 21:36:13 +03:00
Aevann e658bb6d01 fix /emojis on wpd 2023-07-05 19:22:40 +03:00
Aevann 86fa1090c3 remove edgy founder line 2023-07-05 19:17:04 +03:00
Aevann 74695cfef8 fix repeated endpoint 2023-07-05 00:55:53 +03:00
Aevann fcb74c7c9b convert /marseys into /emojis 2023-07-05 00:40:00 +03:00
Aevann 3e6622c511 cleanup in aisle 4 2023-07-03 03:26:20 +03:00
HeyMoon 7c040367fa Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165)
This PR adds orgies back into rdrama. Long ago, snakes made the original orgy code, and it was super fun. But he had to rush it out, and ended up making it a bit unsustainable, and had a couple questionable coding decisions, which meant that it had to be removed. Hey, the man literally did it in a few hours before the DB trial continued, lmao.

Anyways, I took my own approach to it. I do not use iframes, i just just repurpose code from /chat window. Because I had that freedom, I also moved things around to make the user experience a bit better. I also added a title to give users some context about what's happening. Check it out

![image](/attachments/6719146c-4922-4d75-967d-8d424a09b198)

Most importantly, this is all configurable from the site. Admins with the permission "ORGIES" will see this in their control panel

![image](/attachments/423d6046-a11d-4e84-bd2c-a2a641afd552)

Nigga, idk where to put it, so I made my own category.

If there is no orgy in progress, admins will see this:

![image](/attachments/7c64b9fa-cdf4-4986-a0c4-f2324878062e)

Click the button, and, viola, the orgy begins.

If there is an orgy in progress, the page will look like this:

![image](/attachments/b65be4b3-5db1-43cb-8857-7d3a8ea24ca7)

Click the button, and the orgy stops.

If an orgy is in progress, navigating to /chat will take the user to the orgy seemlessly. But what if they don't want to participate, liek some kind of spoilsport? Just navigate to /old_chat.

That's just about it, it's really that simple. I have lots of ideas for the future, but I'll let that wait til later :).

A few notes about implementation:
 - I moved some functionality out of /templates/chat.html and into /templates/util/macros.html. This is just so I could reference the code directly from my new template, /templates/orgy.html.
 - The orgy is stored as a single row in the new table "orgies". Okay, I know this is a little silly, but you know what they say: "if it's stupid and it works, it's not stupid". (tbf the oceangate ceo also said that)

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#165
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-07-02 23:55:37 +00:00
Aevann 499781329f remove event_darkmode 2023-07-03 01:55:56 +03:00
Aevann 25b9a0f535 stop usage of .update 2023-07-03 00:42:34 +03:00
Aevann 8f323c3ec6 restore perma-marsify toggle for paypigs only 2023-07-02 23:07:31 +03:00
Aevann f4af0779fd add error for signatures for non-paypigs 2023-07-02 22:57:08 +03:00
Aevann 1cd13cf4da make jannies able to award shadowbanned-cels 2023-07-02 20:24:21 +03:00
Aevann 0b4ead5f81 fix 500 error 2023-07-02 02:14:57 +03:00
Aevann c1d7b9acc2 fix duplicate cookie issue 2023-07-02 02:00:56 +03:00
Aevann fb1f282804 remove unnecessary route 2023-07-01 22:37:43 +03:00
Aevann b2b5633c8b fix forgotten subdomain 2023-07-01 22:37:32 +03:00
Aevann 7f6675f7f9 remove unddit.com (RIP u will not be forgotten) 2023-07-01 19:41:59 +03:00
Aevann aaa618657f disable ghost-posting in holes to prevent hole jannies from unmaking ppl who participate in them 2023-07-01 03:39:24 +03:00
Aevann 3cbea18327 make emoji search work on original usernames 2023-07-01 03:25:12 +03:00
Aevann cecacc25a4 fix wrong badge order 2023-07-01 02:10:50 +03:00
Aevann 67fa522b82 dont use pay_account and charge_account in votes 2023-07-01 00:49:10 +03:00
Aevann d4613c3308 allow ppl to make reposts 2023-07-01 00:35:39 +03:00
Aevann af4b262c7d add padding 2023-07-01 00:30:24 +03:00