Commit graph

66 commits

Author SHA1 Message Date
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
Shish
03cf09937b fixes 2023-02-12 12:27:37 +00:00
Shish
3b89acc458 workaround 2023-02-08 01:05:31 +00:00
Shish
708e102338 Have shimmie's global cache object implement PSR-16 2023-02-02 16:04:35 +00:00
Shish
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
Shish
606c1fdedc
Merge pull request #878 from friends-of-the-core/autocomplete-in-more-places
Autocomplete in more places
2022-07-08 22:10:54 +01:00
Jessica Stokes
d4c45112ee Autocomplete in bulk tag editor, too 2022-04-29 11:44:42 -07:00
Jessica Stokes
335b8a94c4 Allow autocomplete for tagging in addition to tag searching 2022-04-29 11:44:42 -07:00
Jessica Stokes
dfaf9b5a2f Add order:favorites to autocomplete 2022-04-29 11:14:12 -07:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Shish
34f75cfb22 un-set autocomplete default to empty string rather than null 2021-11-06 16:12:28 +00:00
Shish
2d0c942084 fix a surprise string in autocomplete 2021-10-06 17:02:29 +00:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Shish
df797745e6 format 2020-11-15 13:21:15 +00:00
Shish
3a9fd38cb0 extract autocomplete code for later api-isation 2020-11-15 12:18:23 +00:00
Matthew Barbour
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
Matthew Barbour
63b2601e67 Mime type handling overhaul
Changed mime type map to deal with the reality that certain file types have multiple extensions and/or multiple mime types, as well as constants supporting all of the data. Created new functions using the updated mime type map to resolve mime types and extensions. Updated various items around the project that determine mime/extension to take advantage of the new functions.
2020-06-03 19:47:40 +01:00
Shish
1597eff082 lint fixing 2020-03-13 09:23:54 +00:00
Shish
e46b319295 set theme classes 2020-02-04 00:46:36 +00:00
Shish
40ab91f8ea remove redundant scoreql_to_sql 2020-02-01 22:44:50 +00:00
Shish
4e57e04ddf fix a lot of tests 2020-01-29 20:22:50 +00:00
Shish
6d3ca01424 format 2020-01-29 00:49:26 +00:00
Shish
615da9e9d2 fix all the tests (for sqlite, php7.4, osx, at least) 2020-01-28 21:19:59 +00:00
Shish
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
Shish
d7a2ca9ddc remove SCORE_STRNORM - everyone supports LOWER now 2019-12-15 16:07:46 +00:00
Shish
7bf60542df script defer 2019-11-28 11:43:30 +00:00
Shish
b568933f45 remove extension metadata comments (we have metadata objects now) 2019-11-02 20:19:09 +00:00
Shish
e08cdb1638 make Cache its own thing, separate from Database 2019-10-02 10:49:32 +01:00
Shish
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
Matthew Barbour
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
Shish
2935db9d6d take out category-autocomplete pending performance tweaks 2019-07-06 11:27:05 +01:00
Matthew Barbour
8d567e9553 Changed autocomplete to escape _ and %, lowercase the tags, and also query for tag names that are preceded by categories to address #630 2019-07-05 16:25:03 +01:00
Matthew Barbour
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
Shish
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
Shish
a0588bd8f8 empty list rather than 404 for invalid autocompletes 2019-05-21 23:12:52 +01:00
Shish
bef1628b08 also block autocomplete for % / _ 2019-04-26 10:31:23 +01:00
Shish
629f155187 don't autocomplete searches with ==0 or >32 characters 2019-04-26 10:12:40 +01:00
Shish
24276390b4 autocomplete only for search boxes again 2018-07-26 00:27:56 +01:00
Shish
e809a72155 log autocomplete errors instead of alerting 2018-07-20 00:48:03 +01:00