Commit graph

5751 commits

Author SHA1 Message Date
88bb079d45 functions.php: tweak compressed page creation 2025-07-29 17:36:18 +02:00
a6d4772db0 SearchService.php: adjust wrong array_values 2025-07-24 00:25:28 +02:00
00a4435a61 Merge pull request 'Fix #135: make the flag filter work' (#143) from fix-flag-filter into config
Reviewed-on: leftypol/leftypol#143
2025-07-23 16:49:04 -05:00
783f4d0a78 SearchService.php: fix matchStrings not matching flags 2025-07-23 23:47:46 +02:00
67d9a638db SearchService.php: fix flag filtering 2025-07-23 23:47:19 +02:00
f491fa0cf8 UserSearchQueries.php: fix query generation 2025-07-23 23:47:19 +02:00
f6b74cb282 pages.php: gzip buffering of json ban stream was causing excessive latency 2025-07-23 21:19:35 +02:00
cbbc267b65 Merge pull request 'Fix #139 Stream the ban list from the database' (#140) from bans-json into config
Reviewed-on: leftypol/leftypol#140
2025-07-23 14:06:40 -05:00
dc6c33d095 pages.php: remove obsolete parameter from json bans stream 2025-07-23 21:06:04 +02:00
29b81517a9 public_banlist: remove obsolete parameter from json stream 2025-07-23 21:06:04 +02:00
3a8588ab7f bans.php: load database rows in a streaming fashion 2025-07-23 21:06:04 +02:00
68c0b2ae69 public_banlist: format 2025-07-23 21:06:04 +02:00
938bcd2889 Revert "Display banned post contents if reason does not contain cp"
This reverts commit 9f00630b40.
2025-07-23 19:40:20 +02:00
0eb075705c Revert "Add porn to public banlist theme"
This reverts commit 8b5688e12a.
2025-07-23 19:40:10 +02:00
46a53aa483 Merge pull request 'Fix #136: remove filtered out keywords and filters' (#137) from board-search-too-broad into config
Reviewed-on: leftypol/leftypol#137
2025-07-12 19:00:17 -05:00
45603467bc SearchService.php: remove filtered out keywords and filters 2025-07-13 01:54:47 +02:00
cef13f0b31 config.php: increase the default search max weight 2025-07-12 00:07:58 +02:00
28ce41dedc SearchService.php: prettier weight logging 2025-07-12 00:07:22 +02:00
1767c7b316 UserPostQueries.php: fix post search ordering 2025-07-08 21:38:00 +02:00
360161b1fc SearchService.php: handle filters getting trimmed into oblivion 2025-07-08 21:31:39 +02:00
75ce687af5 SearchService.php: fix search detecting spurious flags 2025-07-08 21:17:18 +02:00
8028c1bd9a context.php: handle the search.flag_filter configuration option 2025-07-08 21:09:02 +02:00
d695ff2582 config.php: add flag_filter option, off by default 2025-07-08 21:08:02 +02:00
6e9d0a4e77 Merge pull request 'Refactor the search subsystem' (#127) from rework-search into config
Reviewed-on: leftypol/leftypol#127
2025-07-08 13:59:52 -05:00
26ad13bbea search_form.html: make the search for UI less terrible 2025-07-08 00:33:19 +02:00
746f36e9f2 search_form.html: update filters help 2025-07-08 00:33:19 +02:00
626a3fd683 search_form.html: format 2025-07-08 00:33:19 +02:00
3c5cca9265 search.php: supply flag filter enablement 2025-07-08 00:33:19 +02:00
c9610bb237 search.php: handle query too broad error 2025-07-08 00:33:19 +02:00
1723db32a6 style.css: remove fieldset label css (interfered with threads in the search page) 2025-07-08 00:33:19 +02:00
bbcfbf78ae docker: print PHP errors on docker log 2025-07-08 00:33:19 +02:00
29f476e3a9 search.php: refactor, use SearchService 2025-07-08 00:33:19 +02:00
b2308b1ffe context.php: add SearchQueries 2025-07-08 00:33:19 +02:00
519036e625 context.php: add SearchService 2025-07-08 00:33:19 +02:00
b542ee949a context.php: add UserPostQueries 2025-07-08 00:33:19 +02:00
48f29774c3 config.php: add search.max_length 2025-07-08 00:33:19 +02:00
701007ea95 config.php: better documentation for search.boards 2025-07-08 00:33:19 +02:00
330d6b7c01 config.php: add search.max_weight to the configuration options 2025-07-08 00:33:19 +02:00
78e31f653c SearchService.php: expose if the flag filter is enabled 2025-07-08 00:33:19 +02:00
a749cc829c SearchService.php: check for query too broad 2025-07-08 00:33:19 +02:00
b61cb8acf3 SearchService.php: add SearchQueries and checkFlood 2025-07-08 00:33:19 +02:00
63be2bca4e SearchService.php: limit and expose the searchable boards 2025-07-08 00:33:19 +02:00
d6ca80f7fd SearchService.php: add search service with fully linear regex parser 2025-07-08 00:33:19 +02:00
6b4542edb3 Flags.php: add the flags that come embedded with php 2025-07-08 00:33:19 +02:00
6e153daa1d FiltersParseResult.php: add 2025-07-08 00:33:19 +02:00
46d5dc0fd4 SearchFilters.php: add 2025-07-08 00:33:19 +02:00
c6cec16971 UserPostQueries.php: add searchPost method 2025-07-08 00:33:16 +02:00
57cf3abed4 maintenance.php: add SearchQueries cleanup 2025-07-07 22:07:14 +02:00
73df37918d SearchQueries.php: add 2025-07-07 22:07:11 +02:00
9878b0c4d2 static: use the alunya favicon 2025-07-03 22:22:40 +02:00