Shish
b3aa0fc381
Merge branch 'main' into speed-hax
2024-08-31 22:00:30 +01:00
Shish
399a56ac79
[dev] bump phpstan strictness
...
no more null surprises
2024-08-31 21:25:20 +01:00
Shish
8b20fa3bc2
Add preg_replace_ex
...
having preg_replace return string|array|null is a pain, string|exception is much cleaner
2024-08-31 19:56:27 +01:00
Shish
8f8c0d151a
Update dependency versions
2024-08-31 17:06:39 +01:00
Shish
d4c17598fb
[core] add PetalBot to the list of bots
2024-06-30 01:25:36 +01:00
discomrade
350b44f250
[speed_hax] extract SPEED_HAX tweaks to extension
2024-06-14 13:52:49 +00:00
Shish
ac14d1e4c6
[core] search code docs and test function
2024-02-24 14:44:17 +00:00
Shish
cff1bbad7d
[various] split Index::onSearchTermParse into relevant extensions
2024-02-21 22:35:06 +00:00
Marcos Del Sol Vives
b3eb5e7b03
Fix order:random not working on SQlite
2024-02-16 20:14:34 +00:00
Shish
7ee4152942
[core] organise exceptions a bit
2024-02-11 16:03:23 +00:00
Shish
8c22cb1fb6
[core] exact and named page args
2024-02-11 11:34:17 +00:00
Shish
77b755e68b
[core] reduce use of GET global
2024-02-09 16:36:57 +00:00
Shish
a9e4c4bdb3
use POST when building search results, see #1026
2024-02-09 11:00:18 +00:00
Shish
2688843d80
more types
2024-01-15 13:08:59 +00:00
Shish
bb9ab613ce
[everything] bulk set event handler return types to void
2024-01-15 11:52:35 +00:00
Shish
ec35cace6a
[core] replace quarter-arsed CLI interface with Symfony Console
2024-01-11 01:01:39 +00:00
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