Commit Graph

170 Commits (a88fb1045522a60cff6405f4ec5426249a4bb3f1)

Author SHA1 Message Date
Aevann a88fb10455 restore autoflush 2023-03-18 15:11:30 +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 127eae8379 fix image upload in localhost 2023-03-17 15:04:58 +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 57765f0776 revert sqlalchemy changes 2023-03-16 08:27:58 +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 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 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 5ce067ed70 remove file size alerts 2023-03-14 08:19:01 +02:00
Aevann 97608ea0a9 test getting rid of ![]( on devrama 2023-03-12 15:02:31 +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 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 57908aabf2 exclude jannoids with USE_ADMIGGER_THREADS perm from 50 files ratelimit 2023-03-07 02:46:51 +02:00
Aevann 1738f11f9c put the abort after the printing in media_ratelimit 2023-03-07 02:46:09 +02:00
Aevann e3fbc1a965 restrict printing to only large size difference 2023-03-07 02:21:12 +02:00
Aevann d3b14c3f30 use the i subdomain in rdrama only 2023-03-06 23:48:31 +02:00
Aevann 5d266835d0 print to console when size after conversion is higher than size before 2023-03-06 22:49:34 +02:00
Aevann 2ac830467b use STARS const 2023-03-06 22:49:01 +02:00
Aevann 873292d60d make remove_media() to fix 500 error 2023-03-06 21:32:08 +02:00
Aevann 4b6384d71d stop auto-apppending ![](, pointless now 2023-03-06 20:48:31 +02:00
Aevann 9117fd21cc fix all videos on wpd 2023-03-06 19:24:49 +02:00
Aevann a6121849d4 make image on localhost work 2023-03-06 19:20:06 +02:00
Aevann da806fbf4d fix cutoff 2023-03-06 18:58:27 +02:00
Aevann 5d9f9ef414 give the url of the existing image in the error 2023-03-06 18:37:43 +02:00
Aevann 9939614711 use i. subdomain for images 2023-03-05 21:33:18 +02:00
Aevann 0084de4273 add print statement to duplicate detection 2023-03-05 12:11:50 +02:00
Aevann 2d9580c30c print to console when 50 limit is hit 2023-02-27 18:25:58 +02:00
Aevann 8342e8b7c3 increase the limit from 8 files to 20 files 2023-02-27 18:05:28 +02:00
Aevann 5b71b0a81a refactor file upload 2023-02-27 17:02:35 +02:00