]>
git.ipfire.org Git - thirdparty/jinja.git/log
Amy [Wed, 17 Jun 2020 18:12:57 +0000 (14:12 -0400)]
ignore trim_blocks using '+%}'
David Lord [Mon, 22 Jun 2020 17:12:46 +0000 (10:12 -0700)]
Merge pull request #1241 from MLH-Fellowship/macros_with_globals
Fix bug with imported macros and template globals
Amy [Mon, 22 Jun 2020 13:54:08 +0000 (09:54 -0400)]
imported templates can see the current globals
_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.
Amy [Fri, 19 Jun 2020 15:53:29 +0000 (11:53 -0400)]
add more tests for import context behavior
David Lord [Mon, 15 Jun 2020 18:08:47 +0000 (11:08 -0700)]
Merge pull request #1238 from MLH-Fellowship/1197-sandbox
Remove sandbox Python < 3.5 compat
Amy [Mon, 15 Jun 2020 17:39:33 +0000 (13:39 -0400)]
remove sandbox._MagicFormatMapping
add test for escape formatter
David Lord [Fri, 12 Jun 2020 02:43:50 +0000 (19:43 -0700)]
add contributing guide
dependabot-preview[bot] [Wed, 10 Jun 2020 08:51:10 +0000 (08:51 +0000)]
Merge pull request #1232 from pallets/dependabot/pip/pre-commit-2.5.1
dependabot-preview[bot] [Wed, 10 Jun 2020 08:48:22 +0000 (08:48 +0000)]
Bump pre-commit from 2.5.0 to 2.5.1
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.5.0...v2.5.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 10 Jun 2020 08:46:42 +0000 (08:46 +0000)]
Merge pull request #1231 from pallets/dependabot/pip/pip-tools-5.2.1
dependabot-preview[bot] [Wed, 10 Jun 2020 08:44:49 +0000 (08:44 +0000)]
Bump pip-tools from 5.2.0 to 5.2.1
Bumps [pip-tools](https://github.com/jazzband/pip-tools) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/jazzband/pip-tools/releases)
- [Changelog](https://github.com/jazzband/pip-tools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jazzband/pip-tools/compare/5.2.0...5.2.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 9 Jun 2020 08:24:18 +0000 (08:24 +0000)]
Merge pull request #1230 from pallets/dependabot/pip/pre-commit-2.5.0
dependabot-preview[bot] [Tue, 9 Jun 2020 08:21:54 +0000 (08:21 +0000)]
Bump pre-commit from 2.4.0 to 2.5.0
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.4.0...v2.5.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 8 Jun 2020 14:14:06 +0000 (14:14 +0000)]
Merge pull request #1229 from pallets/dependabot/pip/tox-3.15.2
dependabot-preview[bot] [Mon, 8 Jun 2020 08:44:54 +0000 (08:44 +0000)]
Bump tox from 3.15.1 to 3.15.2
Bumps [tox](https://github.com/tox-dev/tox) from 3.15.1 to 3.15.2.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.15.1...3.15.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
David Lord [Wed, 3 Jun 2020 14:45:28 +0000 (07:45 -0700)]
Merge pull request #1228 from pallets/dependabot/pip/pytest-5.4.3
Bump pytest from 5.4.2 to 5.4.3
dependabot-preview[bot] [Wed, 3 Jun 2020 08:52:31 +0000 (08:52 +0000)]
Bump pytest from 5.4.2 to 5.4.3
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/5.4.2...5.4.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Thu, 28 May 2020 15:53:45 +0000 (08:53 -0700)]
Bump pip-tools from 5.1.2 to 5.2.0 (#1227)
Bumps [pip-tools](https://github.com/jazzband/pip-tools) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/jazzband/pip-tools/releases)
- [Changelog](https://github.com/jazzband/pip-tools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jazzband/pip-tools/compare/5.1.2...5.2.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
David Lord [Sat, 23 May 2020 20:23:49 +0000 (13:23 -0700)]
add EditorConfig
David Lord [Sat, 23 May 2020 20:05:13 +0000 (13:05 -0700)]
Merge pull request #1225 from pallets/github-actions
use GitHub Actions for CI
David Lord [Sat, 23 May 2020 19:58:04 +0000 (12:58 -0700)]
use GitHub Actions for CI
David Lord [Sat, 23 May 2020 19:30:50 +0000 (12:30 -0700)]
Merge pull request #1224 from pallets/loader-docs
update package and filesystem loader docs
David Lord [Sat, 23 May 2020 19:21:34 +0000 (12:21 -0700)]
update package and filesystem loader docs
David Lord [Sat, 23 May 2020 18:13:46 +0000 (11:13 -0700)]
Merge pull request #1222 from pallets/dependabot/pip/tox-3.15.1
Bump tox from 3.15.0 to 3.15.1
dependabot-preview[bot] [Sat, 23 May 2020 18:12:14 +0000 (18:12 +0000)]
Bump tox from 3.15.0 to 3.15.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.15.0 to 3.15.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.15.0...3.15.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
David Lord [Sat, 23 May 2020 17:58:45 +0000 (10:58 -0700)]
Merge pull request #1221 from pallets/remove-docs-dev
remove docs requirements from dev requirments
David Lord [Sat, 23 May 2020 17:45:23 +0000 (10:45 -0700)]
remove docs requirements from dev requirments
otherwise Sphinx will cause Jinja to be pinned
David Lord [Mon, 18 May 2020 23:21:04 +0000 (16:21 -0700)]
try another dependabot ignore pattern
David Lord [Mon, 18 May 2020 22:59:03 +0000 (15:59 -0700)]
try another dependabot ignore pattern
David Lord [Mon, 18 May 2020 22:56:23 +0000 (15:56 -0700)]
fix dependabot config syntax
David Lord [Mon, 18 May 2020 22:53:07 +0000 (15:53 -0700)]
Merge pull request #1216 from pallets/dependabot-config
try to make dependabot ignore editable line
David Lord [Mon, 18 May 2020 22:49:08 +0000 (15:49 -0700)]
try to make dependabot ignore editable line
David Lord [Mon, 18 May 2020 22:31:58 +0000 (15:31 -0700)]
Merge pull request #1214 from pallets/requirements
use pip-compile to pin dev requirements
David Lord [Mon, 18 May 2020 22:10:00 +0000 (15:10 -0700)]
use pip-compile to pin dev requirements
David Lord [Mon, 18 May 2020 21:58:52 +0000 (14:58 -0700)]
Merge pull request #1213 from pallets/rtd-config
add readthedocs config
David Lord [Mon, 18 May 2020 21:56:41 +0000 (14:56 -0700)]
add readthedocs config
David Lord [Sun, 19 Apr 2020 16:01:07 +0000 (09:01 -0700)]
Merge pull request #1196 from pallets/remove-vim
remove vim syntax file
David Lord [Sun, 19 Apr 2020 15:55:59 +0000 (08:55 -0700)]
remove vim syntax file
remove unmaintained information from integration doc
David Lord [Mon, 13 Apr 2020 16:26:39 +0000 (09:26 -0700)]
Merge branch '2.11.x'
David Lord [Mon, 13 Apr 2020 16:20:59 +0000 (09:20 -0700)]
fix changelog header
David Lord [Mon, 13 Apr 2020 16:12:19 +0000 (09:12 -0700)]
release version 2.11.2
David Lord [Mon, 13 Apr 2020 15:56:37 +0000 (08:56 -0700)]
Merge pull request #1190 from pallets/native-eval
native only evals at end of render
David Lord [Mon, 13 Apr 2020 15:25:49 +0000 (08:25 -0700)]
native only evals at end of render
Co-authored-by: Martin Krizek <mkrizek@redhat.com>
David Lord [Mon, 13 Apr 2020 14:09:31 +0000 (07:09 -0700)]
Merge pull request #1183 from exponea/1138-fix-unintended-lstrip-behavior-change
Fix unintended lstrip_blocks behavior
Peter Dolak [Fri, 3 Apr 2020 09:29:28 +0000 (11:29 +0200)]
Add tests for lstrip whitespace behavior fix
Also did peformance tests for the previous fix and saw no measurable
impact.
Peter Dolak [Thu, 2 Apr 2020 14:55:57 +0000 (16:55 +0200)]
Fix unintended lstrip_blocks behavior. Fixes #1138
Introduced in #858. Tests will follow, also results of performance
testing.
Ken Crowell [Sun, 12 Apr 2020 16:46:08 +0000 (13:46 -0300)]
Don't use setlocal in syntax file (#1164)
I'm not 100% sure that one should not use `setlocal` in a syntax file,
but this breaks other filetypes that may include this syntax file, like
the vim-markdown plugin. The `comments` and `commentstring` get set for
that markdown buffer with the jinja settings.
See
https://github.com/dhruvasagar/vim-table-mode/issues/162#issuecomment-
595317626
for an example of side effects.
Xinbin Huang [Wed, 8 Apr 2020 20:15:30 +0000 (13:15 -0700)]
Update oudated CutomLoader code example (#1185)
py3 for CustomLoader example
David Lord [Wed, 8 Apr 2020 15:53:28 +0000 (08:53 -0700)]
Merge branch '2.11.x'
David Lord [Wed, 8 Apr 2020 15:52:03 +0000 (08:52 -0700)]
Merge tag '2.11.1' into 2.11.x
David Lord [Mon, 30 Mar 2020 20:03:04 +0000 (13:03 -0700)]
Merge pull request #1169 from asottile/pep_451
Use importlib machinery to fix PEP 451 import hooks
David Lord [Mon, 30 Mar 2020 19:55:40 +0000 (12:55 -0700)]
add changelog and cleanup for pep 451 support
Anthony Sottile [Tue, 10 Mar 2020 17:02:47 +0000 (10:02 -0700)]
Use importlib machinery to fix PEP 451 import hooks
David Lord [Mon, 30 Mar 2020 18:40:59 +0000 (11:40 -0700)]
Merge branch '2.11.x'
David Lord [Mon, 30 Mar 2020 18:34:13 +0000 (11:34 -0700)]
Merge pull request #1181 from bartfeenstra/async-namespace
Allow namespaces to be used in asynchronously rendered templates.
Bart Feenstra [Sat, 28 Mar 2020 16:18:58 +0000 (16:18 +0000)]
namespace object works in async templates
David Lord [Mon, 30 Mar 2020 18:23:11 +0000 (11:23 -0700)]
Merge pull request #1178 from avli/fix-lexer-lineno
Fix tokens line number calculation when whitespace stripping is used
Andrey Lisin [Fri, 27 Mar 2020 10:20:01 +0000 (13:20 +0300)]
Fix tokens line number calculation when whitespace stripping is used
David Lord [Mon, 30 Mar 2020 17:54:57 +0000 (10:54 -0700)]
Merge branch '2.11.x'
David Lord [Mon, 30 Mar 2020 17:34:13 +0000 (10:34 -0700)]
Merge pull request #1182 from pallets/revert-package-loader
Revert dropping pkg_resources from PackageLoader for 2.11
David Lord [Mon, 30 Mar 2020 17:22:51 +0000 (10:22 -0700)]
changelog for reverting PackageLoader changes
David Lord [Mon, 30 Mar 2020 17:11:22 +0000 (10:11 -0700)]
Revert "PackageLoader doesn't depend on setuptools"
This reverts commit
4b6077a8c0a0f56bb8dbac37f8f9027130b4091c .
David Lord [Mon, 30 Mar 2020 16:55:51 +0000 (09:55 -0700)]
Revert "PackageLoader understands namespace packages"
This reverts commit
d2e0e78afe7c6ae864a20c2cc29e80936cff47af .
David Lord [Fri, 27 Mar 2020 17:05:12 +0000 (10:05 -0700)]
Merge pull request #1179 from pallets/undefined-recursion
AttributeError in undefined message doesn't cause RuntimeError
David Lord [Fri, 27 Mar 2020 16:51:53 +0000 (09:51 -0700)]
AttributeError in undefined message doesn't cause RuntimeError
Joshua Bronson [Sun, 22 Mar 2020 17:28:57 +0000 (13:28 -0400)]
Merge pull request #1174 from septatrix/patch-1
Fix html tag
Nils K [Sun, 22 Mar 2020 16:58:20 +0000 (17:58 +0100)]
Fix html tag
David Lord [Sat, 29 Feb 2020 03:08:10 +0000 (19:08 -0800)]
Merge pull request #1163 from pallets/traceback-32-bit
better PyObject_HEAD size calculation
David Lord [Sat, 29 Feb 2020 02:50:00 +0000 (18:50 -0800)]
better PyObject_HEAD size calculation
fixes infinite loop on Python 3.6 32-bit
David Lord [Fri, 28 Feb 2020 16:02:50 +0000 (08:02 -0800)]
Merge pull request #1161 from ldealmei/patch-1
Add link to template designer documentation
ldealmei [Fri, 28 Feb 2020 15:29:26 +0000 (16:29 +0100)]
Add link to template designer documentation
For those who were actually looking for the template design documentation putting a link directly to it might prevent them to have to google for it. When on the API page, there is no direct way to find the template design documentation. Hope this can help others.
David Lord [Thu, 27 Feb 2020 19:16:01 +0000 (11:16 -0800)]
Merge branch '2.11.x'
David Lord [Thu, 27 Feb 2020 19:10:31 +0000 (11:10 -0800)]
Merge pull request #1160 from sivel/wordcount-soft-str
Use soft_str in do_wordcount, to trigger undefined
Matt Martz [Thu, 27 Feb 2020 18:46:58 +0000 (12:46 -0600)]
use soft_str in do_wordcount, to trigger undefined
David Lord [Sat, 8 Feb 2020 19:12:55 +0000 (11:12 -0800)]
Merge pull request #1149 from davidbrochart/fix_doc
David Lord [Sat, 8 Feb 2020 19:07:18 +0000 (11:07 -0800)]
rewrite async discussion
David Brochart [Fri, 7 Feb 2020 12:30:35 +0000 (13:30 +0100)]
Fix async doc
David Lord [Thu, 6 Feb 2020 04:39:04 +0000 (20:39 -0800)]
Merge branch '2.11.x'
David Lord [Thu, 6 Feb 2020 04:23:47 +0000 (20:23 -0800)]
remove custom pytest marks
David Lord [Wed, 5 Feb 2020 22:31:20 +0000 (14:31 -0800)]
fix formatting
David Lord [Wed, 5 Feb 2020 22:29:52 +0000 (14:29 -0800)]
fix formatting
David Lord [Wed, 5 Feb 2020 16:50:01 +0000 (08:50 -0800)]
Merge pull request #1136 from pallets/drop-python2
Drop Python 2
David Lord [Wed, 29 Jan 2020 14:17:56 +0000 (06:17 -0800)]
add note about ugettext
David Lord [Wed, 29 Jan 2020 07:02:14 +0000 (23:02 -0800)]
add pyupgrade pre-commit hook
David Lord [Wed, 29 Jan 2020 05:48:37 +0000 (21:48 -0800)]
bump bytecode cache version
David Lord [Wed, 29 Jan 2020 04:16:59 +0000 (20:16 -0800)]
apply pyupgrade and f-strings
David Lord [Tue, 28 Jan 2020 14:41:07 +0000 (06:41 -0800)]
stop building universal wheel
David Lord [Tue, 28 Jan 2020 06:57:02 +0000 (22:57 -0800)]
remove more compat code
David Lord [Tue, 28 Jan 2020 06:05:00 +0000 (22:05 -0800)]
remove _compat module
David Lord [Mon, 27 Jan 2020 22:28:14 +0000 (14:28 -0800)]
remove deprecated code
David Lord [Mon, 27 Jan 2020 22:19:30 +0000 (14:19 -0800)]
remove unsupported test envs
David Lord [Mon, 27 Jan 2020 22:12:52 +0000 (14:12 -0800)]
remove Python 2 from docs
David Lord [Wed, 5 Feb 2020 16:37:15 +0000 (08:37 -0800)]
Merge branch '2.11.x'
David Lord [Tue, 4 Feb 2020 17:01:50 +0000 (09:01 -0800)]
Merge pull request #1146 from tomaskrizek/stricter-getattr-checks
Use stricter getattr() checks for decorator functions
David Lord [Tue, 4 Feb 2020 16:46:53 +0000 (08:46 -0800)]
add changelog and test
Tomas Krizek [Mon, 3 Feb 2020 22:25:56 +0000 (23:25 +0100)]
Use stricter getattr() checks for decorator functions
Explicit checks for "is True" prevents unexpected behaviour with objects
that are callable and have permissive gettatr(), such as Mock.
Fixes #1145
David Lord [Thu, 30 Jan 2020 18:05:29 +0000 (10:05 -0800)]
release version 2.11.1
David Lord [Thu, 30 Jan 2020 17:56:19 +0000 (09:56 -0800)]
Merge branch '2.11.x'
David Lord [Thu, 30 Jan 2020 17:54:44 +0000 (09:54 -0800)]
Merge pull request #1143 from pallets/bugfix/attribute-access
Fix attribute access in async code.
David Lord [Thu, 30 Jan 2020 17:50:36 +0000 (09:50 -0800)]
add changelog