| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* p/ticket/10933:
[ticket/10933] Prose for get_first_file_location.
[ticket/10933] Remaining documentation for added functions in resource locator
[ticket/10933] Update template locator test to use style resource locator.
[ticket/10933] Dispose of locate function in template class.
[ticket/10933] Add mutators for template_path to style resource locator.
[ticket/10933] Delete template_path assignment.
[ticket/10933] Delete template_path from template class.
[ticket/10933] Add get_first_template_location.
|
| | |
| |
| |
| |
| |
| |
| | |
There is no reason for it to go through a template instance to test
resource locator functionality.
PHPBB3-10933
|
| |\ \
| |/
|/| |
Allow INCLUDE template macros to accept paths of the form {FOO}/a/{BAR}/c
|
| | |
| |
| |
| | |
PHPBB3-10970
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A new method to handle this type of path was added and
compile_tag_include, compile_tag_include_php and
compile_tag_include_js were modified to use it appropriately.
Tests were added for these three macros also.
PHPBB3-10970
|
| | |
| |
| |
| | |
PHPBB3-10933
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This was probably necessary all along, and the test happened to work
because state was not correctly reset between test runs and
a previous test set an empty template path.
PHPBB3-10933
|
| |/
|
|
| |
PHPBB3-10973
|
| |\
| |
| |
| |
| |
| | |
* cyberalien/ticket/10800:
[ticket/10800] Changing html to js for includejs tests
[ticket/10800] Changing template paths in tests
|
| | |
| |
| |
| |
| |
| | |
Changing .html to .js files for includejs tests
PHPBB3-10800
|
| | |
| |
| |
| |
| |
| | |
Changing template paths in tests from absolute to relative
PHPBB3-10800
|
| | |
| |
| |
| | |
PHPBB3-10882
|
| | |
| |
| |
| | |
PHPBB3-10882
|
| | |
| |
| |
| | |
PHPBB3-10882
|
| |/
|
|
| |
PHPBB3-10882
|
| |
|
|
|
|
| |
Renaming phpbb_style_template to phpbb_template
PHPBB3-10756
|
| |
|
|
|
|
| |
Removing path provider from template class because it is not used by template class
PHPBB3-10756
|
| |
|
|
|
|
| |
Renaming template classes from phpbb_style_template_ to phpbb_template_
PHPBB3-10756
|
| |
|
|
| |
PHPBB3-10783
|
| |
|
|
|
|
| |
New parent template test class for tests that use styles tree
PHPBB3-10665
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* upstream/develop:
[ticket/10733] Fixing test
[ticket/10733] Removing static from data providers
[ticket/10731] Fixed addquote() to work on opera browser.
[ticket/10731] Fixed addquote() to work on opera browser.
[Ticket/10675] Correct language string ATTACH_DISK_FULL
[feature/event-dispatcher] Adding composer.phar to .gitignore for olympus
[ticket/10705] Change WARNINGS_ZERO_TOTAL in subsilver2
[ticket/10705] Change WARNINGS_ZERO_TOTAL in prosilver
[ticket/10705] Change WARNINGS_ZERO_TOTAL in en language
[ticket/10675] Add disk full language string when posting attachments
|
| | |
| |
| |
| |
| |
| | |
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
|