Commit graph

3102 commits

Author SHA1 Message Date
Per Mortensen
110a752565 Update Twisted Web example 2017-11-22 22:40:23 +01:00
David Lord
3a2f396265
Merge pull request #2515 from domandinho/domandinho_2515
Minor fix in flaskr example README
2017-11-09 14:10:10 -08:00
domandinho
50964fb4ab Minor fix in flaskr example README 2017-11-09 22:52:24 +01:00
David Lord
470112dd6e
Merge pull request #2500 from BogdanAlexandru/patch-1
Improvements in the final sections of appfactories.rst
2017-10-30 13:48:29 -07:00
David Lord
a35fc3cd6b Merge pull request #2504 from hugovk/patch-1
Remove IRC notifications from Travis CI
2017-10-25 04:09:41 -07:00
hugovk
f8321de369 Remove IRC notifications 2017-10-25 09:03:27 +03:00
Roy Crihfield
e3c853e604 Fix typo in cli.py (#2502) 2017-10-24 08:10:12 +02:00
Bogdan Alexandru Marginean
b89cf95816 Update appfactories.rst 2017-10-19 22:32:47 +03:00
Radoslav Gerganov
9291ead32e Fix typo in logging.rst (#2492)
Remove extra parenthesis from RequestFormatter constructor.
2017-10-13 13:53:50 +02:00
David Lord
82e66848e8 Merge pull request #2491 from mrnom/patch-1
Fix grammar/typos
2017-10-11 07:03:32 -07:00
Mrn Om
c352714478 Fix grammar/typos 2017-10-11 16:47:26 +03:00
David Lord
0932d8f428 Merge pull request #2490 from davidism/cli-review
Rewrite CLI errors and docs
2017-10-10 11:59:28 -07:00
David Lord
9bc329c0c9
rewrite cli docs
reflects the current FLASK_APP detection
2017-10-10 11:10:20 -07:00
David Lord
5436dddf64
rewrite cli errors
consistent order for arguments to load functions
refactor find_app_by_string to flow better
more cli loader tests
2017-10-10 07:04:53 -07:00
David Lord
8020d5eac9 Merge pull request #2450 from Caratpine/master
Blueprint view function name should not contain dots
2017-10-09 08:18:34 -07:00
Caratpine
2f57a0b917
Blueprint view function name should not contain dots 2017-10-09 08:12:34 -07:00
Henry Chladil
0a1090890f Add additional information in the url_rule docs (#2467)
If a user is making use of the errorhandler(405) decorator, and
they wish to include an Allow header (as per HTTP spec), they may
be confused to find that url_rule is None. This doc change aims to
clarify that because the request was never successfully matched,
it was never bound to a URL rule and to access the valid methods,
they must examine routing_exception.
2017-10-07 19:52:44 +02:00
David Lord
7e4e6eced3 Merge pull request #2475 from greyli/patch-4
Fix typo in comment
2017-09-28 11:00:48 -07:00
David Lord
3a8cc37663
install argparse for 2.6
closes #2476
2017-09-28 10:59:21 -07:00
Grey Li
851ca95778 Fix typo in comment 2017-09-23 22:26:48 +08:00
Markus Unterwaditzer
f071562ec0 Merge pull request #2470 from ImgBotApp/imgbot
[ImgBot] optimizes images
2017-09-12 12:55:41 +02:00
ImgBotApp
ff8f525fb3 [ImgBot] optimizes images
\docs\_static\no.png (18.3%))
\docs\_static\touch-icon.png (64.21%))
\docs\_static\flaskr.png (8.32%))
\docs\_static\pycharm-runconfig.png (14.65%))
\docs\_static\debugger.png (2.79%))
\docs\_static\flask.png (30.15%))
\docs\_static\yes.png (13%))
\docs\_static\logo-full.png (29.33%))
2017-09-12 04:24:35 +00:00
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