Commit Graph

3805 Commits

Author SHA1 Message Date
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
Toks
3035cd3c64 Fix edit link being visible for active aliases/implications
They can't actually be edited unless they're pending
2014-10-27 22:29:49 -04:00
evazion
bcef22aefe Add source redirection support for ugoira URLs. 2014-10-27 19:01:07 -05:00
evazion
24dcf0090a Add a few more tests for Pixiv source redirection. 2014-10-27 19:00:57 -05:00
r888888888
be112b4191 fix asset image paths 2014-10-27 15:24:11 -07:00
r888888888
903e744ae4 remove deleted post query 2014-10-27 14:42:17 -07:00
r888888888
91d71bb2de new newrelic version 2014-10-27 14:36:53 -07: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
Toks
56f9cc9fdb Merge pull request #2287 from evazion/fix-has-large
Ensure JSON API returns boolean for Post#has_large.
2014-10-26 15:09:33 -04:00
evazion
79395a8b2a Include ugoira data in post JSON API. 2014-10-26 13:15:59 -05:00
evazion
cb57d3550d Include ugoira frames in post data attributes. 2014-10-26 13:15:54 -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
Toks
b47a794a93 #2284 hide resize notice 2014-10-26 11:56:20 -04:00
Toks
b6abd4f415 #2284 resize ugoira controls with image 2014-10-26 11:41:21 -04:00
Toks
bb0adfb00b #2284 fix aspect ratio with "resize to window"
For some reason the height is getting scaled twice for ugoira, causing a
messed up aspect ratio because it was relative to the current height.
This makes it relative to the original height, so it should always be
correct even after multiple scales.
2014-10-26 11:34:57 -04:00
Toks
37e33cb7f2 Remove rewind button
Not necessary now with the seek slider
2014-10-26 11:30:50 -04:00
Toks
072c869841 fixes #2285
Notes need to be disabled because they don't work on webms, the
positions are bugged.

Also enable video controls by default because why not.
2014-10-26 10:53:04 -04:00
Toks
3194df7e85 Add more cases for normalizing pixiv source searches 2014-10-25 15:49:59 -04:00
evazion
9cc41de258 Don't fudge filesize in filesize:1234b searches. 2014-10-24 22:32:32 -05:00
evazion
79ec817bdc Add tests for filesize: metatag 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
ebd3ece4e8 update version 2014-10-24 16:22:44 -07: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
c9ee4f242f restyle ugoira controls 2014-10-23 16:00:58 -07:00
Toks
f51bc6ccd5 Merge branch 'ugoira' 2014-10-23 17:14:46 -04:00
Toks
88bd1d0172 Fix seek handle overlapping image slightly 2014-10-23 17:09:46 -04:00
Albert Yi
efcb8c77d7 Merge pull request #2268 from r888888888/ugoira
Native pixiv ugoira support
2014-10-23 12:46:58 -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
Albert Yi
4ef18c61aa Merge pull request #2277 from evazion/ugoira-fix-model
Fix frame data records being created for non-ugoira posts.
2014-10-22 17:26:03 -07:00
r888888888
8d4c9d7955 fix pixiv tests 2014-10-22 17:22:36 -07:00
evazion
035466cfdf Fix call to PixivUgoiraConverter.delay.
Should be `PixivUgoiraConverter.new.delay`, not PixivUgoiraConverter.delay`.
2014-10-19 10:26:21 -05:00
evazion
6ca01334af Fix frame data records being created for non-ugoira posts.
* Prevent non-ugoira posts from getting dummy frame data records with
  all the columns set to null.
* Make `data` and `content_type` columns NOT NULL, since they should
  always be present.
* Remove the timestamps while we're at it, since they don't seem
  necessary for anything.
2014-10-19 10:23:28 -05:00
Toks
260de869b1 Delete empty file 2014-10-19 02:30:03 -07:00
Toks
1bcec0fbbf Add seek slider 2014-10-19 02:30:03 -07:00
Toks
34e3fd45b9 Improve ugoira controls 2014-10-19 02:30:03 -07:00
r888888888
b1d5bb8272 make ugoira webm+preview generation async 2014-10-19 02:30:03 -07:00
evazion
5754dcb260 Fix file extension when backing up ugoira to S3. 2014-10-19 02:30:03 -07:00
evazion
38cb35ffbd Only fetch ugoira data for ugoira URLs.
Don't fetch ugoira data for http://i1.pixiv.net/img35/img/kinokoyarou/46165361.png URLs.
2014-10-19 02:30:03 -07:00
evazion
aa01a386f6 Fix ugoira to work with notes.
* Change the id of the canvas tag to 'image'. This is what the notes JS
  expects. It's also what the shift+e edit shortcut depends on.
* Add data-original-width/height attributes, which are what the notes JS
  needs to position notes properly.
* Add all the other data attributes that regular images have, because
  why not.
2014-10-19 02:30:03 -07:00
evazion
c0a803e3a6 Allow ugoira to be uploaded directly from the zip URL.
This refactors things such that

* Fetching the ugoira frame data happens at the end of rewrite, not
  rewrite_html_pages. This way uploading zip URLs should work.
* The source data is cached in an instance variable in case it
  was indeed fetched during rewrite_html_pages. This way it doesn't get
  fetched a second time.
2014-10-19 02:30:03 -07:00
evazion
484224cee6 Fix rename forgotten in d253057. 2014-10-19 02:30:03 -07:00
Toks
dbe4a7ebf6 Fix regressed autocomplete changes
also update the patch file
2014-10-19 02:30:03 -07:00
Toks
b3dbd0be4c Simplify zip extracting code 2014-10-19 02:30:03 -07:00
Toks
230a5ad37e Fix ugoira thumbs not being scaled down to 150x150 2014-10-19 02:30:03 -07:00