Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
Toks 473b50e944 Fix note dialog font size
regression from 686a1dc882
2014-11-25 11:28:22 -05:00
Toks 686a1dc882 Fix autocomplete font size
regression from aaaa36e4fb
2014-11-24 11:56:32 -05:00
Toks b43fb8ba1b #1686: Fix regression
903e744ae4 made it look like all searches
have deleted posts
2014-11-23 10:40:02 -05:00
Toks e6e6b2fe1c fixes #2095 2014-11-18 15:13:43 -05:00
Toks 4e5a1d43d3 fix #2306 2014-11-12 18:46:12 -05: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
Toks d84f263641 fix broken links 2014-11-10 17:15:36 -05:00
Toks aaaa36e4fb Fix dialog font size
The recent jquery ui upgrade changed the font size for dialogs
2014-11-10 17:12:02 -05:00
Toks 99fb4e60ab Fix iqdb
file was getting deleted before it got used
2014-11-07 02:39:15 -05:00
Toks ab7d06cd30 Fix seek slider for thin ugoira 2014-11-06 17:35:40 -05:00
Toks 1fffc2977f fixes #2121 2014-10-31 20:24:38 -04:00
Toks 095d02414c Exempt deletions from dupe flag checking 2014-10-31 20:01:42 -04:00
Toks e6c4cd6c6d fixes #2014 2014-10-31 14:05:33 -04:00
Toks 455d9b116d Hide pending border on mod queue 2014-10-30 16:34:34 -04:00
Toks 629a72df93 Delete empty file 2014-10-29 21:20:01 -04:00
Toks 9982f4333a fixes #2301 2014-10-29 21:19:51 -04:00
Toks 2698c4d6d8 Fix server field not getting set for uploads 2014-10-29 12:29:10 -04:00
Toks cbff5b91f4 Merge pull request #2296 from evazion/fix-js-xss
Fix XSS in fetch source data javascript.
2014-10-29 00:31:22 -04:00
Toks d406b7f673 Merge pull request #2297 from evazion/feat-artist-check
Link to artist entries when artist name is taken.
2014-10-29 00:24:53 -04:00
Toks 592777e8e7 Merge pull request #2295 from evazion/fix-source-rewriting
Possible fix for #2294
2014-10-29 00:18:48 -04:00
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