Shish
f877ad0c92
[index] allow searching for multiple IDs
2024-01-04 16:52:30 +00:00
Shish
7f98412d8b
cache_get_or_set function
2023-12-14 22:02:10 +00:00
Shish
a5c6f1321b
refactor search a little and add much better testing
2023-12-14 17:04:16 +00:00
Shish
fd1bb21f9d
bumps
2023-11-11 22:05:28 +00:00
Shish
43c7be0e89
dedicated search_link() function for generating links to search results, see #936
2023-08-18 13:52:03 +01:00
Luana
498d71ab45
index help html
2023-08-16 15:40:08 +01:00
Shish
8fb6fd5f54
stricter nulls
2023-06-27 17:45:35 +01:00
Shish
00d4f9f75c
always have a Themelet, never null
2023-06-27 16:11:14 +01:00
Shish
e62cdb0979
offset can't be null, and named args
2023-06-27 15:32:39 +01:00
Shish
12f0bc3a81
Allow SearchTermParseEvent to have a bit more control over results
...
Rather than "add querylet or do nothing", moving more code into the
event means that event handlers are able to add a positive or negative
querylet, add a positive or negative tag, or do nothing
This means that events can respond to the `null` search term by adding a
tag, which would be useful for #917
2023-05-25 12:59:25 +01:00
Shish
689b2b13af
send_event(T) -> T
2023-02-04 20:50:26 +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
58db685b29
more error handling
2021-11-10 19:33:51 +00:00
Shish
77f7121e26
drop php7.3 support, make use of 7.4 features
2021-03-14 23:43:50 +00:00
Matthew Barbour
72268d529d
Moved user options to separate page, modularized the settings page code so that it can be re-used to simplify and standardize user settings in the same manner as global settings
2021-01-16 14:26:17 -06:00
Matthew Barbour
8d34fc360c
Added length search to handle #777
2020-10-26 08:58:17 -05:00
Shish
19a6b39c70
make use of str_starts_with / str_ends_with / str_contains
2020-10-25 19:31:58 +00:00
Shish
0dca09c230
make order querylets a first class citizen instead of a hack
2020-10-25 12:55:36 +00:00
Shish
19d5cfe8b9
make search term parse ID a standard thing
2020-10-25 12:55:36 +00:00
Shish
d19f9cb287
Rephrase ratio search so that it works across databases, fixes #759
2020-10-25 00:57:21 +01:00
Matthew Barbour
59bb8a31a2
Relaxed filename search to allow for non alpha-numeric filenames
2020-10-08 17:24:25 -05:00
Matthew Barbour
b8b33eecfe
Added lower to filename search
2020-08-28 09:45:51 -05:00
Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Shish
1e76fb239e
s/fullrandom/dailyshuffle/, and run formatter
2020-05-13 13:03:49 +01:00
MetallicAchu
10d46395d7
Update main.php
...
Added order[=|:]fullrandom so user doesn't need to choose a new seed every time.
Thus the list will change on a daily basis without user interaction, giving a more dynamic feel to the website
2020-05-07 08:10:15 +03:00
Shish
9514075594
order=length
2020-02-09 00:32:38 +00:00
Shish
2f975eb6d4
don't crash if UA is empty
2020-02-08 11:55:06 +00:00
Shish
85cf801fb3
also msnbot
2020-02-08 11:43:04 +00:00
Shish
0b304bdf2e
use Permissions for Favourites / Artist / Relationships, and also check image lock when sending ImageInfoSet instead of getting each receiver to check it
2020-02-08 00:24:42 +00:00
Shish
45347279ce
also bingbot and yandex don't need to see deep archives of weird searches
2020-02-06 12:49:11 +00:00
Shish
81ebc51257
actually, we don't really need weird combinations at all...
2020-02-06 03:11:21 +00:00
Shish
cdaecb3380
format
2020-02-06 03:10:30 +00:00
Shish
c7a152df77
limit google a bit...
2020-02-06 02:59:44 +00:00
Shish
9216be3c96
if we're past the searchable number of pages, don't bother counting the number of pages, just 404
2020-02-04 22:44:27 +00:00
Shish
7cf5c2a28c
bump size of index cli search
2020-02-02 15:53:20 +00:00
Shish
da42b19d6b
make it more explicit that caret/decaret are for encoding tags into URL paths
2020-01-30 21:50:30 +00:00
Shish
3631084afd
format
2020-01-26 16:38:26 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
ee3754ae79
Merge branch 'master' of https://github.com/shish/shimmie2
2019-11-03 16:28:00 +00:00
Matthew Barbour
6b030c00eb
Constants for index config
2019-10-18 16:26:11 +01:00
Shish
5b2e9e44a2
note a TODO
2019-10-04 21:08:33 +01:00
Shish
134d2c029c
limit results by default (ideally we'd have a --limit flag...)
2019-10-04 21:02:16 +01:00
Shish
577d5c572a
search from CLI for integration with other unix tools
2019-10-04 20:48:59 +01: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
Matthew Barbour
a18589ee0a
Help extension
...
Provides foundation for help pages that are generated from loaded extensions, starting with comprehensive search documentation. Addresses #522
2019-08-05 09:03:49 -05:00
Matthew Barbour
00464d2579
Implemented a nav link generating system so that extension power what shows up in the menus rather than being hard-coded in the themes.
2019-08-05 09:01:20 -05:00