Commit Graph
745 Commits
Author SHA1 Message Date
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 43199eb188 switch to invisible recaptcha 2017-09-16 12:49:48 -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 d12f082f9a fixes #3300 2017-09-14 11:37:42 -07:00
r888888888 953b9c7a74 fixes #3281 2017-09-12 13:11:30 -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
r888888888 e498e03ceb add message if ccs is not available 2017-08-23 17:42:37 -07:00
Albert Yi fe6ae4b3d1 Merge pull request #3233 from evazion/feat-order-metatags
Add order:{tagcount,gentags,arttags,chartags,copytags} metatags.
2017-07-31 11:56:06 -07:00
evazion fffc107d4f Add order:{tagcount,gentags,arttags,chartags,copytags} metatags. 2017-07-21 23:11:02 -05:00
r888888888 c5a40628e6 integrate with ccs 2017-07-20 15:25:19 -07:00
evazion b545a5e7f4 Fix related tags overflow in detachable tag edit dialog (fix #3219).
Bug: resizing the tag edit dialog then expanding the related tags
section doesn't resize the dialog to fit the expanded related tags
section. Instead a scrollbar appears.

Fixes this by expanding the dialog's height when the related tags are
shown.
2017-07-17 19:00:12 -05:00
evazion ffbf5bbcdf Factor out related tags visibility toggling code. 2017-07-17 18:58:20 -05:00
evazion 3e3844a796 Remove unused tag subscription code (#2956, #3206). 2017-07-13 13:44:26 -05:00
evazion d3d4e3cc8d Fix #3216: Allow note URL # anchors to work from the post itself 2017-07-12 21:53:26 -05:00
evazion 58923deaa7 saved_searches.js: fix typo. 2017-07-11 19:40:54 -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
evazion c13000a41e notes: show note id in note edit dialog title. 2017-07-07 16:09:24 -05:00
evazion ab0b4b4c67 notes: highlight notes linked via /posts/456#note-123. 2017-07-07 16:09:24 -05:00
evazion c2e62b77fa notes: move js initialization into initialize_all function. 2017-07-07 16:09:24 -05:00
evazion cda35494a4 Disable blacklists on pages without blacklist controls. (#3183) 2017-07-03 15:10:36 -05:00
Albert Yi 954666893f Merge pull request #3147 from evazion/fix-1908
Fix #1908: Allow E shortcut to work on upload page.
2017-06-13 15:40:29 -07:00
evazion a1c9f34027 Fix #1908: Allow E shortcut to work on upload page. 2017-06-12 20:28:56 -05:00
evazion 5f9fce7343 Fix #3139: XSS in Related Tags javascript. 2017-06-09 20:40:07 -05:00
evazion 42aed84975 /posts/$id: fix artcomm dialog to use dtext-ified commentary. 2017-06-09 12:29:04 -05:00
evazion fed23c0baa fetch source data: fix gallery warning for non-pixiv galleries. 2017-06-06 23:03:07 -05:00
Albert Yi eea5fbaab3 Merge pull request #3112 from evazion/fix-edit-mode
Fix height of tag edit box in edit mode.
2017-06-05 12:03:37 -07: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 9b31e16627 mode menu: fix height of tag edit box in edit mode.
Bug: in edit mode, each time you click a thumbnail the height of the tag
edit box increases by 4px.

This is due to `scrollHeight` including vertical padding. Fix it to a)
ignore this padding, and b) ensure the min height is at least 80px.
2017-06-04 14:02:46 -05: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