summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | Import abstract base classes from collections.abcFlorian Bruhin2019-06-186-26/+19
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3.7, importing ABCs directly from the `collections` module shows a warning (and in Python 3.8 it will stop working) - see https://github.com/python/cpython/commit/c66f9f8d3909f588c251957d499599a1680e2320 This fixes various DeprecationWarnings such as those: ``` .../jinja2/utils.py:485: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import MutableMapping .../jinja2/runtime.py:318: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Mapping ```
| * | | | | | | | | Merge pull request #1009 from shamsimam/doc-python-methodsJoshua Bronson2019-06-051-1/+23
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | adds documentation on use of python methods in expressions
| | * | | | | | | | | adds documentation on use of python methods in expressionsShams Imam2019-05-311-1/+23
| | | | | | | | | | |
| * | | | | | | | | | Merge pull request #1012 from yongbozhang/issue-423Joshua Bronson2019-06-051-1/+3
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remind not to put block in if statements in doc
| | * | | | | | | | | | issue-423 remind not to put block in if statements in docyongbozhang2019-06-021-1/+3
| | |/ / / / / / / / /
| * | | | | | | | | | Merge pull request #1010 from dvamin/masterDavid Lord2019-05-312-4/+3
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | docs: Python3-ize the examples
| | * | | | | | | | | docs: Python3-ize the examplesDeepak Amin2019-05-312-4/+3
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates the examples to conform to Python 3 instead of Python 2, as Python 3 is more acceptable these days.
| * | | | | | | | | Merge pull request #988 from tbnorth/triv_docs_linkKevin Brown2019-05-111-2/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | fixes #242, deletes link to Jinja 1 docs.
| | * | | | | | | | | fixes #242, deletes link to Jinja 1 docs.Terry N. Brown2019-05-061-2/+1
| | | |_|_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This just fixes a broken link by deleteing it. I'm assuming Jinja 1 docs. aren't readily available anymore. I looked for a git tag for version 1 as an alternative target, but didn't see that either.
| * | | | | | | | | Add new maintenance branch format to Travis (#987)Kevin Brown2019-05-071-5/+6
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added new maintenance branch format to Travis The maintenance branch format appeared to change from `[version]-maintenance` to `[version].x` in the recent months, and this broke Travis CI builds made to those branches. Because they no longer meet the branch regex, the pull requests builds against these branches were no longer being run. This ads the regex for any branch which ends in `.x`, which should catch the new pattern for maintenance branches. * Use the branch regex from werkzeug This is more specific to only catch version number branches. * Sync with master Apparently the build configuration for this branch is very old and doesn't match master at all.
* | | | | | | | | Merge pull request #1025 from pallets/unpin-pytestDavid Lord2019-07-201-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Unpin Pytest on master branch
| * | | | | | | | | Unpin pytest in tox.iniunpin-pytestKevin Brown2019-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was "temporarily" pinned many months back, given that this is not pinned on the stable branch and tests appear to be passing, we should be able to remove it here.
* | | | | | | | | | standardize licenseDavid Lord2019-07-173-32/+29
| | | | | | | | | |
* | | | | | | | | | Merge pull request #1031 from minho42/Fix-typoJoshua Bronson2019-07-072-4/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Fix typo
| * | | | | | | | | | Fix line lengthMin ho Kim2019-07-081-1/+2
| | | | | | | | | | |
| * | | | | | | | | | Apply suggestionsMin ho Kim2019-07-072-4/+3
| | | | | | | | | | |
| * | | | | | | | | | Fix typoMin ho Kim2019-07-072-2/+2
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #975 from kevbroch/masterKevin Brown2019-06-241-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | add list filter to make example match output
| * | | | | | | | | | add list filter to make example match outputKevin Broch2019-04-291-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #1002 from ↵Kevin Brown2019-06-242-1/+7
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eplata31/bugfix-template-parse-if-with-dict-subproperty BUGFIX #930 - Template parse if with when referencing with dictionary…
| * | | | | | | | | | | BUGFIX #930 - Template parse if with when referencing with dictionary ↵eplata312019-05-132-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subproperty
* | | | | | | | | | | | Merge pull request #1013 from mayuropensource/jinja-670-sort-multi-attrKevin Brown2019-06-242-7/+76
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | | Add ability to specify multiple attributes in sort
| * | | | | | | | | | | Refactor _prepare_attribute_parts() to use in both make_attrgetter() and ↵mayur-srivastava2019-06-091-14/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make_multi_attrgetter()
| * | | | | | | | | | | Add ability to specify multiple attributes in sort,mayur-srivastava2019-05-312-1/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e.g. foo|sort(attribute='name,id'). This fixes #670
* | | | | | | | | | | | Merge pull request #1021 from jdufresne/the-theJoshua Bronson2019-06-212-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Fix typo "the the"
| * | | | | | | | | | | | Fix typo "the the"Jon Dufresne2019-06-212-2/+2
|/ / / / / / / / / / / /
* | | | | | | | | | | | Merge pull request #1015 from jab/pr-1011Joshua Bronson2019-06-052-1/+37
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Document nested extends and super.super().
| * | | | | | | | | | | | Fix "duplicate object description of jinja2" warningjab2019-06-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow suggestion to use :noindex: for the instance in api."
| * | | | | | | | | | | | Improve nested extends (super.super) example.jab2019-06-051-19/+24
| | | | | | | | | | | | |
| * | | | | | | | | | | | Write a new documentation section on nesting extends.Scott Crosby2019-06-051-0/+30
|/ / / / / / / / / / / /
* | | | | | | | | | | | Merge pull request #1008 from gokcegrbl/GH-999David Lord2019-05-312-0/+30
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | Added new method itervalues() to LRUCache and deprecated itervalue()
| * | | | | | | | | | | Added new method itervalues() to LRUCache and deprecated itervalue()gokcegrbl2019-05-312-0/+30
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Fixes pallets/jinja#999)
* | | | | | | | | | | Merge pull request #1004 from myii/patch-1David Lord2019-05-211-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | docs(filters): fix typo `columwrapper` => `columnwrapper`
| * | | | | | | | | | | docs(filters): fix typo `columwrapper` => `columnwrapper`Imran Iqbal2019-05-201-1/+1
|/ / / / / / / / / / /
* | | | | | | | | | | Merge pull request #1003 from flexferrum/masterDavid Lord2019-05-171-2/+0
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | Remove duplicated testcase
| * | | | | | | | | | Remove duplicated testcaseFlex Ferrum2019-05-161-2/+0
|/ / / / / / / / / /
* | | | | | | | | | Add ChainableUndefined allowing getattr & getitem (#997)Étienne Pelletier2019-05-087-9/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ChainableUndefined allowing getattr & getitem Allows using default values with chains of items or attributes that may contain undefined values without raising a jinja2.exceptions.UndefinedError. >>> import jinja2 >>> env = jinja2.Environment(undefined=jinja2.ChainableUndefined) >>> env.from_string("{{ foo.bar['baz'] | default('val') }}").render() 'val' * Remove class decorator from ChainableUndefined
* | | | | | | | | | Merge pull request #989 from LindsayYoung/patch-1David Lord2019-05-061-0/+76
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Create CODE_OF_CONDUCT.md
| * | | | | | | | | | Create CODE_OF_CONDUCT.mdLindsay Young2019-05-061-0/+76
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ticket is referenced in [#Issue 1](https://github.com/pallets/meta/issues/1) in the Meta repo. I spoke with @davidism and the decision was to use Contributor Covenant. It has easy GitHub integration and quality content.
* | | | | | | | | | Fix use of 'is' operator for comparisonRaul Tambre2019-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'is' operator is not meant to be used for comparisons. It currently working is an implementation detail of CPython. CPython 3.8 has added a SyntaxWarning for this.
| | | | * | | | | | Adding a default parameter to builtin map filterBrendan2019-07-223-2/+32
| |_|_|/ / / / / / |/| | | | | | | |
* | | | | | | | | Merge remote-tracking branch 'origin/2.10.x'David Lord2019-05-061-4/+4
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| / / / / / / / | |/ / / / / / /
| * | | | | | | Merge pull request #982 from kevin-brown/sphinx-upgradeDavid Lord2019-05-061-4/+4
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | Fix tox docs-html builds
| | * | | | | | Fix tox docs-html buildsKevin Brown2019-05-061-4/+4
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These have been broken for about a month now because of the upgrade to Sphinx 2. This upgrade happened automatically because we do not have the version pinned. Luckily this issue appears to only be from having Python 2 syntax in the docs script, so making that compatible with Python 3 fixes the error and allows the docs to pass.
| | | | * | | Fix lexer being extremely slow on large amounts of whitespace. Fixes #857Peter Dolak2019-05-061-43/+30
| |_|_|/ / / |/| | | | |
* | | | | | Merge branch '2.10.x'David Lord2019-04-063-3/+43
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | |
| * | | | release 2.10.12.10.1David Lord2019-04-063-2/+12
| | | | |
| * | | | sandbox str.format_mapArmin Ronacher2019-04-062-3/+33
| | | | |
* | | | | Update CHANGES.rstArmin Ronacher2019-02-181-0/+1
| | | | |
* | | | | Await in async version of the map filter (#913)seaders2019-02-183-2/+11
| | | | |