aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_events_test.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11832] Fix INCLUDE(JS/CSS)Nathan Guse2013-09-131-1/+8
| | | | PHPBB3-11832
* Merge branch 'develop' of github.com:phpbb/phpbb3 into ticket/11628Nathan Guse2013-08-281-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Bruno Ais (42) and others # Via Joas Schilling (39) and others * 'develop' of github.com:phpbb/phpbb3: (157 commits) [ticket/11803] Revert POLL_MAX_OPTIONS min value to 0 [ticket/11799] Send anti abuse headers in "new password" emails. [ticket/11792] Add functional test for var lang_set_ext of core.user_setup [ticket/11804] Remove </li> from overall_header which was not open [ticket/11802] replace $browser with $user->browser [ticket/11801] removed some whitespace and added missing semi colon's in css [ticket/11792] Add performance remark to core.user_setup event PHPDoc [ticket/11792] Add variable 'lang_set_ext' to event core.user_setup [ticket/11789] Remove inline color in memberlist_view [ticket/11800] Fix scripts variable in subsilver simple_footer [ticket/11800] Fix JavaScript in simple_footer.html [ticket/11800] Remove forum_fn from memberlist_search.html [ticket/11796] Replace pagination with pagination.html [ticket/11794] Add missing array element commas to docs/coding-guidelines.html [ticket/11775] Fix doc blocks syntax [ticket/11775] Remove spaces at line ends [ticket/11789] Remove colors from HTML code [ticket/11784] Remove naming redundancy for event listeners [ticket/11775] Split test into multiple steps [ticket/11777] Fix new test for loop variables in extension template listeners ... Conflicts: phpBB/install/index.php phpBB/install/install_update.php
| * [ticket/11701] Test events in loopsNathaniel Guse2013-07-231-0/+10
| | | | | | | | PHPBB3-11701
* | [ticket/11628] Remove template_path option on set_custom_styleNathaniel Guse2013-07-241-1/+1
| | | | | | | | | | | | | | | | | | This was set to default 'template/' to append template/ to all the paths, but every location was actually just setting it to '' to not append anything. So removed the option entirely (additional paths can be appended to the paths being sent to the function already) PHPBB3-11628
* | [ticket/11628] Remove third parameter ($names) from set_custom_styleNathaniel Guse2013-07-241-1/+1
| | | | | | | | | | | | | | | | This was basically duplicating functionality. $names would be used if not empty, else array($name) would be used. Merged functionality into the first argument PHPBB3-11628
* | [ticket/11628] Remove phpbb_style (move methods to phpbb_template)Nathaniel Guse2013-07-241-2/+1
| | | | | | | | PHPBB3-11628
* | [ticket/11628] Remove style path providerNathaniel Guse2013-07-241-3/+1
|/ | | | | | No longer used since Twig was implemented. PHPBB3-11628
* [feature/twig] Remove resource locator dependency from templateNathaniel Guse2013-07-011-1/+1
| | | | PHPBB3-11598
* [feature/twig] Fixing template events test (and behavior)Nathaniel Guse2013-06-251-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [feature/twig] Use phpbb_template_twig in testsNathan Guse2013-06-121-1/+1
| | | | | | Replace all new phpbb_template( with new phpbb_template_twig( PHPBB3-11598
* [ticket/11435] Fix comments in events testNathan Guse2013-04-251-1/+2
| | | | PHPBB3-11435
* [feature/template-events] Test for event that is defined in parent style only.Oleg Pudeyev2012-11-171-0/+10
| | | | PHPBB3-9550
* [feature/template-events] Specify style names, add inheritance tests.Oleg Pudeyev2012-11-171-7/+37
| | | | PHPBB3-9550
* [feature/template-events] Normalize expected directory trees.Oleg Pudeyev2012-11-171-1/+1
| | | | PHPBB3-9550
* [feature/template-events] Allow dataset to be correctly selectable.Oleg Pudeyev2012-11-171-13/+9
| | | | PHPBB3-9550
* [feature/template-events] Convert a single style name to array of them.Oleg Pudeyev2012-11-171-1/+1
| | | | | | | This allows template code to know the entire style hierarchy for templates being rendered. PHPBB3-9550
* [feature/template-events] Chase dependency injection for template context.Oleg Pudeyev2012-11-171-1/+1
| | | | PHPBB3-9550
* [feature/template-events] Adjust template events test to use the dataset.Oleg Pudeyev2012-11-171-2/+2
| | | | PHPBB3-9550
* [feature/template-events] Switch template event test to data providers.Oleg Pudeyev2012-11-171-16/+34
| | | | PHPBB3-9550
* [feature/template-events] Add a universal template event test.Oleg Pudeyev2012-11-171-21/+29
| | | | | | | | | 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
* [feature/template-events] Chase template/style renames and changes.Oleg Pudeyev2012-11-171-1/+1
| | | | PHPBB3-9550
* [feature/template-events] Template events unit testVjacheslav Trushkin2012-11-171-0/+56
Adding template events test PHPBB3-9550