Commit graph

3080 commits

Author SHA1 Message Date
Jaap Broekhuizen
62a6aabc8d Mention Flask instead of Jinja in the issue template
For people not really comfortable with the flask ecosystem this can be really confusing.
2017-09-06 13:31:57 +02:00
Brett Johnson
e4928323f2 Update App Engine link
Point to an authoritative site for Flask on App Engine that is maintained.
2017-08-30 14:58:05 -07:00
Alejandro Mantecon Guillen
154c621237 Update debugger and flaskr screenshots (#2454) 2017-08-25 15:36:26 +02:00
Arie Marie 'Thomas' Dalleis
7c51019985 Fix typos and formatting 2017-08-15 16:05:48 +02:00
David Lord
ad7ed87f5e Merge pull request #2446 from chuanma/master
replace @pytest.yield_fixture by @pytest.fixture
2017-08-14 15:05:49 -07:00
Chuan Ma
5888d76342 pytest.yield_fixture deprecated in pytest 3.0+.
It's suggested to use pytest.fixture directly,
and flask already requires 'pytest>=3'.
2017-08-14 10:25:24 -04:00
Hsiaoming Yang
7d4703e98a Merge pull request #2442 from hallazzang/patch-1
corrected indentations for pypi description
2017-08-14 14:01:46 +08:00
Hsiaoming Yang
330792e10b Merge pull request #2445 from brennv/add-version-warning
Add version warning to Flaskr tutorial
2017-08-14 14:01:10 +08:00
Brennan Vincello
7640a1f1c9 Add version warning 2017-08-10 21:51:02 -07:00
hallazzang
392989aaa7 corrected indentations for pypa description 2017-08-06 09:06:19 +09:00
David Lord
97ad085912
fix links 2017-08-01 08:47:56 -07:00
David Lord
1c35b98f0b
fix code block 2017-08-01 08:39:42 -07:00
David Lord
2efb565fbc
mention that session signature checks max age
add expiration to cookie security docs
closes #2422
2017-08-01 08:28:32 -07:00
David Lord
ed1f604727 Update CHANGES 2017-07-31 13:58:50 -07:00
David Lord
c74f46979a Merge pull request #2436 from davidism/logging
Simplify logging
2017-07-31 13:23:45 -07:00
David Lord
66b1b752da
simplify logging configuration
single default handler and formatter
don't remove handlers
configure level once using setLevel
document logging
reorganize logging tests
2017-07-31 12:49:03 -07:00
David Lord
85fa8aabf5 Merge pull request #2430 from erebus1/env_url_scheme_fix
make_test_environ_builder: use url_scheme from path if provided
2017-07-29 13:09:17 -07:00
David Lord
a89bdb3395
prefer the url's scheme over the kwarg
tabs -> spaces
add test
add changelog
2017-07-29 13:03:08 -07:00
David Lord
417bc336de
egg_info -R flag is gone 2017-07-27 07:32:03 -07:00
Igor Kasianov
241673fd15 make_test_environ_builder: use url_scheme from path if provided
When providing https url in path ("https://example.com/")
we hope that we will get https scheme in environment
2017-07-27 14:50:27 +03:00
David Lord
851eaa4db7 Merge pull request #2416 from davidism/dotenv
Add .env support
2017-07-16 13:55:18 -07:00
David Lord
491d331e6e
load env vars using python-dotenv 2017-07-16 13:37:51 -07:00
asmith26
8e2ef5bde3 Fix typo in docs (#2419) 2017-07-16 21:07:25 +02:00
David Lord
77b98a2762 Merge pull request #2414 from davidism/cli-load-local-package
FLASK_APP doesn't require .py extension for local packages
2017-07-14 19:59:51 -07:00
David Lord
fb845b9032
allow local packages in FLASK_APP
don't require .py extension in FLASK_APP
add tests for nested package loading
parametrize cli loading tests
2017-07-14 19:49:05 -07:00
David Lord
59f7966e31 support passing environ to test client (#2412)
closes #2411
2017-07-13 08:42:53 -07:00
David Lord
817903c9c1 Merge pull request #2409 from bijanvakili/clarify-app-teardown
Clarify docs and tests for exception handling in Flask.teardown_appcontext()
2017-07-10 07:20:01 -07:00
David Lord
9560f22bb6
clean up 2017-07-10 07:10:47 -07:00
Bijan Vakili
a417e41d27 Update documentation and regression tests to clarify that Flask.teardown_appcontext() only receives unhandled exceptions 2017-07-07 17:34:44 -07:00
William Horton
5909e26fba Remove unused import from test_basic (#2403) 2017-06-30 17:28:48 +02:00
David Lord
8207b1563e
fix formatting
-R is no longer an egg_info option
closes #2400
[ci skip]
2017-06-28 19:55:39 -07:00
David Lord
6162ecef19
detox breaks docs test env for some reason
[ci skip]
2017-06-28 08:06:28 -07:00
David Lord
01e2d80660
one more secret key in docs 2017-06-28 08:02:51 -07:00
David Lord
d13e41ddef Merge pull request #2399 from davidism/docs-secret-key
clean up secret key docs
2017-06-28 08:00:08 -07:00
David Lord
465922e5f1
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
David Lord
641fdeaf98 Merge pull request #2398 from miguelgrinberg/app-not-found-error-fix
fix variable substitution in error message
2017-06-27 07:50:20 -07:00
Miguel Grinberg
4f30cb7c57
fix variable substitution in error message 2017-06-27 07:27:10 -07:00
David Lord
cce6e7dccc Merge pull request #2397 from davidism/request-json
Un-deprecate Request.json
2017-06-26 09:47:36 -07:00
David Lord
5bc0d15359
un-deprecate request.json 2017-06-26 09:34:26 -07:00
David Lord
1172728a68 Merge pull request #2396 from davidism/remove-script
Remove old 0.7 upgrade script
2017-06-26 09:23:06 -07:00
David Lord
e0cd80c6bf
remove old upgrade script 2017-06-26 09:22:03 -07:00
David Lord
bce8ec75eb Merge pull request #2395 from davidism/remove-ext
Remove deprecated flask.ext
2017-06-26 09:18:21 -07:00
David Lord
715a9a3e7b
remove deprecated flask.ext 2017-06-26 08:47:28 -07:00
David Lord
4c564779d1 Merge pull request #2394 from davidism/remove-deprecated
Remove deprecated code
2017-06-26 08:29:43 -07:00
David Lord
89c87240b6
changelog for deprecations 2017-06-26 08:07:54 -07:00
David Lord
723e665004
remove deprecated Request.module 2017-06-26 07:46:33 -07:00
David Lord
d63c2bc417
remove deprecated Flask.static_path 2017-06-26 07:45:29 -07:00
David Lord
9491bf8695
remove deprecated Flask.error_handlers 2017-06-26 07:39:35 -07:00
David Lord
c5d3f806d7 Merge pull request #2393 from JohnMoutafis/2385-remove-deprecated-code
Remove deprecated code from app.py
2017-06-26 07:35:20 -07:00
John Moutafis
e9386a7273 Remove deprecated request_globals_class _get and _set methods. 2017-06-26 11:48:29 +03:00