rocambolesque
19fbe3a18f
Add scheme to url_build error handler parameters
8 years ago
David Lord
aafb80c527
add changelog for #2223
8 years ago
jab
00d6e339ec
Change Flask.__init__ to accept two new keyword arguments, host_matching and static_host. ( #1560 )
...
This enables host_matching to be set properly by the time the constructor adds
the static route, and enables the static route to be properly associated with
the required host.
Previously, you could only enable host_matching once your app was already
instantiated (e.g. app.url_map.host_matching = True), but at that point
the constructor would have already added the static route without host matching
and an associated host, leaving the static route in a broken state.
Fixes #1559 .
8 years ago
Markus Unterwaditzer
c935eaceaf
Revert "Handle BaseExceptions ( #2222 )"
...
This reverts commit 1d4448abe3
.
8 years ago
Markus Unterwaditzer
f7d6d4d4f6
Prepare for 0.12.1
8 years ago
Markus Unterwaditzer
80c7db638c
Correct changelog
8 years ago
Diggory Blake
d0e2e7b66c
Add test and changes
8 years ago
Diggory Blake
1d4448abe3
Handle BaseExceptions ( #2222 )
...
* Handle BaseExceptions
* Add test and changes
* Make test more idiomatic
8 years ago
Hsiaoming Yang
a7f1a21c12
Don't rely on X-Requested-With for pretty print json response ( #2193 )
...
* Don't rely on X-Requested-With for pretty print json response
* Fix test cases for pretty print json patch
* Fix gramma error in docs for pretty print json config
* Add changelog for JSONIFY_PRETTYPRINT_REGULAR
8 years ago
Adrian
d9a28434af
Fix typo
8 years ago
Armin Ronacher
c9b33d0e86
Convert Flask.run into a noop when run from the CLI
8 years ago
David Lord
42fbbb4cbb
add test and changelog for SERVER_NAME app.run default
...
ref #2152
8 years ago
Paul Brown
31e25facd3
update change log
8 years ago
Markus Unterwaditzer
582a878ad9
Init 0.13 changelog
8 years ago
Markus Unterwaditzer
789715adb9
Fix config.from_pyfile on Python 3 ( #2123 )
...
* Fix config.from_pyfile on Python 3
Fix #2118
* Support Python 2.6
* Fix tests on Python 2
8 years ago
Markus Unterwaditzer
caf6b8c314
Changelog stub for 0.12.1
8 years ago
Markus Unterwaditzer
45c45ea73c
Version 0.12
8 years ago
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
9 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