Compare commits

..

45 commits

Author SHA1 Message Date
4959fe533d search.php: (untested) refactor, using SearchService 2025-06-02 00:22:36 +02:00
b6749593fc context.php: add SearchQueries 2025-06-02 00:22:36 +02:00
a764135254 context.php: add SearchService 2025-06-02 00:22:36 +02:00
d83ff36066 Flags.php: add the flags that come embedded with php 2025-06-02 00:22:36 +02:00
6c9e720753 config.php: add search.max_length 2025-06-02 00:22:36 +02:00
d584ba86b5 config.php: better documentation for search.boards 2025-06-02 00:22:36 +02:00
e30270c14f config.php: add search.max_weight to the configuration options 2025-06-02 00:22:36 +02:00
33912f31c7 context.php: add UserPostQueries 2025-06-02 00:22:36 +02:00
96d770816e maintenance.php: add SearchQueries cleanup 2025-06-02 00:22:36 +02:00
d3fd7aeead SearchQueries.php: extract garbage cleanup 2025-06-02 00:22:36 +02:00
393845948a FiltersParseResult.php: add 2025-06-02 00:22:36 +02:00
5bb6875837 Revert "search.php: use SearchQueries"
This reverts commit 5719960838.
2025-06-02 00:22:36 +02:00
63a5a7f7e0 search.php: use SearchQueries 2025-06-02 00:22:36 +02:00
bf9036e1bf SearchService.php: expose searchable boards 2025-06-02 00:22:36 +02:00
0ebeb46be6 SearchService.php: add checkFlood 2025-06-02 00:22:36 +02:00
0ea22a1a15 SearchService.php: default to all boards 2025-06-02 00:22:36 +02:00
598f32ceae SearchService.php: limit the searchable boards 2025-06-02 00:22:36 +02:00
84030c161a SearchService.php: fix flag matching 2025-06-02 00:22:36 +02:00
b1023b9757 SearchService.php: rework but untested 2025-06-02 00:22:36 +02:00
453c0d4223 UserPostQueries.php: add documentation to the searchPosts method 2025-06-02 00:22:36 +02:00
1c87876df5 UserPostQueries.php: rewrite of searchPosts 2025-06-02 00:22:36 +02:00
4a74ca505f SearchQueries.php: add doc 2025-06-02 00:22:24 +02:00
99c93da918 SearchService.php: add search parse documentation 2025-06-02 00:22:24 +02:00
161808e496 search.php: fix html injection via query parameter 2025-06-02 00:22:24 +02:00
3503db0a5f SearchService.php: comment doc WIP 2025-06-02 00:22:24 +02:00
08e783312a SearchServiceTest.php: add basic testign for the SearchService 2025-06-02 00:22:24 +02:00
57b046963c SearchService.php: adjust board tokenization 2025-06-02 00:22:24 +02:00
529665edcf SearchService.php: adjust flag parsing 2025-06-02 00:22:24 +02:00
fe1311f044 SearchService.php: fix weighting 2025-06-02 00:22:24 +02:00
87c44ff410 Merge??? 2025-06-02 00:22:23 +02:00
ddcc7a98e4 SearchService.php: fix regex, parsing, group word chunks, use class, expose weighting 2025-06-02 00:22:12 +02:00
47c3e0e899 SearchFilters.php: add 2025-06-02 00:22:12 +02:00
1d375f1f40 Remove legacy bundled gettext 2025-06-02 00:22:12 +02:00
6563685c42 ProtectIPTest.php: remove constant re-definition 2025-06-02 00:22:12 +02:00
507ad10c2e polyfill.php: add gettext polyfills 2025-06-02 00:22:12 +02:00
d80c986ac6 GettextWrapper.php: add polyfill 2025-06-02 00:22:12 +02:00
b447ec39fb functions.php: do not load instance-config.php during testing 2025-06-02 00:22:12 +02:00
9518384ac1 composer: update geettext dependency 2025-06-02 00:22:12 +02:00
07b8f4b2bf functions.php: revert ancient temporary (lol) workaround for the gettext polyfill 2025-06-02 00:22:12 +02:00
8a4bc46ccc functions.php: skip instance-config.php check while testing 2025-06-02 00:22:12 +02:00
2acad9ea89 bannersTest.php: remove obsolete test 2025-06-02 00:22:12 +02:00
3a4b9a9b44 composer: autoload anti-bot AFTER bootstrap 2025-06-02 00:22:12 +02:00
af7d591c68 README: add test instructions 2025-06-02 00:22:12 +02:00
dc9106774a composer: add PHPUnit 9 2025-06-02 00:22:12 +02:00
6d368789a4 UserPostQueries.php: update 2025-06-02 00:22:08 +02:00

Diff content is not available