Commit Graph

7128 Commits

Author SHA1 Message Date
lllusion3469
0502f3ece1 Make dropzone accept mp4, webm, and swf files
to match the rest of the code base

For flash files I've used the file extension because the mime type is browser
specific and I've found at least 2 different variations for .swf:
1. `application/vnd.adobe.flash-movie`: wikipedia
2. `application/vnd.adobe.flash.movie`: mailcap, firefox
some other browser may not even know the .swf extension in the first place
2018-07-03 18:53:34 +02:00
Albert Yi
7f895bd91f fix specs 2018-07-02 15:19:19 -07:00
Albert Yi
867406f410 handle the case where a file is uploaded that doesn't match whatever was preprocessed 2018-07-02 14:47:23 -07:00
Albert Yi
9a522d9fef for upload service, move md5 validation to upload/post. exclude self when doing a self replacement. 2018-07-02 13:26:47 -07:00
Albert Yi
c01a1f0f00 remove hardcoded references to webmaster@danbooru.donmai.us and r888888888@gmail.com 2018-07-02 10:49:26 -07:00
Albert Yi
f4d5932a66 update dockerfiles 2018-06-25 17:29:01 -07:00
Albert Yi
2d8fcf820e udpates to ci dockerfiles 2018-06-25 16:06:39 -07:00
Albert Yi
9c148fada4 update ci dockerfile to build and install vips 2018-06-25 15:39:23 -07:00
Albert Yi
7f6716d35f fixes #3766 2018-06-25 15:17:30 -07:00
Albert Yi
4836804cae bubble up upload validation errors during replacement
restore missing UploadService::Replacer tests
addresses #3761
2018-06-25 15:04:29 -07:00
Albert Yi
24f8710877 always display related tags container instead of trying to conditionally hide it (#3765) 2018-06-25 14:18:18 -07:00
Albert Yi
c17e0baad0 prefer file over source when both are provided (#3767) 2018-06-25 14:00:02 -07:00
r888888888
160998daca switch to vipsthumbnail smartcrop 2018-06-24 11:05:14 -07:00
r888888888
f506a909ed autocomplete tweaks 2018-06-24 01:37:30 -07:00
r888888888
6b0be1e092 show reltags when searching for artist onyl 2018-06-23 17:27:40 -07:00
r888888888
5aae4b649f add xhr variant detection 2018-06-23 12:09:01 -07:00
r888888888
62235e215e iqdb fixes 2018-06-23 11:15:14 -07:00
r888888888
8f2f418613 fix iqdbproxy 2018-06-23 11:09:03 -07:00
r888888888
3ba5c6fb51 refactor iqdb endpoints 2018-06-23 10:59:04 -07:00
Albert Yi
27baa08e59 include size in preview 2018-06-22 16:59:21 -07:00
Albert Yi
56b40a0255 add iqdb preview 2018-06-22 16:41:13 -07:00
Albert Yi
bf9750c826 Merge pull request #3759 from r888888888/image-cropping
Image cropping
2018-06-22 15:13:02 -07:00
Albert Yi
64446d49e1 add image cropping support 2018-06-22 14:41:57 -07:00
Albert Yi
df73c682db manually update counters (#3757) 2018-06-21 15:38:21 -07:00
Albert Yi
02d449c514 fixes #3763 2018-06-20 15:25:56 -07:00
Albert Yi
da825addb9 fix site map 2018-06-20 14:54:02 -07:00
Albert Yi
e262295cf1 support json for iqdb query actions 2018-06-20 11:53:44 -07:00
Albert Yi
28663351d1 fixes #3757 2018-06-20 11:27:49 -07:00
Albert Yi
e551ff9b0c fix tests 2018-06-20 11:11:46 -07:00
Albert Yi
d240fdde66 fix Utils.is_downloadable? for null case 2018-06-20 10:51:29 -07:00
Albert Yi
62218fdb51 move uploader upload count increment from upload to post 2018-06-20 10:43:48 -07:00
Albert Yi
3f6e069eed fixes #3762 2018-06-20 10:07:27 -07:00
Albert Yi
56ee44dc00 fixes to iqdb queries 2018-06-20 10:00:05 -07:00
Albert Yi
51a11561c3 addresses #3760 2018-06-19 17:20:40 -07:00
Albert Yi
f806b9a0bf disable drag and drop support for iqdb 2018-06-19 17:14:54 -07:00
Albert Yi
ed46e575c0 support url/post_id params on iqdb queries endpoint 2018-06-19 17:06:17 -07:00
Albert Yi
3035f4f1bb Merge pull request #3744 from r888888888/iqdb-drop
Enable drag-and-drop support for IQDB search
2018-06-19 14:25:53 -07:00
Albert Yi
9510dead9f refactor iqdb query support 2018-06-19 14:16:12 -07:00
Albert Yi
97d0dca8a4 increase timeout of deleting preprocessed images 2018-06-19 13:27:58 -07:00
Albert Yi
2ec97bc8ba display more info in upload page 2018-06-19 12:46:17 -07:00
Albert Yi
a560d61b68 handle preprocessed dups 2018-06-19 12:39:03 -07:00
Albert Yi
35bc9a2e32 capture errors thrown on upload preprocessing create 2018-06-19 11:28:13 -07:00
Albert Yi
558be081b2 don't change attribution of uploads on update 2018-06-19 11:14:35 -07:00
Albert Yi
578e5a6fea fix bug with deleting uploads 2018-06-19 11:09:56 -07:00
Albert Yi
a64a9fa0d4 additional tweaks to upload preprocessor 2018-06-19 10:51:05 -07:00
Albert Yi
88dec0f592 dup record when distributing files 2018-06-18 15:41:44 -07:00
Albert Yi
cd043c4868 fix bug with files geting uploaded to wrong servers 2018-06-18 14:20:33 -07:00
Albert Yi
cc24b0a54f fix bug with copy-pasted urls in uploads/new erroring out 2018-06-18 10:23:01 -07:00
Albert Yi
a9c4210bb5 fixes #3739 2018-06-15 16:12:33 -07:00
Albert Yi
c89c861326 Merge pull request #3718 from r888888888/async-uploads
Asynchronous Uploads
2018-06-15 14:53:37 -07:00