Commit Graph

291 Commits (master)

Author SHA1 Message Date
Aevann 95e1b40f83 optimize video size 2024-02-05 09:05:36 +02:00
Aevann 65a28daefb strip body after process_files 2024-01-13 10:46:20 +02:00
Aevann 95ec83d940 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/5717192#context 2024-01-10 23:34:31 +02:00
Aevann 0e1cd701a2 make limit message accurate 2023-11-16 15:10:10 +02:00
Aevann 8a44abe119 increase file limit to 300 for paypigs 2023-11-16 15:09:44 +02:00
Aevann 892503f84b restore console error on rdrama 2023-11-16 14:59:57 +02:00
Aevann 59450b2399 remove daily limit console alerts since i instinctively ignore them anyways 2023-11-11 14:56:32 +02:00
Aevann b24c25d30c same as last commit 2023-10-17 19:37:03 +03:00
Aevann f80377a31b change minor code syntax 2023-10-15 18:05:38 +03:00
Aevann ddf429af3d better error message 2023-10-15 18:05:38 +03:00
Aevann 1fd6295e8c prevent retards from doxing themselves through tiktok links - post edition 2023-10-06 22:10:06 +03:00
Aevann c2c16649cb fix this https://rdrama.net/post/209432/marseykong2marseygorillamarseybowmarseyboobamarseytwerking/5115725#context 2023-10-06 16:56:48 +03:00
Aevann 19ba15140b fix ios video issue 2023-09-26 20:50:31 +03:00
Aevann cfab8408ac use ffmpeg-python (#209)
Reviewed-on: #209
2023-09-26 16:58:51 +00:00
Aevann 5347f58382 fix 500 error 2023-09-18 14:40:29 +03:00
Aevann a94171f1e7 Update files/helpers/media.py 2023-09-17 23:03:38 +00:00
Aevann ac6a71223d fix mp3 songs 2023-09-17 23:14:41 +03:00
Aevann 70a3510ed4 counter a cp spammer 2023-09-15 03:10:11 +03:00
Aevann b3ef4734a5 more accurate function name 2023-09-15 03:07:17 +03:00
Aevann a22c14f21c remove unnecessary shit 2023-09-15 02:19:44 +03:00
Aevann 9ee45b4a24 remove unnecessary spaces and tabs 2023-09-07 18:26:31 +03:00
Aevann 6808b2a2bb remove unnecessary line 2023-08-25 06:54:35 +03:00
Aevann de2536aeba fix emoji size 2023-08-25 06:38:15 +03:00
Aevann e87de9eae1 minor chat fix 2023-08-21 21:26:22 +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 e35803e702 do this https://rdrama.net/h/countryclub/post/79285/-/4788305#context 2023-08-12 23:00:11 +03:00
Aevann 4db24f2ecf consistency 2023-08-12 22:52:23 +03:00
Aevann 1ed722c3b2 check file size via javascript to prevent unneedful upload of files that would get rejected by server for being too large 2023-08-12 21:28:21 +03:00
Aevann f0ac2fba2f chat error fix 2023-08-10 16:12:43 +03:00
Aevann 6d808bd006 deal with 500 error 2023-08-06 05:13:57 +03:00
Aevann e6e03bcde0 dont trust file extensions 2023-08-04 19:44:37 +03:00
Aevann b8dd67088b dont print shit i dont care about 2023-08-04 17:07:51 +03:00
Aevann 95d82073f3 fix some banners or sidebars not being uploaded when 1 of them is a repeat 2023-08-04 16:19:00 +03:00
Aevann ed7289ef71 fix visual bug 2023-08-04 16:03:46 +03:00
Aevann a0d40c94b5 make a piece of code a little prettier 2023-08-04 01:22:37 +03:00
Aevann 8caa93f9cd use {patron} 2023-08-02 00:56:17 +03:00
Aevann 467135421a Revert "enforce consistency for ffmpeg params"
This reverts commit 19b30e726b.
2023-07-31 03:25:47 +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 b5c1bd2ca9 remove print statement giving info i dont care about 2023-07-30 03:01:02 +03:00
Aevann 19b30e726b enforce consistency for ffmpeg params 2023-07-29 21:50:09 +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 ab62bc501e dont change extension since we copy the encoding 2023-07-28 19:44:09 +03:00
Aevann f16d107ba5 mp4 supremacy 2023-07-28 19:40:44 +03:00
Aevann 088dd3b726 wipe the cache the correct video url in wpd 2023-07-28 02:04:58 +03:00
Aevann 77e16c017f remove unnecessary argument 2023-07-26 15:27:27 +03:00
Aevann a2eeefc058 dont put abort inside a gevent func 2023-07-23 18:16:00 +03:00
Aevann 74e9f21261 much more intuitive upload flow 2023-07-22 19:29:19 +03:00
float-trip a4d19ec391 Add Marseygen exception. (#171)
I'll submit a rollback tomorrow for this.

Co-authored-by: float-trip <float-trip@fsdfsd.net>
Reviewed-on: #171
Co-authored-by: float-trip <float-trip@noreply.fsdfsd.net>
Co-committed-by: float-trip <float-trip@noreply.fsdfsd.net>
2023-07-20 21:26:59 +00:00
Aevann 59dde6cfbc stop worker timeouts 2023-07-11 05:24:17 +03:00
Aevann 3964a27281 fix worker timeouts 2023-07-08 17:03:58 +03:00
Aevann 4d1b00d780 fix ./magick: error while loading shared libraries: libMagickCore-7.Q16HDRI.so.10: cannot open shared object file: No such file or directory 2023-07-07 02:30:46 +03:00
Aevann bac356db1d make sure all usages of subprocess have timeout duration 2023-06-29 22:38:55 +03:00
Aevann daeaff2f02 support .m4a audio 2023-06-24 11:25:28 +03:00
Aevann 73e93e69fb Revert "increase max video size to 100MB"
This reverts commit 9cee89afc5.
2023-06-07 06:09:41 +03:00
Aevann 9cee89afc5 increase max video size to 100MB 2023-06-07 05:56:42 +03:00
Aevann 2067638d4c Revert "migrate images again"
This reverts commit 240bd7354c.
2023-05-17 09:12:17 +03:00
Aevann 240bd7354c migrate images again 2023-05-16 11:47:16 +03:00
Aevann 1880048bf1 get rid of imei.sh and put the binary in the repo 2023-05-15 02:46:21 +03:00
Aevann 519fbef9a7 rename dm_images to dm_media 2023-05-12 18:27:46 +03:00
Aevann b4ef8c53de fix error message 2023-05-11 16:57:53 +03:00
Aevann 002fabaf0e test webhook 2023-05-09 23:12:34 +03:00
Aevann b851f35372 increase daily file limit from 75 to 100 2023-05-09 22:46:30 +03:00
Aevann f3a0080698 remove useless tabs 2023-05-06 00:47:07 +03:00
Aevann 26dae77c86 easier panel 2023-05-05 04:32:57 +03:00
Aevann 0dc8b5ccb1 don't use pomf for DM images anymore and allow for video and audio in DMs 2023-05-05 00:52:37 +03:00
Aevann f834514e1a fix deleting media 2023-03-25 17:07:12 +02:00
Aevann 54cd63093f increase daily file limit to 75 2023-03-22 09:47:22 +02:00
Aevann 0a12e0c069 fix minor annoyance when uploading files 2023-03-21 20:35:31 +02:00
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