Commit Graph
100 Commits
Author SHA1 Message Date
Toks b843f54d20 Prevent ugoira page layout shifting
This puts the load progress in the same place as the seek slider so them
switching doesn't move around the bottom half of the page.
2014-10-28 12:19:57 -04:00
Toks 999196cd1a fixes #2291 2014-10-28 12:08:34 -04: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
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
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
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
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
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
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
Toks 029f0eff06 Fix webm posts linking to nonexistent large_file_path 2014-10-19 02:30:03 -07:00
Toks 5f9ce7ee47 Fix get_image_url_from_page call 2014-10-19 02:30:02 -07:00
Toks d47327be1d Fix argument error 2014-10-19 02:30:02 -07:00
Toks b9ec86d611 Fix large webm sample writing to .jpg path 2014-10-19 02:30:02 -07:00
Toks cbc3b48778 Fix zip file not being closed
file.get_input_stream leaves the file open by default, which means the
zip cannot be moved later on. But the block version of it closes the
file automatically.
2014-10-19 02:30:02 -07:00
Toks d05311a3eb Fix error reading zip 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
Toks 5bc0bb88cf Fix webm converter outputting non-webm videos
mkvmerge didn't realize it was supposed to output a webm specifically
because write_path does not have a file extension. The --webm option
tells it this instead.
2014-10-19 02:30:02 -07:00
Toks 36be58561b Fix last frame of webms not displaying right in some browsers
Some browsers like Chrome (and some video players like MPC-HC) do not
display the last frame of a webm (or they display it, but only very
briefly) if set to loop. This commit is a hack to force the last frame
to display for the correct amount of time by duplicating it.
2014-10-19 02:30:01 -07:00
Toks 047c6a300c Various fixes to ugoira->webm converter
* Fix regex for getting frame data not working if agent is logged in to
pixiv
* Fix #unpack not returning the unpacked folder
* Fix frame_data being inaccessible because it was a local variable
* Fix images getting put in tmpdir, when they're expected to be in
tmpdir/images
* Fix deleting the tmpdir manually (it gets deleted automatically)
* Fix output webm being put in tmpdir (which gets deleted) instead of
write_path
2014-10-19 02:30:01 -07:00
Toks c082ed18ce Fix deleted posts link not being visible to basic members 2014-10-18 02:05:51 -04: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 bff823e113 Merge branch 'master' of https://github.com/r888888888/danbooru 2014-10-14 13:09:37 -04:00
Toks 4fcf382ccf Fixminor bug with displaying parent border 2014-10-14 12:48:54 -04:00
Toks 400e09a252 Merge pull request #2267 from evazion/fix/ordpool-excerpt
Show pool excerpt for ordpool:1234 searches.
2014-10-13 20:14:34 -04:00
Toks ed6b08e65b Make large wiki/artist/pool title link to tag search 2014-10-13 17:44:40 -04:00
Toks 4281d1a48f #2234 comment out post previews 2014-10-05 16:40:13 -04:00
Toks 3f6e03b726 Case-insensitive regex 2014-10-05 16:33:06 -04:00
Toks 2e8230f92a Merge pull request #2263 from evazion/new-pixiv-urls-fixes
Fix artist finder and URL rewriting for new Pixiv URLs
2014-10-05 16:16:04 -04:00
Toks f4529e73e3 Cache seiga and nijie sessions 2014-10-05 12:11:08 -04:00
Toks 4b9605075b Rewrite tumblr cdn urls 2014-10-03 14:36:37 -04:00
Toks 685d65ffdb Merge branch 'master' of https://github.com/r888888888/danbooru 2014-10-03 14:35:53 -04:00
Toks d499bb4d04 Remove tumblr 1280w -> 500h source rewriting
It was thought that 500h was always the biggest size when it exists, but
it seems it can actually be either bigger or smaller than 1280w.
2014-10-03 14:21:53 -04:00
Toks 6dce66f33d Cache pixiv session 2014-09-29 01:38:53 -04:00
Toks 6e80d77a89 #2261 source redirection and pixiv_id for thumbnails 2014-09-24 23:09:54 -04:00
Toks fd290076fe fixes #2241 2014-09-24 13:28:56 -04:00
Toks 6b9e0fca12 #2245 add search form 2014-09-24 13:14:03 -04:00
Toks 4db0c3c0e5 fixes #2249 2014-09-24 13:11:54 -04:00
Toks ae49c7c016 #2261: fix source redirection, fix pixiv_id parsing 2014-09-24 12:25:14 -04:00
Toks 4b4e3dc87b #2245 Display more of title
originally from commit 719343cea5
2014-09-20 15:28:03 -04:00
Toks 6d523153fa Change automatic tags to be added before aliases/implications
This allows aliases and implications to work on tags added automatically
2014-09-20 15:10:49 -04:00
Toks fac385ffcb fix #2237 for webm and flash 2014-09-20 14:52:49 -04:00
Toks 87d3cc31b3 fixes #2257 2014-09-20 14:50:52 -04:00
Toks cbdc78d606 #2245 make gallery obey user's per page setting 2014-09-07 00:03:23 -04:00
Toks 4f0a83f996 #2245 allow anonymous to view gallery 2014-09-06 23:58:00 -04:00
Toks 13101e7c88 #2250 fix validations not allowing empty topic id 2014-08-23 20:01:56 -04:00
Toks c5cabe4e58 fix for #2250 2014-08-23 19:41:44 -04:00
Toks 0682a0db63 fixes #2247 2014-08-22 16:06:09 -04:00
Toks 2300e9bd1e fixes #2244 2014-08-17 12:07:53 -04:00
Toks 2e8e4e7831 fix basic members not being able to make api keys 2014-08-15 18:13:39 -04:00
Toks 424eb40c9d fixes #2240 2014-08-12 12:41:10 -04:00
Toks ed6ed14a79 #2217 fix ambiguous table reference 2014-08-03 16:38:05 -04:00
Toks 993094edf1 Fix bugs when image width/height are null 2014-08-02 17:07:55 -04:00
Toks 58f4d477f5 fixes #2036 2014-08-02 12:53:36 -04:00
Toks 75cd8203f1 New artist link: add newlines to urls 2014-08-02 12:06:58 -04:00
Toks a59e9b52e1 New artist link: remove incorrect name 2014-08-02 12:06:13 -04:00
Toks e07b529138 Remove obsolete read_forum_topics debug 2014-08-01 18:00:33 -04:00
Toks b22a77d4c5 improve #1678
Remove blank &page= parameter when page isn't specified, and indicate
page in the link's text when it is.
2014-08-01 17:59:59 -04:00
Toks 76f31bd6b5 Bulk reqs: add line breaks
Scripts longer than 1 line are completely unreadable without line breaks
2014-07-31 21:19:43 -04:00
Toks 2b3909496a Fix detection of tag wildcard searches 2014-07-30 16:29:55 -04:00
Toks 6666cf9050 fixes #2236 2014-07-30 16:23:07 -04:00
Toks 697836826a Merge branch 'master' of https://github.com/r888888888/danbooru 2014-07-22 00:34:10 -04:00
Toks c4f7d4d389 Fix wiki version date display bug for old edits
It seems that in Danbooru 1 wiki page version's created_at was always
the initial created_at of the wiki page itself, as opposed to the time
that the edit was made like in Danbooru 2.
2014-07-22 00:33:39 -04:00
Toks 5fd6a018cb Fix anonymous users creating visit records, which do not get used 2014-07-18 16:08:47 -04:00
Toks 7b84231711 Fix prune! affecting all users 2014-07-18 16:08:39 -04:00
Toks 3cac0458df fix regex 2014-07-16 21:10:54 -04:00
Toks 364feba64a Rewrite yandere/konachan jpeg samples 2014-07-16 20:53:33 -04:00
Toks 5aca6aa7c9 Fix pixiv gallery page counts 2014-07-16 11:58:43 -04:00
Toks cd9970bfa1 fixes #2227 2014-07-16 11:48:10 -04:00
Toks 1b812f31f1 fixes #2226 2014-07-16 11:47:37 -04:00
Toks f4d94ee75f #2224 2014-07-16 00:25:21 -04:00
Toks f23fbc65cf Fix bug where webm thumbnail generation could fail 2014-07-15 17:19:36 -04:00
Toks 4b1573bc29 fixes #2224 2014-07-15 15:21:18 -04:00
Toks fed2725139 Better fix for alias/implication moving bug
This makes it so pending alias/implication requests can't stop other
alias/implications from being created as if they were already approved.
2014-07-15 11:38:53 -04:00
Toks 4dab3e84f5 Revert "Fix race condition when auto-moving implications"
This reverts commit 20cceda4e5.
2014-07-15 11:11:30 -04:00
Toks 3c204892a9 Confirm bulk req delete 2014-07-15 01:39:01 -04:00
Toks 11133ba2b0 Merge branch 'master' of https://github.com/r888888888/danbooru 2014-07-15 01:32:04 -04:00
Toks 20cceda4e5 Fix race condition when auto-moving implications 2014-07-15 01:17:15 -04:00
Toks ad8fa463b1 Merge branch 'master' of https://github.com/r888888888/danbooru 2014-07-14 12:31:44 -04:00
Toks cda9ce8c2a Support animated icon for comment pages 2014-07-14 12:31:27 -04:00
Toks ad76da8ede fixes #2223 2014-07-14 12:29:43 -04:00
Toks ab500084e6 fixes #1936 2014-07-12 18:44:09 -04:00
Toks 70ad7f94e2 Add alias/implication order 2014-07-12 18:07:57 -04:00
Toks e9c747dca3 fixes #1693 2014-07-12 18:04:30 -04:00
Toks a896e8704b Merge branch 'master' of https://github.com/r888888888/danbooru 2014-07-11 02:26:37 -04:00
Toks 302fa7efcd Rewrite pixiv cdn urls 2014-07-11 02:26:19 -04:00
Toks bc912ecd00 #2217 fix ambiguous table references 2014-07-06 15:16:52 -04:00
Toks 772003a55a fixes #2217 2014-07-06 12:03:48 -04:00