Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge branch '3.0.x' | David Lord | 2021-05-13 | 1 | -0/+2 | |
|\ \ | |/ | ||||||
| * | show context for deprecated extensions | David Lord | 2021-05-13 | 1 | -0/+2 | |
| | | ||||||
* | | Merge pull request #1434 from pallets/update-typing | David Lord | 2021-05-13 | 1 | -1/+4 | |
|\ \ | |/ | | | Update typing | |||||
| * | fix typing that wasn't available in Python 3.6.0 | David Lord | 2021-05-13 | 1 | -0/+1 | |
| | | ||||||
| * | mark top-level names as exported | David Lord | 2021-05-13 | 1 | -1/+3 | |
| | | ||||||
* | | Merge remote-tracking branch 'origin/3.0.x' | David Lord | 2021-05-11 | 1 | -0/+2 | |
|\ \ | |/ | ||||||
| * | update markupsafe minimum version | David Lord | 2021-05-11 | 1 | -0/+2 | |
| | | ||||||
* | | start version 3.1.0.dev0 | David Lord | 2021-05-11 | 1 | -0/+6 | |
|/ | ||||||
* | start version 3.0.1.dev0 | David Lord | 2021-05-11 | 1 | -0/+6 | |
| | ||||||
* | release version 3.0.0 | David Lord | 2021-05-11 | 1 | -1/+1 | |
| | ||||||
* | add type annotations | David Lord | 2021-05-08 | 1 | -0/+1 | |
| | ||||||
* | deprecate legacy resolve mode | David Lord | 2021-04-11 | 1 | -0/+2 | |
| | ||||||
* | async support doesn't require patchinginline-async | David Lord | 2021-04-10 | 1 | -0/+4 | |
| | ||||||
* | unify/rename filter and function decorators | David Lord | 2021-04-10 | 1 | -2/+11 | |
| | | | | Use pass_context instead of contextfilter and contextfunction, etc. | |||||
* | add default parameter to groupby | lisongmin | 2021-04-05 | 1 | -0/+2 | |
| | ||||||
* | Split lines in lexer only by \r\n, \r and \n | Matěj Volf | 2021-04-05 | 1 | -0/+2 | |
| | | | | | | | | | | | | 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 | |||||
* | NativeEnvironment supports async mode | remidebette | 2021-04-05 | 1 | -0/+1 | |
| | ||||||
* | add Undefined.__aiter__ | Jafnee | 2021-04-05 | 1 | -0/+1 | |
| | ||||||
* | Undefined.__contains__ raises UndefinedError | David Parker | 2021-04-05 | 1 | -0/+2 | |
| | ||||||
* | parse hex, octal, and binary integer literals | Alex Mykyta | 2021-04-05 | 1 | -0/+2 | |
| | ||||||
* | filters.py: do_indent: ident filter can indent with arbitrary characters | Lars Kollstedt | 2021-04-05 | 1 | -0/+2 | |
| | | | | | | | | | | | Allow indention with generic characters, e.g. Tabs. Implemenented the behavior requested in https://github.com/pallets/jinja/pull/1167#issuecomment-612644701 The width param can be string or int, if it is string it's the raw indention e.g. "\t". If it's int it's the number of spaces. In other cases an FilterArgumentError is raised, to avoid confusion. | |||||
* | add pgettext and npgettext | Sardorbek Imomaliev | 2021-04-05 | 1 | -0/+2 | |
| | ||||||
* | add 'is filter' and 'is test' tests | David Lord | 2021-04-04 | 1 | -0/+5 | |
| | | | | | | 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 | -0/+2 | |
| | ||||||
* | more detailed docs about globals | David Lord | 2021-03-31 | 1 | -2/+3 | |
| | ||||||
* | fix bug with cached templates not using new globals | Amy | 2021-03-30 | 1 | -0/+2 | |
| | ||||||
* | track local loop/block vars for contextfunctions | Amy | 2021-03-26 | 1 | -0/+4 | |
| | ||||||
* | map filter can use False as default | BALaka-18 | 2021-02-24 | 1 | -0/+2 | |
| | ||||||
* | Merge branch '2.11.x' | David Lord | 2021-01-31 | 1 | -0/+10 | |
|\ | ||||||
| * | release version 2.11.32.11.32.11.x | David Lord | 2021-01-31 | 1 | -1/+1 | |
| | | ||||||
| * | speed up urlize matching | David Lord | 2021-01-31 | 1 | -0/+10 | |
| | | ||||||
* | | refactor urlize function | David Lord | 2021-01-30 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | don't try other url types if one already matched no-op function if trim is not enabled avoid backtracking when matching trailing punctuation match head and tail punctuation separately don't scan for unbalanced parentheses more than necessary ensure email domain starts and ends with a word character | |||||
* | | update urlize docs, clean up code | David Lord | 2021-01-30 | 1 | -0/+6 | |
| | | | | | | | | | | | | move regexes near implementation commented verbose regex for http pattern renamed extra_uri_schemes to extra_schemes | |||||
* | | update docs about required blocks (#1340) | David Lord | 2021-01-30 | 1 | -3/+4 | |
| | | ||||||
* | | deprecate 'with' and 'autoescape' extensions | FawziyahAlebiosu | 2021-01-29 | 1 | -0/+1 | |
| | | ||||||
* | | add required attribute to blocks | Amy | 2021-01-29 | 1 | -0/+2 | |
| | | | | | | | | | | required blocks must be overridden at some point, although not necessarily by the direct child template | |||||
* | | native_concat: pass only strings to literal_eval | Martin Krizek | 2021-01-28 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | If there is only single node and it is not a string, there is no point in passing it into ``literal_eval``, just return it immediately. One of the examples where passing a non-string node into ``literal_eval`` would actually cause problems is when the node is ``Undefined``. On Python 3.10 this would cause ``UndefinedError`` instead of just ``Undefined`` being returned. Fixes #1335 | |||||
* | | detect custom async filters in as_const | Richard Gibson | 2020-10-31 | 1 | -0/+3 | |
| | | ||||||
* | | ignore trim_blocks using '+%}' | Amy | 2020-06-22 | 1 | -1/+1 | |
| | | ||||||
* | | imported templates can see the current globals | Amy | 2020-06-22 | 1 | -0/+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. | |||||
* | | Merge branch '2.11.x' | David Lord | 2020-04-13 | 1 | -3/+9 | |
|\ \ | |/ | ||||||
| * | fix changelog header | David Lord | 2020-04-13 | 1 | -2/+2 | |
| | | ||||||
| * | release version 2.11.22.11.2 | David Lord | 2020-04-13 | 1 | -1/+1 | |
| | | ||||||
| * | native only evals at end of render | David Lord | 2020-04-13 | 1 | -0/+4 | |
| | | | | | | | | Co-authored-by: Martin Krizek <mkrizek@redhat.com> | |||||
| * | Add tests for lstrip whitespace behavior fix | Peter Dolak | 2020-04-13 | 1 | -0/+2 | |
| | | | | | | | | | | Also did peformance tests for the previous fix and saw no measurable impact. | |||||
* | | add changelog and cleanup for pep 451 support | David Lord | 2020-03-30 | 1 | -0/+2 | |
| | | ||||||
* | | Merge branch '2.11.x' | David Lord | 2020-03-30 | 1 | -0/+4 | |
|\ \ | |/ | ||||||
| * | namespace object works in async templates | Bart Feenstra | 2020-03-30 | 1 | -0/+2 | |
| | | ||||||
| * | Fix tokens line number calculation when whitespace stripping is used | Andrey Lisin | 2020-03-30 | 1 | -0/+2 | |
| | | ||||||
* | | Merge branch '2.11.x' | David Lord | 2020-03-30 | 1 | -0/+12 | |
|\ \ | |/ |