Commit Graph

254 Commits

Author SHA1 Message Date
r888888888
12a815a53b disable gestures after expanding image to full size 2017-10-09 14:03:12 -07:00
r888888888
e3529b827f higher thresholds for gestures #3311 2017-10-09 13:50:47 -07:00
r888888888
6fdb8ae893 disable gestures in full image mode 2017-09-29 18:46:30 -07:00
r888888888
80b676604f permit scrolling in responsive view 2017-09-29 18:41:05 -07:00
BrokenEagle
216d43e35d Use window.screen for resizes instead 2017-09-28 13:00:28 -07:00
r888888888
b8466a6aaa fix logic with gestures 2017-09-26 14:29:05 -07:00
r888888888
d48df46ea5 disable swipe next gesture for posts/show 2017-09-26 14:20:24 -07:00
r888888888
16b3b78e17 add dedicated handler for swipe gestures 2017-09-26 14:17:31 -07:00
r888888888
3858622241 tweak gesture js 2017-09-25 19:46:30 -07:00
r888888888
8cb1e0e076 tweak js 2017-09-25 19:23:24 -07:00
r888888888
ac2afbaf3f tweak js 2017-09-25 19:19:50 -07:00
r888888888
3debaeb80b tweak gesture js 2017-09-25 16:47:59 -07:00
r888888888
01240f3a10 add option for desktop mode in user settings 2017-09-25 15:26:11 -07:00
r888888888
9ae1e0202c tweak gesture js 2017-09-25 15:16:34 -07:00
r888888888
d6a597492c bug fix 2017-09-23 13:45:01 -07:00
r888888888
d4106473dd enable gestures on posts/show 2017-09-23 13:44:41 -07:00
r888888888
233c118df4 fix responsive trigger 2017-09-23 13:38:36 -07:00
r888888888
e339c0c919 activate gestures in <660px only 2017-09-23 13:28:35 -07:00
r888888888
5a47c91d2b add threshold for gesture event 2017-09-23 13:26:02 -07:00
r888888888
507aa7c641 Merge branch 'master' of github.com:r888888888/danbooru 2017-09-23 13:15:05 -07:00
r888888888
5ad18aef22 implement gestures 2017-09-23 13:14:49 -07:00
r888888888
ffb212c616 remove extraneous links from post/show 2017-09-18 15:00:39 -07:00
r888888888
0985f929cc style buttons for upload/post edit pages 2017-09-14 16:56:40 -07:00
r888888888
5448ae5af4 truncate artist urls on display 2017-09-14 15:56:04 -07:00
r888888888
43c0a04011 more aggressive resizing to window for responsive mode 2017-09-07 18:43:08 -07:00
r888888888
b38789a875 remove unused js 2017-09-06 17:09:50 -07:00
r888888888
bb228d5735 add favorite action underneath image 2017-09-05 14:41:33 -07:00
evazion
ffbf5bbcdf Factor out related tags visibility toggling code. 2017-07-17 18:58:20 -05:00
evazion
6e3763e7d7 Remove minlength for autocompleting labels in saved search dialog.
Trigger autocomplete after typing the first letter when adding labels in
the saved search dialog.
2017-07-11 19:27:04 -05:00
evazion
51d0feb2c6 Fix #3214: Add autocomplete for saved searches.
* Autocomplete the `search:<label>` metatag.

* Make label autocompletion do a prefix match instead of a substring
  match. Example: `search:ar` matches `artists`, not `characters`. This
  is how tags and most other things are autocompleted.
2017-07-11 19:24:49 -05:00
Albert Yi
494ad99aac Merge pull request #3111 from evazion/fix-3099
Fix #3099: NilClass error for approval API request
2017-06-05 12:03:18 -07:00
evazion
fdf8e7d5d7 Fix mode menu 'approve' option.
* Fix routing error in respond_with (didn't use /moderator namespace).

* Fix /moderator/posts/approvals.json response to return full
  PostApproval object, not just a success/failure message.

* Simplify the javascript a bit (use $.post instead of $.ajax).
2017-06-04 12:14:35 -05:00
evazion
3880fbe13e /posts/$id: fix shift+O to approve shortcut.
`Danbooru.Post.approve` is used for approving posts via the mode menu.
It doesn't hide all the notices or the approve/disapprove/flag buttons.
Click the link instead to hide those things.

Click the #quick-mod-approve link instead of #approve because #approve
prompts for confirmation.
2017-06-04 10:07:26 -05:00
BrokenEagle
6f593de46d Resize images for mobile layout 2017-06-03 12:52:27 -07:00
Albert Yi
dc02dcf0e0 Merge pull request #3015 from evazion/feat-replace-images
Fix #2949: Sample image replacement ability
2017-05-12 17:11:29 -07:00
evazion
7ade3b6831 Fix #2352: return raw usernames in API instead of pretty names. 2017-05-03 22:16:38 -05:00
evazion
4e841c4ea5 post replacement: add "Replace Image" dialog to post sidebar. 2017-05-02 20:41:19 -05:00
evazion
59a179fa15 /posts: add shift+F to unfavorite hotkey. 2017-04-25 01:50:14 -05:00
evazion
5303d1052f /posts: fix saved search dropdown for post show page. 2017-04-20 19:05:54 -05:00
r888888888
c4b5998e64 fixes #2692: Rework bookmarklet preview 2017-03-21 15:41:20 -07:00
r888888888
70d057f8f3 move saved search option to sidebar 2017-03-20 16:19:15 -07:00
r888888888
da06bee0ab revamp saved search implementation 2017-03-15 15:36:48 -07:00
evazion
d71136ce72 Disable left/right for prev/next page on /posts/:id.
Interferes with horizontal scrolling of wide images.
2017-02-03 03:40:32 -06:00
r888888888
8a93fdf18f additional saved search fixes 2017-01-25 12:48:47 -08:00
evazion
cfeb95c8a8 hotkeys: add left arrow, right arrow bindings for prev/next page. 2017-01-24 02:46:01 -06:00
evazion
c3fa653fc5 hotkeys: refactor to use .on(), namespaces.
* Use .on() instead of .bind() because bind is deprecated in jquery 3.0.
* Ensure enable-js-navigation is always respected.
* Namespace keybindings so they may be disabled by userscripts with
  e.g. $(document).off("keydown.danbooru") or $(document).off("next_page").
2017-01-24 02:45:55 -06:00
r888888888
a53341d112 fixes #2846: revert postvote js change 2017-01-17 14:56:14 -08:00
Albert Yi
bdac591266 fixes #2838 2017-01-16 12:57:43 -08:00
Albert Yi
2af622e7a7 add ban to post mode menu 2016-12-09 11:56:25 -08:00
Moebius-Strip
74872c3cb6 Fix A & D shortcut JavaScript for post search nav
Replaced the operator with one for detecting a single space delimited value in an attribute.
2016-03-07 02:32:51 -05:00