Commit Graph

881 Commits

Author SHA1 Message Date
Albert Yi
df6e86551a tweaks to similar posts 2018-07-20 15:05:51 -07:00
Albert Yi
7f6716d35f fixes #3766 2018-06-25 15:17:30 -07:00
Albert Yi
24f8710877 always display related tags container instead of trying to conditionally hide it (#3765) 2018-06-25 14:18:18 -07:00
r888888888
f506a909ed autocomplete tweaks 2018-06-24 01:37:30 -07:00
r888888888
6b0be1e092 show reltags when searching for artist onyl 2018-06-23 17:27:40 -07:00
r888888888
5aae4b649f add xhr variant detection 2018-06-23 12:09:01 -07:00
r888888888
3ba5c6fb51 refactor iqdb endpoints 2018-06-23 10:59:04 -07:00
Albert Yi
56b40a0255 add iqdb preview 2018-06-22 16:41:13 -07:00
Albert Yi
64446d49e1 add image cropping support 2018-06-22 14:41:57 -07:00
Albert Yi
b0c2ddba8b update tests 2018-06-14 17:52:41 -07:00
Albert Yi
0e6c358701 add drag and drop file uploads w/async processing
[skip ci]
2018-06-14 17:52:41 -07:00
Albert Yi
856637ace4 fix tests 2018-06-05 15:51:06 -07:00
Albert Yi
c75f520055 fixes #3730 2018-06-05 14:48:09 -07:00
Albert Yi
69eaf1677b Merge pull request #3717 from r888888888/autocomplete-cache-control
eliminate usage of localstorage to cache tag autocomplete results (fixes #3543)
2018-05-22 15:23:35 -07:00
Albert Yi
da34c95da5 add expiry parameter 2018-05-22 14:57:46 -07:00
Albert Yi
0e7349ca48 fix xss vuln 2018-05-22 14:48:00 -07:00
Albert Yi
72d72fd3d0 eliminate usage of localstorage to cache tag autocomplete results (fixes #3543) 2018-05-17 09:54:37 -07:00
Albert Yi
fcd80b6043 Artist urls can be prepended with a '-' to mark is inactive (#3388) 2018-05-16 16:04:05 -07:00
Albert Yi
c36efc1f62 fixes #3710 2018-05-15 12:36:01 -07:00
Albert Yi
984ab98a40 potential fix for #3672 2018-05-10 11:20:15 -07:00
Albert Yi
79a93f0198 Merge pull request #3703 from r888888888/favorites-meta-privacy
Fix #3633: Remove favorites meta tag
2018-05-07 17:36:55 -07:00
evazion
27ca4f7cb1 post tooltips: reduce width/height, increase delay. 2018-05-07 13:18:22 -05:00
Moebius-Strip
5643db6d2c Simplify favorites link JS
Make use of the "is favorited" data to determine if the post is favorited instead of relying on the entire list of favorites.
2018-05-06 09:45:55 -04:00
evazion
96669ca4b5 Fix #3694: Favgroup UX issues. 2018-05-03 00:53:42 -05:00
r888888888
9822ff999b switch to non-minified versions of js libs, load unminified versions of jquery and jquery ui on non-prod environments (#3690) 2018-04-30 11:28:20 -07:00
evazion
80f8a7fee4 post tooltips: add disable button inside tooltip. 2018-04-30 02:20:06 -05:00
evazion
93471c99c9 post tooltips: position tooltips above thumbnail. 2018-04-30 02:20:06 -05:00
evazion
21431892e8 post tooltips: increase delay 33%, remove gaps between tags. 2018-04-29 12:09:09 -05:00
evazion
862b1bc4c8 post tooltips: don't show if lost focus during ajax call (#3689).
Fix the tooltip appearing and getting stuck when the user mouses out
during the ajax request.
2018-04-29 01:58:39 -05:00
evazion
57203727b6 post tooltips: hide on keypresses (#3689). 2018-04-29 00:17:56 -05:00
evazion
08e25e40c5 post tooltips: disable tooltips on touchscreens (#3689).
On phones / tablets, long pressing a thumbnail sends emulated mouse events
that trigger the tooltip. Disable tooltips while touching is active.
2018-04-29 00:05:33 -05:00
evazion
a6499b5169 post tooltips: add disable option (#3689).
* Add "disable post tooltips" account setting.
* Add back title attribute for when fancy tooltips are disabled.
2018-04-28 23:50:51 -05:00
evazion
1a29b96579 post tooltips: avoid positioning tooltips offscreen (#3689).
ref: http://qtip2.com/plugins#viewport.
2018-04-28 23:49:22 -05:00
evazion
0dcd303546 post tooltips: cache html after first api call (#3689).
Avoid triggering the API call each time you hover over the same post.
Overwrite `content.text` to save the results after the first call.
2018-04-28 23:49:03 -05:00
evazion
e5db839e54 post tooltips: hide when clicking thumbnail (#3689). 2018-04-28 22:01:16 -05:00
r888888888
c5de0ca425 clear out menu.bindings on autocomplete lib after search (#3688) 2018-04-28 19:10:58 -07:00
r888888888
b0a161b745 remove jquery-ui-autocomplete from compiled app js 2018-04-28 18:38:18 -07:00
Albert Yi
36f15daa49 Merge pull request #3683 from evazion/fix-3678
Fix #3678: "Access denied" when adding commentary.
2018-04-27 17:28:23 -07:00
evazion
18c40b0d60 Fix #3678: "Access denied" when adding commentary. 2018-04-27 18:32:15 -05:00
Albert Yi
06e7dbb8e4 fixes #3674 2018-04-27 15:48:52 -07:00
evazion
907881aced post tooltips: increase delay, constraint height, condense tags (#3666).
* Increase hover delay to 450ms.
* Set max height and add scrollbars for long tag lists.
* Condense tag list (don't put categories on separate lines).
2018-04-27 13:55:14 -05:00
evazion
d731ec4393 Fix #3673: Autocomplete: hide menu after hitting space. 2018-04-27 13:24:23 -05:00
evazion
c398c8fff6 autocomplete: trigger completion for metatags after typing colon (#3558)
When completing metatags (e.g. `rating:safe`), show completions
immediately after typing the colon (`rating:`), instead of after the
first letter (`rating:s`).
2018-04-27 01:22:26 -05:00
evazion
6ab58104d4 jquery: fix obsolete use of load.
ref: https://jquery.com/upgrade-guide/3.0/#breaking-change-load-unload-and-error-removed
2018-04-27 00:38:46 -05:00
evazion
63a29247b2 post tooltips: disable on pool/favgroup order pages.
Disable to avoid tooltips appearing while trying to drag and drop.
2018-04-27 00:08:21 -05:00
evazion
72664e0105 saved searches: fix broken query/label autocomplete. 2018-04-26 23:55:13 -05:00
evazion
a49cb1c105 jquery: fix obsolete uses of success (#3548). 2018-04-26 23:53:49 -05:00
evazion
dd2abeb180 jquery-ui: fix autocomplete menu styling (#3671).
* Wrap menu items in a div.
* Replace ui-state-focus with ui-state-active.
* Make active items have a grey background.

ref: http://jqueryui.com/upgrade-guide/1.12/#require-wrappers-for-each-menu-item
ref: http://jqueryui.com/upgrade-guide/1.12/#use-consistent-styling-for-focused-and-active-items
2018-04-26 23:18:00 -05:00
evazion
36b819fdf8 notes.js: fix deprecated dialogClass option.
ref: http://jqueryui.com/upgrade-guide/1.12/#dialog
2018-04-26 22:11:17 -05:00
evazion
87c6698d55 sources.js: remove (dead code). 2018-04-26 21:33:28 -05:00