Commit Graph

3446 Commits (498f77bcffe9252d27c32af9d9c283ee6345ce46)

Author SHA1 Message Date
Aevann cbdb82230a add imgur.io to approved_embed_hosts 2023-04-22 01:11:58 +02:00
Aevann 02427b6da0 same as last commit 2023-04-09 00:38:26 +02:00
Aevann bb11bf899e better DDOS mitigation 2023-04-08 23:34:28 +02:00
Aevann 75cbf0a637 make USE_ADMIGGER_THREADS JL4 only for rdrama 2023-04-05 14:26:46 +02:00
Aevann e9f8b87ee1 include more digits in "chance of winning" 2023-04-03 19:58:17 +02:00
Aevann 3162bd24bd remove slur filter fucking with chud phrase 2023-04-02 08:17:21 +02:00
Aevann 99fc86d097 add 2 more taglines 2023-03-31 23:21:50 +02:00
Aevann 3c138dfc52 boost cinchnews.com and usenetarchives.com 2023-03-31 23:15:15 +02:00
Aevann 363f1f315d minor improvement 2023-03-26 14:57:25 +02:00
Aevann ed7baccb5c minor fix 2023-03-26 14:28:32 +02:00
Aevann 5c32c8215e minor fix 2023-03-26 14:27:40 +02:00
Aevann 351e0ead9e remove unnecessary garbage 2023-03-26 00:48:04 +02:00
Aevann 21e0fa0bc6 fix "I stand with israel" and "I say this as a feminist ally" again lol 2023-03-26 00:18:23 +02:00
Aevann 3d1b8b26d1 make more emojis grant the glowie award 2023-03-26 00:08:36 +02:00
Aevann 6240bdc39f do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3864686#context 2023-03-26 00:06:44 +02:00
Aevann eddea21c43 minor devrama fix 2023-03-25 23:42:42 +02:00
Aevann 33464589aa add "offline mode" 2023-03-25 23:35:13 +02:00
Aevann 312abdee28 fix capitalizaation 2023-03-25 23:13:47 +02:00
Aevann 96330210e8 use SITE as a prefix for flask_cache 2023-03-25 22:57:27 +02:00
Aevann 5c3ba375ba move if condition 2023-03-25 21:04:20 +02:00
Aevann 1335b48ac6 allow more tags to have agendaposter_phrase 2023-03-25 20:49:35 +02:00
Aevann a3f555c23a fix 500 error 2023-03-25 20:32:31 +02:00
Aevann ba28e84138 refactor torturing and also replace "my" and "mine" 2023-03-25 20:18:48 +02:00
Aevann f52aae0ec3 change autojanny chud message 2023-03-25 18:46:50 +02:00
Aevann cb0ce662b8 fix this https://rdrama.net/post/157750/fresh-jannie-slack-leaks/3862406#context 2023-03-25 17:20:07 +02:00
Aevann b7659b2dd7 add mumsnet.com to boosted sites 2023-03-25 17:13:28 +02:00
Aevann f834514e1a fix deleting media 2023-03-25 17:07:12 +02:00
Aevann d871e6c9f8 allow chud phrase in header tags 2023-03-25 00:45:31 +02:00
Aevann 0b61725135 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3859093#context 2023-03-25 00:19:14 +02:00
Aevann 8be01572ad fix 2023-03-24 23:56:10 +02:00
Aevann cb4ea9a7f9 replace lone "nigger" 2023-03-24 22:50:04 +02:00
Aevann 94a5598bed fix "snigger" replacing to "sBIPOC" 2023-03-24 20:04:09 +02:00
Aevann e359bc008d reorder some variables around 2023-03-24 18:56:51 +02:00
Aevann d956431765 fix this https://rdrama.net/h/meta/post/157653/i-lost-my-house-vampire-founding 2023-03-24 17:22:17 +02:00
Aevann a0479ebee2 fix images on staging.rdrama.net 2023-03-24 14:54:09 +02:00
Aevann 275eef858f remove leftover print statement 2023-03-24 14:30:32 +02:00
Aevann 019253e6db use css for chud images instead 2023-03-24 14:29:19 +02:00
Aevann 3ee1851fa6 fix this https://rdrama.net/h/changelog/post/157290/rdramanet-is-proud-to-welcome-the/3852530#context 2023-03-24 13:43:18 +02:00
Aevann 792bc34d77 fix this https://rdrama.net/h/changelog/post/157290/rdramanet-is-proud-to-welcome-the/3852376#context 2023-03-24 13:31:12 +02:00
Aevann 85bc827f25 dont notify me for 4 modactions i dont care about 2023-03-24 12:37:05 +02:00
Aevann 7cd8a47783 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3852315#context 2023-03-23 22:27:02 +02:00
Aevann 2805fd2d14 print-debug weird 500 error 2023-03-23 22:19:29 +02:00
Aevann 7eee498070 fix bug where including the agendaposter phrase in the title exempted u from torture_ap 2023-03-23 21:03:02 +02:00
Aevann 49e73af7a4 reorder variables 2023-03-23 20:53:10 +02:00
Aevann 00654156a0 remove @ from torture_ap 2023-03-23 20:35:06 +02:00
Aevann 21c5b7cc1c remove unnecessary line 2023-03-23 20:20:01 +02:00
Aevann e163c2f5d0 fix chud exploit 2023-03-23 18:38:42 +02:00
Aevann e8c2952e3c add comment for future self 2023-03-23 17:53:01 +02:00
Aevann 5c071b749a allow polls with the same text 2023-03-23 17:52:31 +02:00
Aevann 2b7d122fd8 fix last commit 2023-03-23 17:41:57 +02:00
Aevann f5e507f795 fix 2 chud phrases 2023-03-23 17:36:28 +02:00
Aevann f5cf53238d remove weird logic 2023-03-23 16:13:42 +02:00
Aevann 910a8f7e6f raise USE_ADMIGGER_THREADS to JL4 2023-03-23 16:09:22 +02:00
Aevann 2e6acd4cc5 check chud phrase in post title too 2023-03-23 14:52:12 +02:00
Aevann 4f788cb909 dedup chud-checking logic 2023-03-23 14:50:01 +02:00
Aevann 51e8122b19 quick fix to complies_with_chud 2023-03-23 11:30:25 +02:00
Aevann f78cd322d1 much better chud award logic 2023-03-22 23:39:25 +02:00
Aevann ec9d6b5d68 add :#chudjaktalking: to chud_images 2023-03-22 18:49:48 +02:00
Aevann 6401debafe change taglines 2023-03-22 18:07:21 +02:00
Aevann d604656f5e increase post ratelimit 2023-03-22 16:08:42 +02:00
Aevann a28c79ba87 make R/ and U/ and H/ work (for phone posters) 2023-03-22 16:08:42 +02:00
Aevann 54cd63093f increase daily file limit to 75 2023-03-22 09:47:22 +02:00
Aevann 50680e0fa8 cut down on chud award evasion 2023-03-21 23:33:43 +02:00
Aevann 0a12e0c069 fix minor annoyance when uploading files 2023-03-21 20:35:31 +02:00
Aevann bdc5d8bd12 allow jannies to change the kind of emojis 2023-03-21 18:50:26 +02:00
Aevann 9b3782a9c3 add Donkey Kong emoji kind 2023-03-21 18:34:49 +02:00
Aevann 4c47cc5d63 stop implementing BAN_EVASION_DOMAIN since nobody actually uses it https://camas.unddit.com/#{%22searchFor%22:1,%22resultSize%22:100,%22query%22:%22stupidpol.site%22} 2023-03-21 17:39:26 +02:00
Aevann f14b759849 add "largest" to the taglines 2023-03-21 17:22:10 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann 59d2dd4954 add community.myfitnesspal.com to BOOSTED_SITES 2023-03-21 14:26:59 +02:00
Aevann aea76f941b make the taglines shorter + remove WPD's tagline 2023-03-21 13:43:28 +02:00
Aevann c93c7e81fa add ifunny.co to boosted sites 2023-03-19 19:56:27 +02:00
Aevann 65542b5fac dont strip poll options 2023-03-19 19:53:33 +02:00
Aevann b004617695 customizable chud phrases 2023-03-19 19:13:45 +02:00
Aevann df1ebf7cad use SITE_FULL_IMAGES in more places 2023-03-19 18:30:22 +02:00
Aevann f838166e8a add 9gag.com to BOOSTED_SITES 2023-03-19 18:18:43 +02:00
Aevann 2a9dfab16a fix /emojis getting cached on browser end 2023-03-19 17:15:20 +02:00
Aevann 0734892516 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3822890#context 2023-03-19 13:53:50 +02:00
Aevann 4d46268ad5 count non-marsey emojis too (to be used for emoji picker prioritization) 2023-03-19 10:33:04 +02:00
Aevann ccb9744a75 add breached.vc to BOOSTED_SITES 2023-03-19 10:30:27 +02:00
Aevann 20eef6e063 unify chudrama and CC's logic 2023-03-19 10:30:03 +02:00
Aevann ab93c94bfc add IGNORE_AWARD_IMMUNITY perm 2023-03-18 18:11:25 +02:00
Aevann 95a0edf070 disable "GIVE AWARD" button on carp and pizzashill 2023-03-18 18:10:14 +02:00
Aevann 8f60bfbeaa fix this https://stupidpol.site/post/155996/anyone-got-an-aqua-dots-bindeez/3818081#context 2023-03-18 17:33:24 +02:00
Aevann 89fe9cbc20 marsey -> emoji 2023-03-18 16:53:00 +02:00
Aevann 665bd82437 marsey -> emoji 2023-03-18 16:39:26 +02:00
Aevann dd54413cf3 convert marsey submission form to include all emojis 2023-03-18 15:34:04 +02:00
Aevann a88fb10455 restore autoflush 2023-03-18 15:11:30 +02:00
Aevann 49d958ef46 do this https://stupidpol.site/h/countryclub/post/79285/-/3810012#context 2023-03-18 12:59:30 +02:00
Aevann 8e923ffe05 remove 4 closed sites from BOOSTED_SITES 2023-03-18 11:36:24 +02:00
Aevann 386f8455f0 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3816789#context 2023-03-18 08:06:54 +02:00
Aevann 2c95c75940 stop asset submissions from erroring 2023-03-18 07:42:34 +02:00
Aevann 335c572aaf fix undefined variable 2023-03-18 07:41:22 +02:00
Aevann 8d096e1123 put a space before file link too 2023-03-17 19:40:55 +02:00
Aevann 0b0ad438a8 add SITE_FULL_IMAGES const 2023-03-17 17:57:31 +02:00
Aevann 0e4f886d92 fix last commit 2023-03-17 16:48:38 +02:00
Aevann f57d8e5ebc undo last commit 2023-03-17 16:46:30 +02:00
Aevann a4ff0d4c88 fix annoying 500 error 2023-03-17 16:38:54 +02:00
Aevann 127eae8379 fix image upload in localhost 2023-03-17 15:04:58 +02:00
Aevann 2d8434bfdc increase POST_BODY_LENGTH_LIMIT from 20k to 50k for non-patrons 2023-03-17 13:20:01 +02:00
Aevann bdeb32b3cf in process_dm_images, check if it is actually an image (using pillow) 2023-03-17 13:00:54 +02:00
Aevann 9e30061d6d remove conditions from "except" to make sure the file removal always happens 2023-03-17 13:00:10 +02:00
Aevann 023b398759 remove Media query i dont remember the purpose of 2023-03-17 12:50:49 +02:00
Aevann 32910c5cf5 remove new files if they exist too 2023-03-17 12:50:19 +02:00
Aevann 0dc9e1e35a wipe metadata from audio files - also serving as anti-malware 2023-03-17 12:50:13 +02:00
Aevann 3eabcdb950 dont use remove_media in media.py 2023-03-17 12:25:31 +02:00
Aevann 1190c9d063 wrap all subprocess commands we use in media.py in try except to delete old files 2023-03-17 12:23:06 +02:00
Aevann 3365e933df only use audio/video extensions that CF caches by default 2023-03-17 11:39:01 +02:00
Aevann 9299587c34 add notification thread for WPD 2023-03-17 09:24:37 +02:00
Aevann 0ef1a9c856 fix overflow bug 2023-03-16 12:24:20 +02:00
Aevann 36862484c1 add "my wife" to the rdrama slur filter 2023-03-16 12:03:24 +02:00
Aevann 57765f0776 revert sqlalchemy changes 2023-03-16 08:27:58 +02:00
Aevann 31820a708d add trans woman to the slur filter (filters to "real woman") 2023-03-16 06:25:00 +02:00
Aevann a392fbb86d restore autoflush 2023-03-16 06:21:57 +02:00
Aevann 132f7a4115 add BOTS feature 2023-03-16 06:07:39 +02:00
Aevann 3de34c9a65 Merge branch 'keep-session-open' of https://fsdfsd.net/rDrama/rDrama 2023-03-15 08:02:47 +02:00
Aevann f5682dd483 fix video and audio links 2023-03-15 08:00:02 +02:00
Aevann b2dc965846 more fixes 2023-03-15 07:29:59 +02:00
Aevann c6a7051200 flush instead of committing inside requests 2023-03-15 07:19:35 +02:00
Aevann fe2f1293f1 more fixes 2023-03-15 07:13:58 +02:00
Aevann e7dc7c5641 fix 2023-03-15 07:09:46 +02:00
Aevann a068d22213 more fixes 2023-03-15 06:47:47 +02:00
Aevann f768d81103 keep db sessions open 2023-03-15 05:58:00 +02:00
Aevann 903fb21961 fix images again 2023-03-15 05:07:43 +02:00
Aevann bc9eeba998 same as last commit 2023-03-15 04:53:37 +02:00
Aevann 77d8dd8737 print debugging 2023-03-15 04:53:15 +02:00
Aevann 59159ee79b fix last commit 2023-03-15 04:49:26 +02:00
Aevann da19ef96d1 fix images again 2023-03-15 04:46:54 +02:00
Aevann e5ac46c01a add itjustbugsme.com to boosted sites 2023-03-15 04:44:21 +02:00
Aevann 096fb962f1 remove notify_jannies_of_grooming 2023-03-15 04:20:56 +02:00
Aevann 35c0b5c1eb mention adjustment to mention_regex 2023-03-15 03:51:11 +02:00
Aevann b48a7dd129 fix images 2023-03-14 15:35:31 +02:00
Aevann 60c2f7e628 same as last commit 2023-03-14 10:19:02 +02:00
Aevann 4644e62c99 fix last commit 2023-03-14 10:11:45 +02:00
Aevann 74e7464f54 fix image links getting broken 2023-03-14 10:08:50 +02:00
Aevann 6583ee9b91 stop image_regex from eating spaes after image 2023-03-14 09:09:25 +02:00
Aevann 5ce067ed70 remove file size alerts 2023-03-14 08:19:01 +02:00
Aevann c8ca6d279d stop repetitive under siege shadowban 2023-03-13 21:22:39 +02:00
Aevann 729b095713 remove /h/masterbaiters 2023-03-13 20:53:08 +02:00
Aevann f8e95564b5 make h/hole be valid syntax for moving post 2023-03-13 20:51:30 +02:00
Aevann 08ae593de1 fix this https://stupidpol.site/post/154579/betting-badge-opportunity-are-you-a/3782163#context 2023-03-13 20:33:19 +02:00
Aevann bc09b2e435 add 5 more boosted holes 2023-03-13 17:26:46 +02:00
Aevann e484feffc4 add /h/wallstreetbets and /h/lit to boosted holes 2023-03-13 08:20:18 +02:00
Aevann eb490b150d add 3 comments to BOOSTED_SITES 2023-03-13 07:42:48 +02:00
Aevann 95dc636aa0 add .party to supported tlds 2023-03-13 07:29:50 +02:00
Aevann 510d962822 under siege - dont repetitively ban the same person 2023-03-12 22:46:13 +02:00
Aevann f77d9eba83 add bitchute to allowed_hosts 2023-03-12 21:55:34 +02:00
Aevann 325a8996d8 fix youtube timestamp edge case 2023-03-12 21:07:23 +02:00
Aevann a7a104348d fix polls 2023-03-12 20:40:18 +02:00
Aevann 314880fb1b fix bad regex 2023-03-12 19:43:43 +02:00
Aevann 84f0c2896e make the regex for options less sensitive 2023-03-12 19:41:56 +02:00
Aevann d2ccce4dba allow making bets in comments 2023-03-12 19:36:35 +02:00
Aevann d85d813889 change bet syntax 2023-03-12 19:00:02 +02:00
Aevann d18c3ae86a censor push notifs to prevent irl embarrassment 2023-03-12 16:56:44 +02:00
Aevann 96457e4998 fix pinging 2023-03-12 16:54:03 +02:00
Aevann 6c239faacb better notification when bite award expires 2023-03-12 16:27:22 +02:00
Aevann 835c5f810d use .img class 2023-03-12 15:13:28 +02:00
Aevann b6b1597748 whenever u import from const, import everything 2023-03-12 15:03:58 +02:00
Aevann 97608ea0a9 test getting rid of ![]( on devrama 2023-03-12 15:02:31 +02:00
Aevann 4ad72f0e9e remove DONT_SHADOWBAN const 2023-03-12 14:44:16 +02:00
Aevann 48dd721feb mentions - try consolidating regex 2023-03-12 12:27:22 +02:00
Aevann 6bef780e6c sort modactions alphabetically 2023-03-12 12:25:03 +02:00
Aevann 9fd6ca1816 fix snappy quote 2023-03-12 11:30:22 +02:00
Aevann 563ced8707 boost all sites with "chan" in the domain 2023-03-12 11:10:08 +02:00
Aevann 0f62958024 minor fix 2023-03-12 10:31:17 +02:00
Aevann b79744f73b clearer error for ping groups 2023-03-12 02:08:57 +02:00
Aevann 257a38548a include "css" in error 2023-03-11 23:55:40 +02:00
Aevann dead7b5b6e reduce chudrama TS gate from 1488 to 10 2023-03-11 23:54:08 +02:00
Aevann ccf6ccd468 same as last commit 2023-03-11 11:50:29 +02:00
Aevann b4e4e6e5e3 make the default NOTIFICATION_SPAM_AGE_THRESHOLD 0 2023-03-11 09:44:18 +02:00
Aevann 83550c33bd fix last commit 2023-03-11 09:36:41 +02:00
Aevann 0df1240473 give devrama localhost features 2023-03-11 09:18:25 +02:00
Aevann 04844fc7ce add automatic DDOS mitigation 2023-03-11 08:13:58 +02:00
Aevann fb57d433cd make alerts more forgiving 2023-03-11 07:07:10 +02:00
Aevann 02c9f446a5 fix regex 2023-03-11 07:04:01 +02:00
Aevann 84cebda61f rename perm to be more clear 2023-03-11 06:53:54 +02:00
Aevann 3a0cc36679 exclude me from showmore 2023-03-11 01:49:46 +02:00
Aevann ba22df33df fix showmore 2023-03-11 01:30:42 +02:00
Aevann af620ac05e make linking to link groups case insensitive 2023-03-10 23:49:03 +02:00
Aevann 2ed9571176 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3754221#context 2023-03-10 04:21:57 +02:00
Aevann 54bd633fda fix group mentions charging even if u were a member 2023-03-10 04:17:13 +02:00
Aevann 5e4a843e8e add MODS_EVERY_GROUP perm for myself 2023-03-10 04:10:17 +02:00
Aevann 2a03063f82 remove the hour element of POST_RATELIMIT 2023-03-10 04:00:55 +02:00
Aevann 4a356d99ca exclude ping groups from owoify award 2023-03-10 03:45:58 +02:00
Aevann 3c67275056 consistency in regex.py 2023-03-10 03:39:02 +02:00
Aevann 60d0ff395c fix this https://stupidpol.site/h/foid/post/153435/good-morning-foid-comedian-marseyclown-says/3753551#context 2023-03-10 02:04:13 +02:00
Aevann 0ae7c0c26f make badge_name_regex more permissive 2023-03-10 00:35:45 +02:00
Aevann ad463de015 fix unimported push_notif 2023-03-10 00:32:31 +02:00
Aevann 514b7bfa7f ratelimit /delete_media and notify me of its usage 2023-03-09 22:50:12 +02:00
Aevann 053380e512 decrease JLs again 2023-03-09 22:48:54 +02:00
Aevann e5800511ff decrease JLs 2023-03-09 22:47:14 +02:00
Aevann 9f66e33061 Revert "convert IS_FISTMAS and IS_HOMOWEEN from functions to variables"
This reverts commit b45d845630.
2023-03-08 08:51:40 +02:00
Aevann b45d845630 convert IS_FISTMAS and IS_HOMOWEEN from functions to variables 2023-03-08 08:10:18 +02:00
Aevann 349d1975d7 fucking 2023-03-07 22:38:22 +02:00
Aevann 3afecb326b fix videos and image on WPD 2023-03-07 22:33:12 +02:00
Aevann 5a0f7e540d make group names case-insensetive 2023-03-07 20:55:17 +02:00
Aevann 042e779ca3 increase threshold for size printing 2023-03-07 12:20:42 +02:00
Aevann 92ac8d1dcc convert KB values to int 2023-03-07 07:19:47 +02:00
Aevann 4909db3e1e print sizes in KB 2023-03-07 03:53:05 +02:00
Aevann d230167f4d completely pointless syntax change 2023-03-07 03:51:48 +02:00