forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

1591 Commits (528212629356c2bdcde4c898a7f2b8ee0d6617ca)

Author SHA1 Message Date
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
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 6ceb087912 restore necessary flush 2023-07-26 01:08:33 +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 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 feec6740d1 catch ffmpeg timeout for making poster 2023-07-23 18:14:10 +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 6726668237 force LLM posts in chudrama 2023-07-22 19:32:46 +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 649ea49c67 mute annoying errors 2023-07-18 13:17:37 +03:00
Aevann c2d709e9ef dont allow saves sorting in posts (it results in 500 error) 2023-07-17 20:32:41 +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 ff67e30949 dont count failed requests towards ratelimit 2023-07-13 16:50:46 +03:00
Aevann fca27c37eb remove unnecessary v shit 2023-07-08 16:32:14 +03:00
Aevann ecf3e1133f exempt kaamrev from 1week edit limit 2023-07-08 00:28:08 +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