Commit Graph

1230 Commits

Author SHA1 Message Date
Toks
c38a290f4c Only require BUR title if creating new topic 2014-12-18 11:02:22 -05:00
Toks
38c31fe5f6 fix error 2014-12-13 00:01:02 -05:00
Toks
42ad3b8d3c #2326 fix has_mail being set by wrong copy 2014-12-12 23:59:26 -05:00
r888888888
cee524ec48 fixes #2326 2014-12-12 17:36:48 -08:00
r888888888
ad22e42e62 fixes #2325 2014-12-12 17:32:33 -08:00
r888888888
53844af8dc Merge branch 'ruby-2.1'
This reverts commit 616aef4394.
2014-12-10 16:23:58 -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
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
a8176a863d search[post_id] for artist commentary 2014-12-08 16:03:20 -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
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
r888888888
2707ee8233 bug fix 2014-11-29 08:42:59 -08:00
Toks
a541b18f82 fixes #2313 2014-11-27 20:14:29 -05:00
r888888888
0be70c44a8 fixes #2311 2014-11-25 14:52:18 -08:00
r888888888
a31c33bb75 dont filter out emails from mods 2014-11-24 17:42:11 -08:00
r888888888
e638f87c83 remove admin notification for name changes 2014-11-20 17:50:57 -08:00
r888888888
2b5ce48d5c fixes #2230 2014-11-19 21:28:26 -08:00
r888888888
177ef0ebcc fixes #2307 2014-11-19 17:17:26 -08:00
r888888888
bda105c0e3 fix safebooru bug 2014-11-12 18:07:06 -08:00
Toks
2ee548dc85 Fix topic merge
It was merging in the wrong direction, and didn't update response count.
2014-11-12 01:20:27 -05:00
Toks
30700df635 Fix deleted forum posts not counting in response_count 2014-11-12 00:41:55 -05:00
r888888888
951ca8c4ee explicitly filter out unsafe tags 2014-11-06 17:19:39 -08:00
r888888888
cbf48ad948 add stripe integration for safebooru 2014-11-06 17:03:17 -08:00
Toks
095d02414c Exempt deletions from dupe flag checking 2014-10-31 20:01:42 -04:00
Toks
9982f4333a fixes #2301 2014-10-29 21:19:51 -04:00
r888888888
16f9a61d63 fixes #2299 2014-10-29 15:14:17 -07:00
Toks
2698c4d6d8 Fix server field not getting set for uploads 2014-10-29 12:29:10 -04:00
evazion
ffc7a7bb39 Save normalized source with post instead of original source.
Fixes #2294.
2014-10-28 22:57:00 -05:00
r888888888
3aa0ee2a75 hide ugoira preview/video link if it hasn't finished processing 2014-10-28 11:30:02 -07:00
r888888888
94fd03f5d0 since ugoira converter always uses the md5 file path as the base, no longer have to delay unlinking the tempfile 2014-10-28 11:20:49 -07:00
r888888888
5eb20ab39f fixes #2292 2014-10-28 11:16:52 -07:00
Toks
bcedb0b27b Merge pull request #2290 from evazion/fix-ugoira-source-redirection
Fix ugoira source redirection
2014-10-28 00:48:17 -04:00
Toks
8d365b914d fixes #1473 2014-10-27 23:55:18 -04:00
evazion
bcef22aefe Add source redirection support for ugoira URLs. 2014-10-27 19:01:07 -05:00
Albert Yi
c1b3060df3 Merge pull request #2283 from evazion/fix-exact-filesize-search
Fix #2248: filesize metatag: exact match if unit is bytes
2014-10-26 16:32:22 -07:00
Toks
4519d026d7 Merge pull request #2282 from evazion/feat-autotag-ugoira
Automatically add ugoira tag to ugoira posts.
2014-10-26 15:14:10 -04:00
Toks
32c0ee55fe Merge pull request #2286 from evazion/fix-ugoira-api
Include ugoira data in data attributes and JSON API
2014-10-26 15:10:05 -04:00
evazion
79395a8b2a Include ugoira data in post JSON API. 2014-10-26 13:15:59 -05:00
evazion
8844220c48 Ensure JSON API returns boolean for Post#has_large.
Currently the JSON API returns null for false and 0 for true for this
attribute. Cast it to a boolean instead.
2014-10-26 12:36:57 -05:00
evazion
9cc41de258 Don't fudge filesize in filesize:1234b searches. 2014-10-24 22:32:32 -05:00
evazion
9bbb272b34 Automatically add ugoira tag to ugoira posts.
Note that this only adds the ugoira tag to .zip posts. It does not
remove the ugoira tag for posts converted from ugoira, but that aren't
true ugoira.
2014-10-24 22:15:43 -05:00
r888888888
321e3afa7d enable saved searches for everyone 2014-10-24 16:22:30 -07:00
r888888888
b6d4386949 fixes #2269 2014-10-23 16:42:04 -07:00
r888888888
981e6dab67 no longer require presence of ugoira tag to process ugoira posts 2014-10-23 16:34:31 -07:00
r888888888
69564c4bff fix async processing for ugoira 2014-10-22 22:48:20 -07:00
r888888888
e8f973601c fixes for ugoira convert 2014-10-22 22:15:05 -07:00
r888888888
8d4c9d7955 fix pixiv tests 2014-10-22 17:22:36 -07:00