Commit graph

3639 commits

Author SHA1 Message Date
David Lord
be980c8409 Merge pull request #3196 from jakseb/fix-docs-paren
Fix misplaced paren in docs
2019-05-16 08:28:58 -07:00
David Lord
10d4d0958b Merge pull request #3172 from vtbassmatt/enhance-azure-pipelines
add test output and a run against Python RC
2019-05-16 07:36:02 -07:00
David Lord
db87879060 Merge pull request #3096 from RyanSquared/master
helpers.py: Fix docs of url_for(..., _external=True)
2019-05-16 07:30:07 -07:00
RyanSquared
5298b35572 helpers.py: Fix docs of url_for(..., _external=True) 2019-05-16 06:54:20 -07:00
Sebastian Jakubiak
2ff41f0e48 Fix misplaced paren in docs 2019-05-13 22:22:40 +02:00
David Lord
15808685f2 Merge pull request #3191 from jaydarius/master
replace "otherwise" with "or" to complete the "either" statement in templates doc
2019-05-13 06:45:13 -07:00
jaydarius
b028b995ce use or to complete the either statement 2019-05-08 10:59:55 -04:00
David Baumgold
f5f021e593 Merge pull request #3183 from singingwolfboy/pre-commit
Pre-commit: Black
2019-05-06 16:34:46 -04:00
David Baumgold
85ce588b3b Reformat with black
https://github.com/python/black
2019-05-06 16:28:58 -04:00
David Baumgold
64e3cdda48 Set up pre-commit to run black
Call it automatically via tox
2019-05-06 16:28:54 -04:00
David Baumgold
16b78e3d62 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
3dd82e8939 Merge pull request #3178 from LindsayYoung/patch-1
Create CODE_OF_CONDUCT.md
2019-05-06 13:46:38 -04:00
Lindsay Young
5bd3320e03 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
3b6d1ecd24 fix RST line too long 2019-05-06 11:11:32 -04:00
David Lord
5649b888c2 Merge pull request #3173 from pwlandoll/1.0-maintenance
Add link to official Discord chat server
2019-05-06 10:49:29 -04:00
Peter Landoll
105cc0ae94 Add link to official Discord chat server 2019-05-06 09:39:25 -04:00
Matt Cooper
1c3242c734 make a "future" toxenv 2019-05-04 20:46:33 -04:00
Matt Cooper
069d2a90f5 do an allowed-failure the right way 2019-05-04 20:29:08 -04:00
Matt Cooper
0140c22c51 try moving junit into tox.ini 2019-05-04 16:59:10 -04:00
Matt Cooper
7c1ba5f02a add test output and a run against Python RC 2019-05-04 16:24:13 -04:00
David Lord
31091f5fa1 Set up Azure Pipelines (#3170)
initial Azure Pipelines setup
2019-05-04 10:51:57 -04:00
Matt Cooper
b86631685c one more todo 2019-05-04 10:40:10 -04:00
Matt Cooper
ceac23d7e6 remove unsupported Python 2019-05-04 10:22:29 -04:00
Matt Cooper
87475f9357 add TODOs 2019-05-04 10:19:50 -04:00
Matt Cooper
cb35a18772 initial Azure Pipelines setup 2019-05-04 09:45:20 -04:00
David Lord
dea71a8ea2 Merge pull request #3155 from zabbal/master
Bump Jinja2 requirements
2019-04-15 11:28:17 -07:00
Max
59a2f1ec93 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
26d79e5632 Merge pull request #3150 from greyli/fix-route-defaults-doc
[Doc] Fix typo in code example for route defaults
2019-04-11 19:11:21 -07:00
Grey Li
e4f8be4ee5 Fix typo in URL defaults example 2019-04-12 09:45:58 +08:00
David Lord
cb22dc8cc2 Merge pull request #3113 from greyli/improve-doc-quickstart
doc: Improve description for valid view func return value
2019-03-06 05:40:22 -08:00
Grey Li
89a3e0c915 doc: Improve description for valid view func return value
* improve wording.
* remove unnecessary spaces.
2019-03-06 10:34:21 +08:00
David Lord
0a2f289c40 Merge pull request #3103 from tbm/typos
Fix typos in the documentation
2019-02-24 06:33:44 -08:00
Martin Michlmayr
93f03eabbb Fix typos in the documentation 2019-02-24 10:40:23 +00:00
David Lord
58783c8a5e Merge pull request #3101 from tbm/docs-formatting
Fix formatting issue in quickstart guide
2019-02-22 16:32:12 -08:00
Martin Michlmayr
534bad66d8 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
2f594dd1d6 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
492dce3144 _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
0e8a571fbe Fix typo in CHANGES.rst (#3077) 2019-01-18 09:13:13 +01:00
venus
3736f27760 fix the typo 2019-01-12 21:42:06 +09:00
Hsiaoming Yang
4c54d0dcca Merge pull request #3071 from bbbbx/master
fix the typo
2019-01-12 19:11:44 +09:00
venus
b86b63e435 fix the typo 2019-01-12 14:51:04 +08:00
David Lord
edd969e613 Merge pull request #3068 from pallets/method-override-encoding
remove encoding from method override pattern
2019-01-07 13:20:00 -08:00
David Lord
091ada7da3 remove encoding from method override pattern 2019-01-07 13:09:36 -08:00
David Lord
39e9ebaaee Merge remote-tracking branch 'origin/1.0-maintenance' 2019-01-07 10:00:10 -08:00
David Lord
97e09989a9 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
83fb602af7 add changelog for GH-2986 2019-01-07 09:52:54 -08:00
Jimmy Jia
9d6e51476e Do not handle RoutingExceptions with app error handlers 2019-01-07 09:01:37 -08:00
David Lord
5797f95a45 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
0b182de99a 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
245849518c Merge pull request #2957 from IgnasiBosch/2943-bytesio-partial-content
Fix #2943: Allow bytesio partial content
2019-01-07 07:02:02 -08:00