| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [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 | ||||
| * | [feature/twig] Fixing include node | Nathaniel Guse | 2013-07-01 | 1 | -17/+19 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] Fixing define node | Nathaniel Guse | 2013-07-01 | 1 | -3/+3 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] Fixing div by replacement | Nathaniel Guse | 2013-07-01 | 1 | -3/+3 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] Adding ! operator | Nathaniel Guse | 2013-07-01 | 1 | -5/+7 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] Adding some operators to the extension | Nathaniel Guse | 2013-06-29 | 1 | -3/+7 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] Fixing more stuff for DEFINE/INCLUDE | Nathaniel Guse | 2013-06-29 | 2 | -9/+44 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] Fixing DEFINE statements | Nathaniel Guse | 2013-06-29 | 5 | -33/+196 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] New Twig filter, subset | Nathaniel Guse | 2013-06-28 | 2 | -5/+46 |
| | | | | | | | | This filter grabs a subset of a loop for output (according to past functionality). PHPBB3-11598 | ||||
| * | [feature/twig] Replace BEGIN with Twig for using Lexer | Nathaniel Guse | 2013-06-26 | 5 | -213/+83 |
| | | | | | | | | | | | | No longer using the begin tokenparser/node as it did not allow proper handling of <!-- BEGIN !foo, <!-- BEGIN foo(0,2). Now the lexer will use regular expressions to handle that correctly and replace it with Twig's for token Also fixing <!-- IF .foo as I discovered it evaluates to if sizeof(foo) PHPBB3-11598 | ||||
| * | [feature/twig] Forgot to set up $config in node/php.php | Nathaniel Guse | 2013-06-25 | 1 | -0/+2 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] Going back to Twig's handling of cache file names for now | Nathaniel Guse | 2013-06-25 | 1 | -3/+15 |
| | | | | | | | My method was not working correctly, will work on it more later. PHPBB3-11598 | ||||
| * | [feature/twig] No longer using the phpbb_template_locator | Nathaniel Guse | 2013-06-25 | 1 | -23/+33 |
| | | | | | | | This functionality is handled by the Twig Filesystem Loader PHPBB3-11598 | ||||
| * | [feature/twig] Don't require phpbb_config, some tests pass null | Nathaniel Guse | 2013-06-25 | 1 | -1/+1 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] INCLUDEPHP token abs paths & fix test | Nathaniel Guse | 2013-06-25 | 1 | -3/+11 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] INCLUDEPHP token, replace variable usage with $context | Nathaniel Guse | 2013-06-25 | 1 | -3/+6 |
| | | | | | | | I could find no better way to do this... PHPBB3-11598 | ||||
| * | [feature/twig] INCLUDEPHP token support | Nathaniel Guse | 2013-06-25 | 3 | -0/+114 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] Add a comment to tpl output if PHP used, but disabled | Nathaniel Guse | 2013-06-25 | 1 | -4/+8 |
| | | | | | PHPBB3-11598 | ||||
| * | [feature/twig] Pass parameters required to twig env via constructor | Nathaniel Guse | 2013-06-25 | 2 | -43/+36 |
| | | | | | | | Instead of creating set functions PHPBB3-11598 | ||||
| * | [feature/twig] PHP token support | Nathaniel Guse | 2013-06-25 | 4 | -0/+89 |
| | | | | | PHPBB3-11598 | ||||
