Commit Graph

7147 Commits

Author SHA1 Message Date
Albert Yi
a610111658 switch post previews to use flexbox, add better styling for cropped thumbnails 2018-07-18 11:38:00 -07:00
Albert Yi
ec44aa84fa Merge pull request #3779 from r888888888/storage-manager-match
Add matching storage manager
2018-07-13 09:48:15 -07:00
Albert Yi
ea210bdc75 Add matching storage manager 2018-07-12 17:15:41 -07:00
Albert Yi
4762de65e1 more robust handling of deviant art urls 2018-07-10 14:57:38 -07:00
Albert Yi
f9b63702bf support artist-path urls in deviant art rewrite strategy (#3771) 2018-07-09 16:47:59 -07:00
Albert Yi
4d4f36c2c8 make image cropping optional 2018-07-09 10:07:51 -07:00
Albert Yi
ac28c92fbd refactor upload service 2018-07-06 11:52:43 -07:00
Albert Yi
a0205be8b5 fixes #3771 2018-07-06 11:44:07 -07:00
Albert Yi
099654b2da truncate sources on upload listing 2018-07-06 11:02:26 -07:00
Albert Yi
7b74f5caf6 switch to using thumbs for voting 2018-07-06 11:02:14 -07:00
Albert Yi
36a5f684b5 disable post flag brigading check for system user 2018-07-05 17:08:54 -07:00
Albert Yi
89e2071c14 remove unused code 2018-07-05 16:59:28 -07:00
Albert Yi
ff6d8910b5 Merge pull request #3746 from r888888888/post-flagger-report
Post Flagger Report
2018-07-05 16:54:50 -07:00
Albert Yi
963627abd6 Merge pull request #3774 from lllusion3469/patch-2
Make dropzone accept mp4, webm, and swf files
2018-07-05 15:59:40 -07:00
Albert Yi
a9896031df more fault tolerance for uploads 2018-07-05 15:59:06 -07:00
Albert Yi
d9e15cbf31 add user scoping for upload start 2018-07-05 10:07:41 -07:00
Albert Yi
6dfb78fca8 split out image cropping to width x height, add StorageManager::Match 2018-07-03 17:59:53 -07:00
Albert Yi
99807580d5 add cropped support for video uploads 2018-07-03 16:37:53 -07:00
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
cdcd4d4014 Add additional post flag validation preventing targeting 2018-06-26 15:09:39 -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