Commit Graph

1613 Commits (759c90fdf8f23ca31fe7191d5122dc4463d3a90b)

Author SHA1 Message Date
Aevann d3f04d5731 remove edit ratelimit since they cant edit shit older than 1 week anyway 2023-11-11 14:29:27 +02:00
Aevann 390bdd0a41 force some posts into countryclub 2023-11-04 18:16:29 +02:00
Aevann 1d477b5c72 dont generate notifs for removed posts and comments except to jannies 2023-10-29 16:01:57 +03:00
Aevann 237c989898 fix bug where chuds cant edit post title only 2023-10-29 00:02:14 +03:00
Aevann 5aca6c87b1 Revert "remove LLM exception since hes permachudded now"
This reverts commit 590664b3b0.
2023-10-18 20:11:40 +03:00
Aevann 590664b3b0 remove LLM exception since hes permachudded now 2023-10-18 16:27:29 +03:00
Aevann 92d5d15145 fix 2023-10-17 21:19:41 +03:00
Aevann d4d4afe866 process_poll_options -> process_options 2023-10-17 12:02:53 +03:00
Aevann c84f6895cb protect effortposts from the rainbow award 2023-10-15 16:55:03 +03:00
Aevann f6f254307f dedup effortpost protection and raise the limit from 1k to 3k characters 2023-10-15 16:54:29 +03:00
Aevann 1f0dd04406 rename column and award kind 2023-10-13 22:04:45 +03:00
Aevann 25372b7968 fix 500 error 2023-10-11 23:55:03 +03:00
Aevann 678faa9e73 make it not possible for a post to have "queen" or "sharpened" css class without having the body replacements (through editing above the 1000 mark) 2023-10-11 23:18:52 +03:00
Aevann a1b226117b make effortposts immune to "chud" award (janny chuds unaffected) 2023-10-11 23:15:28 +03:00
Aevann 3ff07e44b0 fix 500 error 2023-10-08 21:49:05 +03:00
Aevann 6e533bc030 move "other" hole to the bottom 2023-10-08 21:45:49 +03:00
Aevann bbc7a4772f stop using "flair" instead of "hole" in wpd 2023-10-07 21:04:12 +03:00
Aevann 62d1940a8f sub -> hole 2023-10-07 20:55:50 +03:00
Aevann 625ff6b006 more consistency between body-altering awards + effortpost protection 2023-10-07 18:35:16 +03:00
Aevann f83427bb12 prevent retards from doxing themselves through tiktok links - comment edition 2023-10-06 22:22:11 +03:00
Aevann 1fd6295e8c prevent retards from doxing themselves through tiktok links - post edition 2023-10-06 22:10:06 +03:00
Aevann 6c403fcb18 change "king" award to "gold" award 2023-10-06 20:39:27 +03:00
Aevann 31337145c4 Revert "fix reddit user /s/ links without having to visit them"
This reverts commit 0cb0015127.
2023-10-06 20:11:20 +03:00
Aevann 0cb0015127 fix reddit user /s/ links without having to visit them 2023-10-06 19:51:23 +03:00
Aevann bb7192c929 rename over_18 to nsfw 2023-10-05 13:19:50 +03:00
Aevann 019621490a refactor can_see and use it more 2023-10-05 13:09:58 +03:00
Aevann d952bf49db Revert "refactor can_see and use it more"
This reverts commit a0cf583460.
2023-10-05 12:55:35 +03:00
Aevann a0cf583460 refactor can_see and use it more 2023-10-05 12:22:05 +03:00
Aevann fc05cf4c80 add king award 2023-10-04 18:42:03 +03:00
Aevann 5c1a2ac7a1 18+ -> NSFW 2023-10-04 17:04:06 +03:00
Aevann dc7970db23 also show over_18 emojis to ppl who went through a nsfw warning in the past hour 2023-10-04 16:45:16 +03:00
Aevann bc8427d932 +18 -> 18+ 2023-09-29 23:57:58 +03:00
Aevann 43822b3322 add nsfw emojis 2023-09-29 10:15:29 +03:00
Aevann b74ba0a317 get rid of some TODOs 2023-09-29 06:19:51 +03:00
Aevann 8e27789847 make sure to wipe stickied_utc too 2023-09-29 04:24:36 +03:00
Aevann 9f7a761b73 homoween III + other random shit 2023-09-29 02:58:09 +03:00
Aevann 46633a4529 dedup sql-escaping code 2023-09-27 01: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 f11c687866 make award punishments still apply even if a janny edits the post/comment 2023-09-21 22:24:26 +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 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 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 6f88ef72f9 always use fake headers 2023-09-09 21:09:35 +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 9ee45b4a24 remove unnecessary spaces and tabs 2023-09-07 18:26:31 +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 f2ed74ec6a dedup sorting in the jinja templates 2023-09-05 17:32:36 +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 d6cbbc05c6 simplar syntax 2023-08-31 13:46:07 +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 1705893fa6 Revert "very needful update"
This reverts commit b0fb782b3c.
2023-08-23 05:26:41 +03:00
Aevann b0fb782b3c very needful update 2023-08-23 00:54:15 +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 8097c16b55 remove now-unnecessary lines relating to int vals 2023-08-20 19:03:34 +03:00
Aevann 96668282df use flush intead of commit 2023-08-20 06:04:25 +03:00
Aevann 4993c3a889 remove auto-flush to reduce average lock duration 2023-08-20 05:00:35 +03:00
Aevann 5b3a0a6073 reduce post ratelimit on wpd from 30/day to 20/day 2023-08-17 05:42:16 +03:00
Aevann ffc55ebb81 fix posting on wpd taking a million years 2023-08-17 04:53:37 +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 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 d920ae47c1 addendum to last commit 2023-08-15 23:34:06 +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 b06fc47a02 restrict the behavior added in last commit to post titles only 2023-08-13 17:23:47 +03:00
Aevann 1882653da6 addendum to 149095d91e 2023-08-12 17:56:39 +03:00
Aevann 5cbb95689b force darkdeity posts in mnn 2023-08-12 13:19:12 +03:00
Aevann 7ab046474f disallow !followers ping in posts 2023-08-11 16:38:49 +03:00
Aevann 3ec2038caf same as last commit 2023-08-11 16:15:34 +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 67f968d04d show who exiled the user in the icon 2023-08-08 20:01:58 +03:00
Aevann 8c76addad6 fix bug 2023-08-08 15:06:13 +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 3330c2517f total tracking parameter death 2023-08-05 21:51:09 +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 0cac3ed55f dont include THOT's other bets 2023-08-03 11:48:02 +03:00
Aevann 299bda3b8a """""fix"""""" ping groups in /submit 2023-08-02 11:27:03 +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 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 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 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 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 46d24cddfc same as 36b2db7b2b 2023-07-27 03:35:44 +03:00