Shish
7353683a13
no implicit nulls (they are deprecated in php8.4)
2024-09-01 00:06:46 +01:00
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
Shish
f84bcaec01
microhtml for everything in <head>
...
I wanted to ensure that all pages (even the downtime page, terms page, home page, etc) had the appropriate `data-` attributes on `<body>` (because those are required for certain javascript, eg autocomplete, to work). One thing led to another and now everything in `head` is microhtml'ed
2024-06-21 18:52:05 +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
discomrade
50fe355046
add wildcard search examples
2024-02-20 15:05:13 +00:00
Marcos Del Sol Vives
b3eb5e7b03
Fix order:random not working on SQlite
2024-02-16 20:14:34 +00:00
Shish
263c455457
more consistent use of q parameter
2024-02-12 11:12:50 +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
5735320a95
[extensions] have extension categories, remove versions
2024-02-10 19:42:28 +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
b60c3fe362
[core] a load more type hints, and fix bugs revealed by type hints
2024-01-20 14:11:00 +00:00
Shish
373be4e05c
avoid stringy class names
2024-01-20 01:03:02 +00:00
Shish
434455b836
[tests] more voiding of tests
2024-01-15 14:31:51 +00:00
Shish
a1f22ef67c
[themes] void return type for display_* functions
2024-01-15 14:23:12 +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
f4da2e92f0
don't try blocking empty tag
2024-01-03 23:57:17 +00:00
Shish
4066e6db81
Slightly better client-side tag blocking, fixes #802
2024-01-03 23:54:03 +00:00
Shish
c5c972fe94
[themes] use CSS variables + CSS grid to control image grid layouts, fixes #938
2024-01-03 15:30:20 +00:00
Shish
3acc3fa607
[css] remove more dead css, make more extension CSS be specific
2024-01-01 16:21:43 +00:00
Shish
9f002b6bf7
typed arrays
2024-01-01 03:30:21 +00:00
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