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
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
Christian Stade-Schuldt
55b92efab4
More DRYing up the test suite ( #2325 )
2017-05-24 17:27:36 -07:00
Dave Morse
52cf33d08c
Minor edits to tutorial for clarity. ( #2330 )
2017-05-24 17:00:20 -07:00
David Lord
09bfc1f968
Merge pull request #2331 from davidism/less-travis
...
Reduce test envs, add coverage reports, other test fixups
2017-05-24 15:57:56 -07:00
David Lord
50df5f8b91
reduce number of tox and travis envs
...
bump minimum werkzeug version to fix tests
cache pip pacakges on travis
collect branch coverage
collect coverage of test code
report coverage across envs
test building docs
enable codecov integration
2017-05-24 15:41:35 -07:00
David Lord
03d39490a3
Merge pull request #2324 from rzelayafavila/2313-refactor-gevent-tests-into-class
...
Fix for Issue 2313 - refactoring gevent tests into class
2017-05-23 17:31:44 -07:00
David Lord
f710fc6347
Merge pull request #2323 from dawran6/test-fixture
...
Cleanup test_blueprint.py to use test fixtures
2017-05-23 17:14:57 -07:00
David Lord
b2992d2d36
Merge pull request #2321 from dawran6/test-bp-url
...
Add test for Blueprint app-wide url processing
2017-05-23 17:14:23 -07:00
Rene A. Zelaya
8eeb3d8297
Correcting name of GreenletContextCopying test class (to start with 'Test'), making it extend object, and also having the test methods in it include 'self' as first argument.
2017-05-23 16:51:50 -07:00
Rene A. Zelaya
f6e3c14313
Merge remote-tracking branch 'pallets/master' into 2313-refactor-gevent-tests-into-class
2017-05-23 16:45:47 -07:00
Rene A. Zelaya
cb2c8a7b88
Bundling 'test_greenlet_context_copying' functions into a new class in tests/test_reqctx.py.
2017-05-23 16:45:11 -07:00
Randy Liou
b372260079
Cleanup test_blueprint.py to use test fixtures
...
Modify several tests to use the app and client test fixtures.
2017-05-23 16:42:14 -07:00
Randy Liou
a1e09231f5
Add test for Blueprint app-wide url processing
...
The test add coverage for methods: Blueprint.app_url_defaults, and
Blueprint.app_url_preprocessing. This PR increases the coverage of
blueprint module by 2%.
2017-05-23 16:26:53 -07:00
David Lord
f7f122cb29
Merge pull request #2319 from HndrkMkt/#2266-support-create-app-without-script-info
...
Support `create_app` without script_info or with script_info as named argument
2017-05-23 16:24:29 -07:00
David Lord
aed71abbbc
add changelog
...
[ci skip]
2017-05-23 16:24:07 -07:00
David Lord
d444045e49
Merge pull request #2320 from markshannon/fix-click-dependency-info
...
Update click dependency info.
2017-05-23 16:20:59 -07:00
David Lord
e37f705739
shorten cli factory name
...
[ci skip]
2017-05-23 16:19:41 -07:00
David Lord
f3be739855
add lowest click version to tox
...
add devel click version to tox
add devel markupsafe version to tox
2017-05-23 16:08:46 -07:00
David Lord
bc0b77809d
Merge pull request #2315 from leviroth/powershell-docs
...
Added documentation for PowerShell environment variables
2017-05-23 15:33:59 -07:00
Mark Shannon
50da045679
Update click dependency info.
2017-05-23 15:29:37 -07:00
Christian Stade-Schuldt
2158fe3e12
DRYing up the test suite using pytest fixtures ( #2306 )
...
* add fixtures to conftest.py
* use fixtures in test_appctx.py
* use fixtures in test_blueprints.py
* use fixtures in test_depreciations.py
* use fixtures in test_regressions.py
* use fixtures in test_reqctx.py
* use fixtures in test_templating.py
* use fixtures in test_user_error_handler.py
* use fixtures in test_views.py
* use fixtures in test_basics.py
* use fixtures in test_helpers.py
* use fixtures in test_testing.py
* update conftest.py
* make docstrings PEP-257 compliant
* cleanup
* switch dictonary format
* use pytest parameterization for test_json_as_unicode
2017-05-23 15:18:39 -07:00
Hendrik Makait
3d220155b9
Check if app factory takes script_info argument and call it with(out) script_info as an argument depending on that
2017-05-23 13:48:42 -07:00
David Lord
891862a94c
Merge pull request #2318 from bovarysme/fix-testing-docs
...
Fix a small oversight in the testing docs
2017-05-23 13:31:56 -07:00
bovarysme
34a921ca6e
Fix a small oversight in the testing docs
2017-05-23 22:22:16 +02:00
David Lord
f2a26657c3
Merge pull request #2316 from ka7eh/automatic-options-in-views
...
Adds provide_automatic_options to Class-based Views
2017-05-23 12:46:31 -07:00
Lowell Abbott
fdf6c9d0b8
Re-order by semantic. Fix link on flask-talismand and re-word many concepts
2017-05-23 12:26:43 -07:00
David Lord
47717e5564
Merge pull request #2311 from bovarysme/use-yield-syntax
...
Use the yield syntax in pytest's fixtures
2017-05-23 12:00:34 -07:00