Commit Graph

102 Commits

Author SHA1 Message Date
r888888888
1d9596d7f2 fixes #2417 2015-06-29 18:17:59 -07:00
r888888888
f38cf1526c use Sources::Site to look up artists by profile page 2015-02-14 23:30:05 -08:00
Toks
a6c389a281 #2321: Fix for 3+ dupes too 2014-12-09 21:24:00 -05:00
Toks
bc4d954ec0 Automatically remove dupe urls
fix #2321
2014-12-09 21:09:55 -05:00
r888888888
f9c341a794 dont recreate artist urls that havent changed 2014-12-03 15:01:22 -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
a541b18f82 fixes #2313 2014-11-27 20:14:29 -05:00
Toks
ed6b08e65b Make large wiki/artist/pool title link to tag search 2014-10-13 17:44:40 -04:00
evazion
dcbe061809 Move normalize_for_artist_finder! into model.
Move the call to normalize_for_artist_finder! from the artist
controller into Artist#find_all_by_url. This makes testing easier.
It also makes it so that URLs are normalized when using the search
form on the artist listing page.
2014-10-05 14:11:32 -05:00
Toks
4b9605075b Rewrite tumblr cdn urls 2014-10-03 14:36:37 -04:00
Toks
9b1ac69da2 Don't display pending aliases on artist page 2014-06-05 14:59:53 -04:00
Toks
70fd527c85 fixes #2157 2014-05-16 20:48:40 -04:00
Toks
22f2a76569 Don't return incorrect artist finder results
Applies to nicoseiga, tumblr, and deviantart; fixes #2134
2014-04-28 15:01:07 -04:00
Toks
a05c51745c Add search option for issue #2104 2014-04-28 14:24:24 -04:00
r888888888
a89c57cee0 Fix Rails 4.1 migration issues 2014-04-24 17:01:03 -07:00
r888888888
fad0ab7c93 fixes #2133 2014-04-16 17:43:34 -07:00
r888888888
c228b5d855 fixes #1897 2014-03-18 13:03:38 -07:00
Toks
01b847d07f #1383: Remove banned_artist tag 2014-03-07 20:21:07 -05:00
r888888888
0724f6ca06 fixes #1383 2014-03-07 16:42:20 -08:00
Toks
aeb961708e Fix reference to non existent column 2014-03-06 21:45:36 -05:00
Toks
f4596830c4 Partial fix for #1520 2014-01-08 15:54:27 -05:00
Toks
259b7fcf0e Add fix for #1141 2014-01-08 15:46:49 -05:00
Toks
c03203f67a #1189: Don't record artist history without change 2013-12-16 13:45:47 -05:00
Toks
5cfea6a3d0 fixes #1211 for renamed artists 2013-10-26 00:13:09 -04:00
Toks
11871d88b6 fixes #1844
closes #1653
2013-10-26 00:08:37 -04:00
Toks
b81804306e Fix artist excerpt with wildcard searches 2013-08-09 13:25:37 -04:00
r888888888
3edf160887 fixes #1211 2013-08-07 13:00:25 -07:00
Toks
c2bd4bedc9 More fixes for #1865
* Reltag calculator
* Artist default urls (fixes #1149)
* Post count cache
2013-07-25 20:04:29 -04:00
r888888888
c4bf6a9192 fixes for #1865 2013-07-25 14:32:15 -07:00
Toks
ecfcebe30a Add support for wildcard searches in text fields
#1663
2013-07-20 16:51:55 -04:00
Toks
46aad0d3f1 fixes #1576
The "params[:order] ||= params.delete(:sort)" is to support existing
links using sort.
2013-07-12 13:18:19 -04:00
Toks
395f3d1342 hide index fields from api; closes #1739 2013-06-23 12:12:30 -04:00
Toks
40d9e0cfe1 fixes #1781 2013-06-22 22:05:56 -04:00
Toks
6f2d57882e fixes #1672 2013-06-05 13:09:14 -04:00
Toks
b11ceb59be fixes #1710 2013-06-05 11:17:44 -04:00
r888888888
b0d70ede4c fixes #1653 2013-05-31 15:34:25 -07:00
r888888888
719ff4ee0f fixes #1644 2013-05-24 13:00:18 -07:00
r888888888
4dff618863 Use webmock instead of fakeweb for VCR; Fix tests; Use Timecop to speed up tests previously using sleep; Move artist rename into seperate operation 2013-05-24 12:59:13 -07:00
Toks
861ade54cf fixes #1653 2013-05-23 13:59:22 -04:00
r888888888
09e117049b fixes #1573 2013-05-08 11:48:09 -07:00
r888888888
d5f575159f rename references of privileged to gold 2013-04-28 00:04:52 -07:00
Toks
ea5c5b2a03 fixes #1292 2013-04-22 21:00:38 -04:00
r888888888
879ec0618a fixes #1149 2013-04-21 14:32:25 -07:00
Toks
c40bc24d86 fixes #1379 2013-04-20 10:58:01 -04:00
Toks
0143401ac3 fixes #1332; partial fix for #1378 2013-04-20 10:41:46 -04:00
r888888888
a7b6dd6de0 fixes #1359 2013-04-19 15:32:20 -07:00
Toks
a3c06044af reorganize artist version search methods 2013-04-14 18:16:55 -04:00
albert
e0a5b748d9 fixes #1149 2013-04-04 18:24:06 -04:00
albert
cf6fd1af64 fixes #1178 2013-04-03 17:27:41 -04:00
albert
e305f8e501 fixes #1154 2013-03-31 22:16:31 -04:00