| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
PHPBB3-11784
|
|
|
|
|
|
|
|
| |
With the merge of https://github.com/phpbb/phpbb3/pull/1564 a new test has
been added. Renamed and moved the template listener file of that test to
comply with the new requirements.
PHPBB3-11777
|
|
|
|
|
|
|
|
| |
To further mirror the file name and location requirements for php template
event listeners, require extension template event listener files to follow the
'<event name>_listener.html' naming format.
PHPBB3-11777
|
|
|
|
|
|
|
|
|
| |
Per suggestion of EXreaction and nickvergessen, do not look for extension
template event listeners in styles/[style]/template/events/ but in
styles/[style]/template/event/ (without the trailing 's') to match the way
phpBB looks for php template event listeners.
PHPBB3-11777
|
|
|
|
|
|
|
|
| |
The tests written for extension template events did not follow the convention
and documentation of placing template event files in the events/ subdirectory.
Moved the files to this subdirectory so the tests succeed again.
PHPBB3-11777
|
|
|
|
| |
PHPBB3-11701
|
|
|
|
| |
PHPBB3-11701
|
|
|
|
| |
PHPBB3-11701
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
* EXreaction/ticket/11718:
[ticket/11718] Quick test for fixes in ELSEIF
[ticket/11718] Twig lexer only correcting statements in IF, not ELSEIF
Conflicts:
tests/template/template_test.php
|
| |
| |
| |
| | |
PHPBB3-11718
|
|/
|
|
| |
PHPBB3-11707
|
|\
| |
| | |
Fix INCLUDEJS URLs handling
|
| |
| |
| |
| |
| |
| |
| | |
Remove code for URLs separated with ;
Add test case for mix of & and & in URLs
PHPBB3-11647
|
| |
| |
| |
| | |
PHPBB-11647
|
|\ \
| | |
| | |
| | |
| | |
| | | |
* EXreaction/ticket/11665:
[ticket/11665] Fix test class name
[ticket/11665] Can't change file names already sent to set_filenames
|
| | |
| | |
| | |
| | | |
PHPBB3-11665
|
| | |
| | |
| | |
| | | |
PHPBB3-11665
|
|/ /
| |
| |
| |
| |
| | |
Also includephp_absolute.html
PHPBB3-11664
|
| |
| |
| |
| | |
PHPBB3-11662
|
| |
| |
| |
| | |
PHPBB3-11651
|
| |
| |
| |
| | |
PHPBB3-11388
|
|/
|
|
| |
PHPBB3-11388
|
|
|
|
| |
PHPBB3-11388
|
|
|
|
| |
PHPBB3-11388
|
|
|
|
|
|
|
|
|
| |
Changed expected output to file?(any supplied argument string)&asset_version
=($config['asset_version'])#(any supplied anchor string)
Testing lines one at a time to make checking them easier.
PHPBB3-11388
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
'remotes/cyberalien/feature/twig/includejs_tests' into feature/twig
# By Vjacheslav Trushkin
# Via Vjacheslav Trushkin
* remotes/cyberalien/feature/twig/includejs_tests:
[feature/twig] Unit tests for includejs
|
| |
| |
| |
| | |
PHPBB3-11598
|
|/
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
|
|
|
|
| |
Was originally moved because I thought that a new test file might mean a new
instance and the memory would be cleared, fixing the original problem, but
that isn't true and it was fixed another way.
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Automatically parsing inline variables the same way it is done for
INCLUDE, INCLUDEPHP
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
|
|
|
|
|
|
|
| |
Various tests were broken completely, and some things such as whitespace
changed with Twig
PHPBB3-11598
|
|
|
|
|
|
| |
My method was not working correctly, will work on it more later.
PHPBB3-11598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to the test, template event behavior was never correct.
Only ONE template event file is supposed to be included from EACH
extension. As it was before, EVERY matching template event file from
each extension was included (this was how it was designed).
E.g.
Event call in prosilver "foo"
Extension has template "foo" in prosilver AND all
foo from all would be included, then foo from prosilver would be included
This was clearly not designed correctly as only the most specific event
file from each extension should be loaded, otherwise events could only
ever be put in a single style tree (either only all, or only prosilver
and subsilver2 and any style that inherits from neither of those).
Otherwise the events would be duplicated on output (which is clearly not
desirable).
The Twig behavior already was correct as I designed it, so only the one
most specific template event file found would be included from each
extension. The tests had to be updated for the correct expected output.
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
|
|
| |
No longer needed
PHPBB3-11598
|
|
|
|
|
|
| |
No longer needed
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|
|
|
|
| |
PHPBB3-11598
|