David Lord
|
6cb20f58a6
|
Merge pull request #2399 from davidism/docs-secret-key
clean up secret key docs
|
2017-06-28 08:00:08 -07:00 |
|
David Lord
|
d590d6024d
|
clean up secret key docs
consistent key across docs and examples
consistent key across tests, set in conftest
|
2017-06-28 07:58:06 -07:00 |
|
Miguel Grinberg
|
0a83a341b9
|
fix variable substitution in error message
|
2017-06-27 07:27:10 -07:00 |
|
David Lord
|
bffe2a0af9
|
un-deprecate request.json
|
2017-06-26 09:34:26 -07:00 |
|
David Lord
|
0207aad0ec
|
remove deprecated flask.ext
|
2017-06-26 08:47:28 -07:00 |
|
David Lord
|
fc2b8aabde
|
remove deprecated Request.module
|
2017-06-26 07:46:33 -07:00 |
|
David Lord
|
24cfe1b9b1
|
remove deprecated Flask.static_path
|
2017-06-26 07:45:29 -07:00 |
|
David Lord
|
26514e767a
|
remove deprecated Flask.error_handlers
|
2017-06-26 07:39:35 -07:00 |
|
John Moutafis
|
6632241099
|
Remove deprecated request_globals_class _get and _set methods.
|
2017-06-26 11:48:29 +03:00 |
|
John Moutafis
|
fb35612868
|
Remove deprecated init_jinja_globals.
|
2017-06-23 17:53:38 +03:00 |
|
David Lord
|
b96a1c0f99
|
style cleanup
[ci skip]
|
2017-06-16 06:59:37 -07:00 |
|
Miguel Grinberg
|
ce78369f37
|
Import app from wsgi.py or app.py if FLASK_APP is not defined
Fixes #2376
|
2017-06-15 11:27:50 -07:00 |
|
Eugene M. Kim
|
8df850cc9d
|
Merge branch 'master' of github.com:pallets/flask into json_encode_non_utc_datetimes
|
2017-06-14 13:11:53 -07:00 |
|
Eugene M. Kim
|
f251f91b35
|
Correctly encode aware, non-UTC datetime objects
http_date() requires timetuple in UTC, but JSONEncoder.default() was
passing a local timetuple instead.
|
2017-06-14 12:40:53 -07:00 |
|
David Lord
|
c34c5d9e43
|
reconfigure the app from run command and method
extract templates_auto_reload to property
continues #1910
closes #1907
|
2017-06-14 12:08:25 -07:00 |
|
David Lord
|
0e1f7d5859
|
Merge branch 'master' into reload_templates_run_debug
|
2017-06-14 09:58:33 -07:00 |
|
David Lord
|
cb85cbece0
|
document the blueprint param too
|
2017-06-14 07:26:48 -07:00 |
|
David Lord
|
b83bc9b6a4
|
document Flask.register_blueprint arguments
closes #1809
|
2017-06-14 07:16:55 -07:00 |
|
grahamlutz
|
5b7ceddf67
|
Remove duplicate word from docstring
|
2017-06-10 14:53:40 +02:00 |
|
David Lord
|
d23f313a8b
|
document inherited attributes for Flask and Blueprint
closes #480
[ci skip]
|
2017-06-06 07:51:52 -07:00 |
|
David Lord
|
388bbccded
|
don't cache error handlers for exception mro
closes #2267, closes #1433
|
2017-06-05 06:24:08 -07:00 |
|
David Lord
|
e9343ee877
|
remove unused import
|
2017-06-04 12:38:10 -07:00 |
|
David Lord
|
e75bb4770e
|
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
|
2017-06-04 12:26:21 -07:00 |
|
David Lord
|
ca0dbc87a9
|
clean up JSON code and docs
|
2017-06-04 11:44:00 -07:00 |
|
David Lord
|
1ed4062f8f
|
Merge remote-tracking branch 'remotes/origin/master' into json-mixin
|
2017-06-04 09:42:39 -07:00 |
|
David Lord
|
1895b7b1cc
|
only open session if request hasn't been pushed yet
closes #1348
|
2017-06-02 11:12:18 -07:00 |
|
David Lord
|
a300c6aef4
|
Merge pull request #2353 from grantwwu/patch-1
Clarify documentation for json parsing
|
2017-06-02 10:23:51 -07:00 |
|
David Lord
|
e8aed4faf8
|
mention mimetype and is_json
|
2017-06-02 10:17:40 -07:00 |
|
Grant Wu
|
9facbe8770
|
Clarify documentation for json parsing
Documentation does not currently mention that is_json accepts mimetypes that are not strictly application/json.
|
2017-06-02 12:00:54 -04:00 |
|
David Lord
|
9386115d1f
|
finish documentation
[ci skip]
|
2017-06-02 08:09:37 -07:00 |
|
David Lord
|
389c2c9708
|
docs style cleanup
[ci skip]
|
2017-06-02 07:03:22 -07:00 |
|
David Lord
|
bce296bbcc
|
pass serializer at tag init instead of to each method
split tagged dict and passthrough into separate cases
add docstrings
|
2017-06-02 06:36:13 -07:00 |
|
David Lord
|
45af152108
|
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
|
2017-06-01 22:47:23 -07:00 |
|
David Lord
|
7fd443c9ef
|
Merge branch 'master' into json-object-hook
|
2017-06-01 06:40:27 -07:00 |
|
David Lord
|
35d32d265a
|
show nice message when registering error handler for unknown code
clean up error handler docs
closes #1837
|
2017-05-31 18:04:08 -07:00 |
|
David Lord
|
0a203d3694
|
fix operator precedence
|
2017-05-29 19:46:33 -07:00 |
|
David Lord
|
c79abcb86c
|
set description for trap as well as debug
test for key error description
|
2017-05-29 19:41:07 -07:00 |
|
David Lord
|
1fbe779fd2
|
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
|
2017-05-29 19:08:25 -07:00 |
|
David Lord
|
5cc2611e49
|
deprecate app session methods in favor of session_interface
ref #1182
|
2017-05-29 13:35:02 -07:00 |
|
David Lord
|
0873d085b1
|
use existing response.vary property to set vary header
closes #2345
|
2017-05-29 10:09:24 -07:00 |
|
David Lord
|
abf0138113
|
APPLICATION_ROOT defaults to '/'
|
2017-05-28 14:08:53 -07:00 |
|
David Lord
|
dfc586e391
|
Merge remote-tracking branch 'origin/0.10-maintenance'
refactor make_test_environ_builder
|
2017-05-28 07:25:15 -07:00 |
|
Junior Báez
|
4ba52aaa89
|
#2341: Accept default argument value when args lenght equal 1
|
2017-05-27 18:02:18 -04:00 |
|
Kenneth Reitz
|
0c4769cd0a
|
cleanup #2326
|
2017-05-26 09:16:45 -04:00 |
|
Kenneth Reitz
|
d4b4b7eb39
|
Merge pull request #2326 from HndrkMkt/#2264-handle-app-factory-in-FLASK_APP
Handle app factory with arguments in FLASK_APP
|
2017-05-25 14:57:17 -07:00 |
|
Kenneth Reitz
|
d9c2a2fb45
|
Merge branch 'master' into master
|
2017-05-25 14:22:53 -07:00 |
|
Hendrik Makait
|
a115c6b025
|
Factor in code review comments and refactor functions to be more naturally split.
|
2017-05-25 11:28:20 -07:00 |
|
David Lord
|
9795d8a84a
|
extract patch_vary_header to helpers
|
2017-05-25 10:26:02 -07:00 |
|
Hendrik Makait
|
08314a3884
|
Factor out call_factory_from_regex function
|
2017-05-25 10:11:42 -07:00 |
|
Hendrik Makait
|
e5dff166de
|
Handle app factory with arguments in FLASK_APP
|
2017-05-25 10:11:42 -07:00 |
|