| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [feature/template-events] Test for event that is defined in parent style only. | Oleg Pudeyev | 2012-11-17 | 3 | -0/+12 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Specify style names, add inheritance tests. | Oleg Pudeyev | 2012-11-17 | 1 | -7/+37 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Normalize expected directory trees. | Oleg Pudeyev | 2012-11-17 | 3 | -1/+1 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Allow dataset to be correctly selectable. | Oleg Pudeyev | 2012-11-17 | 2 | -13/+40 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Dataset for template event testing with inheritance. | Oleg Pudeyev | 2012-11-17 | 8 | -0/+8 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Use style names array in template filter. | Oleg Pudeyev | 2012-11-17 | 1 | -5/+13 |
| | | | | | | | | This provides a straightforward way of iterating over all styles looking for templates in extensions. PHPBB3-9550 | ||||
| * | [feature/template-events] Generate style names array in set_style. | Oleg Pudeyev | 2012-11-17 | 1 | -5/+11 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Convert a single style name to array of them. | Oleg Pudeyev | 2012-11-17 | 13 | -26/+33 |
| | | | | | | | | 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 Pudeyev | 2012-11-17 | 1 | -1/+1 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Adjust template events test to use the dataset. | Oleg Pudeyev | 2012-11-17 | 1 | -2/+2 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Create a dataset for template event tests. | Oleg Pudeyev | 2012-11-17 | 4 | -0/+0 |
| | | | | | | | Having all files in one directory is too much of a mess. PHPBB3-9550 | ||||
| * | [feature/template-events] Indentation fix. | Nathan Guse | 2012-11-17 | 1 | -3/+6 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Cosmetic changes. | Oleg Pudeyev | 2012-11-17 | 2 | -4/+4 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Wording: wrongly -> improperly. | Nathan Guse | 2012-11-17 | 2 | -3/+3 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Indentation fix. | Nathan Guse | 2012-11-17 | 1 | -1/+1 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Rename template_name to style_name. | Oleg Pudeyev | 2012-11-17 | 3 | -17/+18 |
| | | | | | | | | "Style name" makes a lot more sense and should be in line with recent style/template changes. PHPBB3-9550 | ||||
| * | [feature/template-events] Switch template event test to data providers. | Oleg Pudeyev | 2012-11-17 | 1 | -16/+34 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Add a universal template event test. | Oleg Pudeyev | 2012-11-17 | 5 | -21/+33 |
| | | | | | | | | | | 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] Report when templates cannot be compiled. | Oleg Pudeyev | 2012-11-17 | 1 | -0/+4 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Update EVENT tag documentation. | Oleg Pudeyev | 2012-11-17 | 1 | -1/+21 |
| | | | | | | | It should now fairly closely reflect what actually happens. PHPBB3-9550 | ||||
| * | [feature/template-events] Delete old comments/test code. | Oleg Pudeyev | 2012-11-17 | 1 | -7/+0 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Move comment to the function docblock. | Oleg Pudeyev | 2012-11-17 | 1 | -3/+3 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Handle user access correctly. | Oleg Pudeyev | 2012-11-17 | 2 | -3/+21 |
| | | | | | | | | | Pass through $user from template to filter. Allow $user to be null for standalone usage of the template engine. PHPBB3-9550 | ||||
| * | [feature/template-events] Always commit suicide for invalid event names. | Oleg Pudeyev | 2012-11-17 | 1 | -9/+2 |
| | | | | | | | | | | 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 | ||||
| * | [feature/template-events] Chase template/style renames and changes. | Oleg Pudeyev | 2012-11-17 | 3 | -3/+3 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Fix typo (waring -> warning) | Erik Frèrejean | 2012-11-17 | 1 | -1/+1 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Add additional space for editors | Erik Frèrejean | 2012-11-17 | 1 | -1/+1 |
| | | | | | | | | Use `' ?'. '>'` rather than `' ?>'` as the latter causes problems in some editors. PHPBB3-9550 | ||||
| * | [feature/template-events] Remove comment | Erik Frèrejean | 2012-11-17 | 1 | -1/+0 |
| | | | | | | | Remove comment per Nils in the PR. PHPBB3-9550 | ||||
| * | [feature/template-events] Handle incorrect template event identifiers | Erik Frèrejean | 2012-11-17 | 2 | -2/+11 |
| | | | | | | | | | 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 | ||||
| * | [feature/template-events] Template events unit test | Vjacheslav Trushkin | 2012-11-17 | 2 | -0/+60 |
| | | | | | | | Adding template events test PHPBB3-9550 | ||||
| * | [feature/template-events] RUNHOOKS -> EVENT | Erik Frèrejean | 2012-11-17 | 1 | -1/+1 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Correct indentation | Nathan Guse | 2012-11-17 | 1 | -1/+1 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Rename RUNHOOKS to EVENT | Michael Cullum | 2012-11-17 | 1 | -3/+3 |
| | | | | | | | Rename the way to add template events PHPBB3-9550 | ||||
| * | [feature/template-events] PHP does not parse <?php?>, avoid generating it. | Oleg Pudeyev | 2012-11-17 | 1 | -1/+3 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Invoke template hooks that are template-specific. | Oleg Pudeyev | 2012-11-17 | 1 | -0/+7 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Pass top-level template name to template filter. | Oleg Pudeyev | 2012-11-17 | 3 | -3/+26 |
| | | | | | | | This will be used to invoke template-specific hooks. PHPBB3-9550 | ||||
| * | [feature/template-events] Add template_compile to template filter params. | Oleg Pudeyev | 2012-11-17 | 1 | -0/+1 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Rename universal to all (for template fragments). | Oleg Pudeyev | 2012-11-17 | 1 | -1/+1 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Fix property name for extension manager. | Oleg Pudeyev | 2012-11-17 | 1 | -2/+2 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Really basic template hook implementation. | Oleg Pudeyev | 2012-11-17 | 1 | -0/+20 |
| | | | | | PHPBB3-9550 | ||||
| * | [feature/template-events] Inject template compile into template filter. | Oleg Pudeyev | 2012-11-17 | 1 | -0/+8 |
| | | | | | | | | This is needed for hooks in order for the filter to compile template files from extensions. PHPBB3-9550 | ||||
| * | [feature/template-events] Inject extension manager into template class. | Oleg Pudeyev | 2012-11-17 | 6 | -7/+27 |
| | | | | | | | | | | | | | | | 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 | ||||
| * | [feature/template-events] Outline for RUNHOOKS template tag. | Oleg Pudeyev | 2012-11-17 | 1 | -0/+27 |
| | | | | | | | Ported to the new develop, hopefully this is still sensible. PHPBB3-9550 | ||||
| * | Merge remote-tracking branch 'p/ticket/10933' into develop | Igor Wiedler | 2012-11-17 | 5 | -86/+173 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
| | * | [ticket/10933] Prose for get_first_file_location. | Oleg Pudeyev | 2012-11-02 | 2 | -11/+60 |
| | | | | | | | | | | | | | | | Also rewrite get_first_template_location prose a little to be less repetitive with get_first_file_location. PHPBB3-10933 | ||||
| | * | [ticket/10933] Remaining documentation for added functions in resource locator | Oleg Pudeyev | 2012-11-02 | 1 | -0/+17 |
| | | | | | | | | | PHPBB3-10933 | ||||
| | * | [ticket/10933] Update template locator test to use style resource locator. | Oleg Pudeyev | 2012-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | There is no reason for it to go through a template instance to test resource locator functionality. PHPBB3-10933 | ||||
| | * | [ticket/10933] Dispose of locate function in template class. | Oleg Pudeyev | 2012-11-02 | 2 | -54/+47 |
| | | | | | | | | | | | | | It had no callers other than the test suite. PHPBB3-10933 | ||||
| | * | [ticket/10933] Add mutators for template_path to style resource locator. | Oleg Pudeyev | 2012-11-02 | 2 | -5/+27 |
| | | | | | | | | | | | | | | | | | | | template_path is now private. Change semantics of passing false for template path - now this resets template path to default which I think makes sense. PHPBB3-10933 | ||||
| | * | [ticket/10933] Delete template_path assignment. | Oleg Pudeyev | 2012-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | template_path is now only present in style resource locator and should not be assigned to. PHPBB3-10933 | ||||
