Commit Graph

1206 Commits

Author SHA1 Message Date
BrokenEagle
118fd3baf4 Added list_of_* wikis to copyright related tag response 2017-12-18 15:36:08 -08: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
r888888888
36948bbf33 move explore links to sidebar, fix popular searches action 2017-11-13 11:14:09 -08:00
r888888888
e739dc77d7 fixes #3359 2017-11-10 17:44:53 -08:00
r888888888
546dfda6f3 truncate date to day 2017-11-10 16:28:34 -08:00
r888888888
8b1fca4662 add most viewed posts page 2017-11-10 16:21:01 -08:00
r888888888
6c4eb62957 fix scale reference 2017-11-10 15:59:23 -08:00
r888888888
8458c62e8a eliminate month scale for popular searches (takes up too much space in redis) 2017-11-10 15:40:10 -08:00
r888888888
6431dafa80 use json serializer for message verifier 2017-11-10 14:37:27 -08:00
r888888888
710a5f1abe fix typo 2017-11-10 14:06:56 -08:00
BrokenEagle
5b4ab8d80e Disallow a user from seeing flagger's name on own uploads 2017-11-08 00:37:16 -08:00
BrokenEagle
6838901aac Moved non-config tag category info to its own class 2017-11-07 16:21:29 -08:00
BrokenEagle
1e5540f3a0 Moved most of the tag category config logic to the config file
-Fixed an unused Post class method (fix_post_counts) that didn't have a parameter
2017-11-06 15:27:54 -08:00
r888888888
32ff7de6d8 fixes #3346 2017-10-30 14:47:00 -07:00