Albert Yi
b973e97648
Merge pull request #3434 from BrokenEagle/feat-copyright-other-wikis
...
Add character list wikis to copyright related tag response
2017-12-19 11:37:46 -08:00
BrokenEagle
118fd3baf4
Added list_of_* wikis to copyright related tag response
2017-12-18 15:36:08 -08:00
Albert Yi
f5cb49d9bf
Merge pull request #3433 from BrokenEagle/fix-fav-privacy
...
Fix incorrect showing of favorites and favorite groups with privacy settings enabled
2017-12-18 14:58:54 -08:00
BrokenEagle
26c168bdcd
Fixed incorrect showing of favorites
...
- Moved all favorite checking logic to same file
2017-12-18 12:17:17 -08:00
evazion
efeaad25ca
Move lib/danbooru, lib/danbooru_image_resizer to app/logical.
2017-12-18 12:07:52 -06:00
r888888888
b5d72ae8d8
fixes #3422
2017-12-15 17:21:33 -08:00
r888888888
a95af95eae
move desktop mode to user pref
2017-12-15 13:52:25 -08:00
evazion
4c39783d28
Fix #3424 : /iqdb_queries.json fails for certain urls.
...
Fix the HTML page -> image URL download rewrite strategy failing for
https://lohas.nicoseiga.jp/thumb/${id}i URLs.
2017-12-15 10:16:06 -06:00
Albert Yi
5da62eff8d
Merge branch 'master' into fix-3278
2017-12-13 14:30:08 -08:00
Albert Yi
850ac353ed
Merge pull request #3399 from BrokenEagle/fix-gold-safemode-message
...
Changed safe mode error message for Gold+ users
2017-12-13 14:26:50 -08:00
evazion
5819afced7
Fix #3412 : Mass updates incorrectly move saved searches.
2017-12-06 14:46:12 -06:00
BrokenEagle
839f0f653f
Changed safe mode error message for Gold+ users
...
- Made explicit the error messages and their order
- Banned takes priority, then Gold+, then Safe
- Made the groups exclusive of each other
2017-12-05 19:08:01 -08:00
evazion
45cecff1a6
Move with_timeout / without_timeout to ApplicationRecord.
2017-11-26 13:57:52 -06:00
r888888888
060762defa
add service for purging files from cloudflare cache
2017-11-22 13:19:30 -08:00
evazion
0b5ed163fe
Fix #3395 : fix pixiv API exception when uploading bad pixiv id images.
...
Fixes an exception when attempting to upload a Pixiv image from a
deleted work. The download strategy tries to fetch the source data in
the course of rewriting the URL, which fails if the work has been
deleted from Pixiv.
Raise a BadIDError and leave the URL as-is (don't rewrite it).
2017-11-21 14:40:39 -06:00
evazion
183a7e07e3
pixiv: fix failbooru when uploading bad pixiv id posts.
...
Fixes an "incompatible character encodings: UTF-8 and ASCII-8BIT"
exception when uploading a deleted Pixiv post.
Caused by the Pixiv API error message not having the encoding set to UTF-8.
2017-11-21 14:11:59 -06:00
evazion
a14c492020
Fix #3396 : Pixiv novel cover IDs are parsed incorrectly.
2017-11-21 13:03:03 -06:00
Albert Yi
051c17953d
Merge pull request #3393 from evazion/feat-safe-mode
...
Fix #3392 : Add safe mode account setting.
2017-11-21 10:55:57 -08:00
evazion
f8581c8113
Fix #3321 : HTML tags not converted in artist commentaries.
2017-11-21 02:42:49 -06:00
evazion
df7648b581
Fix #3392 : Add safe mode account setting.
2017-11-20 18:59:53 -06:00
r888888888
502f1298a9
fix unit tests
2017-11-20 16:30:07 -08:00
r888888888
9d5e4f969f
fix source tests
2017-11-20 12:30:29 -08:00
evazion
fa22e419af
Fix #3385 : Bookmarklet sets wrong source for Tumblr posts
...
Due to missing || operators, for Pawoo/Tumblr/Artstation uploads the
source wasn't changed from the direct image URL to the html page URL
after upload.
2017-11-18 15:44:16 -06:00
evazion
5837b74de4
tumblr: fix exception when fetching source data.
...
Fixes an `undefined method `gsub' for nil:NilClass` exception when fetching source
data for this url:
* /uploads/new?url=https%3A%2F%2Fuiti-ukumo.tumblr.com%2Fpost%2F156157443158%2F2016-12
Bug introduced in 3c524aa5 : `url` wasn't initialized due to `@url = url`
being removed from Sources::Site#initialize.
2017-11-18 15:44:09 -06:00
evazion
f896c24d37
tumblr: fail more gracefully if API key is not configured.
2017-11-18 13:53:11 -06:00
evazion
22c9cfcec5
Fix #3384 : Fetch commentary not creating fully formed textile links
2017-11-18 13:02:50 -06:00
r888888888
3c524aa5e6
fix bug with source::site
2017-11-17 17:26:33 -08:00
r888888888
9a3824a87e
fixes #3382
2017-11-17 16:18:59 -08:00
r888888888
e70c2a3085
remove references to tag subscriptions
2017-11-17 13:45:17 -08:00
r888888888
4e9ebbd02e
include creator in bulk revert messages
2017-11-16 14:44:57 -08:00
r888888888
3ad332ad3d
fix post test
2017-11-16 14:20:32 -08:00
r888888888
73f257ec63
disable manual post count expiration, rely solely on timed expiries ( fixes #3376 )
2017-11-16 13:43:38 -08:00
Albert Yi
058783755d
Merge pull request #3379 from evazion/fix-3377
...
Fix #3377 : Batch bookmarklet doesn't fetch artist/tags from twitter
2017-11-16 12:02:06 -08:00
r888888888
2e0534a66b
fixes #3372
2017-11-16 12:00:54 -08:00
evazion
eeb41d2ffd
twitter: get status id from referer url if not in direct url.
2017-11-16 13:29:58 -06:00
Albert Yi
7d8df00195
Merge pull request #3375 from evazion/feat-3372
...
Fix #3374 : List approver in BUR approval messages
2017-11-16 11:02:18 -08:00
r888888888
351dbb4137
attribute bulk reverts to system user
2017-11-15 17:34:11 -08:00
r888888888
3356ef3457
scope bulk reverts to admin
2017-11-15 17:30:40 -08:00
evazion
3cf753c540
Fix forum_post_id not being saved by alias/implication requests.
...
`forum_post_id` failed to save due to mass-assignment protection.
This caused alias approval messages ("The tag alias foo -> bar (forum #1234 ) has been approved.")
to not include the "(forum #1234 )" bit because the forum id was nil.
2017-11-15 19:12:13 -06:00
evazion
b5d602836c
Don't send @mention dmails when updating forum after approving BURs.
2017-11-15 19:12:13 -06:00
evazion
f2351766c6
Fix #3374 : List approver in BUR approval messages.
2017-11-15 19:12:12 -06:00
r888888888
fee3fee181
ignore timeout for bulk reverts
2017-11-15 17:01:45 -08:00
r888888888
2da40dfc2b
remove reference to currentuser when processing bulk reverts
2017-11-15 16:48:45 -08:00
Albert Yi
18c8892a74
Merge pull request #3373 from evazion/fix-3368
...
Fix #3368 : "Fetch source data" on /uploads/new doesn't fetch artist tag
2017-11-15 10:58:52 -08:00
r888888888
d29f2f6a13
fix bulk revert
2017-11-15 10:13:13 -08:00
evazion
cbd68ac91b
/source.json: do artist lookup and return matches in artists.
2017-11-14 23:28:25 -06:00
BrokenEagle
dc5fdf6893
TagCategory.header_mapping: fix incorrect comment.
2017-11-14 14:22:41 -06:00
evazion
6d8143a9eb
Fixup typo in 6fbd7c23 ( #3363 ).
...
Fixes accidental clobbering of the `@@categories` variable used by
`TagCategory.categories`.
2017-11-13 20:27:03 -06:00
evazion
6fbd7c23e1
Fix #3363 : Prevent setting tags to invalid categories.
2017-11-13 16:56:57 -06:00
Albert Yi
0674a03fb6
Merge pull request #3353 from BrokenEagle/feat-add-meta-tag-category
...
Migrated tag logic into config file and added fifth tag category meta
2017-11-13 11:44:15 -08:00