| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
PHPBB3-11598
|
| |
|
|
|
|
|
|
|
|
| |
Must create a template file in the cache to load as this causes errors
otherwise. The problem was that Twig builds template files into classes,
which are always stored in PHP memory after being loaded. Because of this,
Twig would never recompile a template that was already compiled on the same
page load (so switching enable PHP on/off in two tests would not work).
PHPBB3-11598
|
| |
|
|
| |
PHPBB3-11598
|
| |
|
|
| |
PHPBB3-11598
|
| |
|
|
|
|
|
| |
Automatically parsing inline variables the same way it is done for
INCLUDE, INCLUDEPHP
PHPBB3-11598
|
| |
|
|
| |
PHPBB3-11598
|
| |
|
|
|
|
|
| |
This had to be done because cached template files are available in memory,
so Twig doesn't ever reparse a template on the same page load
PHPBB3-11598
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
# By Dhruv (7) and others
# Via Andreas Fischer (7) and others
* 'develop' of https://github.com/phpbb/phpbb3:
[ticket/11593] initialize $is_expr as null before being passed to get_varref
[ticket/9341] Assert that page doesnt contain next or prev page posts
[ticket/9341] Follow the Next/Prev link in tests follow the next/prev link and then assert if the page contains its last post or not
[ticket/9341] remove PREV_PAGE tpl var used for backward compatability
[ticket/11618] Replace glob() with scandir() and string matching
[ticket/9341] Add tests for checking Next and Previous template vars
[ticket/9341] Move create_topic and post into functional test case
[ticket/11615] Fix typo in creation_test
[ticket/11615] Remove magic number in creation_test
[ticket/11615] Rename class in file to match
[ticket/11615] Rename init_test to creation_test for clarity
[ticket/9341] Use U_PREVIOUS and U_NEXT in template files
[ticket/9341] Correctly named template vars
Conflicts:
tests/template/template_test_case.php
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* dhruvgoel92/ticket/9341:
[ticket/9341] Assert that page doesnt contain next or prev page posts
[ticket/9341] Follow the Next/Prev link in tests follow the next/prev link and then assert if the page contains its last post or not
[ticket/9341] remove PREV_PAGE tpl var used for backward compatability
[ticket/9341] Add tests for checking Next and Previous template vars
[ticket/9341] Move create_topic and post into functional test case
[ticket/9341] Use U_PREVIOUS and U_NEXT in template files
[ticket/9341] Correctly named template vars
|
| | | |
| | |
| | |
| | | |
PHPBB3-9341
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
follow the next/prev link and then assert if the page contains
its last post or not
PHPBB3-9341
|
| | | |
| | |
| | |
| | | |
PHPBB3-9341
|
| | | |
| | |
| | |
| | | |
PHPBB3-9341
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
create_topic and create_post are moved into functional test case
so that they can be used by other tests as well
PHPBB3-9341
|
| | | |
| | |
| | |
| | | |
PHPBB3-9341
|
| | | |
| | |
| | |
| | | |
PHPBB3-9341
|
| | |\ \
| | | |
| | | |
| | | |
| | | | |
* dhruvgoel92/ticket/11593:
[ticket/11593] initialize $is_expr as null before being passed to get_varref
|
| | | |/
| | |
| | |
| | | |
PHPBB3-11593
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* develop-olympus:
[ticket/11618] Replace glob() with scandir() and string matching
Conflicts:
tests/template/template_test.php
|
| | | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
* Hardolaf/ticket/11618:
[ticket/11618] Replace glob() with scandir() and string matching
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Removes glob from template tests as glob() does not work on all
systems according to PHP documentation as has been noticed by users.
PHPBB3-11618
|
| | |\ \ \ \
| | |/ / /
| | | | |
| | | | | |
* develop-olympus:
|
| | | |\ \ \
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
develop-olympus
* asperous/ticket/11615/creation_test:
[ticket/11615] Fix typo in creation_test
[ticket/11615] Remove magic number in creation_test
[ticket/11615] Rename class in file to match
[ticket/11615] Rename init_test to creation_test for clarity
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* develop-olympus:
[ticket/11615] Fix typo in creation_test
[ticket/11615] Remove magic number in creation_test
[ticket/11615] Rename class in file to match
[ticket/11615] Rename init_test to creation_test for clarity
|
| | | |\ \ \ \
| | | | |/ /
| | | |/| |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
develop-olympus
* asperous/ticket/11615/creation_test:
[ticket/11615] Fix typo in creation_test
[ticket/11615] Remove magic number in creation_test
[ticket/11615] Rename class in file to match
[ticket/11615] Rename init_test to creation_test for clarity
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11615
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Removing this magic number to its own variable
with clean multiplication makes it clear
what the number represents.
PHPBB3-11615
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11615
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11615
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Various tests were broken completely, and some things such as whitespace
changed with Twig
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
To match previous parser behavior
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
These are not really necessary
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This filter grabs a subset of a loop for output (according to past
functionality).
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
No longer using the begin tokenparser/node as it did not allow proper
handling of <!-- BEGIN !foo, <!-- BEGIN foo(0,2). Now the lexer will
use regular expressions to handle that correctly and replace it with Twig's
for token
Also fixing <!-- IF .foo as I discovered it evaluates to if sizeof(foo)
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
My method was not working correctly, will work on it more later.
PHPBB3-11598
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This functionality is handled by the Twig Filesystem Loader
PHPBB3-11598
|