1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-27 12:00:26 +02:00

252 Commits

Author SHA1 Message Date
rxu
4b7d7c2fc7 Merge branch 'ticket/17491' into ticket/17491-master 2025-05-07 00:40:32 +07:00
rxu
3d76a8bd09 [ticket/17491] Fix rows duplication in search results
PHPBB-17491
2025-05-07 00:31:21 +07:00
rxu
1c399dcab7 [ticket/17491] Consistently apply array_unique to search results
PHPBB-17491
2025-05-06 00:11:45 +07:00
rxu
7d1ae5bf19 [ticket/17496] Fix Implicitly marking parameters as nullable PHP deprecations
Also use union types consistently instead of question marks.
Fixed with php-cs-fixer.

PHPBB-17496
2025-05-02 22:48:46 +07:00
rxu
f11512b580 Merge branch 'ticket/16941' into ticket/16941-master 2025-04-25 22:12:50 +07:00
rxu
1ae9a49811 [ticket/16941] Remove ending slash from binlog_path
PHPBB3-14401
2025-04-25 21:28:36 +07:00
rxu
80a08d9c54 [ticket/16941] Add sphinx tests to 3.3.x
Also adjust Sphinx keywords splitting to be consistent with other search
backends when it comes to handling hyphen (like ignoring hyphen when it hasn't
NOT meaning and ignoring hyphen wrapped with "plus" signs)

PHPBB3-16941
2025-04-24 23:17:26 +07:00
rxu
8d0d6c012c [ticket/17491] Fix caching search results
PHPBB-17491
2025-04-12 14:35:40 +07:00
rxu
43de83b339 Merge branch 'ticket/17422' into ticket/17422-master 2024-10-31 15:08:08 +07:00
rxu
be52902541 [ticket/17422] Fix author_id search results sorting
PHPBB-17422
2024-10-30 23:56:05 +07:00
Marc Alexander
1449706da9 Merge branch '3.3.x' 2024-07-10 22:46:10 +02:00
crowjake
30144052da [ticket/17365] Prevent keyword limit being bypassed with the use of +, - and |
Provided `$countable_keywords` wherein the existing `$keywords` value is
modified so that any `-`, `+` and `|` characters without preceding spaces
is replaced with the same but with a space in front of each.

These spaces allow the string to be more accurately split when used instead
of $keywords inside the $num_keywords calculation.

This prevents the word limit being bypassed in search by the use of
operators without whitespace.

PHPBB-17365
2024-07-07 23:04:19 +01:00
Marc Alexander
12a942747a Merge pull request #6564 from marc1706/ticket/13162
[ticket/13162] Add truncate table functionality to database tools
2024-02-23 19:57:49 +01:00
Marc Alexander
661a8a6117 [ticket/17281] Update psalm config and fix issues
PHPBB3-17281
2023-12-30 17:41:12 +01:00
Marc Alexander
59f387e828 [ticket/13162] Use db tools for truncating
PHPBB3-13162
2023-12-17 19:49:23 +01:00
rxu
e7ccc1e6b2 Merge branch 'ticket/17115' into ticket/17115-master 2023-03-16 21:54:13 +07:00
rxu
defb807dbc [ticket/17115] Fix PHP warning for space+hyphen ending search query
PHPBB3-17115
2023-03-16 20:57:43 +07:00
Ruben Calvo
daa2dd280c [ticket/16955] Fix most return types in phpdoc
PHPBB3-16955
2023-01-02 14:17:04 +01:00
Marc Alexander
b90f384466 [ticket/16955] Clean up rrouter and fulltext_sphinx
PHPBB3-16955
2022-12-28 08:37:14 +01:00
Ruben Calvo
6de699d318 [ticket/12683] Small code style improvements
PHPBB3-12683
2022-12-11 17:16:44 +01:00
Ruben Calvo
8cea785f36 [ticket/12683] Improve exception handling
PHPBB3-12683
2022-12-11 17:16:44 +01:00
Ruben Calvo
1c191868de [ticket/12683] Undo changes in fulltext_sphinx.php
PHPBB3-12683
2022-12-11 17:16:44 +01:00
Ruben Calvo
e6af4c4def [ticket/12683] Fix post index creation
PHPBB3-12683
2022-12-11 17:16:44 +01:00
Ruben Calvo
23ce5121a4 [ticket/12683] Code review
PHPBB3-12683
2022-12-11 17:16:44 +01:00
rubencm
d55f1e04eb [ticket/12683] phpdoc and spaces
PHPBB3-12683
2022-12-11 17:16:44 +01:00
rubencm
9a6d42770e [ticket/12683] Remove check to avoid index twice (ticket 16755)
PHPBB3-12683
2022-12-11 17:16:44 +01:00
rubencm
1cef5f83a0 [ticket/12683] Fix test
PHPBB3-12683
2022-12-11 17:16:44 +01:00
rubencm
f4977853be [ticket/12683] Pass tables via parameter and small fix
PHPBB3-12683
2022-12-11 17:16:44 +01:00
rubencm
565c806eda [ticket/12683] Move state related code to helper class
PHPBB3-12683
2022-12-11 17:16:44 +01:00
rubencm
f1a2558cfe [ticket/16738] Multiple changes
Add post helper to get last post id
Launch exception if an action is in progress
Launch an exception if the action is already done
When listing search backend in cli, if the active
backend is not indexed an error is launched
Add state to commands
Fix small error in sphinx search backend

PHPBB3-16738
2022-12-11 17:16:44 +01:00
rubencm
c2f3ba44bd [ticket/12683] Add progress bar to delete index
PHPBB3-12683
2022-12-11 17:16:44 +01:00
rubencm
75bdbcf4fe [ticket/12683] Fix create index command
PHPBB3-12683
2022-12-11 17:16:44 +01:00
rubencm
0a24704b4f [ticket/12683] Add progress bar to create_index
PHPBB3-12683
2022-12-11 17:16:44 +01:00
Marc Alexander
0a64ffa834 Merge branch '3.3.x' 2022-04-30 22:46:05 +02:00
Marc Alexander
3308318524 Merge pull request #6377 from lionel-rowe/ticket/16981
[ticket/16981] Fix HTML-encoded emojis in email subject line
2022-04-30 22:27:37 +02:00
lionel-rowe
9b2f42748c [ticket/16981] Fix HTML-encoded emojis in email subject line
PHPBB3-16981
2022-04-05 17:18:33 +01:00
rxu
b1f6f93d99 [ticket/16976] Fix search results count for in-topic/in-forum search
PHPBB3-16976
2022-03-27 13:32:01 +07:00
rxu
baab5a13d9 [ticket/16976] Fix search results count for PostgreSQL
PHPBB3-16976
2022-03-27 13:32:00 +07:00
rxu
d44dd404a3 [ticket/16976] Fix search results count
PHPBB3-16976
2022-03-27 13:32:00 +07:00
rxu
6cc0fe5f95 [ticket/16976] Fix search results count for in-topic/in-forum search
PHPBB3-16976
2022-03-27 12:59:03 +07:00
rxu
16b27be2d0 [ticket/16976] Fix search results count for PostgreSQL
PHPBB3-16976
2022-03-25 20:58:36 +07:00
rxu
0dd053eeba [ticket/16976] Fix search results count
PHPBB3-16976
2022-03-25 00:01:23 +07:00
Marc Alexander
869867fdbe Merge pull request #6345 from marc1706/ticket/16935
[ticket/16935] Refactor sphinx to use new clases and remove unused parts
2022-01-22 09:04:43 +01:00
rxu
c75a9b772a [ticket/16902] Fix PostgreSQL search TypeError
PHPBB3-16902
2022-01-15 13:16:57 +07:00
rxu
343551f2ce [ticket/16902] Fix PosgreSQL author topics search results count
PHPBB3-16902
2022-01-15 12:08:08 +07:00
rxu
5a69fc22b4 [ticket/16902] Improve test, use DISTINCT for precise results count
PHPBB3-16902
2022-01-15 11:11:11 +07:00
rxu
f78f3135fc [ticket/16902] Improve search results count for MySQL
PHPBB3-16902
2022-01-15 11:11:10 +07:00
rxu
ba487a24dc [ticket/16902] Fix PosgreSQL author topics search results count
PHPBB3-16902
2022-01-15 10:18:16 +07:00
rxu
e7c81cd1a6 [ticket/16902] Improve test, use DISTINCT for precise results count
PHPBB3-16902
2022-01-15 10:16:54 +07:00
rxu
bf7936380a [ticket/16902] Improve search results count for MySQL
PHPBB3-16902
2022-01-15 10:16:14 +07:00