Commit Graph
1219 Commits
Author SHA1 Message Date
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
evazion 5754dcb260 Fix file extension when backing up ugoira to S3. 2014-10-19 02:30:03 -07:00
Toks b9ec86d611 Fix large webm sample writing to .jpg path 2014-10-19 02:30:02 -07:00
Toks 4ab58e841e Fix frame data record not being expunged along with post 2014-10-19 02:30:02 -07:00
r888888888 5f063d693a fully implement ugoira js player, upgrade jquery and jquery-ui 2014-10-19 02:30:02 -07:00
r888888888 4c73fb9f79 add ugoira support in view 2014-10-19 02:30:02 -07:00
r888888888 3bb06c2be4 integrate ugoiras into zip+webm+preview 2014-10-19 02:30:02 -07:00
r888888888 0a61aac231 refactor 2014-10-19 02:30:02 -07:00
r888888888 fb2219d4ac integrate ugoira converted into upload flow 2014-10-19 02:30:01 -07:00
Toks 1919bbf07e Update mod queue post previews for consistency with rest of site
Fixes display of borders on the previews and such. Also fix the yellow
duplicate background not always working because Post#has_dup_tag? didn't
return a boolean.
2014-10-14 13:14:36 -04:00
Toks 4fcf382ccf Fixminor bug with displaying parent border 2014-10-14 12:48:54 -04:00
Toks ed6b08e65b Make large wiki/artist/pool title link to tag search 2014-10-13 17:44:40 -04:00