Commit graph

277 commits

Author SHA1 Message Date
Shish
61c52c2237 [index] less jquery 2023-12-30 14:20:03 +00:00
Shish
b456b86ca0 [index] remove hack for ancient opera 2023-12-30 13:59:56 +00:00
Shish
7617daa15c [autocomplete] rely on autocomplete-script to disable browser built-in where appropriate 2023-12-26 12:53:46 +00:00
Shish
e5c8bf7b18 one cookie set function, for consistent samesite/path/expires 2023-12-26 02:36:51 +00:00
Shish
2ac243d20d [core] use rawurlencode/decode consistently, deprecate caret system 2023-12-24 22:42:14 +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
4c8274161f fix more search edge-cases 2023-12-14 02:13:01 +00:00
Shish
e114057dfe PHPUnit 10 (and other bumps) 2023-12-14 00:25:32 +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
3179cc1969 format 2023-08-16 15:40:08 +01:00
Luana
498d71ab45 index help html 2023-08-16 15:40:08 +01:00
Shish
2b26908624 force searches to always search /post/list, fixes #930 2023-07-03 15:34:28 +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
4117678d72 "People seem to be madder about robots than ponies nowadays" 2023-06-25 10:02:02 +00: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
NottyNoz
a98560b061 tagit fix and ui 2023-03-27 16:45:59 +01:00
Shish
689b2b13af send_event(T) -> T 2023-02-04 20:50:26 +00:00
Shish
54e2ca21ec phpstan 2023-02-03 16:44:16 +00:00
Shish
708e102338 Have shimmie's global cache object implement PSR-16 2023-02-02 16:04:35 +00:00
Shish
39e29a883a iso8601 2023-02-01 19:55:41 +00:00
Shish
1f48c5ba19 remove some unused bits 2023-01-11 18:28:43 +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
a04bc2e7e4 php8.1 gogogo 2022-10-28 01:45:35 +01: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
6de6287663 add a test to cover multiple non-existent negative tags 2021-10-06 18:06:23 +01:00
Shish
77f7121e26 drop php7.3 support, make use of 7.4 features 2021-03-14 23:43:50 +00:00
Shish
45b1a381b8 add instructions for search by ID 2021-03-14 15:31:28 +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
439c3a8320 Image to Post - Index 2020-10-26 10:53:02 -05: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
Shish
69112fdee3 phpunit9 2020-10-24 18:55:07 +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
2cae6cd273 format 2020-04-25 21:36:28 +01:00
Shish
126c629a1a test 2020-03-28 14:39:03 +00:00
Shish
36a2125e90 basic tests for page nav 2020-03-26 21:28:36 +00:00
Daniel Oaks
0029aa5320 Add shortwiki entries when viewing a single tag 2020-03-23 22:48:38 +10:00
Shish
ad9cca36b1 improvements to run inside docker 2020-03-22 15:23:23 +00:00