Commit graph

3369 commits

Author SHA1 Message Date
Grey Li
f036308442
Add cli tips for .flaskenv 2018-06-15 19:12:50 +08:00
ThiefMaster
161c43649d Merge branch '1.0-maintenance' 2018-06-14 13:31:40 +02:00
Adrian
1a9caedb49
Merge pull request #2765 from ThiefMaster/custom-cli-ignore-debug
Add option to not overwrite debug flag in cli
2018-06-14 13:31:00 +02:00
ThiefMaster
50227f0954 Add option to not overwrite debug flag in cli
This is mainly intended for custom CLIs that may load a config file
which already sets the debug flag and does not make use of the `FLASK_*`
env vars at all.
2018-06-14 13:25:05 +02:00
Hsiaoming Yang
b2ec6a33a2
Merge pull request #2827 from schafle/fix-2823
[Fixed 2823] Checking if .env is file before prompting to install dotenv
2018-06-14 10:12:20 +09:00
Suraj Chafle
076dddb2e1 Fixed 2823 2018-06-13 16:31:54 -07:00
Anthony Plunkett
673e5af658
Merge pull request #2826 from senarclens/master
add init-db call to flask tutorial's README.rst
2018-06-13 15:48:57 -04:00
Gerald Senarclens de Grancy
d0088e63d8 add init-db call to flask tutorial
otherwise the user is confronted with an unpleasant error
message when accessing the dev server the first time
2018-06-13 20:51:50 +02:00
Hsiaoming Yang
9c0e110e23
Merge pull request #2795 from dayiguizhen/master
Update CHANGES.rst
2018-06-03 18:39:17 +09:00
David Lord
b6a8f75c70
Merge pull request #2811 from greyli/test-routes-command-for-no-routes
Add test for routes command when no routes registered
2018-05-31 09:10:17 -07:00
Grey Li
4025e27b57 Add test for routes command when no routes registered 2018-05-31 11:43:51 +08:00
David Lord
b34c7174e7
update test envs
use pypy3
fix travis osx env
cache pip on appveyor
codecov on appveyor
2018-05-29 11:46:04 -07:00
Saul Urias
0b4296ff17 Fix typo in appcontext.rst 2018-05-29 19:11:30 +02:00
David Lord
8080ead523
Merge pull request #2807 from eso31/master
Test added for _AppCtxGlobals __repr__ method
2018-05-29 09:42:43 -07:00
Dilan Coss
8fa3ed13bf details fixed 2018-05-29 09:51:08 -06:00
Dilan Coss
8cdd01ea5d Test added for _AppCtxGlobals __repr__ method 2018-05-28 23:49:06 -06:00
David Lord
79fc8e5c31
Merge pull request #2806 from doobeh/uwsgi_doc_fix
Set uwsgi link to use :ref:
2018-05-28 12:25:06 -07:00
Anthony Plunkett
7cc71cccec Set uwsgi link to use :ref:
Fixes #2802
2018-05-28 15:10:55 -04:00
David Lord
99c56eaafa
Merge pull request #2804 from pallets/ascii-header
encode filenames as ascii instead of latin-1
2018-05-28 06:57:15 -07:00
David Lord
b51ab3ff2c
encode filenames as ascii instead of latin-1
latin-1 is allowed by pep3333, but that breaks gunicorn
2018-05-28 06:36:47 -07:00
David Lord
d22491a3fb
Merge pull request #2799 from bast/radovan/env
set FLASK_APP via env for portability across shells
2018-05-24 06:39:13 -07:00
Radovan Bast
4ce44340d4 set FLASK_APP via env for portability across shells
this does not work on fish (https://fishshell.com):
$ FLASK_APP=hello.py flask run

while this works (hopefully) on any shell:
$ env FLASK_APP=hello.py flask run
2018-05-24 14:57:11 +02:00
dayiguizhen
1955d6aace Add the link of pull so that it’s easy for readers to check the changes in code. 2018-05-22 18:39:35 +08:00
Hsiaoming Yang
54869a0017
Merge pull request #2793 from tiagocoutinho/patch-1
Update gevent wsgi documentation
2018-05-21 15:57:11 +09:00
Tiago Coutinho
c853d11fc5
Update gevent wsgi
gevent.wsgi is deprecated since gevent 1.1 and removed in gevent 1.3. 
gevent.pywsgi should be used instead
2018-05-21 08:10:16 +02:00
David Lord
027aeecf26
Merge pull request #2792 from greyli/patch-9
Fix typos in CHANGES.rst
2018-05-20 21:28:26 -07:00
Grey Li
9d0bc52329
Fix typos in CHANGES.rst 2018-05-21 10:26:14 +08:00
David Lord
401d7f9bb2
Merge pull request #2789 from briehanlombaard/fix-sslcontext-attribute-error
AttributeError: 'module' object has no attribute 'SSLContext'
2018-05-17 09:24:21 -04:00
Briehan Lombaard
a913b4dafd
SSLContext was added in Python 2.7.9 2018-05-17 06:18:42 -07:00
Hsiaoming Yang
cae037812b
Merge pull request #2786 from greyli/patch-9
[Docs] Make super() compatible for Python2
2018-05-16 23:44:52 +08:00
Grey Li
07b9ff6e77
Make super() compatible for Python2 2018-05-16 19:13:19 +08:00
David Lord
03036533f0
Merge pull request #2774 from nicolaiarocci/remove_osbolete_audit_shortcut_from_makefile
Remove now obsolete 'audit' command from Makefile
2018-05-13 09:18:08 -04:00
Nicola Iarocci
be8e0fcf10 Remove now obsolete 'audit' command from Makefile
When 'audit' was removed from setup.py, the corresponding shortcut was
left in the Makefile. This commit removes the audit shortcut from
Makefile.

Closes #2773.
2018-05-12 10:33:58 +02:00
David Lord
a35a97e49d
Merge branch '0.12-maintenance' into 1.0-maintenance 2018-05-08 20:31:10 -07:00
Daniel Opitz
1c2a2cd001
Fixed LaTeX errors on documentation PDF generation 2018-05-08 20:30:36 -07:00
David Lord
8c9df3f4eb
Merge pull request #2754 from danielopitz/master
Fixed LaTeX errors on documentation PDF generation
2018-05-08 20:27:16 -07:00
David Lord
72011908b5
Merge pull request #2764 from mgalgs/patch-1
docs: installation: Fix "now you can continue" link
2018-05-08 20:11:47 -07:00
David Lord
335dcf8ec4
clarify the section navigation in installation 2018-05-08 20:10:27 -07:00
Mitchel Humpherys
725f391399
docs: installation: Add link to Quickstart after install
Once Flask is installed many users will want to proceed to the next section
in the docs (Quickstart).  Add a link to the end of the Install section for
this.
2018-05-08 19:59:25 -07:00
Daniel Opitz
676efcc21a Fixed LaTeX errors on documentation PDF generation 2018-05-03 02:01:49 +02:00
David Lord
9bee619320
Merge branch '1.0-maintenance' 2018-05-02 07:28:38 -07:00
David Lord
939c77a39a
Bump version number to 1.0.3.dev 2018-05-02 07:16:58 -07:00
David Lord
dfd3619d6f
Bump version number to 1.0.2 2018-05-02 07:16:14 -07:00
David Lord
4dc3ba5281
release 1.0.2 2018-05-02 07:16:10 -07:00
David Lord
ad09134c8e
Merge pull request #2752 from greyli/patch-9
Check whether there are registered routes
2018-05-02 06:16:11 -07:00
Grey Li
b4e092600d
Check whether exist registered routes 2018-05-02 06:06:15 -07:00
David Lord
a6a6810d56
Merge pull request #2748 from pallets/fix-bp-route
Fix blueprint route for ""
2018-05-02 06:04:31 -07:00
David Lord
b21b4d1608
add more merge cases 2018-05-01 13:29:48 -07:00
Hsiaoming Yang
f7a3bdc6db
Fix blueprint route for "" 2018-05-01 14:35:55 +09:00
David Lord
35afec3f5a
Merge branch '1.0-maintenance' 2018-04-30 19:06:00 -07:00