aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/15905] Reset avatar manager enabled drivers propertyMarc Alexander2019-09-281-0/+5
| | | | PHPBB3-15905
* [ticket/15905] Add tests for twig extensionsMarc Alexander2019-09-264-0/+256
| | | | PHPBB3-15905
* [ticket/15905] Try it without authmrgoldy2019-09-255-15/+5
| | | | PHPBB3-15905
* [ticket/15905] Try with existing phpbb extensionmrgoldy2019-09-255-5/+15
| | | | PHPBB3-15905
* [ticket/14948] Adjust calls for twig and phpunit updatesMarc Alexander2019-05-094-7/+7
| | | | PHPBB3-14948
* [ticket/15508] Remove call to getEnvironment() from parserFrançois-Xavier de Guillebon2019-05-095-5/+5
| | | | PHPBB3-15508
* [ticket/14972] Migrate from deprecated getMock() method to createMock()rxu2019-05-085-5/+5
| | | | PHPBB3-14972
* Merge branch 'prep-release-3.2.3' into 3.2.xMarc Alexander2018-09-091-1/+1
|\
| * [ticket/15746] Adjust tests after twig updateMarc Alexander2018-08-211-1/+1
| | | | | | | | PHPBB3-15746
* | [ticket/15659] Fix retrieve_block_vars()Jakub Senko2018-07-071-0/+96
|/ | | | PHPBB3-15659
* [ticket/15099] Fix testsJakub Senko2018-01-172-20/+20
| | | | PHPBB3-15099
* [ticket/14994] Refactor template->assign_block_varjaviexin2017-11-012-0/+43
| | | | | | | | | | Refactor assign_block_var to use the same block selection mechanism as is used in alter_block_array. This allows creating new blocks at any position in the template structure, not only on the last block. Allows selecting a block as outer[2].middle. Added tests. PHPBB3-14994
* Merge remote-tracking branch 'javiexin/ticket/15068' into 3.2.xMarc Alexander2017-05-291-0/+31
|\
| * Merge branch 'ticket/15068' of https://github.com/javiexin/phpbb into ↵javiexin2017-05-2126-25/+723
| |\ | | | | | | | | | ticket/15068
| * | [ticket/15068] Add template vars retrieval from the template objectjaviexin2017-05-211-0/+31
| | | | | | | | | | | | | | | | | | Added tests. PHPBB3-15068
* | | [ticket/14990] Move dispatcher object to the front of the options arrayrxu2017-04-165-0/+5
| | | | | | | | | | | | PHPBB3-14990
* | | Merge pull request #4612 from javiexin/ticket/14950Marc Alexander2017-04-151-1/+50
|\ \ \ | |_|/ |/| | | | | [ticket/14950] Add possibility to delete a template block
| * | [ticket/14950] Add possibility to delete a template blockjaviexin2017-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new mode to alter_block_array to allow for the deletion of a certain block of template variables. The selection method is the same as for the other modes for alter_block_array. The passed in vararray is ignored, and an out of bounds index is considered an error. Added tests for the new function, fixed. PHPBB3-14950
| * | [ticket/14950] Add possibility to delete a template blockjaviexin2017-01-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new mode to alter_block_array to allow for the deletion of a certain block of template variables. The selection method is the same as for the other modes for alter_block_array. The passed in vararray is ignored, and an out of bounds index is considered an error. Added tests for the new function, fixed. PHPBB3-14950
| * | [ticket/14950] Add possibility to delete a template blockjaviexin2017-01-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new mode to alter_block_array to allow for the deletion of a certain block of template variables. The selection method is the same as for the other modes for alter_block_array. The passed in vararray is ignored, and an out of bounds index is considered an error. Added tests for the new function, fixed. PHPBB3-14950
| * | [ticket/14950] Add possibility to delete a template blockjaviexin2017-01-071-0/+42
| |/ | | | | | | | | | | | | | | | | | | Adds a new mode to alter_block_array to allow for the deletion of a certain block of template variables. The selection method is the same as for the other modes for alter_block_array. The passed in vararray is ignored, and an out of bounds index is considered an error. Added tests for the new function. PHPBB3-14950
* | Merge branch '3.1.x' into 3.2.xMarc Alexander2017-02-231-2/+129
|\ \
| * \ Merge pull request #4605 from javiexin/ticket/14943Marc Alexander2017-02-231-2/+129
| |\ \ | | | | | | | | | | | | [ticket/14943] Fix template loop access by index
| | * | [ticket/14943] Fix template loop access by indexjaviexin2017-01-071-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows inserting elements in a loop specified as 'outer[3].inner'. This was coded, but malfunctioning. Name incorrectly set on insert. Added more tests. PHPBB3-14943
| | * | [ticket/14943] Fix template loop access by indexjaviexin2017-01-071-2/+119
| | |/ | | | | | | | | | | | | | | | | | | | | | Allows inserting elements in a loop specified as 'outer[3].inner'. This was coded, but malfunctioning. Name incorrectly set on insert. Added tests. PHPBB3-14943
* | | Merge branch '3.1.x' into 3.2.xMarc Alexander2017-02-191-0/+37
|\ \ \ | |/ /
| * | [ticket/14944] Add possibility to search for template loop indexes by keyjaviexin2017-01-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new function to the template interface, and implements it in the context class. The function returns the ordinal index for a specified key, with the same structure that the key for alter_block_array. Reuses same code. Remove unneeded references, do nothing for int keys. Check out of bounds or wrong blockname errors. Added tests. Remove default parameter value. PHPBB3-14944
| * | [ticket/14944] Add possibility to search for template loop indexes by keyjaviexin2017-01-081-0/+37
| |/ | | | | | | | | | | | | | | | | | | Adds a new function to the template interface, and implements it in the context class. The function returns the ordinal index for a specified key, with the same structure that the key for alter_block_array. Reuses same code. Remove unneeded references, do nothing for int keys. Check out of bounds or wrong blockname errors. Added tests. PHPBB3-14944
| * [ticket/14099] Fix testsTristan Darricau2015-08-141-9/+2
| | | | | | | | PHPBB3-14099
* | [ticket/13616] Updates direct call to twig environment constructorTristan Darricau2016-04-035-10/+5
| | | | | | | | PHPBB3-13616
* | [ticket/14576] Move common required files to bootstrapMatt Friedman2016-03-313-4/+0
| | | | | | | | PHPBB3-14576
* | [ticket/14457] Don't set CSS to JS and JS to CSSTristan Darricau2016-02-181-0/+1
| | | | | | | | PHPBB3-14457
* | [ticket/13995] Fix errors in tests from merge conflictMatt Friedman2015-07-081-2/+2
| | | | | | | | PHPBB3-13995
* | Merge branch '3.1.x'Marc Alexander2015-07-081-4/+4
|\ \ | |/ | | | | | | Conflicts: tests/template/template_includecss_test.php
| * [ticket/13995] Remove projection from testsMatt Friedman2015-07-081-4/+4
| | | | | | | | PHPBB3-13995
* | Merge pull request #3609 from Nicofuma/ticket/13839Andreas Fischer2015-05-141-1/+1
|\ \ | | | | | | | | | | | | | | | | | | [ticket/13839] Don't be dependent on the phpBB root directory name in tests * Nicofuma/ticket/13839: [ticket/13839] Don't be dependent on the phpBB root directory name in tests
| * | [ticket/13839] Don't be dependent on the phpBB root directory name in testsNicofuma2015-05-141-1/+1
| | | | | | | | | | | | PHPBB3-13839
* | | [ticket/13804] Make template's user dependency optionalMateBartus2015-05-055-5/+5
|/ / | | | | | | PHPBB3-13804
* | [ticket/13638] Inject $filesystem in \phpbb\template\assetNicofuma2015-05-056-5/+20
| | | | | | | | PHPBB3-13638
* | [ticket/13638] Add testsNicofuma2015-05-041-0/+49
| | | | | | | | PHPBB3-13638
* | [ticket/13762] Moving language related functionality into a separate classMateBartus2015-05-022-3/+24
| | | | | | | | PHPBB3-13762
* | [ticket/13697] Moving filesystem related functions to filesystem serviceMateBartus2015-04-166-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moving filesystem service to \phpbb\filesystem namespace * Wraping Symfony's Filesystem component * Moving filesystem related functions from includes/functions.php into \phpbb\filesystem\filesystem Functions moved (and deprecated): - phpbb_chmod - phpbb_is_writable - phpbb_is_absolute - phpbb_own_realpath - phpbb_realpath * Adding interface for filesystem service PHPBB3-13697
* | [ticket/13132] Enable twig expressions testsNicofuma2015-03-054-10/+27
| | | | | | | | PHPBB3-13132
* | [ticket/13132] Twig: Add loops content to the root contextTristan Darricau2015-03-0517-3/+329
| | | | | | | | PHPBB3-13132
* | [ticket/13139] Fix testsNicofuma2015-02-031-9/+2
| | | | | | | | PHPBB3-13139
* | [ticket/10388] Update testsMatt Friedman2015-01-291-1/+1
| | | | | | | | PHPBB3-10388
* | [ticket/13359] Add phpbb\template\twig\environment to template constructorJoas Schilling2014-11-221-1/+29
| | | | | | | | PHPBB3-13359
* | Merge branch 'develop-ascraeus' into developJoas Schilling2014-11-214-9/+88
|\ \ | |/
| * [ticket/13133] Add unit testsTristan Darricau2014-10-094-9/+88
| | | | | | | | PHPBB3-13133
* | [ticket/12661] Fix unit testsTristan Darricau2014-09-021-1/+21
| | | | | | | | PHPBB3-12661