Commit Graph

1964 Commits

Author SHA1 Message Date
David Lord
93565e6cd8
don't bypass autoescape 2019-10-04 19:13:31 -07:00
Shaheed Haque
017c8d3509
Add support for a {% debug %} extension tag.
This dumps the available variables, filters and tests.
2019-10-04 13:15:20 -07:00
David Lord
496c81af81
Merge pull request #1047 from lfdebrux/ldeb-bug-chainable_undefined_and_markup
Fix bug with when using Markup on ChainableUndefined
2019-10-04 13:11:20 -07:00
Laurence de Bruxelles
8afc7e57c9
Fix bug with when using Markup on ChainableUndefined
Wrapping a ChainableUndefined object with Markup causes an
UndefinedError because Markup thinks that ChainableUndefined has an
attribute called __html__ and tries to call it.

This commit fixes this by defining a method __html__ that calls
ChainableUndefined.__str__. We also add a regression test.
2019-10-04 13:06:12 -07:00
David Lord
e68d9b8705
Merge branch '2.10.x' 2019-10-04 12:53:44 -07:00
David Lord
03ce2ce772
Merge pull request #1070 from anowlcalledjosh/develop
Fix incorrect release date for 2.10.3
2019-10-04 12:51:47 -07:00
Josh Holland
b5adc65c22
Fix incorrect release date for 2.10.3 2019-10-04 12:44:46 -07:00
David Lord
f179cf8c71
Merge pull request #828 from chamini2/trim-more
Add chars option to trim
2019-10-04 12:01:37 -07:00
David Lord
544c2e9501
Merge branch '2.10.x' 2019-10-04 11:59:18 -07:00
David Lord
c6a71f9545
release version 2.10.3 2019-10-04 11:50:02 -07:00
Adrian
218e77d77d
Fix typo in setup.py 2019-10-04 20:46:10 +02:00
Matteo Ferrando
9a5d522cb5
add chars option to trim 2019-10-04 11:46:04 -07:00
David Lord
38165dfeba
Merge branch '2.10.x' 2019-10-04 11:22:50 -07:00
David Lord
0fee409131
release version 2.10.2 2019-10-04 11:18:56 -07:00
David Lord
65da441ee7
update project metadata 2019-10-04 11:17:12 -07:00
David Lord
d3b976b7f8
Merge pull request #1000 from EtiennePelletier/fix_deadlock_improve_tests
Fix deadlock in LRUCache and improve test coverage
2019-10-04 08:30:39 -07:00
EtiennePelletier
69d8d98860
Add tests for Undefined classes 2019-10-04 08:25:36 -07:00
EtiennePelletier
53a5d0aa44
Add tests for utils.py - LRUCache, Lorem Ipsum & + 2019-10-04 08:25:34 -07:00
EtiennePelletier
065b58fc74
Prevent deadlock in LRUCache.setdefault
setdefault was acquiring write_lock, then calling getitem and also
potentially setitem, which also both try to acquire the write lock.
2019-10-04 07:58:58 -07:00
David Lord
71133493b5
Merge pull request #1040 from minho42/Simplify-import-split
Simplify splitting import_name in import_string()
2019-10-04 07:42:43 -07:00
Joshua Bronson
cc89256326
Merge pull request #1065 from alexwlchan/add-pypi-links
Add docs, code and issue tracker links to setup.py
2019-09-22 15:29:08 -04:00
Alex Chan
beb1fc6dbc Add docs, code and issue tracker links to setup.py 2019-09-22 09:52:15 +01:00
Joshua Bronson
31d48f3e48
Merge pull request #1063 from PikachuEXE/fix/manifest
Fix MANIFEST.in to include renamed license file
2019-09-19 22:28:44 -04:00
PikachuEXE
d7f892c1ed Fix MANIFEST.in to include renamed license file 2019-09-20 10:16:11 +08:00
Tim Gates
91a404073a Fix simple typo: problemtic -> problematic (#1059)
Plus rephrase the comment for greater clarity.
2019-09-04 18:12:07 -04:00
David Lord
436f00b776
Merge branch '2.10.x' 2019-09-04 08:25:09 -07:00
David Lord
72fffe41a2
Merge pull request #1051 from vstinner/tb_next_py37
Fix TracebackFrameProxy.set_next() on Python 3.7
2019-09-04 07:48:06 -07:00
Victor Stinner
3a86ef3d72
Fix TracebackFrameProxy.set_next() on Python 3.7
Fix issue #1050: fix a crash in TracebackFrameProxy.set_next() on
Python 3.7 and newer, when Python is build in debug mode.

Since Python 3.7, traceback.tb_next field can be modified: ctypes is
no longer needed.
2019-09-04 07:40:52 -07:00
Joshua Bronson
274eff178d
Merge pull request #1045 from yuriks/patch-1
Update PyPI link to point to Jinja2 instead of 1
2019-08-08 22:49:09 -04:00
Yuri Kunde Schlesner
2231a5fffe
Update PyPI link to point to Jinja2 instead of 1 2019-08-08 17:14:03 -07:00
David Lord
9550dc85ff
Merge branch '2.10.x' 2019-07-26 15:21:16 -07:00
David Lord
d601b3f496
fix tox docs build 2019-07-26 15:17:58 -07:00
David Lord
288dd42f57
Merge branch '2.9.x' into docs 2019-07-26 15:01:03 -07:00
David Lord
908726cd81
Merge pull request #1042 from pallets/docs
modernize docs, 2.9.x branch
2019-07-26 14:39:59 -07:00
David Lord
90756da7b6
reformat readme 2019-07-26 14:36:55 -07:00
David Lord
06696563d7
fix linkcheck issues 2019-07-26 12:12:41 -07:00
David Lord
f77b09d998
modernize docs config, use pallets-sphinx-themes 2019-07-26 11:41:08 -07:00
Min ho Kim
0209b0fc62 Fix typo 2019-07-25 15:29:57 +02:00
Min ho Kim
486a2f4afa Simplify splitting import_name in import_string() 2019-07-24 09:55:04 +10:00
David Lord
9a877fa6c7
Merge pull request #1035 from utoddl/stable-sort-doc
document that sort is stable
2019-07-23 15:23:03 -07:00
David Lord
8a4a13d456
clean up sort filter docs 2019-07-23 15:20:07 -07:00
Todd Lewis
996bcadc3e
document that sort is stable 2019-07-23 14:56:49 -07:00
David Lord
47e5c95dbb
Merge pull request #956 from revelt/patch-1
Tweak docs grouper chapter
2019-07-23 14:54:57 -07:00
David Lord
d8f1eb1cf6
clean up groupby filter docs 2019-07-23 14:49:06 -07:00
Roy Revelt
523be83aec
clarify groupby behavior in docs 2019-07-23 14:49:06 -07:00
David Lord
8e3c0e7739
Merge pull request #923 from CleoQc/feature/long_integer_with_underscores
Feature/long integer with underscores
2019-07-23 11:11:28 -07:00
David Lord
733851eda0
clean up numeric underscore support
add changelog
clean up docs
parametrize tests
explain float regex
2019-07-23 11:07:09 -07:00
CleoQc
1fea4b65f9
support underscore in int and float 2019-07-23 09:25:16 -07:00
David Lord
278a0574f7
Merge pull request #922 from CleoQc/feature/support_scientific_notation
Feature/support scientific notation
2019-07-23 08:35:15 -07:00
David Lord
483b62eec2
clean up scientific notation support
add changelog
clean up docs
parametrize tests
2019-07-23 08:19:51 -07:00