Commit graph

3373 commits

Author SHA1 Message Date
Kamil Wargula
018e0b9ee0 Update docs - add command for listing rules. 2018-06-20 14:39:08 +02:00
David Lord
3fb9c97aeb Merge pull request #2834 from greyli/remove-unnecessary-period
Remove unnecessary period in documentation
2018-06-17 20:43:57 -07:00
Grey Li
96b5ddc9ed Remove unnecessary period in documentation 2018-06-17 12:12:37 +08:00
David Lord
f38e605a26 Merge pull request #2828 from greyli/patch-9
Update cli tips for .flaskenv
2018-06-15 12:50:15 -07:00
Grey Li
d1bad82a16 Add cli tips for .flaskenv 2018-06-15 19:12:50 +08:00
ThiefMaster
c93c5e750e Merge branch '1.0-maintenance' 2018-06-14 13:31:40 +02:00
Adrian
e44c8e1b2c 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
fbaeb1fc99 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
feddd86e24 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
aad474c17f Fixed 2823 2018-06-13 16:31:54 -07:00
Anthony Plunkett
ffcff402ab 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
0096f33f2a 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
d18440ca98 Merge pull request #2795 from dayiguizhen/master
Update CHANGES.rst
2018-06-03 18:39:17 +09:00
David Lord
0a0e1ec20d 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
aaa7e2db92 Add test for routes command when no routes registered 2018-05-31 11:43:51 +08:00
David Lord
08f803fcea 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
4a09395596 Fix typo in appcontext.rst 2018-05-29 19:11:30 +02:00
David Lord
68695d2c95 Merge pull request #2807 from eso31/master
Test added for _AppCtxGlobals __repr__ method
2018-05-29 09:42:43 -07:00
Dilan Coss
a33b248c9a details fixed 2018-05-29 09:51:08 -06:00
Dilan Coss
6cafaf462d Test added for _AppCtxGlobals __repr__ method 2018-05-28 23:49:06 -06:00
David Lord
f15a5c84a6 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
32fc4d0938 Set uwsgi link to use :ref:
Fixes #2802
2018-05-28 15:10:55 -04:00
David Lord
0be8412fc2 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
40a2cecdf7 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
5f44cc1ecb 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
ad4ec94b0c 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
5b08555927 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
e319646c00 Merge pull request #2793 from tiagocoutinho/patch-1
Update gevent wsgi documentation
2018-05-21 15:57:11 +09:00
Tiago Coutinho
669cd2fdda 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
b7d050b3b1 Merge pull request #2792 from greyli/patch-9
Fix typos in CHANGES.rst
2018-05-20 21:28:26 -07:00
Grey Li
e87fed9a0b Fix typos in CHANGES.rst 2018-05-21 10:26:14 +08:00
David Lord
61929922b1 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
51f4340127 SSLContext was added in Python 2.7.9 2018-05-17 06:18:42 -07:00
Hsiaoming Yang
13390e07eb Merge pull request #2786 from greyli/patch-9
[Docs] Make super() compatible for Python2
2018-05-16 23:44:52 +08:00
Grey Li
2e71bf94fc Make super() compatible for Python2 2018-05-16 19:13:19 +08:00
David Lord
dd5dbe2433 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
3651298381 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
751a5fa4a4 Merge branch '0.12-maintenance' into 1.0-maintenance 2018-05-08 20:31:10 -07:00
Daniel Opitz
1394ec46f4 Fixed LaTeX errors on documentation PDF generation 2018-05-08 20:30:36 -07:00
David Lord
e042cee2ae Merge pull request #2754 from danielopitz/master
Fixed LaTeX errors on documentation PDF generation
2018-05-08 20:27:16 -07:00
David Lord
b7ba103898 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
04a158c2f9 clarify the section navigation in installation 2018-05-08 20:10:27 -07:00
Mitchel Humpherys
729463dbd9 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
9cf956fe61 Fixed LaTeX errors on documentation PDF generation 2018-05-03 02:01:49 +02:00
David Lord
a95166d626 Merge branch '1.0-maintenance' 2018-05-02 07:28:38 -07:00
David Lord
81d79c545e Bump version number to 1.0.3.dev 2018-05-02 07:16:58 -07:00
David Lord
f0d02dad21 Bump version number to 1.0.2 2018-05-02 07:16:14 -07:00
David Lord
c03527fd98 release 1.0.2 2018-05-02 07:16:10 -07:00
David Lord
c0e7371f11 Merge pull request #2752 from greyli/patch-9
Check whether there are registered routes
2018-05-02 06:16:11 -07:00
Grey Li
56a6870772 Check whether exist registered routes 2018-05-02 06:06:15 -07:00