aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/autocomplete.js
Commit message (Collapse)AuthorAgeFilesLines
* autocomplete performance: this slightly changes the editor contact ↵Mario Vavti2018-10-241-1/+1
| | | | autocomplete behaviour. queries using *like* with a prepended % to the query string do not make use of indices. this is no big issue when we query abook but can get really slow when xchan table is involved. this commit changes the xchan table only queries to use the *str%* format. this means that the result set for channels we are not connected with will change in a way that xchan_name and xchan_addr will bematched only from the beginning of the name or address. this commit also changes textcomplete to only start the query after the 3rd character. the result set between 2 and 3 characters is mostly very different and only from 3 chars on there is a high possibility the channel we look for is already in the result.
* textcomplete: return up to 100 items and look for for matches in the entire ↵Mario Vavti2018-10-221-12/+28
| | | | string (not just the beginning) when suggesting emojis
* add summary to bbcode autocomplete listMario Vavti2018-10-221-2/+2
|
* display address in contact_format() instead of nickMario Vavti2018-05-171-1/+1
|
* consolidate recent autocomplete changesMario Vavti2018-05-131-18/+14
|
* remove the old autocomplete cache mechanismzotlabs2018-05-061-21/+1
|
* autocomplete after 2 chars instead of 3; this was changed some months back ↵zotlabs2018-05-061-8/+8
| | | | to work around implementation quirks in the custom cache driver that is now disabled.
* add changes from ae35ac0cec3f6bf337 to contact_autocomplete so channel ↵zotlabs2018-05-031-2/+3
| | | | source completion will work correctly
* quick fix for issue #1150 - needs improvement and review of other ↵Mario Vavti2018-05-031-2/+5
| | | | textcomplete implementations.
* if there is more than one textarea we need to work through all of themMario Vavti2018-04-261-17/+26
|
* a better way to deal with js errors in autocomplete plugins if the object is ↵Mario Vavti2018-04-261-0/+19
| | | | not available
* fix the on select handlersMario Vavti2018-04-261-6/+6
|
* upgrade to textcomplete (jquery.textcomplete is discontinued), enable ↵Mario Vavti2018-04-261-17/+53
| | | | built-in cache and unify to start lookup after 3 characters
* some tagging workzotlabs2018-04-251-15/+15
|
* make tag autocomplete less scary looking in the editor. If this works out we ↵zotlabs2018-04-241-6/+1
| | | | can simplify and get rid of a huge amount of spaghetti tag logic.
* fix navbar contact autocomplete 'undefined' hovertipzotlabs2018-04-191-1/+1
|
* update the search jszotlabs2018-04-161-1/+10
|
* extend ACzotlabs2018-04-081-1/+12
|
* private forum mentionszotlabs2018-04-041-1/+1
|
* allow case independence of replacements as well as patternszotlabs2018-03-301-1/+1
|
* use context methodzotlabs2018-03-281-0/+1
|
* hashtag autocompletezotlabs2018-03-071-1/+15
|
* add url and headings to bbco_autocomplete()Mario Vavti2017-12-211-1/+1
|
* get rid of spinner.js in use a lightweight css spinner insteadMario Vavti2017-09-261-3/+3
|
* tagging changes - provides ability to mention a forum by using !forumname as ↵zotlabs2017-09-241-1/+11
| | | | well as the traditional red style (@forumname+). This should probably not be advertised on a wide scale until after a critical mass of sites have updated to a version containing these changes. This adds yet another option type to the ACL module which probably needs refactoring soon since it is turning into option type spaghetti.
* fix fullscreen and bbco_autocomplete popup renderingMario Vavti2017-03-201-1/+6
|
* bs4 fixesMario Vavti2017-03-191-2/+7
|
* fix item_list and item_search templates. make item filer use a bootdtrap ↵Mario Vavti2017-03-171-1/+1
| | | | modal and some css and class fixes
* hide nav search behind a button, css fixes and cleanupMario Vavti2017-03-141-1/+1
|
* add observer.language to autocomplete and return a default value for observerMario Vavti2017-01-211-1/+5
|
* use highlight in ac-list for hl bbcodeMario Vavti2016-12-011-1/+2
|
* highlightzotlabs2016-11-291-1/+1
|
* add embed bbcode to the autocomplete listMario Vavti2016-10-301-1/+1
|
* better fix for navbar channel autocomplete, refrain from search until a ↵zotlabs2016-10-211-1/+1
| | | | minimum of 3 chars entered. 2 typically gives way too many results and usually low quality results.
* introduce checklist BBcode for checklistsMario Vavti2016-09-011-5/+8
|
* document mod_acl a bit better and try to remove some redundancies and ↵redmatrix2016-07-131-1/+1
| | | | consolidate the various options
* adjust the autocomplete regex slightly to account for emoji namesredmatrix2016-06-051-1/+1
|
* tweak dl bbcode in expanded autocomplete a bit moreMario Vavti2016-05-011-3/+4
|
* tweak dl bbcode in expanded autocompleteTreer2016-05-011-6/+9
|
* add dl bbcode to the expanded autocompleteMario Vavti2016-04-301-2/+2
|
* Add definition lists to bbcodeTreer2016-04-301-1/+1
|
* move spoiler= and quote= bbcode handling from prepare_body() to bbcode() and ↵Mario Vavti2016-04-261-1/+1
| | | | add open tag to bbco_autocomplete
* Use stopImmidiatePropagation() only if we are in a list to not interfere ↵Mario Vavti2016-04-201-2/+6
| | | | with other keypress listeners (e.g. chat).
* improve bbco autocomplete to not execute listNewLineAutocomplete() many ↵Mario Vavti2016-04-121-2/+3
| | | | times after many ajax page reloads
* some work on comanche autocompleteMario Vavti2016-04-091-1/+8
|
* translate the most common bbcodes to their *real name*. finally we should ↵Mario Vavti2016-04-071-1/+13
| | | | probably use an array for each bbcode containing the bbcode the real name and possibly a template for use as a peview in the dropdown
* some more autocompletion for bbcode tables - leave it open if we wanna use ↵Mario Vavti2016-04-071-0/+3
| | | | th or td though
* move li back in the list since it will be used far less than listMario Vavti2016-04-071-1/+1
|
* automate bbcode list creation even furtherMario Vavti2016-04-071-0/+57
|
* adjust the regex to also work with asteriks and use the simpler syntax for listsMario Vavti2016-04-061-6/+7
|