Commit graph

2393 commits

Author SHA1 Message Date
Gaëtan Petit
a08c29f34b Update deprecated references
validators.Required() is marked as deprecated in favor of validators.DataRequired() and will be remove in WTForms 3.
2016-03-08 10:05:20 +01:00
Markus Unterwaditzer
16ab75e57e Merge pull request #1743 from homoSapiensSapiens/use_pytest_raises
Use pytest.raises() instead of try/catch with assert 0
2016-03-04 13:51:07 +01:00
Reuven
98581ec6d6 Use pytest.raises() instead of try/catch with asser 0
This is somehow more readable, and enable using the features of pytest's ExeptionInfo (such as errisinstance).
2016-03-04 13:30:40 +02:00
Markus Unterwaditzer
337da86009 Merge pull request #1456 from jonafato/proxy-setup-x-forwarded-proto
Add X-Forwarded-Proto header to proxy setup example docs
2016-02-17 22:02:22 +01:00
Armin Ronacher
6d1c96a888 Merge pull request #1723 from ericdill/doc-update
DOC: Remove gendered language
2016-02-09 11:26:03 -08:00
Eric Dill
f248206c52 DOC: Remove gendered language 2016-02-09 14:24:09 -05:00
David Lord
71b6d2dc8e Merge pull request #1721 from pra85/patch-1
typo: interchangable -> interchangeable
2016-02-08 06:14:29 -08:00
Prayag Verma
fdf1d7e55f Fix a typo
`interchangable` → `interchangeable`
2016-02-08 19:33:34 +05:30
Kenneth Reitz
70aee36bac Merge pull request #1716 from lord63-forks/fix-typo
Fix typo
2016-02-04 01:49:09 -05:00
lord63
dae1144daa Update app.py 2016-02-04 14:35:03 +08:00
lord63
0f904690da Fix typo
* Use the compatible way to handle the exception. You can find the
source code wsgi_app in app.py, and it use the compatible way, so update it
* Fix typo in config.py
* Fix typo in app.py
2016-02-03 21:08:22 +08:00
David Lord
1ae4c13c1d Merge pull request #1715 from ThiefMaster/patch-1
Add missing return to g.setdefault
2016-02-02 07:39:21 -08:00
Adrian
2aa9869d18 Add missing return to g.setdefault 2016-02-02 16:16:01 +01:00
Kenneth Reitz
04a069aad8 Merge pull request #1588 from Akasurde/i_1465
Updated documentation for Setuptools
2016-01-26 20:40:26 -05:00
David Lord
3d9ea34dfb Merge pull request #1688 from nivm/master
Remove 'flask' from etags to obscure server technologies
2016-01-25 23:02:48 -08:00
David Lord
27b4119b34 clean up 2016-01-25 22:56:51 -08:00
David Lord
ded1fb86f4 Merge pull request #1703 from jeffwidman/master
Cleanup jsonify() function
2016-01-25 22:52:09 -08:00
David Lord
679315eace Merge pull request #1679 from miguelgrinberg/passthrough-errors
Werkzeug should not block propagated exceptions from Flask
2016-01-25 22:17:04 -08:00
Jeff Widman
cb92359417 Cleanup jsonify() function
Cleanup some leftover stuff from #1671. PEP8 spacing, args/kwargs don't need to be converted to list/dict, and Sphinx formatting.
2016-01-25 16:43:02 -08:00
Markus Unterwaditzer
0ea117812e Merge pull request #1669 from jeffwidman/master
Update `tox` installation instructions to point to PyPI
2016-01-25 20:27:24 +01:00
David Lord
7947830c68 Merge pull request #1671 from jeffwidman/support-json-top-level-arrays
Add support for serializing top-level arrays to JSON
2016-01-25 07:16:51 -08:00
Jeff Widman
4da4fadfc6 Add support for serializing top-level arrays to JSON
Fix #170, #248, #510, #673, #1177
2016-01-13 13:20:11 -08:00
nivm
3c76c51016 remove 'flask' from etags to obscure server technologies 2016-01-10 12:33:35 +02:00
Miguel Grinberg
2bbddf57f8 Werkzeug should not block propagated exceptions from Flask 2016-01-02 14:18:36 -08:00
Jeff Widman
798fbfcd58 Update tox installation instructions to point to PyPI 2015-12-30 01:04:24 -08:00
David Lord
605d20d74d Merge pull request #1666 from AvivC/fix-mistake-in-contributing-file
Fixed mistake in CONTRIBUTING.rst file, regarding pip install.
2015-12-27 10:42:45 -08:00
AvivC
e5e2a6f9c3 Clarified CONTRIBUTING.rst
Added 'cd flask' before 'pip install --editable .'.
2015-12-27 04:55:57 +02:00
David Lord
9f2f3484a8 Merge pull request #1661 from lord63-forks/clarify-version
Clarify the python versions that flask supports
2015-12-20 08:19:35 -08:00
lord63
6cd10de9ff Clarify the python versions that flask supports 2015-12-20 20:39:38 +08:00
David Lord
697e3a1837 Merge pull request #1651 from lord63-forks/remove-with-statement
Remove with_statement in flask/ctx.py
2015-12-13 09:21:01 -08:00
lord63
12a29b9108 Remove with_statement in flask/ctx.py 2015-12-13 22:08:31 +08:00
David Lord
59463c139f Merge pull request #1648 from accraze/mod-wsgi-docs
Mod wsgi docs
2015-12-09 21:09:07 -08:00
accraze
bf3675e952 added note about directory permission syntax change
docs had httpd 2.2 syntax for directory permission with a link to Apache 2.4 changes. added an example of httpd 2.4 syntax

resolves #1644
2015-12-09 20:24:23 -08:00
David Lord
d21e0be862 use https instead of git protocol
git protocol is blocked on some networks
2015-12-03 16:50:16 -08:00
David Lord
668f132450 use https instead of git protocol
git protocol is blocked on some networks
2015-12-03 16:40:46 -08:00
David Lord
9b5158183a add myself to authors 2015-12-03 16:40:46 -08:00
David Lord
a9d0c017d6 Merge pull request #1637 from d0ugal/patch-1
Fixed a typo in the appfactories docs
2015-12-03 05:03:47 -08:00
Dougal Matthews
f8f7ad95d0 Fixed a typo
I think 'app' is the intended word here, but I am not 100% sure.
2015-12-03 09:51:24 +00:00
David Lord
8e7de75a97 ignore pycharm config 2015-12-01 20:58:12 -08:00
David Lord
754757131f Merge pull request #1630 from redian/master
Skip tests if redbaron is not installed
2015-11-27 08:57:56 -08:00
David Lord
8a429faa06 Merge pull request #1629 from redian/patch-3
Add .cache dir to gitignore
2015-11-26 19:17:41 -08:00
Redian Ibra
801eddcb47 Skip test if redbaron is not installed 2015-11-26 22:11:34 +00:00
Redian
09b8cf5da5 Add .cache dir to gitignore
I think this could be handy and potentially minimise the risk
anyone commits it to the project.

```
flask - (master) $ tree .cache/
.cache/
└── v
    └── cache
        └── lastfailed

```
2015-11-26 21:04:23 +00:00
David Lord
d7fa15f8ad Merge pull request #1624 from lord63-forks/fix-code-format
Render the code block in mongokit.rst
2015-11-22 00:15:58 -08:00
lord63
251af9ba12 Render the code block in mongokit.rst 2015-11-22 14:43:25 +08:00
Armin Ronacher
cb4eec7bcb Merge pull request #1558 from JonasGroeger/master
Update uwsgi/nginx deployment documentation
2015-11-12 13:08:56 +01:00
Armin Ronacher
6e70045df7 Merge pull request #1616 from dthul/typo
Fix typo.
2015-11-11 23:50:09 +01:00
Daniel Thul
3e7eef100e Fix typo. 2015-11-11 23:46:51 +01:00
David Lord
e980b547be Merge pull request #1610 from lord63-forks/fix-typo
Fix typo in app_ctx_globals_class doc in app.py
2015-11-06 18:12:56 -08:00
lord63
7a13898bd2 Fix typo in app_ctx_globals_class doc in app.py 2015-11-07 09:04:24 +08:00