Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Markup and escape should be imported from markupsafe | David Lord | 2021-04-10 | 1 | -1/+1 |
| | |||||
* | unify/rename filter and function decorators | David Lord | 2021-04-10 | 1 | -13/+11 |
| | | | | Use pass_context instead of contextfilter and contextfunction, etc. | ||||
* | Split lines in lexer only by \r\n, \r and \n | Matěj Volf | 2021-04-05 | 1 | -0/+7 |
| | | | | | | | | | | | | Python str.splitlines() splits by more characters[1], which, however, causes problems when keeping these special characters in processed templates is desirable, i.e. these bug reports: #769, #952, #1313. The keep_trailing_newlines logic is reworked because splitlines() removes them already (so they had to be added), while re.split doesn't so they have to be removed. [1] https://docs.python.org/3/library/stdtypes.html#str.splitlines | ||||
* | more detailed docs about globals | David Lord | 2021-03-31 | 1 | -22/+17 |
| | |||||
* | fix bug with cached templates not using new globals | Amy | 2021-03-30 | 1 | -0/+34 |
| | |||||
* | track local loop/block vars for contextfunctions | Amy | 2021-03-26 | 1 | -0/+98 |
| | |||||
* | Improve and extend urlize | Bebleo | 2021-01-30 | 1 | -0/+9 |
| | |||||
* | deprecate 'with' and 'autoescape' extensions | FawziyahAlebiosu | 2021-01-29 | 1 | -3/+1 |
| | |||||
* | Merge branch '2.11.x' | David Lord | 2020-02-05 | 1 | -2/+0 |
|\ | |||||
| * | remove custom pytest marks | David Lord | 2020-02-05 | 1 | -2/+0 |
| | | |||||
* | | apply pyupgrade and f-strings | David Lord | 2020-02-05 | 1 | -13/+12 |
| | | |||||
* | | remove _compat module | David Lord | 2020-02-05 | 1 | -11/+1 |
|/ | |||||
* | Revert "rename imports to jinja" | David Lord | 2020-01-26 | 1 | -15/+15 |
| | | | | This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef. | ||||
* | rename imports to jinja | David Lord | 2020-01-10 | 1 | -15/+15 |
| | |||||
* | simplify module docstringsstyle | David Lord | 2020-01-10 | 1 | -9/+0 |
| | |||||
* | apply flake8 | David Lord | 2020-01-10 | 1 | -32/+27 |
| | |||||
* | apply black | David Lord | 2020-01-10 | 1 | -205/+291 |
| | |||||
* | apply reorder-python-imports | David Lord | 2020-01-10 | 1 | -2/+8 |
| | |||||
* | Replaced try...catch within tests with pytest.raisespytest-cleanup | Kevin Brown | 2019-10-10 | 1 | -5/+3 |
| | | | | | | This still leaves one in test_debug which relies on reading out the traceback and cannot easily be replaced by pytest.raises like the others. | ||||
* | Fix bug with when using Markup on ChainableUndefined | Laurence de Bruxelles | 2019-10-04 | 1 | -0/+5 |
| | | | | | | | | | Wrapping a ChainableUndefined object with Markup causes an UndefinedError because Markup thinks that ChainableUndefined has an attribute called __html__ and tries to call it. This commit fixes this by defining a method __html__ that calls ChainableUndefined.__str__. We also add a regression test. | ||||
* | BUGFIX #930 - Template parse if with when referencing with dictionary ↵ | eplata31 | 2019-05-13 | 1 | -0/+4 |
| | | | | subproperty | ||||
* | Remove print() output during test | Jon Dufresne | 2017-04-09 | 1 | -1/+0 |
| | | | | Looks like it was left in from debugging. | ||||
* | Fix custom contexts in fast resolve mode | Adrian Moennich | 2017-03-15 | 1 | -0/+14 |
| | | | | closes #675 | ||||
* | Correctly use buffer for else frame in loops. Fixes #669 | Armin Ronacher | 2017-01-24 | 1 | -0/+6 |
| | |||||
* | Add support back for custom resolves on old resolve method | Armin Ronacher | 2017-01-12 | 1 | -0/+15 |
| | |||||
* | Also restore original str method | Armin Ronacher | 2017-01-12 | 1 | -0/+1 |
| | |||||
* | Restore original tuple repr for grouper. Fixes #654 | Armin Ronacher | 2017-01-12 | 1 | -0/+7 |
| | |||||
* | Added another regression test for ansible/ansible#20063 | Armin Ronacher | 2017-01-12 | 1 | -0/+7 |
| | |||||
* | Added a test for an assumed regression (refs #659) | Armin Ronacher | 2017-01-12 | 1 | -0/+7 |
| | |||||
* | Resolved bad code generation on toplevel ifs | Armin Ronacher | 2017-01-09 | 1 | -0/+4 |
| | | | | This fixes #651 | ||||
* | Correctly scope loop filters. Fixes #649 | Armin Ronacher | 2017-01-09 | 1 | -0/+27 |
| | |||||
* | Support new scoping rules in scoped blocks | Armin Ronacher | 2017-01-08 | 1 | -0/+5 |
| | |||||
* | Do not use yield from for blocks with buffers. Fixes #645 | Armin Ronacher | 2017-01-08 | 1 | -0/+5 |
| | |||||
* | Add support for explicit callers | Armin Ronacher | 2017-01-08 | 1 | -1/+21 |
| | | | | | | | | | This adds support for a never intended Jinja2 feature which however worked in limited support before due to a bug with the identifier scoping. A quick github code search indicates that developers commonly did this to set the default caller to none. This fixes #642 | ||||
* | Correct bad scoping for for loops. This fixes #640 | Armin Ronacher | 2017-01-07 | 1 | -0/+10 |
| | |||||
* | Resolved a regression in 2.9 with macro call scoping | Armin Ronacher | 2017-01-07 | 1 | -0/+25 |
| | |||||
* | Bump up the copyright to 2017 | Armin Ronacher | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | Generalize scoping. This fixes #603 | Armin Ronacher | 2017-01-07 | 1 | -0/+35 |
| | |||||
* | Added a test for macro scoping in loops | Armin Ronacher | 2017-01-06 | 1 | -0/+17 |
| | |||||
* | Cleaned up shitty syntax in testsuite | Armin Ronacher | 2017-01-06 | 1 | -2/+2 |
| | |||||
* | Added a missing test | Armin Ronacher | 2017-01-06 | 1 | -0/+7 |
| | |||||
* | Changed behavior of macro defaults to be frame bound | Armin Ronacher | 2017-01-03 | 1 | -5/+5 |
| | |||||
* | Checked in a failing test | Armin Ronacher | 2017-01-03 | 1 | -0/+11 |
| | |||||
* | Added a second test for #278 | Armin Ronacher | 2017-01-03 | 1 | -0/+11 |
| | |||||
* | Added a test for #278 | Armin Ronacher | 2017-01-03 | 1 | -0/+9 |
| | |||||
* | Added test for #86 | Armin Ronacher | 2017-01-03 | 1 | -0/+6 |
| | |||||
* | Support block-set in toplevel situations when extends is used | Armin Ronacher | 2016-12-31 | 1 | -0/+7 |
| | |||||
* | Support old-style classes for attribute lookups. Fixes #631 | Armin Ronacher | 2016-12-31 | 1 | -0/+8 |
| | |||||
* | Make noopener the default for urlize | Armin Ronacher | 2016-12-31 | 1 | -1/+1 |
| | |||||
* | Rename testsuite to tests and suggestions | Kartheek Lenkala | 2015-03-22 | 1 | -0/+278 |
Remove py.test from setup.py install_requires Rename testsuite folder to tests. |