Albert Yi
5f33238074
Merge pull request #3612 from evazion/fix-iqdb-errors
...
Improve IQDB error handling
2018-04-09 10:53:40 -07:00
evazion
40827442c7
Fix #3614 : IQDB: don't index placeholder thumbnails.
2018-04-08 12:15:24 -05:00
evazion
2cbec785ea
Fix #3613 : Broken preview images for flash files.
2018-04-08 11:49:30 -05:00
evazion
5f930630e5
danbooru_default_config.rb: allow setting boolean options in env vars.
...
Allow setting e.g. `aws_s3_enabled?` with DANBOORU_AWS_S3_ENABLED="true"
in the .env file.
2018-04-08 11:24:53 -05:00
evazion
4097305e52
StorageManager::Hybrid#open_file: fix typo.
2018-04-07 21:06:38 -05:00
evazion
ad66b8abc9
common.js: show error on ajax failures.
...
Make `link_to ..., remote: true` ajax requests display an error notice on failure.
2018-04-07 18:04:43 -05:00
evazion
8de20d2b36
Iqdb::Download.find_similar: raise on iqdb errors.
...
* Raise an error on iqdb errors instead of returning no matches.
* Include the iqdb api response in the error response.
2018-04-07 18:03:10 -05:00
evazion
b88a66dd30
Iqdb::Download.find_similar: simplify error handling.
...
Raise errors immediately to avoid deeply nested if-else statements.
2018-04-07 18:03:10 -05:00
evazion
d8142a6c21
iqdb_queries_controller.rb: simplify show / check actions.
...
* Combine create_by_post + create_by_url. Rename to find_similar.
* Move iqdb enabled check to find_similar.
2018-04-07 18:03:01 -05:00
evazion
01eda51020
tests: add webm/mp4 upload tests.
2018-04-06 19:56:17 -05:00
evazion
e7eee185f7
Fix #3607 : Webm / mp4 uploads broken.
2018-04-06 19:55:26 -05:00
Albert Yi
fc344e589d
potential fix for #3604
2018-04-06 16:14:01 -07:00
Albert Yi
5a87fcfde3
Merge pull request #3602 from evazion/feat-link-userscripts
...
Add about:userscripts to site map.
2018-04-05 15:19:28 -07:00
evazion
a03270dbf1
Add about:userscripts to site map.
2018-04-05 16:52:46 -05:00
evazion
9b62b78183
Fix #3601 : Broken URLs in /posts.atom feed.
2018-04-05 16:46:23 -05:00
evazion
a432980f85
Fix "wrong number of arguments (given 3, expected 2)" in Post#file_url.
2018-04-05 15:33:47 -05:00
Albert Yi
7d745ac93f
Merge pull request #3598 from evazion/fix-3597
...
Possible fix for #3597 : Poor performance since last deploy
2018-04-05 13:11:21 -07:00
Albert Yi
916c73b7a8
Merge branch 'master' of github.com:r888888888/danbooru
2018-04-05 12:51:36 -07:00
Albert Yi
bf23a976e3
fix bug with async tagger check
2018-04-05 12:51:29 -07:00
evazion
8e457c7331
Disable user:<name> blacklists (temp fix for #3596 ).
2018-04-05 14:38:44 -05:00
evazion
084fcd91ed
Only generate tagged filenames for URLs on post show pages ( #3597 ).
...
Don't generate tagged filenames for urls in the data attributes on
thumbnails, or in the /posts.json api.
2018-04-05 14:20:37 -05:00
evazion
14977397fb
Fix "ArgumentError - wrong number of arguments" during tagging.
2018-04-05 13:27:37 -05:00
Albert Yi
e006380567
change reason field on flags and appeals to text
2018-04-03 16:14:42 -07:00
Albert Yi
b219992b7d
add async processing for top tagger
2018-04-03 16:00:36 -07:00
Albert Yi
23cb58c4e3
Merge pull request #3592 from evazion/fix-3583
...
Fix #3583 : Copying notes should also change meta tags in the destination post
2018-04-02 10:25:15 -07:00
evazion
c19a1b83a9
Fix #3573 : commentary: add source citation when fetching cross-site.
2018-03-31 17:20:20 -05:00
evazion
f15f2cbb81
Fix #3581 : Mod Dashboard: exclude or mark deleted comments.
2018-03-31 13:14:41 -05:00
evazion
8fd9d374ca
Fix #3583 : Copying notes should copy tags to destination.
2018-03-31 12:58:56 -05:00
evazion
8e7ad9eb97
Post#copy_notes_to: wrap in transaction.
2018-03-31 11:44:49 -05:00
evazion
04ecca6a06
Fix #3591 : DeviantArt commentaries: strip embedded image/text thumbs.
2018-03-31 11:27:14 -05:00
evazion
75cc1421a3
Fix #3590 : Superfluous space added on certain autocompletions.
...
Bug: searching for /wiki_pages?search[title]=touhou%20 didn't find the
'touhou' wiki. The space wasn't stripped when the title was normalized.
2018-03-30 22:24:34 -05:00
evazion
80219a0ccf
commentaries: replace <img> tags with dtext links ( #3586 )
...
Replace <img> tags with dtext links, unless the <img> tag is already
inside an <a> tag.
Also strip Unicode spaces from DeviantArt commentaries.
2018-03-30 21:42:51 -05:00
evazion
b185efbb5f
tumblr commentaries: include asker's name in ask posts ( #3586 ).
2018-03-30 21:42:51 -05:00
evazion
74d46708c7
INSTALL.debian: bump ruby version to 2.5.1 ( 4ff5af626).
2018-03-30 18:58:18 -05:00
Albert Yi
e4c30811b6
Merge pull request #3588 from evazion/fix-3570
...
Add limits on max dimensions of uploads
2018-03-29 20:20:42 -07:00
Albert Yi
6bb814678e
Merge pull request #3589 from evazion/fix-libvips-84
...
Workaround for libvips-8.4 incompatibility
2018-03-29 20:20:07 -07:00
evazion
fd055a894b
DanbooruImageResizer: workaround libvips-8.4 incompatibility.
2018-03-29 21:41:22 -05:00
evazion
c0c41dd369
uploads: add limits on max image dimensions.
2018-03-29 19:24:41 -05:00
Albert Yi
4ff5af626f
upgrade to ruby 2.5.1
2018-03-29 09:56:35 -07:00
Albert Yi
fa9442209e
fix typo in storagemanager/s3
2018-03-28 17:23:07 -07:00
Albert Yi
18dd47c557
Merge branch 'master' of github.com:r888888888/danbooru
2018-03-28 17:19:35 -07:00
Albert Yi
929b2fa896
move default base url to method to deal with deployment issues
2018-03-28 17:19:21 -07:00
evazion
be0c2cfcfa
posts: fix incorrect large_file_url for animated_gifs.
...
For animated_gif posts, large_file_url was returning
"/data/sample-$md5.jpg" instead of "/data/$md5.gif".
2018-03-28 19:17:15 -05:00
Albert Yi
8bdb7e982d
Merge pull request #3584 from evazion/feat-libvips
...
Fix #3582 : Switch from ImageMagick to libvips
2018-03-28 16:34:18 -07:00
evazion
dc9b7e5bda
Fix #3582 : Switch from ImageMagick to libvips
2018-03-28 17:15:57 -05:00
Albert Yi
6c790c61d3
replace uploader information post previews and comment listing, rename tagger to top tagger
2018-03-27 10:49:41 -07:00
Albert Yi
ce7e31325c
Merge pull request #3577 from evazion/feat-storage-manager
...
Introduce storage manager concept
2018-03-27 09:28:17 -07:00
evazion
619a2055fe
tests: add storage manager tests.
2018-03-20 19:49:58 -05:00
evazion
d089be9f8a
tests: fix upload tests.
2018-03-20 19:49:58 -05:00
evazion
41a4ff15cd
posts: remove unused file path / url methods.
...
* Remove file_path_for, cropped_file_url (dead code)
* Remove complete_preview_file_url (preview_file_url now returns absolute links)
* Remove `file_name` (only used for Download link in sidebar)
2018-03-20 19:49:55 -05:00