David Lord
1ed756a523
add Response.max_cookie_size config
7 years ago
David Lord
ab4142215d
detect UTF encodings when loading json
7 years ago
fphonor
171eb28c95
get_json separate cache depending on silent arg
7 years ago
David Lord
401423df06
only strip one slash when registering blueprint
...
add test and changelog
7 years ago
David Lord
82f0d120de
use subdomain arg in url_map.bind_to_environ
...
rename new subdomain test, parametrize
test allowing subdomains as well as ips
add subdomain_matching param to docs
add some references to docs
add version changed to create_url_adapter
7 years ago
Armin Ronacher
8cec2010c0
Do not enable subdomain matching by default
...
Updated tests for new subdomain matching
Added a test to validate matching behavior
7 years ago
David Lord
cf5525f98a
add test_cli_runner for testing app.cli commands
7 years ago
David Lord
9bf5c3b3a3
update project metadata
...
new readme
readme as setup.py long_description
links in changes
git in authors
add travis osx env
break out docs build in travis
remove python_requires for now
7 years ago
David Lord
af32ea0b94
bump dependency versions
7 years ago
David Lord
8a1f3626c5
fix changelog list formatting
7 years ago
David Lord
213afec771
add rst extension for changelog
...
fix changelog version
7 years ago
David Lord
2beedabaaf
add HTTPS support for flask run command
7 years ago
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