Commit graph

2944 commits

Author SHA1 Message Date
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
2c9c973d0e Merge pull request #2347 from davidism/session-interface
deprecate app session methods in favor of session_interface
2017-05-29 13:42:06 -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
f710f02292 fix some config names in new doc 2017-05-29 10:29:06 -07:00
David Lord
7a9c2c9c10 Merge pull request #2346 from davidism/2345-vary
use existing response.vary property to set vary header
2017-05-29 10:16:29 -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
4eb9f1ec2a Merge pull request #2344 from davidism/application-root
APPLICATION_ROOT defaults to '/'
2017-05-28 14:17:56 -07:00
David Lord
abf0138113 APPLICATION_ROOT defaults to '/' 2017-05-28 14:08:53 -07:00
David Lord
5ff960a335 reformat config from table to linkable sections 2017-05-28 14:04:18 -07:00
David Lord
e67b77b5e3 update changelog
[ci skip]
2017-05-28 11:52:01 -07:00
David Lord
441729e7d0 Merge pull request #2343 from davidism/tests
update development resources
2017-05-28 10:42:16 -07:00
David Lord
7a517652e0 update development resources
fix tox to test examples again
add detox tox env for faster testing
clean up makefile, add tox target
add extra group for installing dev requirements
clean up contributing doc, build with docs
expand issue template
add pull request template
2017-05-28 10:26:07 -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
David Lord
dca32b3619 Merge pull request #2342 from jrbaez01/issue/#2341-accept-one-default-argument
#2341: Accept default argument value when args lenght equal 1
2017-05-27 18:09:35 -07:00
Junior Báez
4ba52aaa89 #2341: Accept default argument value when args lenght equal 1 2017-05-27 18:02:18 -04:00
David Lord
4477a85ceb set example app names directly 2017-05-27 12:47:44 -07:00
Kenneth Reitz
b702d7b8cb Merge pull request #2340 from pallets/reduce-ci-matrix
Reduce ci matrix
2017-05-27 10:52:45 -07:00
Kenneth Reitz
7420db1294 Merge branch 'master' into reduce-ci-matrix 2017-05-27 13:46:18 -04:00
David Lord
3a057affcd fix doc build error 2017-05-27 10:43:57 -07:00
Kenneth Reitz
cd534d51a8 try py 2017-05-27 13:41:16 -04:00
Kenneth Reitz
99c8347879 reduce the number of builds 2017-05-27 13:37:41 -04:00
David Lord
92bf5692d6 clean up security header docs
[ci skip]
2017-05-27 10:09:23 -07:00
David Lord
552fbf59b5 flaskr correct app name 2017-05-27 08:44:07 -07:00
Kenneth Reitz
429df63691 Merge pull request #2338 from pallets/cleanup-2326
cleanup #2326
2017-05-26 06:17:40 -07:00
Kenneth Reitz
0c4769cd0a cleanup #2326 2017-05-26 09:16:45 -04:00
Kenneth Reitz
551883bc04 i think this is how this works now 2017-05-25 18:01:52 -04:00
Kenneth Reitz
67b45e1ad8 Merge pull request #2228 from wgwz/improve-flaskr
Add blueprint and the app factory pattern into the flaskr example
2017-05-25 15:00:03 -07:00
Kenneth Reitz
f754791dba Update CHANGES 2017-05-25 17:57:55 -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
461b201c48 Merge pull request #1887 from zevaverbach/patch-1
enumerates the states in which code is executed...
2017-05-25 14:47:20 -07:00
Kenneth Reitz
c72e7c7c70 Merge pull request #1621 from Ostrovski/0.10-maintenance
Allow to specify subdomain and/or url_scheme in app.test_request_cont…
2017-05-25 14:45:34 -07:00
Kenneth Reitz
99a00012c1 Merge pull request #2309 from aqt01/master
Add http headers security notes
2017-05-25 14:44:23 -07:00
Lowell Abbott
63aefba491 Add capitalize and other details 2017-05-25 14:42:42 -07:00
Kenneth Reitz
f27489679e Merge branch 'master' into improve-flaskr 2017-05-25 14:40:52 -07:00
Kenneth Reitz
d58e4567c7 use alabaster 2017-05-25 17:38:26 -04:00
Kenneth Reitz
a72ae74b5b Merge pull request #2080 from pallets/sphinx_theme
switch to packaged sphinx theme
2017-05-25 14:36:06 -07:00
Kenneth Reitz
6bf53cca2a resolve merge conflicts 2017-05-25 17:21:32 -04:00
Kenneth Reitz
3839a839a2 resolve merge conflicts 2017-05-25 17:15:53 -04: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
4adf25760e Merge pull request #2322 from nnja/dont_overwrite_vary_header
Don't overwrite Vary header when setting for cookie access
2017-05-25 10:46:45 -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
David Lord
00274a1cce Merge pull request #2334 from zebpalmer/master
Docs sidebar missing space
2017-05-25 10:06:53 -07:00
Zeb Palmer
718b47261e Missing Space
Smallest PR ever, but that missing space has been annoying me for a very long time.
2017-05-25 10:53:43 -06:00
David Lord
3a670dbc35 Merge pull request #2332 from doobeh/pycharm-config
PyCharm Run Configuration Guide
2017-05-25 09:52:46 -07:00
David Lord
e9e4c1e799 Merge pull request #2333 from D4D3VD4V3/patch-1
Fixed typo in docs
2017-05-25 08:24:51 -07:00
Dave
f5fd819008 Fix typo 2017-05-25 10:04:10 +05:30
Nina Zakharenko
c850aee84c Don't overwrite Vary header when setting for cookie access #2317 2017-05-24 20:05:11 -07:00
Anthony Plunkett
fd9e25f42c PyCharm Run Configuration Guide 2017-05-24 18:50:25 -07:00