David Lord
06f96df67e
silence ENOTDIR when loading config file
7 years ago
David Lord
28d0f66c1f
remove tests and docs for python 2.6 and 3.3
7 years ago
ThiefMaster
c52e1b7388
Fix ValueError for some invalid Range requests
...
fixes #2526
7 years ago
Armin Ronacher
2ef2000a39
Enable threads by default for the dev server ( #2529 )
...
Enable threads by default for dev server
7 years ago
Caratpine
2f57a0b917
Blueprint view function name should not contain dots
7 years ago
David Lord
ed1f604727
Update CHANGES
8 years ago
David Lord
66b1b752da
simplify logging configuration
...
single default handler and formatter
don't remove handlers
configure level once using setLevel
document logging
reorganize logging tests
8 years ago
David Lord
a89bdb3395
prefer the url's scheme over the kwarg
...
tabs -> spaces
add test
add changelog
8 years ago
David Lord
491d331e6e
load env vars using python-dotenv
8 years ago
David Lord
fb845b9032
allow local packages in FLASK_APP
...
don't require .py extension in FLASK_APP
add tests for nested package loading
parametrize cli loading tests
8 years ago
David Lord
59f7966e31
support passing environ to test client ( #2412 )
...
closes #2411
8 years ago
David Lord
5bc0d15359
un-deprecate request.json
8 years ago
David Lord
715a9a3e7b
remove deprecated flask.ext
8 years ago
David Lord
89c87240b6
changelog for deprecations
8 years ago
Eugene M. Kim
d41e2e6a5d
Correctly encode aware, non-UTC datetime objects
...
http_date() requires timetuple in UTC, but JSONEncoder.default() was
passing a local timetuple instead.
8 years ago
David Lord
4fc48200a5
reconfigure the app from run command and method
...
extract templates_auto_reload to property
continues #1910
closes #1907
8 years ago
David Lord
b5f4c52150
don't cache error handlers for exception mro
...
closes #2267 , closes #1433
8 years ago
David Lord
e97253e4c1
clean up JSON code and docs
8 years ago
David Lord
6637e20174
only open session if request hasn't been pushed yet
...
closes #1348
8 years ago
David Lord
5e1ced3c05
make session serializer extensible
...
support serializing 1-item dicts with tag as key
refactor serializer into flask.json.tag module
continues #1452 , closes #1438 , closes #1908
8 years ago
David Lord
045dccaefb
make debugging bad key errors easier
...
* TRAP_BAD_REQUEST_ERRORS is enabled by default in debug mode
* BadRequestKeyError has the key in the description in debug mode
closes #382
8 years ago
David Lord
4a53840df0
APPLICATION_ROOT defaults to '/'
8 years ago
David Lord
399ac3c54f
update changelog
...
[ci skip]
8 years ago
Kenneth Reitz
cf926b8e73
Update CHANGES
8 years ago
David Lord
964c5c5aca
add changelog
...
[ci skip]
8 years ago
David Lord
01ddf54b87
adjust for loop style
8 years ago
David Lord
7ecdbcfa2b
show error if multiple Flask instances are detected
...
add changelog
8 years ago
Markus Unterwaditzer
bb83ae9843
Release 0.12.2
8 years ago
David Lord
f7c35bf0d5
safe_join on Windows uses posixpath
...
fixes #2033
closes #2059
8 years ago
David Lord
f75ad9fca2
refactor session cookie domain logic
...
cache result of session cookie domain
add warnings for session cookie domain issues
add changelog
8 years ago
David Lord
7ad79583b9
add sort by match order
...
sort by endpoint by default
combine sort flags
sort methods
ignore HEAD and OPTIONS methods by default
rearrange columns
use format to build row format string
rework tests
add changelog
8 years ago
David Lord
697f7b9365
refactor make_response to be easier to follow
...
* be explicit about how tuples are unpacked
* allow bytes for status value
* allow Headers for headers value
* use TypeError instead of ValueError
* errors are more descriptive
* document that view must not return None
* update documentation about return values
* test more response types
* test error messages
closes #1676
8 years ago
David Lord
46f83665ef
clean up blueprint json support
...
add changelog for #1898
8 years ago
David Lord
13754b6d11
ensure error while opening session pops context
...
errors will be handled by the app error handlers
closes #1538 , closes #1528
8 years ago
David Lord
648344d4e8
use mro to collect methods
...
ignore methods attr unless explicitly set
add changelog
8 years ago
David Lord
97e2cd0a5a
update changelog
...
move test next to existing test, rename
reword / reflow param doc
8 years ago
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