Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ticket/11388] INCLUDECSS | Nathaniel Guse | 2013-07-11 | 4 | -0/+71 |
| | | | | PHPBB3-11388 | ||||
* | [ticket/11388] Do not append assets_version if using remote path (e.g. http) | Nathaniel Guse | 2013-07-11 | 1 | -3/+2 |
| | | | | PHPBB3-11388 | ||||
* | [ticket/11388] Remove typehints (causing tests to fail) | Nathaniel Guse | 2013-07-11 | 1 | -1/+1 |
| | | | | PHPBB3-11388 | ||||
* | [ticket/11388] Disable cache if IN_INSTALL defined | Nathaniel Guse | 2013-07-11 | 1 | -1/+1 |
| | | | | PHPBB3-11388 | ||||
* | [ticket/11388] typehits | Nathaniel Guse | 2013-07-11 | 1 | -1/+1 |
| | | | | PHPBB3-11388 | ||||
* | [ticket/11388] INCLUDEJS supports //(url) | Nathaniel Guse | 2013-07-11 | 1 | -1/+1 |
| | | | | PHPBB3-11388 | ||||
* | [ticket/11388] includejs inherit from includeasset | Nathaniel Guse | 2013-07-10 | 2 | -31/+73 |
| | | | | | | | | | Copied from the INCLUDECSS PR, since this needed to be modified. Added checks for argument strings/anchors/http/https paths in asset files to load files properly PHPBB3-11388 | ||||
* | [feature/twig] Variable regular expressions should be lazy | Nathan Guse | 2013-07-08 | 1 | -3/+3 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] If DEBUG, EVENT will always look for new/missing tpl event files | Nathan Guse | 2013-07-06 | 1 | -3/+23 |
| | | | | | | | | | If debug mode is enabled, lets check for new/removed EVENT templates on page load rather than at compile. This is slower, but makes developing extensions easier (no need to purge the cache when a new event template file is added) PHPBB3-11598 | ||||
* | [feature/twig] Use Twig mask for IF statements instead of our own tokenparser | Nathan Guse | 2013-07-05 | 3 | -90/+6 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] context_recursive_loop_builder isn't used anymore, removing it | Nathan Guse | 2013-07-05 | 1 | -22/+0 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Add check for defined IN_PHPBB in all new Twig related files | Nathan Guse | 2013-07-05 | 15 | -0/+135 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Can't use typehint here, causes tests to fail | Nathan Guse | 2013-07-05 | 1 | -1/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Clarify comment | Nathan Guse | 2013-07-05 | 1 | -1/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Spacing | Nathan Guse | 2013-07-05 | 1 | -1/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Docs/typehinting for Twig extension | Nathan Guse | 2013-07-05 | 1 | -1/+13 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Fix a regular expression | Nathaniel Guse | 2013-07-04 | 1 | -1/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Fix debug code | Nathaniel Guse | 2013-07-04 | 1 | -1/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Support using Twig filters on {VAR}, add masks for Twig tags | Nathaniel Guse | 2013-07-04 | 2 | -7/+71 |
| | | | | | | | | | | Now we can do {L_TITLE|upper}, {SITENAME|lower}, etc We can also use all the Twig tags in our own syntax. E.g. <!-- BLOCK foo --> = {% block foo %]. All tags are the same as the Twig tag names, but are in uppercase. PHPBB3-11598 | ||||
* | [feature/twig] Indentation and comments | Nathaniel Guse | 2013-07-04 | 2 | -10/+12 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Change style->set_style to accept a list of base directories | Nathaniel Guse | 2013-07-04 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | set_style now accepts an array containing a list of paths, e.g. array( 'ext/foo/bar/styles', 'styles'). Default: array('styles') Using this option allows us to set the style based on the user's preferred style (including the full tree), but use one or more base directories to add the paths from. The main use for this ability is so that extensions can call set_style, including their path and the phpBB styles path (or any others) and have their template files loaded from those directories (in the order given). PHPBB3-11598 | ||||
* | [feature/twig] Fix begin loop var regex | Nathaniel Guse | 2013-07-02 | 1 | -2/+2 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Fix indentation | Nathaniel Guse | 2013-07-02 | 16 | -357/+368 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Remove getCacheFilename function I was working on | Nathaniel Guse | 2013-07-02 | 1 | -30/+0 |
| | | | | | | | This can be addressed later if we decide we want to have more nicely named cache files. It does not need to be addressed now PHPBB3-11598 | ||||
* | [feature/twig] Remove reference to cachepath, it is not used publicly anymore | Nathaniel Guse | 2013-07-02 | 1 | -1/+4 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Check the template context for language vars | Nathaniel Guse | 2013-07-02 | 2 | -2/+36 |
| | | | | | | | | We output some language vars to the context (e.g. L_TITLE in the ACP). These do not exist in user->lang, so we must check the context vars first, if not in context, we output the result of user->lang. PHPBB3-11598 | ||||
* | [feature/twig] Fix BBCode parser | Nathaniel Guse | 2013-07-02 | 1 | -0/+10 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] INCLUDEPHP behavior now supports local relative paths | Nathaniel Guse | 2013-07-02 | 1 | -1/+8 |
| | | | | | | | | | As a last resort, now we use the Twig Loader to find the correct file to include to (most specific file first, then parent styles). Also allows using @namespace convention. This is ONLY done if the specified path is not an absolute path AND the file does not exist relative to the phpBB root path. PHPBB3-11598 | ||||
* | [feature/twig] INCLUDEJS behavior now supports local relative paths | Nathaniel Guse | 2013-07-02 | 1 | -2/+10 |
| | | | | | | | | | This was done because T_TEMPLATE_PATH is not always correct for js files (e.g. the inheriting style does not include these). Now we use the Twig Loader to find the correct file to link to (most specific file first, then parent styles). Also allows using @namespace convention PHPBB3-11598 | ||||
* | [feature/twig] INCLUDEJS now uses the definition class | Nathaniel Guse | 2013-07-02 | 2 | -2/+21 |
| | | | | | | | This had to be done because, like DEFINE, setting variables to $context only affected the local file and any children, not parent templates. PHPBB3-11598 | ||||
* | [feature/twig] Update phpbb_template interface | Nathaniel Guse | 2013-07-01 | 1 | -11/+25 |
| | | | | | | Return $this wherever possible PHPBB3-11598 | ||||
* | [feature/twig] Fix call for previous change to var name case | Nathaniel Guse | 2013-07-01 | 1 | -1/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Comments | Nathaniel Guse | 2013-07-01 | 1 | -8/+7 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Use correct case for variable name | Nathaniel Guse | 2013-07-01 | 1 | -3/+3 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Fixed tabs in environment.php | Nathaniel Guse | 2013-07-01 | 1 | -40/+41 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Don't forget to set the context when rendering! | Nathaniel Guse | 2013-07-01 | 1 | -1/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Remove get_lang function (it's not used anywhere) | Nathaniel Guse | 2013-07-01 | 1 | -21/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Do not assign var by reference | Nathaniel Guse | 2013-07-01 | 1 | -3/+2 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Fix length replace in lexer | Nathaniel Guse | 2013-07-01 | 1 | -1/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Prevent errors from empty user->style | Nathaniel Guse | 2013-07-01 | 1 | -1/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Use adm_relative_path to build admin namespace | Nathaniel Guse | 2013-07-01 | 1 | -6/+11 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Remove debug code, set debug/auto reload correctly | Nathaniel Guse | 2013-07-01 | 1 | -6/+2 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Remove resource locator dependency from template | Nathaniel Guse | 2013-07-01 | 1 | -2/+1 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Remove the twig loader class that I started (don't use it) | Nathaniel Guse | 2013-07-01 | 1 | -51/+0 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Changing INCLUDEJS behavior slightly | Nathaniel Guse | 2013-07-01 | 1 | -0/+1 |
| | | | | | | | Automatically parsing inline variables the same way it is done for INCLUDE, INCLUDEPHP PHPBB3-11598 | ||||
* | [feature/twig] Fix includephp node | Nathaniel Guse | 2013-07-01 | 1 | -8/+6 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] A bit of cleanup in twig.php | Nathaniel Guse | 2013-07-01 | 1 | -11/+14 |
| | | | | PHPBB3-11598 | ||||
* | [feature/twig] Add addslashes filter (to use on LA_ instead of escape) | Nathaniel Guse | 2013-07-01 | 2 | -2/+3 |
| | | | | | | To match previous parser behavior PHPBB3-11598 | ||||
* | [feature/twig] Remove the get_rootref and get_tpldata functions prev added | Nathaniel Guse | 2013-07-01 | 1 | -4/+3 |
| | | | | | | These are not really necessary PHPBB3-11598 | ||||
* | [feature/twig] Transform {L_, {LA_ to use the lang() function | Nathaniel Guse | 2013-07-01 | 3 | -16/+47 |
| | | | | PHPBB3-11598 |