Shish
8f8c0d151a
Update dependency versions
2024-08-31 17:06:39 +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
77b755e68b
[core] reduce use of GET global
2024-02-09 16:36:57 +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
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
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
65d858c1ca
[autocomplete] when tags have the same number of uses, sort by name
2023-12-29 12:17:00 +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
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
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
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
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
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
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
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
Shish
bb35421b05
Load AutoComplete before Home, so that the headers show up
2016-06-26 18:57:53 +01:00
Daku
b5d56214cd
fix case-insensitive autocomplete on postgres
2016-06-18 14:45:21 +01:00
Daku
5d5b1d7059
this should be set to $res
2016-06-18 14:03:37 +01:00
Daku
56e5348470
autocomplete caching
...
see 7dce8da850
2016-06-18 13:20:07 +01:00
Daku
2546621c59
sort autocomplete by score + show score
2016-06-18 13:20:04 +01:00