Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | async support doesn't require patchinginline-async | David Lord | 2021-04-10 | 1 | -8/+7 |
| | |||||
* | unify/rename filter and function decorators | David Lord | 2021-04-10 | 1 | -21/+26 |
| | | | | Use pass_context instead of contextfilter and contextfunction, etc. | ||||
* | extract common code for import/from nodes | David Lord | 2021-04-10 | 1 | -20/+13 |
| | |||||
* | refactor compiler environment.is_async checks | angelafrentz | 2021-04-09 | 1 | -25/+21 |
| | |||||
* | add 'is filter' and 'is test' tests | David Lord | 2021-04-04 | 1 | -29/+66 |
| | | | | | | This required allowing tests to be decorated with '@environmentfilter'. Tests are essentially the same as filters now, the node, compiler, and environment have been refactored to extract common behavior. | ||||
* | allow optional use of filter based on existence | Amy | 2021-04-04 | 1 | -2/+26 |
| | |||||
* | track local loop/block vars for contextfunctions | Amy | 2021-03-26 | 1 | -4/+37 |
| | |||||
* | allow scoped blocks to access loop vars | Amy | 2021-03-26 | 1 | -3/+6 |
| | |||||
* | consistent typing config | David Lord | 2021-02-24 | 1 | -1/+2 |
| | |||||
* | add required attribute to blocks | Amy | 2021-01-29 | 1 | -0/+9 |
| | | | | | required blocks must be overridden at some point, although not necessarily by the direct child template | ||||
* | Setup mypy | Teymour Aldridge | 2020-07-28 | 1 | -12/+12 |
| | | | | | * Add missing type hints (these are intended as an initial set of type hints, to be added upon and improved later) * Setup MyPy to run as a Github Action | ||||
* | imported templates can see the current globals | Amy | 2020-06-22 | 1 | -2/+2 |
| | | | | | | | _get_default_module takes an optional context to indicate that the template is imported. If there are differences between the environment and rendered template globals, a new module is used for the imported template. | ||||
* | apply pyupgrade and f-strings | David Lord | 2020-02-05 | 1 | -190/+146 |
| | |||||
* | remove more compat code | David Lord | 2020-02-05 | 1 | -0/+1 |
| | |||||
* | remove _compat module | David Lord | 2020-02-05 | 1 | -78/+32 |
| | |||||
* | Use stricter getattr() checks for decorator functions | Tomas Krizek | 2020-02-04 | 1 | -6/+6 |
| | | | | | | | Explicit checks for "is True" prevents unexpected behaviour with objects that are callable and have permissive gettatr(), such as Mock. Fixes #1145 | ||||
* | Fix attribute access in async code. Fixes #1141 | Armin Ronacher | 2020-01-30 | 1 | -4/+4 |
| | |||||
* | import Markup from markupsafe, fix flake8 import warnings | David Lord | 2020-01-26 | 1 | -3/+4 |
| | |||||
* | Revert "rename directory to jinja"revert-rename | David Lord | 2020-01-26 | 1 | -0/+1842 |
| | | | | This reverts commit eac9acb7aeabf6f3e0ed4cb876e200e5e72d0d0e. | ||||
* | rename directory to jinja | David Lord | 2020-01-10 | 1 | -1842/+0 |
| | |||||
* | simplify module docstringsstyle | David Lord | 2020-01-10 | 1 | -9/+1 |
| | |||||
* | more relative imports | David Lord | 2020-01-10 | 1 | -1/+1 |
| | | | | | _identifier exports a compiled regex instead of a string to avoid some tricky cleanup | ||||
* | apply flake8 | David Lord | 2020-01-10 | 1 | -7/+6 |
| | |||||
* | apply black | David Lord | 2020-01-10 | 1 | -415/+484 |
| | |||||
* | apply reorder-python-imports | David Lord | 2020-01-10 | 1 | -11/+21 |
| | |||||
* | move to src directory | David Lord | 2020-01-09 | 1 | -0/+1772 |