Commit graph

3446 commits

Author SHA1 Message Date
Anthony Sottile
f65c6d3860 Fixes for PEP451 import loaders and pytest 5.x
- pytest 5.x drops python2 compatibility and therefore only implements PEP 451
- pytest 5.x made the repr of `ExcInfo` less confusing (fixed tests depending
  on the old format)
2019-07-01 10:43:06 -07:00
David Lord
f309813e9a fix tests link 2019-07-01 09:49:40 -07:00
David Lord
e6739672af Merge pull request #3273 from pallets/utf8-filename
send_file quotes ":/" in UTF-8 filename
2019-06-27 08:04:31 -07:00
David Lord
158db956a3 send_file quotes ":/" in UTF-8 filename 2019-06-27 07:55:22 -07:00
David Lord
cd64be524b Merge pull request #3272 from pallets/keyerror
don't clear BadRequestKeyError args
2019-06-26 14:43:36 -07:00
David Lord
23881398e3 don't clear BadRequestKeyError args 2019-06-26 14:34:03 -07:00
David Lord
c627ca003c Merge pull request #3270 from pallets/metadata
update project metadata
2019-06-23 15:43:47 -07:00
David Lord
363741ec69 fix docks linkcheck 2019-06-23 15:37:51 -07:00
David Lord
fd0f91a1fb update docs config 2019-06-23 12:27:25 -07:00
David Lord
9e7c91115c use sphinx-issues, rewrap changelog 2019-06-23 12:25:38 -07:00
David Lord
e861ae276b standardize project metadata 2019-06-22 13:10:50 -07:00
David Lord
e066e9f9e3 standardize license and copyright 2019-06-22 13:09:09 -07:00
David Lord
e979edd5e4 Merge pull request #3269 from pallets/command-name
use dashes for command names
2019-06-21 09:07:05 -07:00
David Lord
ea0968869b use dashes for command names 2019-06-21 08:47:27 -07:00
David Lord
d01a9c233c Merge pull request #3253 from aligoren/document-get-exc-class-and-code
Added :param to the _get_exc_class_and_code method docstring
2019-06-12 14:10:42 -07:00
David Lord
883fe27f04 reword _get_exc_class_and_code docstring 2019-06-12 14:09:57 -07:00
aligoren
3e1c17bd2a document _get_exc_class_and_code params 2019-06-12 14:08:45 -07:00
David Lord
bd3c45317f Merge pull request #3248 from Vicolatope/document-blueprint-parameters
Added :param to the Blueprint concstructor docstring
2019-06-12 14:02:56 -07:00
David Lord
c12a101438 reword Blueprint class docstring 2019-06-12 14:01:49 -07:00
vdanain
2f5e59d46d document Blueprint params 2019-06-12 12:09:01 -07:00
David Lord
631f98657e Merge pull request #3260 from LBWright/error-handling
adds api error handling example to documentation
2019-06-12 11:07:04 -07:00
David Lord
3ab901146c reword api error section 2019-06-12 11:02:53 -07:00
Logan Wright
bd6111273b adds api error handling documentation 2019-06-12 10:54:12 -07:00
David Lord
bc5269e5da remove codecov 2019-06-12 10:35:35 -07:00
David Lord
2d993a78bf Merge pull request #3261 from pallets/fix-server-name-warnings
fix tests failing with server name warnings
2019-06-12 08:17:25 -07:00
David Lord
090bc4470e fix tests failing with server name warnings
After pallets/werkzeug#1577, mismatched configured and real server
names will show a warning in addition to raising 404. This caused
tests that did this deliberately to fail.

This patch removes the pytest fixture we were using to fail on
warnings, instead using the standard `-Werror` option. This speeds
up the tests by ~3x.
2019-06-10 14:05:33 -07:00
David Lord
c194cd7b5d Merge pull request #3243 from DiegoAlbertoTorres/docs
Guard against missing request context in logging docs.
2019-05-31 16:47:32 -04:00
Diego Alberto Torres Quintanilla
d296df03c2 Guard against missing request context in logging docs. 2019-05-31 14:54:03 -04:00
David Lord
92785ead80 release version 1.0.3 2019-05-17 10:57:51 -07:00
David Lord
5425b0c2eb Merge pull request #3206 from pallets/test-client-json
don't push app context for test client json
2019-05-17 09:04:37 -07:00
David Lord
8a431d4342 don't push app context for test client json 2019-05-17 09:00:08 -07:00
David Lord
f2df578d41 Merge pull request #3169 from DamianSkrzypczak/3168-improve-warning-about-dev-server-use-in-production
Fix dev-server warning message readability (#3168)
2019-05-16 19:23:19 -07:00
DamianSkrzypczak
975ede3628 Fix dev-server warning message readability (#3168) 2019-05-16 19:03:08 -07:00
David Lord
40d67dfc17 Merge pull request #3154 from brunoais/more-explicit-session-transaction
More explicit explanation: session testing
2019-05-16 18:17:45 -07:00
brunoais
b7bac12723 More explicit explanation: session testing
Use a more explicit explanation on how to write code to test own code
when sessions are needed.
The previous code was not fully explicit that the client is supposed
to be called after the session transaction and not during.
2019-05-16 18:07:18 -07:00
David Lord
81b0d5dfe8 Merge pull request #3166 from mekarpeles/refactor/unused-url_join
removed unused reference to url_join
2019-05-16 17:56:30 -07:00
Michael E. Karpeles
4918fe2903 removed unused reference to url_join 2019-05-16 17:47:14 -07:00
David Lord
a9028832f5 Merge pull request #3204 from pallets/azure
azure pipelines ci on 1.0.x branch
2019-05-16 17:32:45 -07:00
David Lord
6a8c1eeb6c azure pipelines ci on 1.0.x branch 2019-05-16 14:32:21 -07:00
David Lord
a40eccbe0f Merge pull request #3199 from alecbrooks/master
Fix various small spelling errors.
2019-05-16 11:54:34 -07:00
A Brooks
651692c1a1 Fix various small spelling errors. 2019-05-16 11:50:10 -07:00
David Lord
04caad0257 Merge pull request #3162 from chivalry/gunicorn-discovery-docs-update
Update documentation on gunicorn deployment and app discovery
2019-05-16 10:45:50 -07:00
Charles Ross
4f3dd3183f update docs on gunicorn deploy and app discovery 2019-05-16 10:45:03 -07:00
David Lord
4e6467a51e Merge pull request #3159 from abhinavsagar/updatedoc
Improved CONTRIBUTING.rst
2019-05-16 10:23:17 -07:00
David Lord
b572779136 add instructions for bug and feature branches 2019-05-16 10:22:21 -07:00
Abhinav
daebc9ceda add more git commands to contributing doc 2019-05-16 10:22:01 -07:00
David Lord
b0d0e6206d Merge pull request #3142 from Tom-McDonald/3139-alter-deprecated-docs
Replaced deprecated sample code in proxy-setup docs
2019-05-16 09:55:30 -07:00
Tom-McDonald
406df032bc replaced deprecated sample code in proxy-setup docs 2019-05-16 09:54:49 -07:00
David Lord
6e37033282 Merge pull request #3129 from adamchainz/fix_html_injection
Fix some HTML injection paths in examples
2019-05-16 09:52:13 -07:00
Adam Johnson
00b94d76d5 Fix some HTML injection paths in examples
These are unlikely to be copy-pasted by users but it's best practice to avoid it and other examples do.
2019-05-16 09:50:58 -07:00