Commit Graph

117 Commits

Author SHA1 Message Date
Toks
3c92a58585 Deviantart: Fix full-size image not always being uploaded 2015-07-08 00:58:06 -04:00
r888888888
4a24fe5074 potential fix for #2431 2015-07-07 15:59:40 -07:00
Toks
6ea556944b Add support for uploading from seiga /o/ pages 2015-07-07 18:00:47 -04:00
Toks
0a5f1b53ba #2426 refactor to use predetermined referer 2015-07-05 11:02:01 -04:00
Toks
462e1ed324 Implement #2395 for nijie twitter and tumblr 2015-06-13 11:26:47 -04:00
Toks
86ce1b8deb #2404 fix nijie argumenterror 2015-06-12 11:54:52 -04:00
r888888888
866347a9f7 fix errors 2015-06-11 21:38:41 -07:00
r888888888
fd74f860ee potential fix for #2404 2015-06-10 17:28:51 -07:00
Toks
854d587373 Fix upload source fetcher fetching from wrong work page for all sites
e.g. If you were on an html work page on pixiv, clicked a link to a
different html work page on pixiv, and then clicked the bookmarklet,
then it used to fetch the source from the FIRST work you were on instead
of the second.
2015-06-03 20:59:24 -04:00
Toks
04d6640792 Fix upload page fetching source for wrong page from twitter
It would always fetch from the referer, regardless of what page that
was. It didn't even have to be a page on twitter.
2015-06-03 20:12:12 -04:00
r888888888
66dd4f072e update tests 2015-06-02 19:20:48 -07:00
r888888888
2ddc93723c fixes #2327 2015-06-02 19:20:09 -07:00
Toks
1a5053e501 fix 2015-05-28 15:59:31 -04:00
Toks
f42e4044a0 Fix "No status found with that ID." when fetching from twitter 2015-05-28 02:16:17 -04:00
Toks
804cbae85c Support fetching deviantart tags 2015-05-25 22:44:55 -04:00
Toks
0ac21b1623 Fix pixiv batch not working on old pixiv works 2015-05-23 12:00:35 -04:00
r888888888
9bdc0116bf fix pixiv tests 2015-05-14 16:50:24 -07:00
r888888888
ac6d1fa498 bug fix with pixiv api 2015-05-11 15:53:45 -07:00
r888888888
17cc8735ad first cut implementation at using public pixiv api 2015-05-11 15:19:05 -07:00
r888888888
721df95832 remove references to spapi 2015-05-11 10:57:41 -07:00
r888888888
5457d9ed4e temporarily disable pixiv sapi calls 2015-05-11 10:28:52 -07:00
Toks
e14667e757 Autodelete invalid nicoseiga session 2015-05-10 13:08:34 -04:00
Toks
4a5ea8d785 Autodelete invalod nijie session
fixes #2324
2015-05-10 12:54:33 -04:00
Toks
6faa6305dd Autodelete phpsessid
fixes #2382
2015-05-08 13:30:26 -04:00
Toks
4b36acdd19 Improve getting deviatnart url from page
fix #2366
2015-04-06 18:32:12 -04:00
Toks
fbad8f7a53 Allow source fetcher to work on non-mobile twitter 2015-03-16 17:55:28 -04:00
r888888888
2d266fc0b6 uploads/batch now supports pixiv 2015-03-15 13:56:16 -07:00
Toks
04e6aa7474 #1866 update for new deviantart urls 2015-03-13 14:12:17 -04:00
r888888888
f12fb40e3e implements #2350 2015-02-20 20:04:23 -08:00
r888888888
bfb9d8358d download :orig images from twitter instead of :large 2015-02-15 12:24:40 -08:00
r888888888
c92c32ecda fix tests 2015-02-15 12:23:53 -08:00
r888888888
fc30b9d606 rely on twitter api for source calls 2015-02-09 17:50:19 -08:00
r888888888
1d57d37cd5 refactor 2015-01-27 16:29:15 -08:00
r888888888
4ac89201df save twitter auth token 2015-01-24 13:41:09 -08:00
r888888888
a07410aece fixes #2337 2015-01-24 12:11:56 -08:00
r888888888
9763e76707 fixes #2324 2014-12-13 00:23:38 -08:00
r888888888
7175df2099 fix for Pixiv#get_image_url_from_page 2014-12-12 12:33:52 -08:00
Toks
6d565d9f87 Fix regression with pixiv manga uploads 2014-12-11 13:21:43 -05:00
r888888888
029202068d fix Pixiv#get_image_url_from_page 2014-12-11 10:05:59 -08:00
Toks
e0b0760b39 should fix #2320
Sources::Site#normalize_for_artist_finder! catches errors that occur
during the normalization process. However it only catches
StandardErrors, not Exceptions, so this makes Sources::Error a
StandardError.
2014-12-09 17:14:28 -05:00
r888888888
4fcb1d2bbc support for twitter downloads 2014-12-05 14:19:36 -08:00
r888888888
39ce77bbb1 fix nico seiga tests 2014-12-04 22:58:27 -08:00
r888888888
e8a8999a73 fix class error 2014-12-04 17:32:19 -08:00
r888888888
d7f044e18b loosen constraints on pixiv img server regexp 2014-12-03 13:39:47 -08:00
evazion
57bb51621e Add debugger gem.
Fix random VCR failures in Pixiv tests.

Sometimes tests randomly fail because the PHPSESSID they use in their
HTTP requests to Pixiv is different than the one that was originally
recorded by VCR. This causes VCR to complain that the requests don't
match.

This is caused by the PHPSESSID being globally cached in Memcache.
Depending on the order the tests run in (which is random), one set of
tests can use a PHPSESSID that was recorded for a /different/ set of
tests.

Improve Pixiv URL matching.

* Allow URLs that are missing the http:// part. These are sometimes seen
  in artist entries.
* Ignore URLs from random Pixiv domains such as dic.pixiv.net,
  blog.pixiv.net, etc. These are also sometimes in artist entries.

Improve normalize_for_artist_finder! URL matching.

* Normalize www.pixiv.net/stacc/username URLs.
* Correctly normalize URLs that are missing the illust ID part on the end
  (i.e. http://i2.pixiv.net/img04/img/syounen_no_uta/). These are common
  in artist entries.

Match URLs strictly when normalizing for artist entries.

Only normalize Pixiv URLs that strictly match a known format. Pass any
unrecognized URLs through without attempting to normalize them, just to
be safe.

Normalize URLs when saving artist entries.
2014-12-03 13:16:05 -08:00
Toks
fc0328b9df fixes #2317 2014-12-02 16:02:21 -05:00
r888888888
16f9a61d63 fixes #2299 2014-10-29 15:14:17 -07:00
r888888888
8d4c9d7955 fix pixiv tests 2014-10-22 17:22:36 -07:00
Toks
5f9ce7ee47 Fix get_image_url_from_page call 2014-10-19 02:30:02 -07:00
r888888888
4c73fb9f79 add ugoira support in view 2014-10-19 02:30:02 -07:00