David Lord
|
4d2a3ab2e0
|
test no debug flag doesn't reconfigure
test templates_auto_reload property instead of config
use app fixture in test
|
8 years ago |
Eugene M. Kim
|
d75d83defd
|
Add UTs for #2372
test_encode_aware_datetime() fails for non-UTC timezones due to the bug.
|
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
|
9e39c506e0
|
Merge branch 'master' into reload_templates_run_debug
|
8 years ago |
David Lord
|
2c97ed985e
|
Merge pull request #2371 from davidism/register_blueprint-doc
document `Flask.register_blueprint` arguments
|
8 years ago |
David Lord
|
fe1bf3c821
|
document the blueprint param too
|
8 years ago |
David Lord
|
0f7b3a4f26
|
document `Flask.register_blueprint` arguments
closes #1809
|
8 years ago |
David Lord
|
e97f6e22e6
|
Merge pull request #2370 from tony/patch-2
Add docutils label for class-based views
|
8 years ago |
David Lord
|
75c4ea24c2
|
Merge pull request #2369 from tony/patch-1
Add docutils label for templates page
|
8 years ago |
Tony Narlock
|
91fd33dbd9
|
Add docutils label for class-based views
|
8 years ago |
Tony Narlock
|
66e9dc9df2
|
Add docutils label for templates page
|
8 years ago |
grahamlutz
|
cf425403c8
|
Remove duplicate word from docstring
|
8 years ago |
David Lord
|
094b116c7f
|
Merge pull request #2366 from tristanfisher/master
Add basic how-to on using envvars for config
|
8 years ago |
David Lord
|
01d2f725d3
|
formatting
[ci skip]
|
8 years ago |
tristan fisher
|
53ff054fd3
|
Fixes grammar and phrasing on envvar how-to
|
8 years ago |
tristan fisher
|
067686b471
|
Add basic how-to on using envvars for config
|
8 years ago |
David Lord
|
9d82993422
|
Merge pull request #2364 from davidism/xss-note
mention csp for javascript: uri xss
|
8 years ago |
David Lord
|
15756da1f0
|
mention csp for javascript: uri xss
closes #2174
[ci skip]
|
8 years ago |
David Lord
|
45946028e7
|
Merge pull request #2363 from davidism/inherited-members
document inherited attributes for Flask and Blueprint
|
8 years ago |
David Lord
|
235c830759
|
document inherited attributes for Flask and Blueprint
closes #480
[ci skip]
|
8 years ago |
David Lord
|
b80cf057fc
|
Merge pull request #2362 from davidism/remove-error-handler-cache
Remove error handler cache
|
8 years ago |
David Lord
|
b5f4c52150
|
don't cache error handlers for exception mro
closes #2267, closes #1433
|
8 years ago |
David Lord
|
5c12acefbb
|
failing test
|
8 years ago |
David Lord
|
706e67ed9e
|
Merge pull request #2361 from greyli/patch-3
Include flask.json package in setup()
|
8 years ago |
Grey Li
|
16396248b8
|
Include flask.json package in setup()
|
8 years ago |
David Lord
|
f29fa0d56b
|
Merge pull request #2359 from davidism/cli-warning
Be smarter about adding ".cli" to reloader command
|
8 years ago |
David Lord
|
12c45f06a5
|
remove unused import
|
8 years ago |
David Lord
|
fa7e8d6073
|
be smarter about adding ".cli" to reloader command
python -m flask.cli raises an import warning on > 2.6
it's only needed on 2.6, "flask" works otherwise
closes #2357
|
8 years ago |
David Lord
|
63129e8426
|
Merge pull request #2358 from davidism/json-mixin
JSON support for test client and Response
|
8 years ago |
David Lord
|
e97253e4c1
|
clean up JSON code and docs
|
8 years ago |
David Lord
|
dbc70c9274
|
Merge remote-tracking branch 'remotes/origin/master' into json-mixin
|
8 years ago |
David Lord
|
3b678b7927
|
Merge pull request #2354 from davidism/stream-session
Only open session if request does not have open session
|
8 years ago |
David Lord
|
6637e20174
|
only open session if request hasn't been pushed yet
closes #1348
|
8 years ago |
David Lord
|
5978a0f55f
|
failing test for streaming session
|
8 years ago |
David Lord
|
49f3e96844
|
Merge pull request #2353 from grantwwu/patch-1
Clarify documentation for json parsing
|
8 years ago |
David Lord
|
217d5f9bc0
|
mention mimetype and is_json
|
8 years ago |
David Lord
|
62406e667c
|
Merge pull request #2352 from davidism/json-object-hook
Make session serializer extensible
|
8 years ago |
David Lord
|
fd8b95952c
|
add tests for flask.json.tag
|
8 years ago |
Grant Wu
|
daf85d3725
|
Clarify documentation for json parsing
Documentation does not currently mention that is_json accepts mimetypes that are not strictly application/json.
|
8 years ago |
David Lord
|
9bee2500dd
|
finish documentation
[ci skip]
|
8 years ago |
David Lord
|
bbd15d53ad
|
docs style cleanup
[ci skip]
|
8 years ago |
David Lord
|
ca176cb903
|
pass serializer at tag init instead of to each method
split tagged dict and passthrough into separate cases
add docstrings
|
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
|
ea2e9609bc
|
Merge branch 'master' into json-object-hook
|
8 years ago |
David Lord
|
c7f433c49b
|
Merge pull request #2350 from davidism/errorhandler
show nice message when registering error handler for unknown code
|
8 years ago |
David Lord
|
859d9a9d5c
|
show nice message when registering error handler for unknown code
clean up error handler docs
closes #1837
|
8 years ago |
David Lord
|
9049755e3f
|
Merge pull request #2348 from davidism/bad-request
make debugging bad key errors easier
|
8 years ago |
David Lord
|
8f3563cf79
|
fix operator precedence
|
8 years ago |
David Lord
|
42905b8a55
|
set description for trap as well as debug
test for key error description
|
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 |