| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\
| |
| |
| |
| | |
* develop-olympus:
[ticket/11323] Add tests for inclusion of defined variables
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds 2 tests for the template engine. The test using
include_define_variable.html will test if a defined variable, which was
defined with another template variable, can be used to include a file.
The second test will do the same inside a loop using a loop variable.
PHPBB3-11323
|
| |
| |
| |
| |
| |
| | |
Having all files in one directory is too much of a mess.
PHPBB3-9550
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also drop the irrelevant includejs code and add a simple
template event test. The simple test is not working yet however
due to the template engine not correctly tracking which template
it is rendering.
PHPBB3-9550
|
| |
| |
| |
| |
| |
| | |
Adding template events test
PHPBB3-9550
|
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | | |
PHPBB3-10882
|
| | |
| | |
| | |
| | | |
PHPBB3-10882
|
|/ /
| |
| |
| | |
PHPBB3-10882
|
| |
| |
| |
| |
| |
| | |
Adding INLCUDEJS test
PHPBB3-10665
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* '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
|
| |
| |
| |
| | |
PHPBB3-9726
|
| |
| |
| |
| | |
PHPBB3-9726
|
| |
| |
| |
| | |
PHPBB3-9726
|
| |
| |
| |
| | |
PHPBB3-9726
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
compile_tag_if had the flawed approach of adding an isset statement for
all variables to the beginning of the if. This fails for negative
expressions, and checking those takes a considerable effort.
The easier solution is to make the variable expression itself
conditional, defaulting to null if it is not set.
Thanks to naderman for the solution.
PHPBB3-9726
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This currently does not pass, thus it is commented out.
The reuse appears implausible in the same file, however it may be
also done across template files where it is much harder to detect.
PHPBB3-9726
|
| |
| |
| |
| | |
PHPBB3-9726
|
| |
| |
| |
| |
| |
| |
| |
| | |
This error resulted in a dot from the namespace being placed into
variable reference in compiled template code, thus creating bogus
compiled template code.
PHPBB3-9726
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This currently fails.
This test is a reduced version of permission_mask template in acp, which
is not correctly compiled by the current template engine code.
PHPBB3-9726
|
| |
| |
| |
| |
| |
| | |
Subsilver uses ._file in overall_header.
PHPBB3-9726
|
| |
| |
| |
| |
| |
| | |
Now that tests are run from top level the '..' is wrong.
PHPBB3-9726
|
| |
| |
| |
| | |
PHPBB3-9726
|
|\ \
| |/
| |
| |
| |
| | |
* develop-olympus:
[ticket/10081] remove $phpEx.
[ticket/10081] Cleanup Template Tests.
|
| |
| |
| |
| |
| |
| | |
There are no incomplete template tests anymore.
PHPBB3-10081
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit also ports all ascraeus tests to the new format.
Conflicts:
tests/all_tests.php
tests/network/all_tests.php
tests/request/all_tests.php
tests/request/request_var.php
tests/template/templates/includephp.html
|
| |
| |
| |
| | |
PHPBB3-9967
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
tests/all_tests.php
tests/request/all_tests.php
tests/request/request_var.php
tests/security/all_tests.php
tests/security/extract_current_page.php
tests/security/redirect.php
tests/template/all_tests.php
tests/template/template.php
tests/template/templates/define.html
tests/template/templates/expressions.html
tests/template/templates/if.html
tests/template/templates/includephp.html
tests/template/templates/loop.html
tests/template/templates/loop_advanced.html
tests/template/templates/loop_vars.html
tests/test_framework/framework.php
tests/test_framework/phpbb_test_case.php
tests/text_processing/all_tests.php
tests/text_processing/make_clickable.php
tests/utf/all_tests.php
tests/utf/utf8_clean_string_test.php
tests/utf/utf8_wordwrap_test.php
|
|
|
|
|
| |
Start adding unit tests for bugs you fix! Tests for anything are
welcome really. We have to work on these a lot.
|
|
|
|
| |
git-svn-id: file:///svn/phpbb/trunk@9588 89ea8834-ac86-4346-8a33-228a782c2dd0
|
|
|
|
|
|
|
|
| |
- Modify template::alter_block_array() so it supports modification of nested blocks
- Add (incomplete) tests for template::alter_block_array()
git-svn-id: file:///svn/phpbb/trunk@9116 89ea8834-ac86-4346-8a33-228a782c2dd0
|
|
|
|
|
|
|
|
| |
- Tidy template engine code, mainly PHP5 stuff, made some methods void instead of just returning true
- Add tests for the remaining untested compilation code
git-svn-id: file:///svn/phpbb/trunk@9115 89ea8834-ac86-4346-8a33-228a782c2dd0
|
|
|
|
| |
git-svn-id: file:///svn/phpbb/trunk@9110 89ea8834-ac86-4346-8a33-228a782c2dd0
|
|
|
|
| |
git-svn-id: file:///svn/phpbb/trunk@9100 89ea8834-ac86-4346-8a33-228a782c2dd0
|
|
|
|
| |
git-svn-id: file:///svn/phpbb/trunk@9099 89ea8834-ac86-4346-8a33-228a782c2dd0
|
|
|
|
| |
git-svn-id: file:///svn/phpbb/trunk@9098 89ea8834-ac86-4346-8a33-228a782c2dd0
|
|
|
|
| |
git-svn-id: file:///svn/phpbb/trunk@9093 89ea8834-ac86-4346-8a33-228a782c2dd0
|
|
|
|
| |
git-svn-id: file:///svn/phpbb/trunk@9092 89ea8834-ac86-4346-8a33-228a782c2dd0
|
|
|
|
|
|
|
|
|
| |
- S_ROW_NUM, S_FIRST_ROW, S_LAST_ROW are now using internal template engine variables saving memory
- Other small changes
- Update of template tests
git-svn-id: file:///svn/phpbb/trunk@9087 89ea8834-ac86-4346-8a33-228a782c2dd0
|
|
this commit got to catch a train :)
git-svn-id: file:///svn/phpbb/trunk@9020 89ea8834-ac86-4346-8a33-228a782c2dd0
|