summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | support scientific notationCleoQc2019-07-223-6/+21
|/ / / / / / /
* | | | | | | Merge pull request #961 from JulienPalard/TemplateNotFoundDavid Lord2019-07-221-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Better repr for TemplateNotFound.
| * | | | | | | Better repr for TemplateNotFound.Julien Palard2019-03-181-1/+1
| | | | | | | |
* | | | | | | | Merge pull request #994 from bkiu/931-undeclared-variablesDavid Lord2019-07-223-1/+7
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | exclude globals from find_undeclared_variables
| * | | | | | | | exclude globals from find_undeclared_variablesBrendan2019-07-223-1/+7
|/ / / / / / / /
* | | | | | | | Merge pull request #985 from bkiu/557-map-defaultDavid Lord2019-07-222-6/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Adding a default parameter to builtin map filter
| * \ \ \ \ \ \ \ Merge branch 'master' into 557-map-defaultDavid Lord2019-07-2231-215/+581
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #990 from tbnorth/vim_syntax_tweakDavid Lord2019-07-221-0/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | This is the correct thing to do, vim-wise, although whether
| * | | | | | | | | This is the correct thing to do, vim-wise, although whetherTerry N. Brown2019-05-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it has any impact depends on how the user has folding set up in vim. I confirmed that with the change, a folding setup that uses these variables works, whereas without the change, the same setup doesn't work. Change only effects a file that has to be manually copied to the user's ~/.vim/syntax folder, so it won't impact jinja execution in any way.
* | | | | | | | | | Merge pull request #1018 from kbiggers/jinja/557David Lord2019-07-223-6/+47
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | add default to map filter
| * | | | | | | | | | add default to map filterKevin2019-07-223-6/+47
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #1014 from markroth8/mroth/fix/748David Lord2019-07-203-17/+39
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Allow '{%+' to be valid syntax (but NOP) when lstrip_blocks == False. Fixes #748
| * | | | | | | | | | Allow '{%+' to be valid syntax (but NOP) when lstrip_blocks == False. Fixes ↵Mark Roth2019-07-203-17/+39
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #748.
* | | | | | | | | | Merge pull request #1022 from jdufresne/hlDavid Lord2019-07-201-3/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Correct syntax highlighting of jinja block in docs
| * | | | | | | | | | Correct syntax highlighting of jinja block in docsJon Dufresne2019-07-201-3/+1
|/ / / / / / / / / /
* | | | | | | | | | Merge branch '2.10.x'David Lord2019-07-2011-110/+171
|\ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge pull request #1030 from rillian/PytestUnknownMarkWarningDavid Lord2019-07-202-2/+44
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Fix pytest unknown mark warnings
| | * | | | | | | | | warnings are errors during testsDavid Lord2019-07-201-1/+1
| | | | | | | | | | |
| | * | | | | | | | | Register custom test category markers.Ralph Giles2019-07-201-1/+43
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since around pytest 3.6 it's been possible to register custom markers, and since version 4.5.0 pytest warns about any which are not registered. Register a list of such markers, extracted from those warnings, so they don't clutter the test output.
| * | | | | | | | | ignore coverage parse errorsDavid Lord2019-07-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Azure has Python 2.7.15 and Python 3.5.5, which can't parse async code. Later patch versions can parse it fine, so this can be removed if Azure updates.
| * | | | | | | | | switch tests to azure pipelinesDavid Lord2019-07-206-104/+91
| | | | | | | | | |
| * | | | | | | | | Merge pull request #1019 from ↵David Lord2019-06-187-26/+26
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jbarreneche/backport-python3.7-collections-warning-fix Backport python3.7 collections warning fix
| | * | | | | | | | | Add python 3.7 deprecation warning fix to changelogJuan Barreneche2019-06-181-0/+7
| | | | | | | | | | |
| | * | | | | | | | | 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().