| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
| | |
| | |
| | |
| | |
| | | |
Changing expected and result in locator test
PHPBB3-10733
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Removing static from data provider functions
PHPBB3-10733
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Adding INLCUDEJS test
PHPBB3-10665
|
| |/ /
| |
| |
| |
| |
| | |
Adding new constructor parameters to template compiler test
PHPBB3-10665
|
| | |
| |
| |
| |
| |
| | |
Adding test for $template->locate
PHPBB3-10733
|
| | |
| |
| |
| |
| |
| | |
Fixing typo in template unit tests
PHPBB3-10632
|
| | |
| |
| |
| |
| |
| | |
Moving template initialization out of style constructor
PHPBB3-10632
|
| | |
| |
| |
| |
| |
| | |
Moving locator and path provider initialization out of style class
PHPBB3-10632
|
| | |
| |
| |
| |
| |
| | |
Updating code in test cases for new template classes.
PHPBB3-10632
|
| | |
| |
| |
| |
| |
| | |
Creating phpbb_style class, changing template initialization to style initialization
PHPBB3-10632
|
| | |
| |
| |
| |
| |
| | |
Changing template classes prefixes from phpbb_template to phpbb_style (for classes that will work with styles) or phpbb_style_template (for classes that are specific to templates)
PHPBB3-10632
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
* cyberalien/feature/append_var:
[feature/append_var] Adding test case
[feature/append_var] Adding append_var template class function
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Adding test case for append_var
PHPBB3-10666
|
| |/ /
| |
| |
| | |
PHPBB3-10685
|
| | |
| |
| |
| |
| |
| | |
Fixing error in template inheritance test
PHPBB3-10655
|
| | |
| |
| |
| | |
PHPBB3-9916
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
* develop-olympus:
[ticket/9916] Changing header in non-distributed files
[ticket/9916] Changing coding guidelines license
[ticket/9916] Updating License in the header
Conflicts:
tests/mock/cache.php
|
| | |
| |
| |
| | |
PHPBB3-9916
|
| | |
| |
| |
| | |
PHPBB3-10323
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit adds a template path provider to separate the process of locating
(cached) paths in extensions from the template engine. The locator is supplied
with a list of paths from the path provider.
Admin templates can now be created in ext/<ext>/adm/style/ and regular
templates go into ext/<ext>/styles/<style>/template/. Extension templates
override regular templates. So if an extension supplies a file with a name
used in phpBB, the extension's file will be used.
A side-effect of this commit: Locator and Provider are now able to deal with
arbitrary levels of template inheritance. So we can expose this through
phpbb_template if we choose to, and allow styles to inherit from inherited
styles.
PHPBB3-10323
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 'develop' of git://github.com/phpbb/phpbb3:
[ticket/10392] Alter parent namespace stripping.
[ticket/10392] Test for magic loop variables with nested namespaces.
[ticket/10392] Missed fix for S_BLOCK_NAME.
[ticket/10392] Fix access to nested special block variables.
|
| | | |
| | |
| | |
| | | |
PHPBB3-10392
|
| |/ /
| |
| |
| | |
PHPBB3-10384
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Most template variables can now have their PHP variable name resolved instead
of only compiling directly. This allows for the use of block vars in INCLUDE
statements. This does not work for language variables since they require
multiple checks. Added tests for the new types of allowed INCLUDEs.
PHPBB3-10322
|
| | |
| |
| |
| | |
PHPBB3-10322
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
* cyberalien/ticket/10350:
[ticket/10350] Script for testing eval renderer
[ticket/10350] Fix for class phpbb_template_renderer_eval
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Script for testing eval renderer (fixed)
PHPBB3-10350
|
| |\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
* develop-olympus:
[ticket/10354] Include cache directory path in unwritable message.
Conflicts:
tests/template/template_test.php
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When template tests are skipped because cache directory is not
writable, include path to the cache directory into the message
saying it is not writable.
PHPBB3-10354
|
| | |/
|/|
| |
| |
| |
| | |
This code was copied verbatim from develop-olympus.
PHPBB3-10355
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Template locator is responsible for maintaining mapping from template
handles to filenames and paths, and provides resolution services
using these mappings.
Template locator is aware of template inheritance and is capable of
checking template file existence on the filesystem.
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The template stream filter no longer depends on the $config global.
Instead it uses a 'allow_php' param that is passed via
stream_bucket_append's last argument.
Tests also adjusted.
PHPBB3-9726
|
| | |
| |
| |
| |
| |
| | |
This allows making use of autoloading.
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| |
| |
| | |
It is now handled by autoloading.
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| |
| |
| | |
In tests there is no need to catch unexpected exceptions.
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| | |
PHPBB3-9726
|
| | |
| |
| |
| |
| |
| |
| |
| | |
When testing eval code path, compiled templates may not be written
to the file system, and unconditionally trying to copy them
breaks tests.
PHPBB3-9726
|