Michael Recachinas
bd5e297aa9
Default environ ( #2047 )
...
* Add init to FlaskClient
This addresses #1467 . The init in the subclass
can now take in `environ_base`, which will then get
passed to `make_test_environ_builder` and to
`EnvironBuilder` via keyword args.
This should provide the default environment capability
on `app.test_client()` init.
* Add kwarg `environ_base` to `make_test_environ_builder` call
This change now passes `environ_base` from either
`kwargs` in `FlaskClient.open` or `FlaskClient.environ_base`
if passed into the init.
* Fix assignment reference typo
* Add default `environ_base` to `FlaskClient.__init__`
* Set default kwargs for `environ_base` in `FlaskClient.open`
* Remove specific environ_base kwarg since its in kwargs
* Add docstring to FlaskClient detailing environ_base
* Document app.test_client default environ in CHANGES
* Re-word environ_base changes in FlaskClient docstring
* Add client.environ_base tests
* Mention preset default environ in `app.test_client`
* Add versionchanged directive to docstring in FlaskClient
8 years ago
Joël Charles
7186a5aaf5
make use of range requests if available in werkzeug ( #2031 )
...
* make use of range requests if available in werkzeug
* different logic for testing werkzeug functionality
8 years ago
Armin Ronacher
9cd32cac32
Corrected after response for error handlers
...
Before this change after request functions were not correctly
invoked for error handlers.
8 years ago
Markus Unterwaditzer
dbcd64e2ee
Changelog for #2006
8 years ago
Josh Soref
6e6c3a4636
Spelling ( #1998 )
...
* spelling: cacheability
* spelling: conceptually
* spelling: javascript
* spelling: reset
* spelling: raised
* comma: instead..., they...
8 years ago
Markus Unterwaditzer
71e10be286
Properly remove f.name usage in send_file ( #1988 )
...
* Properly remove f.name usage in send_file
* Update changelogs
* Fix tests
8 years ago
Armin Ronacher
e00e2c22aa
Disable logger propagation by default
8 years ago
Markus Unterwaditzer
6e46d0cd39
Fix PyPy3 support and add bug references
...
Fix #1841
9 years ago
Markus Unterwaditzer
d1d82ca8ce
Bump version to 0.11.1
9 years ago
Giampaolo Eusebi
03ea11fe76
Make safe_join able to safely join multiple paths
9 years ago
Markus Unterwaditzer
2bde2065e6
Changelog for #1872
9 years ago
Dan Sully
8458cc5cd1
Remove deprecation warnings for add_etags & mimetype guessing for send_file()
...
Fix #1849
9 years ago
Armin Ronacher
41f3d67dff
Update CHANGES
9 years ago
Jochen Kupperschmidt
9c46969890
Fixed link in changelog to documentation. ( #1833 )
...
Using the officially documented, shortcut package path of the `Config` class instead of the actual one.
9 years ago
Armin Ronacher
0e06302c79
Release is near
9 years ago
Armin Ronacher
8482ce6b8c
Improve application context popping
...
Exceptions during teardown handling will no longer leave application
contexts lingering around. This fixes #1767
9 years ago
Armin Ronacher
21d595bee7
Change changelog to 0.11
9 years ago
Steven Loria
2bf477cfea
Add JSONIFY_MIMETYPE configuration variable ( #1728 )
...
Allow jsonify responses' mimetype to be configured
9 years ago
José Carlos García
567fff9d0d
Change to Pallets project
...
* Update CHANGES
* Update CONTRIBUTING.rst
* Update setup.py
* Update tox.ini
* Update extensions.rst
* Update security.rst
* Update installation.rst
* Update testing.rst
* Update upgrading.rst
* Update sidebarintro.html
* Update jquery.rst
* Update dbcon.rst
* Update index.rst
9 years ago
Markus Unterwaditzer
bd667109c6
Changelog for #1763
9 years ago
Markus Unterwaditzer
7f26d45b16
Changelog for #1484
9 years ago
Jeff Widman
0edf0a0e3a
Cleanup jsonify() function
...
Cleanup some leftover stuff from #1671 . PEP8 spacing, args/kwargs don't need to be converted to list/dict, and Sphinx formatting.
9 years ago
Jeff Widman
daceb3e3a0
Add support for serializing top-level arrays to JSON
...
Fix #170 , #248 , #510 , #673 , #1177
9 years ago
hidavy
6102d210a3
Update CHANGES
9 years ago
Markus Unterwaditzer
765f851a7c
Changelog for #1533
10 years ago
Alan Hamlett
99c99c4c16
Enable autoescape for `render_template_string`
10 years ago
ThiefMaster
bbaf20de7c
Add pop and setdefault to AppCtxGlobals
10 years ago
Alexander Pantyukhin
a9066a3756
Changes and docs are modified.
10 years ago
Markus Unterwaditzer
1e857bfa71
Changelog for #1422
10 years ago
Markus Unterwaditzer
f0de0a6057
Changelog for #1393
10 years ago
Markus Unterwaditzer
0748e2daac
Fix typo in changelog
10 years ago
Markus Unterwaditzer
51b011fac7
link to relevant PR
...
see #1326
10 years ago
Ben Jones
61263e08f9
Add datetime.date support to JSONEncoder
10 years ago
Markus Unterwaditzer
3f46f4f77a
Add changelog for #1288
10 years ago
Marc Abramowitz
d9402fc0c0
Make `jsonify` terminate responses with a newline
...
This came up in the context of
https://github.com/kennethreitz/httpbin/issues/168
10 years ago
defuz
17eee81da0
docs: ``Flask-Uploads``, ``X-Forwarded-Host``
10 years ago
defuz
ad011bc32d
docs: ``DEBUG``, ``SERVER_NAME``, ``PATH_INFO``
10 years ago
defuz
02694d609f
docs: :command:`pip`, :option:`--debug`
10 years ago
defuz
3fa4fd0908
docs: http method names like ``GET`` and ``POST``
10 years ago
defuz
8284217593
docs: ``True``, ``False`` and ``None``
10 years ago
defuz
76f3d6b45e
improve TEMPLATE_AUTO_RELOAD docs
10 years ago
Petr Zemek
ebab6718f7
Unify the uses of "testsuite" vs "test suite".
...
Use "test suite", which is more prevailing in the source code.
10 years ago
defuz
f88765d504
set TEMPLATE_AUTO_RELOAD default value to None
10 years ago
Gilman Callsen
d425279650
Improve compression by removing whitespace from separators when using jsonify() and JSONIFY_PRETTYPRINT_REGULAR is False.
...
Commit includes Changelog entry and two new tests in test_basic.py.
10 years ago
Matt Wright
986b92203a
Add CHANGES entry and versionchanged entry to docstring
10 years ago
Markus Unterwaditzer
6b3fbb323a
Add changelog entry for #1206
10 years ago
Ivan Ivaschenko
056bd0e6d4
Fix typo in changelog
10 years ago
Markus Unterwaditzer
73ca86587d
Add changelog
10 years ago
Armin Ronacher
c09a4317e4
Record blueprint registration order.
10 years ago
Armin Ronacher
bafc139810
Added EXPLAIN_TEMPLATE_LOADING to help people debug templates not being loaded.
10 years ago