| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
# By Oleg Pudeyev (36) and others
# Via Oleg Pudeyev
* p/feature/template-events: (47 commits)
[feature/template-events] Pass arguments in correct order.
[feature/template-events] Order extensions in mock extension manager.
[feature/template-events] Changes per imkingdavid's review.
[feature/template-events] Make style names private on template.
[feature/template-events] Test for event that is defined in parent style only.
[feature/template-events] Specify style names, add inheritance tests.
[feature/template-events] Normalize expected directory trees.
[feature/template-events] Allow dataset to be correctly selectable.
[feature/template-events] Dataset for template event testing with inheritance.
[feature/template-events] Use style names array in template filter.
[feature/template-events] Generate style names array in set_style.
[feature/template-events] Convert a single style name to array of them.
[feature/template-events] Chase dependency injection for template context.
[feature/template-events] Adjust template events test to use the dataset.
[feature/template-events] Create a dataset for template event tests.
[feature/template-events] Indentation fix.
[feature/template-events] Cosmetic changes.
[feature/template-events] Wording: wrongly -> improperly.
[feature/template-events] Indentation fix.
[feature/template-events] Rename template_name to style_name.
...
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| |
| | |
This provides a straightforward way of iterating over all styles
looking for templates in extensions.
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| |
| | |
This allows template code to know the entire style hierarchy for
templates being rendered.
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| |
| | |
"Style name" makes a lot more sense and should be in line with
recent style/template changes.
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| | |
It should now fairly closely reflect what actually happens.
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Pass through $user from template to filter.
Allow $user to be null for standalone usage of the template engine.
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Note: suicide happens for syntactically invalid event names,
e.g. event names containing punctuation.
Event names for which there are no events are silently dropped.
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| |
| | |
Use `' ?'. '>'` rather than `' ?>'` as the latter causes problems
in some editors.
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| | |
Remove comment per Nils in the PR.
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| |
| |
| | |
If the template event identifier is wrongly formatted phpBB will
triggern an `E_USER_NOTICE` if the `DEBUG` constant is set, otherwise
the location is ignored.
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| | |
Rename the way to add template events
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| | |
This will be used to invoke template-specific hooks.
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| |
| | |
This is needed for hooks in order for the filter to compile
template files from extensions.
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Template class passes extension manager to template compiler.
Template compiler passes extension manager to template filter.
Template filter will use extension manager to locate hooks
as it is compiling templates.
All extension manager arguments are optional. If an extension
manager is not given, template hooks will not be invoked.
PHPBB3-9550
|
| | |
| |
| |
| |
| |
| | |
Ported to the new develop, hopefully this is still sensible.
PHPBB3-9550
|
| | |
| |
| |
| | |
PHPBB3-10103
|
| |/
|
|
| |
PHPBB3-11227
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| | |
| |
| |
| |
| |
| |
| | |
Also rewrite get_first_template_location prose a little to be
less repetitive with get_first_file_location.
PHPBB3-10933
|
| | |
| |
| |
| |
| |
| | |
It had no callers other than the test suite.
PHPBB3-10933
|
| | |
| |
| |
| |
| |
| | |
template_path is now only present in style resource locator.
PHPBB3-10933
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This localizes template_path to style resource locator.
locate function on template will be removed in a subsequent commit.
PHPBB3-10933
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
* EXreaction/ticket/11189:
[ticket/11189] Replace DEBUG_EXTRA with DEBUG
[ticket/11189] Always log critical errors when in cron or in image output
|
| | |/
| |
| |
| | |
PHPBB3-11189
|
| |\ \
| |/
|/| |
Allow INCLUDE template macros to accept paths of the form {FOO}/a/{BAR}/c
|
| | |
| |
| |
| | |
PHPBB3-10970
|
| | |
| |
| |
| | |
PHPBB3-10970
|
| | |
| |
| |
| | |
PHPBB3-10970
|
| | |
| |
| |
| | |
PHPBB3-10970
|
| | |
| |
| |
| |
| |
| | |
Non-existent variables now become empty strings.
PHPBB3-10970
|
| | |
| |
| |
| | |
PHPBB3-10970
|