forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

3403 Commits (519fbef9a7f6abacf44de4113563a86dda982ee6)

Author SHA1 Message Date
Aevann f279509b76 use \w instead of a-zA-Z0-9_ 2023-04-23 15:22:41 +02:00
Aevann 62b9cb6ae2 fix patting users with "_" and "-" in their username 2023-04-23 15:18:25 +02:00
Aevann ca09b729b7 add line break 2023-04-23 15:15:29 +02:00
Aevann 2edb56638c delete leftover line of code 2023-04-23 15:10:20 +02:00
Aevann c9547ec8c6 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3930251#context 2023-04-23 12:18:16 +02:00
Aevann 3796fa836c protect /h/museumofrdrama from automatic deletion 2023-04-23 04:53:12 +02:00
Aevann 064918acd0 fix vamp bug 2023-04-23 04:42:28 +02:00
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