Commit graph

104 commits

Author SHA1 Message Date
Shish
8f8c0d151a Update dependency versions 2024-08-31 17:06:39 +01:00
Shish
db148da479 [core] add shm_make_link JS function, to generate links from JS which work both with and without niceurls, fixes #1160, fixes #1151 2024-06-05 14:01:40 +01:00
Shish
e80d235fe9 [core] use Safe library, reduce StdLibEx 2024-02-20 10:38:20 +00:00
Shish
bd2ca06659 [autocomplete] support aliases 2024-02-12 13:48:06 +00:00
Shish
331a724b6e [autocomplete] don't try to complete a minus by itself, see #1028 2024-02-12 13:25:06 +00:00
Shish
4b8a6c6c43 [autocomplete] complete negative searches, fixes #1028 2024-02-11 16:40:44 +00:00
Shish
77b755e68b [core] reduce use of GET global 2024-02-09 16:36:57 +00:00
Shish
51afc014a2 home page lacks base-href 2024-02-04 00:33:22 +00:00
Shish
74889c4c94 [autocomplete] allow enter to do the default thing 2024-02-04 00:24:34 +00:00
Shish
e5828b0810 base_href as a data attr 2024-01-28 21:24:21 +00:00
Shish
cd79e4879d [autocomplete] check for completions with and without colons, fixes #1018 2024-01-21 10:51:43 +00:00
Shish
37ceebdabd [autocomplete] more tests 2024-01-21 10:41:25 +00:00
Shish
82a3ce25c2 level 7 typing 2024-01-20 23:27:34 +00:00
Shish
b60c3fe362 [core] a load more type hints, and fix bugs revealed by type hints 2024-01-20 14:11:00 +00:00
Shish
12ca708be8 submit form when enter is pressed in an autocomplete text area 2024-01-19 19:11:18 +00:00
Shish
434455b836 [tests] more voiding of tests 2024-01-15 14:31:51 +00:00
Shish
802ff336a2 [core,tests] even more types 2024-01-15 14:08:11 +00:00
Shish
bb9ab613ce [everything] bulk set event handler return types to void 2024-01-15 11:52:35 +00:00
Shish
1b6d8540a5 [autocomplete] don't show tags with 0 uses, see #1012 2024-01-14 16:45:09 +00:00
Shish
5fccbc5ad5 [autocomplete] disable spellcheck from also trying to autocomplete 2024-01-08 19:14:42 +00:00
Shish
ae327f5a2a [autocomplete] use the same font size as the surrounding text, see #999 2024-01-08 18:56:46 +00:00
Shish
4852bb0704 [autocomplete] be consistently aligned, see #999 2024-01-07 23:48:42 +00:00
Shish
e0f5ce21a2 [autocomplete] don't allow completions to overflow the box, or for the box to overflow the screen, see #999 2024-01-07 22:14:13 +00:00
Shish
ad4d9c74d4 [autocomplete] no text-wrapping in the middle of completions, see #999 2024-01-07 22:06:46 +00:00
Shish
668e99b140 [autocomplete] When tag categories are enabled, show foo:bar as a completion result for bar, fixes #630 2024-01-05 12:24:50 +00:00
Shish
585ba7f42d [autocomplete] remove dead css 2024-01-01 16:07:59 +00:00
Shish
65d858c1ca [autocomplete] when tags have the same number of uses, sort by name 2023-12-29 12:17:00 +00:00
Shish
d82df9d7d8 [autocomplete] optimistic client-side filtering 2023-12-29 12:04:05 +00:00
Shish
0e887175e0 [autocomplete] allow keyboard to override an idle mouse 2023-12-29 11:39:00 +00:00
Shish
ef5f1f8599 [autocomplete] min-width rather than wrapping 2023-12-29 11:37:44 +00:00
Shish
4c5af15a88 [autocomplete] default to returning 1000 results from the server instead of all of them 2023-12-29 11:10:58 +00:00
Shish
8007ed8532 [autocomplete] only render the top 100 results 2023-12-29 11:00:56 +00:00
Shish
05d137cd6d [autocomplete] set innerText rather than HTML to avoid need for HTML parsing 2023-12-29 10:47:51 +00:00
Shish
81f68f1e90 [autocomplete] remove the whole completions div instead of removing each child individually 2023-12-29 10:45:13 +00:00
Shish
6608e3c33e [autocomplete] avoid a rerender 2023-12-29 10:38:24 +00:00
Shish
15a07205fd [autocomplete] refactor getCurrentWord 2023-12-29 10:36:32 +00:00
Shish
8eb13f59e6 [autocomplete] allow right-arrow for completion 2023-12-29 10:36:32 +00:00
Shish
09051249a7 [autocomplete] force wrapping for completions 2023-12-29 10:36:32 +00:00
Shish
ec85a0bd76 [autocomplete] touch too 2023-12-26 04:18:40 +00:00
Shish
a92d1ac7c5 [autocomplete] argh 2023-12-26 04:11:35 +00:00
Shish
33adf9aeff [autocomplete] don't lose focus after selecting a completion 2023-12-26 03:40:30 +00:00
Shish
0eef0cc42b [autocomplete] specify exact position 2023-12-26 03:18:31 +00:00
Shish
5f69545b65 style tweak 2023-12-26 02:57:10 +00:00
Shish
b55b5a0a0f [autocomplete] new from-scratch autocomplete implementation 2023-12-26 02:52:19 +00:00
Shish
7f98412d8b cache_get_or_set function 2023-12-14 22:02:10 +00:00
Shish
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
Shish
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
Shish
133616e508 Autocomplete tags for anything with class=autocomplete_tags
Not all search boxes are tag-search boxes

If somebody doesn't want autocompleted tags, then don't use
class=autocomplete_tags?
2023-05-25 14:04:13 +01:00
NottyNoz
a98560b061 tagit fix and ui 2023-03-27 16:45:59 +01:00
Shish
ae8d8033b9 safer cache keys 2023-02-14 01:19:28 +00:00