Commit Graph

3914 Commits

Author SHA1 Message Date
r888888888
53844af8dc Merge branch 'ruby-2.1'
This reverts commit 616aef4394.
2014-12-10 16:23:58 -08:00
r888888888
f0c89fea03 update rails version 2014-12-10 16:23:49 -08:00
r888888888
884c721ff7 new version 2014-12-10 11:12:38 -08:00
r888888888
90bd9ceefd fix user secondary links 2014-12-10 11:11:14 -08:00
r888888888
cb1be62577 allow gift upgrades for accounts 2014-12-10 10:21:10 -08:00
Toks
a6c389a281 #2321: Fix for 3+ dupes too 2014-12-09 21:24:00 -05:00
Toks
c776ee567e Display more detailed error, only if it exists 2014-12-09 21:10:42 -05:00
Toks
bc4d954ec0 Automatically remove dupe urls
fix #2321
2014-12-09 21:09:55 -05:00
Toks
c601253553 Don't make pixiv http requests when displaying artist history
The reason the urls need to be normalized at all here is because legacy
urls from Danbooru 1 don't have their unnormalized counterparts stored
anywhere and thus can't be accurately compared with unnormalized urls
from Danbooru 2.
2014-12-09 17:23:44 -05: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
Toks
a8176a863d search[post_id] for artist commentary 2014-12-08 16:03:20 -05:00
r888888888
4fcb1d2bbc support for twitter downloads 2014-12-05 14:19:36 -08:00
r888888888
56a8387377 fix double escape for tags in share buttons 2014-12-05 12:35:21 -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
ef40499072 new version 2014-12-04 17:27:00 -08:00
r888888888
450f55f49b disable upload clamper 2014-12-04 17:25:56 -08:00
r888888888
f9c341a794 dont recreate artist urls that havent changed 2014-12-03 15:01:22 -08:00
r888888888
02c07fefb2 fix tests 2014-12-03 14:07:42 -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
r888888888
63193593d9 move user promotion to scoped user block 2014-12-03 12:52:17 -08:00
r888888888
cdc6467a91 fix regexp 2014-12-03 12:48:07 -08:00
r888888888
97a71fe5a0 fixes #2298 2014-12-03 12:46:05 -08:00
Toks
6c85572ae6 Fix clamper not creating dmail and mod action 2014-12-03 13:25:14 -05:00
Toks
fc0328b9df fixes #2317 2014-12-02 16:02:21 -05:00
Toks
601a016a98 Don't try to display ugoira thumbnail/webm before they exist 2014-12-02 15:59:43 -05:00
Toks
38f51306a8 fix #2314 and appeals 2014-11-30 16:10:17 -05:00
Toks
90bca638bf fixes #2316 (and similar post error messages) 2014-11-30 14:48:51 -05:00
r888888888
cdd17de0af implement coinbase tests 2014-11-29 13:14:46 -08:00
r888888888
358f22af86 fix coinbase callback 2014-11-29 11:31:42 -08:00
r888888888
9a09282221 bug fix 2014-11-29 08:51:21 -08:00
r888888888
2707ee8233 bug fix 2014-11-29 08:42:59 -08:00
r888888888
17c785365d new version 2014-11-29 08:36:52 -08:00
r888888888
e5ec664afa dont redirect for payment callback 2014-11-29 08:36:41 -08:00
Toks
a541b18f82 fixes #2313 2014-11-27 20:14:29 -05:00
Toks
e53970d6f6 Option to set category when first creating a saved search 2014-11-26 19:41:54 -05:00
Toks
82b3754d3b #2220 Remove redundant category column 2014-11-26 19:26:28 -05:00
Toks
6d420f722f saved search api 2014-11-26 19:10:28 -05:00
Toks
4d2898e545 fixes #2220 2014-11-26 19:04:35 -05:00
Toks
60e1d1379d Fix ?page=1 param appearing after creating/editing forum post
It creates an extra unnecessary entry in back button history to go
through.
2014-11-26 13:27:28 -05:00
Toks
91270f4567 Fix 404/timeout errors not showing 2014-11-25 21:04:03 -05:00
r888888888
dd714d5bf6 Merge branch 'coinbase' 2014-11-25 16:12:30 -08:00
r888888888
26fb28f8e3 implement coinbase integration 2014-11-25 16:12:24 -08:00
r888888888
582ccfb0d1 revise user post upload limit clamping logic 2014-11-25 15:31:35 -08:00
r888888888
e362d73bb3 fixes #2312 2014-11-25 14:58:00 -08:00
r888888888
0be70c44a8 fixes #2311 2014-11-25 14:52:18 -08:00
Toks
473b50e944 Fix note dialog font size
regression from 686a1dc882
2014-11-25 11:28:22 -05:00
r888888888
d9153769b8 remove stripe references 2014-11-24 19:13:21 -08:00
r888888888
ebf3278c05 new version 2014-11-24 17:42:30 -08:00