evazion
39bd141667
artstation: fix fetch source data for image urls.
...
Fixes 'Fetch source data' when uploading an image url and the referer
url is available:
* https://danbooru.donmai.us/uploads/new?url=https://cdna.artstation.com/p/assets/images/images/006/029/978/large/amama-l-z.jpg&ref=https://www.artstation.com/artwork/4BWW2
2017-06-07 10:20:18 -05:00
evazion
b1171306a1
artstation: include only images in image_urls.
2017-06-07 10:20:18 -05:00
evazion
215569fbe0
artstation: fix source to page url after download.
2017-06-07 10:20:17 -05:00
evazion
a68ff3c347
artstation: accept www.artstation.com/artwork/foo-bar-baz style urls.
2017-06-07 10:20:17 -05:00
evazion
fed23c0baa
fetch source data: fix gallery warning for non-pixiv galleries.
2017-06-06 23:03:07 -05:00
evazion
047fb68f45
Fix #3117 : Nicoseiga handler grabbing wrong commentary source
...
* `summary` is the wrong field. It's the list of comments left by users,
not the artist's commentary.
* For some reason `doc.response.image.description` returns nil even
though the description element exists. Switch to `Hash.from_xml` to
avoid this.
2017-06-06 13:44:43 -05:00
r888888888
e16320a376
fix paths of large sized images on s3 backup
2017-06-05 13:07:51 -07:00
evazion
b3e533f3ff
Add download rewrite for https://$artist.artstation.com/projects/$id .
2017-06-05 14:03:51 -05:00
evazion
666aaef69c
Add source support for https://$artist.artstation.com/projects/$id .
2017-06-05 14:03:38 -05:00
r888888888
09ed1ea720
another bug fix for nico seiga artist url normalization
2017-05-31 15:50:40 -07:00
r888888888
69fd6e6ca1
fixes #3102
2017-05-31 10:58:47 -07:00
r888888888
216ca06fee
fixes #3100
2017-05-30 15:38:01 -07:00
r888888888
3a49b3c54b
include normalized artist url in artist json
2017-05-30 12:01:18 -07:00
Albert Yi
7a3431caaa
Merge pull request #3097 from evazion/fix-mass-update
...
Mass updates: fix exception when moving saved searches.
2017-05-30 11:41:16 -07:00
Albert Yi
5b56596de1
Merge pull request #3092 from evazion/opt-reltags
...
Optimize related tags calculation
2017-05-30 11:12:24 -07:00
evazion
88d14b30ed
mass updates: log modaction after update successfully completes.
2017-05-28 11:56:44 -05:00
evazion
c1a8800bf8
mass updates: fix exception when moving saved searches.
2017-05-28 11:55:05 -05:00
evazion
8f98e8e03c
posts: redefine source column to be non-NULL ( fixes #3090 ).
2017-05-26 13:54:17 -05:00
evazion
991d5cbf6d
related tags: optimize calculate_from_sample.
...
calculate_from_sample is called when clicking the General / Artist /
Copyright / Characters buttons during tag editing. Currently it's slow
because it counts up the tags in ruby, and because it makes repeated
calls to memcache in the inner loop when filtering tags by category.
This changes it to do the counting and filtering entirely in SQL using a
GROUP BY tag / COUNT(*) aggregation. This is faster and makes larger
sample sizes more feasible.
2017-05-26 12:41:48 -05:00
evazion
1a52f9db2b
wiki pages: add wildcard support to "other names" search.
2017-05-24 14:59:00 -05:00
evazion
05c6716def
Fix date:, age: metatags to use the index. ( fix #672 ).
2017-05-23 12:59:08 -05:00
Albert Yi
582666cc7f
Merge pull request #3076 from evazion/feat-body-attrs
...
Fix #3073 : Add attribute "data-is-moderator" to the <body> element.
2017-05-22 11:58:11 -07:00
evazion
f1f6e5ccc9
anonymous_user.rb: generate is_<role>? methods from User::Roles.
2017-05-21 12:27:39 -05:00
evazion
fad4d48b1c
search: fix order:note, order:comment_bumped to use indexes.
2017-05-19 18:19:05 -05:00
evazion
d74eda2b96
search: readd posts.id secondary sort to order: metatags.
2017-05-19 18:19:04 -05:00
evazion
565945ab7b
flags: move flagging inside Post#delete!
2017-05-17 23:48:37 -05:00
r888888888
68a91feadc
add ban_expired? method to anonymous user
2017-05-15 16:34:18 -07:00
Albert Yi
2f1faf3c38
Merge pull request #3060 from evazion/fix-3048
...
Fix #3048 : Artist Lookup Failing Due to Changing Usernames
2017-05-15 16:33:53 -07:00
Albert Yi
7d2e1f871b
Merge pull request #3056 from evazion/fix-3054
...
Fix #3054 : Artist link broken on Post Upload page
2017-05-15 16:17:26 -07:00
Albert Yi
0ca211d878
Merge pull request #3053 from evazion/feat-replace-images
...
Avoid pruning post replacement delayed jobs.
2017-05-15 16:14:04 -07:00
evazion
eac827973b
Normalize pixiv artist urls to pixiv member page ( fix #3048 ).
2017-05-15 14:12:08 -05:00
evazion
6ee3b2635a
Fix returning incorrect pixiv profile url ( fixes #3054 ).
2017-05-14 22:00:06 -05:00
evazion
a6737dfc14
daily_maintenance.rb: don't prune file deletion delayed jobs.
2017-05-14 12:49:11 -05:00
evazion
61a37a09cc
Fix translated tags for pixiv ( fix #3046 ).
...
Translated tags expects `tags` to be an array of `[tag_name, search_link]` pairs.
2017-05-13 19:17:33 -05:00
r888888888
7ae18d1068
bug fix for source pixiv
2017-05-12 16:42:25 -07:00
r888888888
bcec293efe
pull additional data from pixiv api ( fixes #3042 )
2017-05-12 11:17:31 -07:00
evazion
757a7da49b
fixup! /source.json: don't encode '&' as '&' in commentaries.
2017-05-10 21:03:29 -05:00
evazion
a2a6a0ce27
/source.json: don't encode '&' as '&' in commentaries.
2017-05-10 18:01:52 -05:00
evazion
8015d62b46
/source.json: strip html tags from artist commentary.
2017-05-10 18:01:51 -05:00
evazion
b2f62482a1
Remove artist commentary handling from download rewrite strategies.
2017-05-10 18:01:51 -05:00
r888888888
b49641f775
fixes #3033
2017-05-09 13:21:21 -07:00
r888888888
ff5586cb01
refactor twitter service to handle cards ( fixes #3031 )
2017-05-09 12:48:11 -07:00
r888888888
2b74fe669e
increase period for deleting mod actions
2017-05-08 13:49:55 -07:00
Albert Yi
f803137106
Merge pull request #3030 from evazion/feat-backups
...
Backup posts to S3 on creation/replacement
2017-05-08 13:39:41 -07:00
evazion
fd291c8b42
bans: fix exception when user with expired ban logs in.
...
`ban.destroy` fails because users have many `bans`, not a single `ban`.
Destroying the expired ban isn't necessary anyway.
2017-05-07 12:13:19 -05:00
evazion
7db40fe69f
backups: add amazon s3 backup service.
2017-05-05 22:18:28 -05:00
evazion
30a1f204e9
backups: add stub backup service.
2017-05-05 22:18:28 -05:00
evazion
db1fa60a43
Set pawoo sources to html page after upload.
2017-05-03 00:09:51 -05:00
r888888888
3b414db844
defer to popular searches for popular tag list
2017-05-01 17:56:34 -07:00
Albert Yi
d7e83bef79
Merge pull request #3003 from evazion/feat-noter-any-metatag
...
Add noter:<any|none>, commenter:<any|none> metatags
2017-05-01 14:52:30 -07:00