evazion
fffc107d4f
Add order:{tagcount,gentags,arttags,chartags,copytags} metatags.
2017-07-21 23:11:02 -05:00
evazion
3e3844a796
Remove unused tag subscription code ( #2956 , #3206 ).
2017-07-13 13:44:26 -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
4631262374
Fix broken tag autocomplete on multiple pages.
...
Mark all tag <input>s with a `data-autocomplete` attribute, instead of
hardcoding a list of html IDs to autocomplete in javascript.
This way should be less error prone. It fixes autocomplete in several places:
* Autocomplete for the search box on /posts didn't work in the
responsive layout. This was because /posts has two search boxes that
both have the id `tags`: one in the normal sidebar, and one in the
responsive tag list. $("#tags") only initialized autocomplete on the
first one.
* Autocomplete didn't work on the aliases or implications pages. This
was due to selecting the wrong html ids.
2017-04-22 15:24:03 -05:00
r888888888
97da8f8647
deprecate tag subscriptions with warnings
2017-04-14 16:00:20 -07:00
evazion
558e4e5443
Add filetype: metatag.
2017-02-02 00:53:56 -06:00
evazion
601b439f96
Add order:comment_bumped, order:comment_bumped_asc metatags.
2017-01-21 11:10:40 +00:00
evazion
469f48a118
Fix @mention autocomplete for comments & forum posts.
...
Fix comment autocomplete (broken in 1257639 ). Also fix forum post
autocomplete (didn't work when editing forum posts).
2017-01-02 12:53:30 -06:00
Albert Yi
2a5343b8cf
add more intelligent js for artist forms
2016-10-18 14:56:40 -07:00
Type-kun
d1674e4cbb
Prevent JS mention autocomplete for e-mails ( #2655 )
2016-09-09 00:00:42 +05:00
r888888888
7637cfbad9
enable mentions for new forum topic
2015-12-17 15:39:02 -08:00
r888888888
8a63fb0f7c
enable mention for comments #2466
2015-11-30 16:51:07 -08:00
r888888888
5b04cd632d
additional @mention autocomplete fixes
2015-10-01 12:13:28 -07:00
r888888888
f3029982bf
fix js bugs #2466
2015-09-29 17:52:18 -07:00
r888888888
2babdbe68d
support names with spaces #2466
2015-09-29 17:47:59 -07:00
r888888888
c9bd6fac5a
add javascript for at mentioning usernames
2015-09-29 17:36:31 -07:00
Toks
04fa5596e2
Favorite groups
2015-06-23 15:25:54 -04:00
Toks
3bc92f1ca7
#1938 Add order:random as alternative random trigger
2015-06-09 18:15:50 -04:00
Toks
c56d16d336
Put current user first, closes #2063
2015-04-23 09:43:19 -04:00
Toks
e9af343161
fix #2370
2015-04-17 17:08:44 -04:00
Toks
6026130282
add .autocomplete-antecedent class
2015-04-07 15:06:50 -04:00
Toks
558fd4d8ef
Include aliased tags in autocomplete
2015-04-04 12:06:06 -04:00
r888888888
5063e326e3
Revert "remove mpixel search, remove some unused indexes on posts"
...
This reverts commit 11e550c385 .
2015-01-18 22:56:02 -08:00
r888888888
11e550c385
remove mpixel search, remove some unused indexes on posts
2015-01-15 17:43:10 -08:00
r888888888
81c5c15758
revert hammer js changes
2014-08-20 16:50:53 -07:00
r888888888
461f3b4a4d
fixes #2243
2014-08-18 13:13:49 -07:00
Toks
cd9970bfa1
fixes #2227
2014-07-16 11:48:10 -04:00
r888888888
2cfc66a60a
remove intelligent autocomplete expiry
2014-05-15 21:46:59 -07:00
Toks
b182311e29
fix javascript error
2014-05-14 22:31:05 -04:00
r888888888
852e28b032
add autocomplete guards
2014-05-09 17:42:40 -07:00
r888888888
9b8f70dd5f
fixes #2147
2014-05-09 16:27:39 -07:00
Toks
e84934bf78
Automatically focus first autocomplete result
...
In order to do this space-to-complete needs to be removed too since it
doesn't work together with autofocus. I think this is a good thing
anyway as it can cause accidental selections when typing. And we already
have two other shortcuts for this too (enter and tab).
2014-04-28 15:07:09 -04:00
Toks
0519c44821
#2097 : Use localStorage.length instead to get number of entries
...
It looks like some older browsers are not compatible with the keys()
function of jquery.storageapi, but are compatible with just
localStorage.length.
2014-02-15 21:01:51 -05:00
r888888888
2abfcd9063
add check for localstorage implementation in autocomplete
2014-02-13 11:36:33 -08:00
r888888888
ef7c91cfc6
Merge branch 'localstorage-autocomplete' of github.com:r888888888/danbooru into localstorage-autocomplete
2014-02-12 16:04:05 -08:00
r888888888
35cc338dce
add check to make sure localstorage doesnt get filled
2014-02-12 15:20:36 -08:00
Toks
f1a995e2d8
#2097 : Fix autocomplete for single-term fields
...
JQuery passes an object as first argument but normal_source function
accepts a string instead
2014-02-11 22:20:51 -05:00
r888888888
06b92f9546
cache autocomplete results
2014-02-11 15:56:06 -08:00
Toks
a9895ea212
Update metatag autocomplete
2014-01-16 19:42:59 -05:00
Toks
f9df9ddb4a
fixes #2074 , reduce height of tag sub input box
2014-01-03 01:40:30 -05:00
Toks
e4b196e08a
#2063 : Add child:
2013-12-23 12:26:43 -05:00
Toks
d0c0d2a314
Fix single-tag autocomplete fields not colorizing tags
2013-12-17 16:25:28 -05:00
Toks
13157cecfa
#2063 : fix issue with static metatags
2013-12-17 00:05:07 -05:00
Toks
4f537b2136
#2063 : Add noteupdater
2013-12-16 15:53:32 -05:00
Toks
5c04efce65
Autocomplete metatags ( #2063 )
2013-12-16 13:15:36 -05:00
Toks
7e79509b98
Move tag autocomplete logic to new file
2013-12-14 11:46:24 -05:00