1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-28 20:40:24 +02:00
Commit Graph

6303 Commits

Author SHA1 Message Date
toxyy
0eb98d51e2 [ticket/15214] Provide usage example within event docblock
Adds similar usage examples like the event core.permissions has

PHPBB3-15214
2025-05-20 16:24:32 +07:00
toxyy
82a5e20f3e [ticket/15214] Replace arrow functions with anonymous functions
Arrow functions aren't added until PHP 7.4, so we can't use them yet.
Anonymous functions have been added since PHP 5.3

PHPBB3-15214
2025-05-20 16:24:32 +07:00
toxyy
d07aeb00d8 [ticket/15214] Add event & functionality for assigning template event priority
Event added to allow template events to be assigned priority per extension,
event location chosen so that it only fires once.
Twig node event class refactored to allow template event priority assignment,
compile calls are deferred until all locations are processed
per extension namespace.
Priority precedence mirrors Symfony priority, with higher numbers
being placed at the beginning of the array.
Duplicate priority assignment will currently have the later events
compiled before the others.

PHPBB3-15214
2025-05-20 16:24:24 +07:00
Marc Alexander
29a74db9ec Merge pull request #6815 from rxu/ticket/17512
[ticket/17512] Add PHP Sniffer coding standard for union types
2025-05-19 18:01:10 +02:00
rxu
1cd17caf87 [ticket/17512] Fix the code layout error reported
PHPBB-17512
2025-05-15 20:42:24 +07:00
rxu
83e1886e27 Merge branch 'ticket/17506' into ticket/17506-master 2025-05-09 17:04:57 +07:00
rxu
10947f3d49 [ticket/17506] Ensure superglobal variables are arrays before applying addition
PHPBB-17506
2025-05-09 16:58:36 +07:00
Marc Alexander
04f2141a7d Merge pull request #6799 from rxu/ticket/17491
[ticket/17491] Fix caching search results - 3.3.x
2025-05-07 20:15:53 +02:00
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
0066d53c08 [ticket/17496] Fix recently added changes
PHPBB-17496
2025-05-02 22:48:59 +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
Marc Alexander
e85b25122a Merge pull request #6802 from marc1706/ticket/17493
[ticket/17493] Drop support for jabber
2025-04-24 19:47:48 +02: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
Marc Alexander
83508b415b [ticket/17493] Remove more jabber remainders
PHPBB-17493
2025-04-24 17:32:04 +02:00
Marc Alexander
3125f3e1d3 [ticket/17493] Remove unused methods and use statements
PHPBB-17493
2025-04-21 15:24:07 +02:00
Marc Alexander
3caab55e81 [ticket/17493] Remove remnants of notify type
PHPBB-17493
2025-04-21 15:16:41 +02:00
Marc Alexander
54d8a49e70 [ticket/17493] Improve handling of nullable start parameter
PHPBB-17493
2025-04-21 11:40:32 +02:00
Marc Alexander
27550ce59b [ticket/17493] Remove not needed function in migration and fix type hinting
PHPBB-17493
2025-04-21 11:40:32 +02:00
Marc Alexander
5ab0446eb1 [ticket/17493] Remove unused use statements
PHPBB-17493
2025-04-21 11:40:32 +02:00
Marc Alexander
d985c8be60 [ticket/17493] Remove unused notify type in add_recipient
PHPBB-17493
2025-04-21 11:40:31 +02:00
Marc Alexander
da32d51a81 [ticket/17493] Remove remnants of user_notify_type
PHPBB-17493
2025-04-21 11:40:25 +02:00
Marc Alexander
ef010db26c Merge pull request #6795 from rxu/ticket/17488
[ticket/17488] Fix PHP error when MySQL PDO driver is not enabled
2025-04-19 08:51:45 +02:00
Marc Alexander
610fa67928 [ticket/17493] Remove jabber as messenger method
PHPBB-17493
2025-04-14 20:33:13 +02:00
Marc Alexander
ef47c69155 [ticket/17493] Remove notification method jabber
PHPBB-17493
2025-04-14 20:27:03 +02:00
Marc Alexander
3128b3fa9b [ticket/17493] Remove more jabber permissions and elements
PHPBB-17493
2025-04-13 21:00:19 +02:00
Marc Alexander
a7c7c38bfb [ticket/17493] Remove settings, values, and lang vars for jabber
PHPBB-17493
2025-04-13 20:48:15 +02:00
Marc Alexander
8c6731ffb9 [ticket/17493] Remove jabber permission and effectively_installed
PHPBB-17493
2025-04-13 13:13:38 +02:00
Marc Alexander
a5c34234da [ticket/17493] Update migration with module to remove
PHPBB-17493
2025-04-13 12:56:03 +02:00
Marc Alexander
860c2fe601 [ticket/17493] Start adding migration for removing jabber
PHPBB-17493
2025-04-13 10:26:30 +02:00
rxu
8d0d6c012c [ticket/17491] Fix caching search results
PHPBB-17491
2025-04-12 14:35:40 +07:00
Marc Alexander
bf2dd2cd75 [ticket/17490] Remove not needed isset
PHPBB-17490
2025-04-12 09:02:14 +02:00
Marc Alexander
5bc4c5765e [ticket/17490] Use isset instead of !empty()
PHPBB-17490
2025-04-07 19:39:23 +02:00
Marc Alexander
e4c8984bf3 [ticket/17490] Remove not needed returns
PHPBB-17490
2025-04-07 19:39:07 +02:00
Marc Alexander
d5717b541e [ticket/17490] Remove name handling for mails on windows
PHPBB-17490
2025-04-07 17:11:31 +02:00
Marc Alexander
8dbe499e3d [ticket/17490] Add extra method to support unit testing mailer
Also increased unit test coverage of email method to 100%.

PHPBB-17490
2025-04-06 21:25:16 +02:00
Marc Alexander
91c325174f [ticket/17490] Add type hints to enforce some types
PHPBB-17490
2025-04-06 14:20:04 +02:00
Marc Alexander
930c87e97a [ticket/17490] Improve expected types and docblock info
PHPBB-17490
2025-04-06 14:16:59 +02:00
rxu
692c96978a [ticket/17488] Fix PHP error when MySQL PDO driver is not enabled
Check pdo_mysql extension for being loaded
to use respective \PDO::MYSQL_ATTR_FOUND_ROWS constant.

PHPBB-17488
2025-04-04 12:26:08 +07:00
Marc Alexander
6ecb41f01a Merge pull request #6794 from rxu/ticket/17489
[ticket/17489] Fix various messenger issues
2025-04-03 21:02:40 +02:00
rxu
43d34880ac [ticket/17489] Remove unneeded headers check
PHPBB-17487
PHPBB-17489
2025-04-04 00:50:15 +07:00
Marc Alexander
3b7d98bf0f Merge branch '3.3.x' 2025-04-03 17:35:34 +00:00
Marc Alexander
84a835a995 Merge pull request #6792 from rxu/ticket/17486
[ticket/17486] Fix SQL error on phpBB v.3.0 to v.3.3 upgrade
2025-04-03 19:35:16 +02:00
rxu
cebc19f2ed [ticket/17487] Add wrapper method to add headers to interface
PHPBB-17487
2025-04-03 23:10:33 +07:00
rxu
67265efc0d [ticket/17487] Fix PHP uncaught exception on sending email via board
PHPBB-17487
2025-04-03 23:10:09 +07:00
rxu
d99c3838df [ticket/17489] Ignore Psalm UndefinedMethod issue
Psalm fails with UndefinedMethod issue when a method of a child class
does not exist in parent/abstract/interface class. Ignore the issue.

PHPBB-17489
2025-04-03 21:18:28 +07:00
rxu
c23504e3c7 [ticket/17489] Fix queue for ucp_resend, add type hints to $messenger_method
PHPBB-17489
2025-04-03 19:55:41 +07:00