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

338 Commits

Author SHA1 Message Date
Marc Alexander
03031e846d Merge branch '3.3.x' 2025-06-17 09:39:08 +00:00
rxu
579b4a8287 [ticket/17527] Add Twig extensions existence check while registering
PHPBB-17527
2025-06-16 22:25:59 +07:00
rxu
1d7543c778 [ticket/15214] Address code review issues, add equal priority events test
PHPBB3-15214
2025-06-15 01:35:31 +07:00
rxu
ccbdfb49c7 [ticket/15214] Adjust core event name and docblock
PHPBB3-15214
2025-05-21 11:25:35 +07:00
rxu
43cf7b73bd [ticket/15214] Adjust event node logic
PHPBB3-15214
2025-05-21 10:47:27 +07:00
rxu
3a5247d01b [ticket/15214] Get event dispatcher from environment rather than as dependency
Also this will allow to significantly reduce unrelated tests changes.

PHPBB3-15214
2025-05-20 17:36:15 +07:00
rxu
5e0dc9ef2e [ticket/15214] Fix rebasing and some other issues
PHPBB3-15214
2025-05-20 16:24:38 +07:00
toxyy
cb47d78d26 [ticket/15214] Update block, restart tests
Make docblock look a bit cleaner and restart the tests

PHPBB3-15214
2025-05-20 16:24:33 +07:00
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
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
Marc Alexander
3584ef7eca Merge pull request #6753 from rubencm/ticket/17361
[ticket/17361] Improve storage
2025-02-22 15:06:48 +01:00
rxu
cd17625e21 [ticket/17135] Add ACP modules common test
PHPBB-17135
2025-01-06 20:59:29 +07:00
rxu
28d5534d06 [ticket/17135] Address review issues but constants
PHPBB-17135
2025-01-06 18:24:32 +07:00
rxu
b57f1f7751 [ticket/17135] Suppress psalm UndefinedFunction invalid annotations in tests
PHPBB3-17135
2025-01-05 15:57:43 +07:00
Ruben Calvo
a44295a1ba [ticket/17361] Move language keys to storage adapters
PHPBB-17361
2024-12-24 18:29:49 +01:00
Marc Alexander
c27c1fa7a3 [ticket/17414] Support adding onchange to select
PHPBB-17414
2024-10-17 19:47:59 +02:00
Marc Alexander
48cc96b489 [ticket/17335] Add lang_raw twig function for templates
PHPBB-17335
2024-06-14 23:21:33 +02:00
Marc Alexander
d64eaad487 Merge pull request #6504 from marc1706/ticket/17153
[ticket/17153] Use avatar classes and twig to render avatars
2024-06-06 16:23:41 +02:00
Marc Alexander
272daae337 Merge pull request #6533 from rxu/ticket/17151-2
[ticket/17151] Make settings forms use macros
2024-06-04 20:23:17 +02:00
Marc Alexander
902283c368 [ticket/17153] Use twig and avatar helper to render avatars
PHPBB3-17153
2024-05-31 11:25:22 +02:00
rxu
9401a59cfc [ticket/17151] Refactor radio buttons output logic
PHPBB3-17151
2024-05-25 11:57:37 +07:00
rxu
1cbe1d86da [ticket/17151] Improve radio input type handling
- allow more than 2 buttons count
- allow custom buttons order
- allow custom button labels

Implemented by allowing JSON data format, backward compatibility preserved.

PHPBB3-17151
2024-05-25 11:57:36 +07:00
rxu
72770937f2 [ticket/17151] Make settings forms use macros
PHPBB3-17151
2024-05-25 11:57:30 +07:00
Matt Friedman
4573e2eae0 [ticket/17300] Replace Sticky and Announcement Icons
PHPBB3-17300

Signed-off-by: Matt Friedman <maf675@gmail.com>
2024-05-04 08:32:51 -07:00
Marc Alexander
ddb4f142a6 [ticket/17291] Default to fa-solid if classes are set without fa class
PHPBB3-17291
2024-03-04 19:24:52 +01:00
Marc Alexander
db56017d57 [ticket/17283] Remove remaining parts using iconify
PHPBB3-17283
2024-02-12 18:52:45 +01:00
Marc Alexander
5d53089651 [ticket/17281] Fix some smaller issues
PHPBB3-17281
2023-12-30 18:04:27 +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
0434bce5af [ticket/16944] Generate iconify bundle as needed via icons & assets bag
PHPBB3-16944
2023-11-12 16:04:52 +01:00
Marc Alexander
fb4ea608e3 Merge branch '3.3.x' 2023-11-02 21:57:29 +01:00
Marc Alexander
8afc638171 [ticket/17207] Lazily call get_web_root_path() in twig environment
PHPBB3-17207
2023-11-01 16:23:23 +01:00
rxu
69cc2a9734 [ticket/17151] Make macros available for extensions
Also add tests and error reporting.

PHPBB3-17151
2023-09-09 14:02:17 +07:00
Marc Alexander
aac2cf5273 Merge pull request #6502 from marc1706/ticket/13276-master
[ticket/13276] Support PHPBB_USE_BOARD_URL_PATH in web root path -- master version
2023-08-06 20:30:54 +02:00
Marc Alexander
6049fb8fdf Merge branch 'ticket/13276' into ticket/13276-master 2023-06-30 16:45:37 +02:00
Marc Alexander
d6e3daf291 [ticket/17151] Adjust form macros to adhere to coding guidelines
PHPBB3-17151
2023-06-25 16:23:56 +02:00
Marc Alexander
11eeeae150 [ticket/17100] Revert not needed twig changes
PHPBB3-17100
2023-04-29 13:54:52 +02:00
Marc Alexander
4b17de74a4 [ticket/17100] Move forum selects to HTML files
PHPBB3-17100
2023-04-10 15:17:26 +02:00
Marc Alexander
9ee130fc59 [ticket/17100] Move date format select HTML to HTML files
PHPBB3-17100
2023-04-10 10:53:58 +02:00
Marc Alexander
3b20b84e5a [ticket/17100] Cast after using null coalescing operator
PHPBB3-17100
2023-04-09 14:35:07 +02:00
Marc Alexander
60dacf0bfe [ticket/17100] Use twig functions for form elements
PHPBB3-17100
2023-04-09 13:43:05 +02:00
Marc Alexander
4f2b29fc78 [ticket/17108] Suppress warning about less specific return type
PHPBB3-17108
2023-04-05 21:38:49 +02:00
Ruben Calvo
daa2dd280c [ticket/16955] Fix most return types in phpdoc
PHPBB3-16955
2023-01-02 14:17:04 +01:00
Ruben Calvo
3e8fced5c8 [ticket/16955] Fix phpdoc annotations and return types
PHPBB3-16955
2022-12-31 16:18:06 +01:00
Marc Alexander
60aee47f50 [ticket/16955] Replace returns with return in docblock
PHPBB3-16955
2022-12-30 22:08:34 +01:00
Marc Alexander
ba3a1389e6 [ticket/16955] Clean up config classes
PHPBB3-16955
2022-12-28 08:37:23 +01:00
Marc Alexander
60c165c3d0 [ticket/16955] Clean up storage and template classes
PHPBB3-16955
2022-12-28 08:37:15 +01:00
Marc Alexander
94d7d4fbcb Merge branch '3.3.x' 2022-10-22 11:34:57 +02:00
Marc Alexander
7017c73156 [ticket/17050] Remove trailing slash from generated css includes
PHPBB3-17050
2022-10-21 21:40:44 +02:00