Commit graph

33740 commits

Author SHA1 Message Date
rxu
01ae4ed1f7 [ticket/15214] Fix Windows tests
PHPBB3-15214
2023-12-12 08:47:25 -05:00
toxyy
d38d59c8d9 [ticket/15214] Fix tests again
Adding per rxu's recommendation

PHPBB3-15214
2023-12-10 11:47:36 -05:00
rxu
50d4e6ba34 [ticket/15214] Fix Windows tests
Purge Twig compiled cache in Windows.
Set appropriate folder access control options to do that.

PHPBB3-15214
2023-12-10 10:47:55 -05:00
rxu
96ce8e7363 [ticket/15214] Fix tests
PHPBB3-15214
2023-12-10 01:38:40 -05:00
toxyy
3714202dd9 [ticket/15214] Move $ext_namespace str_replace to work
Added this when I initially tested the if block move.
but I forgot to add it in the actual commit.
If this isn't moved, no template events work, and the tests fail.

PHPBB3-15214
2023-12-09 14:50:13 -05:00
toxyy
648cd688ca [ticket/15214] Move if statement to a better place
Putting this here will have the loop run the same amount of times as default.
Without this, the loop runs too many extra times.

PHPBB3-15214
2023-12-09 13:19:13 -05:00
rxu
1e2532a9a9 [ticket/15214] Fix test foo/foo extension listener
PHPBB3-15214
2023-12-09 13:10:30 -05:00
rxu
9603924e5c [ticket/15214] Optimize event node code and add template event order tests
PHPBB3-15214
2023-12-09 13:10:23 -05:00
toxyy
64b9aa2543 [ticket/15214] Update block, restart tests
Make docblock look a bit cleaner and restart the tests

PHPBB3-15214
2023-12-05 03:32:57 -05:00
toxyy
e1f597caff [ticket/15214] Provide usage example within event docblock
Adds similar usage examples like the event core.permissions has

PHPBB3-15214
2023-12-05 03:07:12 -05:00
toxyy
31fb27e8d8 [ticket/15214] Move setting $priority_key to a more appropriate place
It doesn't need to be set at the top and makes more sense to set it
at the bottom where it's used. Also removes a redundant check

PHPBB3-15214
2023-12-04 15:31:13 -05:00
toxyy
8d6d016a5a [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
2023-12-03 17:44:38 -05:00
toxyy
c7d16febef [ticket/15214] Add fixes for various other tests
Add new dispatch parameter to the template\twig\extension calls

PHPBB3-15214
2023-12-03 17:30:29 -05:00
toxyy
2c1e43a834 [ticket/15214] Test fix for test_bbcode_firstpass
Add new dispatch parameter to the template\twig\extension call

PHPBB3-15214
2023-12-03 16:57:24 -05:00
toxyy
12fd385a4c [ticket/15214] Test fix for test_helper_url_no_rewrite
Add new dispatch parameter to the template\twig\extension call

PHPBB3-15214
2023-12-03 16:52:15 -05:00
toxyy
d8ae0f5d75 [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
2023-12-03 16:32:02 -05:00
Marc Alexander
9ba6e9b60d
Merge pull request #6567 from rxu/ticket/17233
[ticket/17233] Add PHP 8.3 tests to the 3.3.x branch - 3.3.x version
2023-11-26 20:52:33 +01:00
rxu
bf26da660a
[ticket/17233] Add PHP 8.3 tests to the 3.3.x branch
PHPBB3-17233
2023-11-26 22:44:40 +07:00
Marc Alexander
a9b5dcd954
[ticket/17176] Use different call to cause a notice
The previous call was upgraded to cause a warning in PHP 8.3

PHPBB3-17176
2023-11-26 22:41:30 +07:00
Marc Alexander
303f8f55cb
Merge pull request #6565 from marc1706/ticket/17230
[ticket/17230] Update doctum to 5.5.3 for PHP 8.1 compatibility
2023-11-21 20:52:12 +01:00
Marc Alexander
c6fe842bc8
[ticket/17230] Update doctum to 5.5.3 for PHP 8.1 compatibility
PHPBB3-17230
2023-11-21 20:00:59 +01:00
Marc Alexander
43e69df080
Merge pull request #6562 from marc1706/ticket/14047
[ticket/14047] Check for stream close handshake before closing stream
2023-11-05 15:35:53 +01:00
Marc Alexander
f6b4c5b70d
Merge pull request #6557 from marc1706/ticket/17204
[ticket/17204] Update composer dependencies to latest versions
2023-11-04 08:28:59 +01:00
Marc Alexander
fe84120bf2
Merge pull request #6490 from rxu/ticket/16470
[ticket/16470] Update user last visit time on session begin
2023-11-04 08:26:45 +01:00
Marc Alexander
0e1e792574
[ticket/14047] Check for stream close handshake before closing stream
PHPBB3-14047
2023-11-03 22:21:44 +01:00
Marc Alexander
d4178511a2
Merge pull request #6559 from marc1706/ticket/17207
[ticket/17207] Lazily call get_web_root_path() in twig environment
2023-11-02 21:57:27 +01:00
Marc Alexander
0e3bc638e9
Merge pull request #6560 from marc1706/ticket/17208
[ticket/17208] Skip profile field data update if youtube cpf doesn't exist
2023-11-02 21:50:42 +01:00
Marc Alexander
dd549a5e43
[ticket/17208] Ensure to not run the previous migration with missing column
PHPBB3-17208
2023-11-01 16:54:19 +01:00
Marc Alexander
526c79d2e2
[ticket/17208] Skip profile field data update if youtube cpf doesn't exist
PHPBB3-17208
2023-11-01 16:50:20 +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
9e130333c0
[ticket/16470] remove unneeded migration, adjust code
PHPBB3-16470
2023-11-01 21:03:07 +07:00
Marc Alexander
2b7d8020b9
[ticket/17204] Update composer to latest version
PHPBB3-17204
2023-10-31 22:33:08 +01:00
Marc Alexander
bb7e7b682d
[ticket/17204] Update composer dependencies to latest versions
PHPBB3-17204
2023-10-31 22:20:35 +01:00
Marc Alexander
37039f95d2
Merge pull request #6555 from GanstaZ/ticket/17203
[ticket/17203] Add CSS ol for group desc
2023-10-31 22:10:04 +01:00
Marc Alexander
993e28098d
Merge pull request #6554 from GanstaZ/ticket/17202
[ticket/17202] Include bidi.css to print only in RTL languages
2023-10-31 22:02:30 +01:00
Marc Alexander
25c20cbcf3
Merge pull request #6553 from marc1706/ticket/17201
[ticket/17201] Do not run dirname() on dir path during install redirect
2023-10-31 20:21:31 +01:00
Marc Alexander
88bbd0fca6
Merge pull request #6556 from GanstaZ/ticket/17200
[ticket/17200] Fix color parse error in viewonline legend
2023-10-30 21:40:33 +01:00
Marc Alexander
eed57fd089
Merge pull request #6543 from Crizz0/ticket/17187
[ticket/17187] Repair mcp link to first unread post
2023-10-30 21:37:25 +01:00
Marc Alexander
58fc9e042a
[ticket/17201] Add comment on need to add dot to script_name
PHPBB3-17201
2023-10-29 16:54:07 +01:00
GanstaZ
5ab3916311
[ticket/17200] Remove not needed addition
PHPBB3-17200
2023-10-29 16:45:33 +01:00
GanstaZ
79b8f56427 [ticket/17200] Fix color error in viewonline legend
PHPBB3-17200
2023-10-25 15:56:03 +03:00
Marc Alexander
593c4b875c
[ticket/17201] Split off logic into function and add tests
PHPBB3-17201
2023-10-23 21:10:53 +02:00
GanstaZ
2e93f5f3e8 [ticket/17202] Include bidi.css to print only in RTL languages
PHPBB3-17202
2023-10-23 21:47:10 +03:00
GanstaZ
959f60a591 [ticket/17203] Add CSS ol for group desc
PHPBB3-17203
2023-10-23 21:36:31 +03:00
Marc Alexander
607a2c483a
[ticket/17201] Add dot for improved dirname for URI ending in slash
PHPBB3-17201
2023-10-23 17:26:10 +02:00
Marc Alexander
70ba9dac03
[ticket/17201] Do not run dirname() on dir path during install redirect
PHPBB3-17201
2023-10-22 20:46:29 +02:00
Marc Alexander
7e6c5df710
Merge branch 'prep-release-3.3.11' into 3.3.x 2023-10-21 08:09:41 +02:00
Marc Alexander
90973a52b4
[prep-release-3.3.11] Update changelog for 3.3.11 2023-10-16 22:11:56 +02:00
Marc Alexander
4eef6a4de4
[3.3.x] Update version numbers to 3.3.12-dev 2023-10-15 16:56:54 +02:00
Marc Alexander
01b8d6a58e
Merge branch 'prep-release-3.3.11' into 3.3.x 2023-10-15 16:55:16 +02:00