Commit Graph

38 Commits

Author SHA1 Message Date
b55b5a0a0f [autocomplete] new from-scratch autocomplete implementation 2023-12-26 02:52:19 +00:00
7f98412d8b cache_get_or_set function 2023-12-14 22:02:10 +00:00
fd1bb21f9d bumps 2023-11-11 22:05:28 +00:00
00d4f9f75c always have a Themelet, never null 2023-06-27 16:11:14 +01:00
ae8d8033b9 safer cache keys 2023-02-14 01:19:28 +00:00
03cf09937b fixes 2023-02-12 12:27:37 +00:00
3b89acc458 workaround 2023-02-08 01:05:31 +00:00
708e102338 Have shimmie's global cache object implement PSR-16 2023-02-02 16:04:35 +00:00
bce2d55744 Namespaces are one honking great idea—let's do more of those! 2023-01-10 22:44:09 +00:00
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
34f75cfb22 un-set autocomplete default to empty string rather than null 2021-11-06 16:12:28 +00:00
2d0c942084 fix a surprise string in autocomplete 2021-10-06 17:02:29 +00:00
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
df797745e6 format 2020-11-15 13:21:15 +00:00
3a9fd38cb0 extract autocomplete code for later api-isation 2020-11-15 12:18:23 +00:00
984c9702ec The great MIMEing 2020-06-25 00:42:34 +01:00
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
e46b319295 set theme classes 2020-02-04 00:46:36 +00:00
40ab91f8ea remove redundant scoreql_to_sql 2020-02-01 22:44:50 +00:00
9eb5acf2dc use strict types 2020-01-26 16:27:56 +00:00
d7a2ca9ddc remove SCORE_STRNORM - everyone supports LOWER now 2019-12-15 16:07:46 +00:00
e08cdb1638 make Cache its own thing, separate from Database 2019-10-02 10:49:32 +01:00
a6bb15d859 formatting 2019-09-29 14:30:55 +01:00
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
2935db9d6d take out category-autocomplete pending performance tweaks 2019-07-06 11:27:05 +01:00
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
826c623538 PageMode constants 2019-06-18 21:04:31 -05:00
34b05cca7c PSR-2. I'm not a huge fan, but ugly consistency beats no consistency... 2019-05-28 17:59:38 +01:00
a0588bd8f8 empty list rather than 404 for invalid autocompletes 2019-05-21 23:12:52 +01:00
bef1628b08 also block autocomplete for % / _ 2019-04-26 10:31:23 +01:00
629f155187 don't autocomplete searches with ==0 or >32 characters 2019-04-26 10:12:40 +01:00
977c3db1e3 PHP7 type annotations 2017-09-21 05:21:42 +01:00
bb35421b05 Load AutoComplete before Home, so that the headers show up 2016-06-26 18:57:53 +01:00
b5d56214cd fix case-insensitive autocomplete on postgres 2016-06-18 14:45:21 +01:00
5d5b1d7059 this should be set to $res 2016-06-18 14:03:37 +01:00
56e5348470 autocomplete caching
see 7dce8da850
2016-06-18 13:20:07 +01:00
2546621c59 sort autocomplete by score + show score 2016-06-18 13:20:04 +01:00
1bfec55690 tag lib for autocomplete
--not added autocomplete yet
2016-06-18 06:16:17 +01:00