Commit Graph

2956 Commits

Author SHA1 Message Date
David Lord 9bee2500dd
finish documentation
[ci skip]
2017-06-02 08:09:37 -07:00
David Lord bbd15d53ad
docs style cleanup
[ci skip]
2017-06-02 07:03:22 -07:00
David Lord ca176cb903
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 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
2017-06-01 22:47:23 -07:00
David Lord ea2e9609bc
Merge branch 'master' into json-object-hook 2017-06-01 06:40:27 -07:00
David Lord c7f433c49b Merge pull request #2350 from davidism/errorhandler
show nice message when registering error handler for unknown code
2017-05-31 21:04:21 -07:00
David Lord 859d9a9d5c
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 9049755e3f Merge pull request #2348 from davidism/bad-request
make debugging bad key errors easier
2017-05-29 19:53:18 -07:00
David Lord 8f3563cf79
fix operator precedence 2017-05-29 19:46:33 -07:00
David Lord 42905b8a55
set description for trap as well as debug
test for key error description
2017-05-29 19:41:07 -07:00
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
2017-05-29 19:08:25 -07:00
David Lord fb90c310b9 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 b9c8c9bad1
deprecate app session methods in favor of session_interface
ref #1182
2017-05-29 13:35:02 -07:00
David Lord abf54c8182
fix some config names in new doc 2017-05-29 10:29:06 -07:00
David Lord b7eca826aa 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 b8eba0a3fa
use existing response.vary property to set vary header
closes #2345
2017-05-29 10:09:24 -07:00
David Lord 5797416544 Merge pull request #2344 from davidism/application-root
APPLICATION_ROOT defaults to '/'
2017-05-28 14:17:56 -07:00
David Lord 4a53840df0
APPLICATION_ROOT defaults to '/' 2017-05-28 14:08:53 -07:00
David Lord 60feecc26c
reformat config from table to linkable sections 2017-05-28 14:04:18 -07:00
David Lord 399ac3c54f
update changelog
[ci skip]
2017-05-28 11:52:01 -07:00
David Lord 90389140cc Merge pull request #2343 from davidism/tests
update development resources
2017-05-28 10:42:16 -07:00
David Lord 3c7625e8c0
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 a37f675ccb
Merge remote-tracking branch 'origin/0.10-maintenance'
refactor make_test_environ_builder
2017-05-28 07:25:15 -07:00
David Lord aeb82a404f 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 4f689c41d9 #2341: Accept default argument value when args lenght equal 1 2017-05-27 18:02:18 -04:00
David Lord 6a8c8c3484
set example app names directly 2017-05-27 12:47:44 -07:00
Kenneth Reitz 135f85a191 Merge pull request #2340 from pallets/reduce-ci-matrix
Reduce ci matrix
2017-05-27 10:52:45 -07:00
Kenneth Reitz 1ee439adff Merge branch 'master' into reduce-ci-matrix 2017-05-27 13:46:18 -04:00
David Lord d2a46dc56d
fix doc build error 2017-05-27 10:43:57 -07:00
Kenneth Reitz fe2974b7a4 try py 2017-05-27 13:41:16 -04:00
Kenneth Reitz 4ef3500db1 reduce the number of builds 2017-05-27 13:37:41 -04:00
David Lord 8eff9bda3d
clean up security header docs
[ci skip]
2017-05-27 10:09:23 -07:00
David Lord 11f463f1bd
flaskr correct app name 2017-05-27 08:44:07 -07:00
Kenneth Reitz a4869eb4d2 Merge pull request #2338 from pallets/cleanup-2326
cleanup #2326
2017-05-26 06:17:40 -07:00
Kenneth Reitz 7c0b36f146 cleanup #2326 2017-05-26 09:16:45 -04:00
Kenneth Reitz e26cc8f904 i think this is how this works now 2017-05-25 18:01:52 -04:00
Kenneth Reitz a63a4cb034 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 cf926b8e73 Update CHANGES 2017-05-25 17:57:55 -04:00
Kenneth Reitz 090109b637 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 63ddf2d479 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 3acec5f801 Merge pull request #2309 from aqt01/master
Add http headers security notes
2017-05-25 14:44:23 -07:00
Lowell Abbott fcfd031460 Add capitalize and other details 2017-05-25 14:42:42 -07:00
Kenneth Reitz e6740ec2f3 Merge branch 'master' into improve-flaskr 2017-05-25 14:40:52 -07:00
Kenneth Reitz 386ac92bdd use alabaster 2017-05-25 17:38:26 -04:00
Kenneth Reitz 4eca29f68b Merge pull request #2080 from pallets/sphinx_theme
switch to packaged sphinx theme
2017-05-25 14:36:06 -07:00
Kenneth Reitz d911c897ee Merge branch 'master' into master 2017-05-25 14:22:53 -07:00
Kenneth Reitz 31174fecd2 resolve merge conflicts 2017-05-25 17:21:32 -04:00
Kenneth Reitz 90854c756a resolve merge conflicts 2017-05-25 17:15:53 -04:00
Hendrik Makait 48c2925664 Factor in code review comments and refactor functions to be more naturally split. 2017-05-25 11:28:20 -07:00