Commit Graph

3517 Commits

Author SHA1 Message Date
David Baumgold 5b309831ec Set up pre-commit to run black
Call it automatically via tox
2019-05-06 16:28:54 -04:00
David Baumgold 819368a52d
Merge pull request #3175 from singingwolfboy/fix-rst-line-too-long
fix RST line too long
2019-05-06 15:23:35 -04:00
David Lord 5e378b4f28
Merge pull request #3178 from LindsayYoung/patch-1
Create CODE_OF_CONDUCT.md
2019-05-06 13:46:38 -04:00
Lindsay Young b78a803f7d
Create CODE_OF_CONDUCT.md
Ticket is referenced in [#Issue 1](https://github.com/pallets/meta/issues/1) in the Meta repo.
Spoke with @davidism and the decision was to use Contributor Covenant. It has easy GitHub integration and quality text.

For context, Here is a comparison of different codes of conduct from geek feminism:
Contributor Covenant looks like it is a good default because it covers:

Descriptions of common but unacceptable behavior
Reporting instructions with contact information
Information about enforcement
Clear demarcation between anti-harassment policy and general community guidelines
2019-05-06 12:41:01 -04:00
David Baumgold 6606a4a238 fix RST line too long 2019-05-06 11:11:32 -04:00
David Lord 12ab9f9c0d
Set up Azure Pipelines (#3170)
initial Azure Pipelines setup
2019-05-04 10:51:57 -04:00
Matt Cooper 3257b1d13b one more todo 2019-05-04 10:40:10 -04:00
Matt Cooper f9ee8349bc remove unsupported Python 2019-05-04 10:22:29 -04:00
Matt Cooper f2df16247a add TODOs 2019-05-04 10:19:50 -04:00
Matt Cooper af5fb14666 initial Azure Pipelines setup 2019-05-04 09:45:20 -04:00
David Lord c5c8bbc7f6
Merge pull request #3155 from zabbal/master
Bump Jinja2 requirements
2019-04-15 11:28:17 -07:00
Max de01dfb702 Bump Jinja2 requirements
The 2.10.1 version was released 2019-04-06 and contains important security fix.
This change allows flask users to avoid implicit insecure dependency.
2019-04-15 17:13:07 +02:00
David Lord 86bf9dca72
Merge pull request #3103 from tbm/typos
Fix typos in the documentation
2019-02-24 06:33:44 -08:00
Martin Michlmayr 7b88b35747
Fix typos in the documentation 2019-02-24 10:40:23 +00:00
David Lord c795adf684
Merge pull request #3101 from tbm/docs-formatting
Fix formatting issue in quickstart guide
2019-02-22 16:32:12 -08:00
Martin Michlmayr 5830388ee2
Fix formatting issue in quickstart guide
Due to a formatting issue in the reStructuredText input, the HTML
output produced a description list (<dl>) within the ordered list.
2019-02-23 00:02:01 +00:00
David Lord 0b5b4a66ef
Merge pull request #3082 from cclauss/patch-2
_compat.py: Use feature detection instead of version detection
2019-01-25 05:56:54 -08:00
cclauss 47bdf9f26f
_compat.py: Use feature detection instead of version detection
When run on Python 3, linters such as Pylint and Flake8 will correctly flag __unicode__ and __long__ as _undefined names_ because _compat.py does not currently follow the Python porting best practice [___use feature detection instead of version detection___](https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection).  This PR allows this project to pass those tests without adding any linter directives.
2019-01-25 09:44:29 +01:00
Carson Ip 74691fbe01 Fix typo in CHANGES.rst (#3077) 2019-01-18 09:13:13 +01:00
Hsiaoming Yang 33c89aab14
Merge pull request #3071 from bbbbx/master
fix the typo
2019-01-12 19:11:44 +09:00
venus 99ad1f3cae fix the typo 2019-01-12 14:51:04 +08:00
David Lord a74864ec22
Merge remote-tracking branch 'origin/1.0-maintenance' 2019-01-07 10:00:10 -08:00
David Lord ded7cbe429
Merge pull request #2986 from taion/do-not-handle-routing-exception
Do not handle RoutingExceptions with app error handlers
2019-01-07 09:58:32 -08:00
David Lord 662ce2151d
add changelog for GH-2986 2019-01-07 09:52:54 -08:00
Jimmy Jia b92b2e6c74
Do not handle RoutingExceptions with app error handlers 2019-01-07 09:01:37 -08:00
David Lord 38a391815b
Merge pull request #2934 from garenchan/bugfix-#2933
Fix issue #2933: Make sure the attachment filename is text type.
2019-01-07 07:22:59 -08:00
garenchan 40118e785f
Make sure the attachment filename is text type.
If attachment filename is bytes type and contains non-ascii coded bytes,
then the following ASCII encoding process will trigger
UnicodeDecodeError exception.

Fix issue #2933.
2019-01-07 07:17:33 -08:00
David Lord 4f32c6d4e3
Merge pull request #2957 from IgnasiBosch/2943-bytesio-partial-content
Fix #2943: Allow bytesio partial content
2019-01-07 07:02:02 -08:00
David Lord 366f3f49af
add changelog for GH-2957 2019-01-07 06:56:20 -08:00
Ignasi Bosch b570bf699c
Allow partial content on bytesio 2019-01-07 06:17:36 -08:00
David Lord 4f3dbb3f3b
Merge branch '1.0-maintenance' 2019-01-06 16:33:17 -08:00
David Lord 232e5c81bc
Merge pull request #2825 from eso31/fix-2824-issue
Fixes issue #2824 flask --version
2019-01-06 16:30:11 -08:00
David Lord a0ccc47780
clean up flask --version code 2019-01-06 16:24:05 -08:00
Dilan Coss 3fd51c65fb
add werkzeug to flask --version 2019-01-06 16:11:03 -08:00
David Lord ac6746d1be
Merge branch '1.0-maintenance' 2019-01-06 15:46:33 -08:00
David Lord 0f56c0cb04
Merge pull request #2964 from igortg/2907-docs-update-mongo-pattern
Docs: replace MongoKit by MongoEngine on docs
2019-01-06 15:43:14 -08:00
David Lord edef8cb38b
simplify mongoengine doc, redirect from mongokit 2019-01-06 15:42:08 -08:00
Igor Ghisi 4e280b4142
Replace MongoKit by MongoEngine on docs
Docs chapter "Patterns for Flask" has a section dedicated to MongoKit,
but MongoKit lib seems unmaintained and is not compatible with recent
versions of PyMongo.

This commit replaces MongoKit guide with a new one using MongoEngine.

Closes #2907
2019-01-06 15:12:53 -08:00
David Lord b2765893e6
Merge pull request #3067 from pallets/tutorial-flask-run
clarify where to call flask run from in tutorial
2019-01-06 15:11:30 -08:00
David Lord d6151340bc
clarify where to call flask run from in tutorial 2019-01-06 15:10:38 -08:00
David Lord 8dd8e9b2f3
Merge pull request #2970 from stepharr/patch-1
AJAX with jQuery: Adding conjunction where for clarification
2019-01-06 15:06:19 -08:00
Stephon Harris ab7f9e735f
Adding conjunction where for clarification 2019-01-06 15:05:54 -08:00
David Lord 7474a9cb8b
Merge pull request #2875 from nathanbegbie/patch-1
Update docs on larger applications WRT tutorial
2019-01-06 15:00:00 -08:00
nathanbegbie b8e461e3d1
Update docs on larger applications wrt tutorial
The wording of the docs makes it sound like the tutorials use the simple structure for a flask application, which they no longer do.
This commit re-words the docs to make it clearer.
2019-01-06 14:53:03 -08:00
David Lord 1e616696c0
Merge pull request #2918 from garenchan/docs2
Docs: fix some typos in config.rst
2019-01-06 14:51:55 -08:00
garenchan 5409606c3b
Docs: fix some typos in config.rst 2019-01-06 14:45:10 -08:00
David Lord 914a033586
Merge pull request #2854 from dougthor42/update-docs-to-be-more-clear-about-from_config-instantiation-#2853
Update docs to be more clear about from config instantiation
2019-01-06 14:43:17 -08:00
Douglas Thor 830c77cb44
document that Config.from_object uses object as-is 2019-01-06 14:34:05 -08:00
David Lord ff56126a45
Merge pull request #2913 from onovy/contributing-manifest
Install CONTRIBUTING.rst with MANIFEST.in
2019-01-06 10:51:51 -08:00
Ondřej Nový a0ac95cc53
Install CONTRIBUTING.rst with MANIFEST.in
Without CONTRIBUTING.rst filoe, documentation is not buildable:
docs/contributing.rst:1: WARNING: Problems with "include" directive path:
InputError: [Errno 2] No such file or directory: 'CONTRIBUTING.rst'.
2019-01-06 10:50:08 -08:00