Commit Graph

241 Commits

Author SHA1 Message Date
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
Toks
af2167ea32 Fix bugs when anonymous uses member-only shortcuts 2016-01-13 11:48:25 -05:00
Toks
e9d79b7ae0 Fix approval notice not displaying if using shift+o shortcut 2016-01-13 11:43:54 -05:00
Toks
a8f3a58a37 #2523 show null category as uncategorized 2015-11-18 18:55:38 -05:00
r888888888
156165a86f improved ui for saved searches #2523 2015-11-17 17:36:57 -08:00
Toks
fceba9fa8b #2523 Fix cancel button not canceling saving search 2015-11-13 00:18:40 -05:00
Toks
2d3b7182bc #2523 Enable categorized saved searches by default 2015-11-13 00:14:08 -05:00
Toks
250970a4b8 Fix images being scaled incorrectly at low screen widths
fixes #2548
2015-11-11 02:48:16 -05:00
r888888888
6514265ca7 support new listbooru changes #2523 2015-11-03 16:50:52 -08:00
r888888888
fafb881080 remove support for listbooru for tag subscriptions, enable for saved searches #2523 2015-10-27 17:47:07 -07:00
r888888888
f87c71cf23 remove post view counts, add search counts 2015-07-27 17:27:40 -07:00
r888888888
cc6da3ff89 fixes #2454: Add a new popular posts page for view counts 2015-07-24 15:56:41 -07:00
r888888888
9e6d08600c store post view counts in reportbooru/fetch view counts from reportbooru #2128 2015-07-21 13:09:32 -07:00
Toks
c2530e9e53 Allow A/D shortcuts for browsing favgroups 2015-06-25 10:29:59 -04:00