Commit graph

3421 commits

Author SHA1 Message Date
David Lord
dbd4520ccb
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
6369537a49
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
45b2e7702d Guard against missing request context in logging docs. 2019-05-31 14:54:03 -04:00
David Lord
99660cc409
release version 1.0.3 2019-05-17 10:57:51 -07:00
David Lord
3dc84ec460
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
a4f0f19796
don't push app context for test client json 2019-05-17 09:00:08 -07:00
David Lord
f2c854060a
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
e2f4b53396
Fix dev-server warning message readability (#3168) 2019-05-16 19:03:08 -07:00
David Lord
ab3f922533
Merge pull request #3154 from brunoais/more-explicit-session-transaction
More explicit explanation: session testing
2019-05-16 18:17:45 -07:00
brunoais
6142aa64ae
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
55801b5653
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
ac78da0bb0
removed unused reference to url_join 2019-05-16 17:47:14 -07:00
David Lord
814a7ea96f
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
84f8e1634f
azure pipelines ci on 1.0.x branch 2019-05-16 14:32:21 -07:00
David Lord
ded0f68c16
Merge pull request #3199 from alecbrooks/master
Fix various small spelling errors.
2019-05-16 11:54:34 -07:00
A Brooks
4e272fc042
Fix various small spelling errors. 2019-05-16 11:50:10 -07:00
David Lord
7f782ba84e
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
0df2620c5f
update docs on gunicorn deploy and app discovery 2019-05-16 10:45:03 -07:00
David Lord
00ca5b7328
Merge pull request #3159 from abhinavsagar/updatedoc
Improved CONTRIBUTING.rst
2019-05-16 10:23:17 -07:00
David Lord
e61fd5f6cb
add instructions for bug and feature branches 2019-05-16 10:22:21 -07:00
Abhinav
c2b4b745e9
add more git commands to contributing doc 2019-05-16 10:22:01 -07:00
David Lord
8609b7d840
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
994cd1db33
replaced deprecated sample code in proxy-setup docs 2019-05-16 09:54:49 -07:00
David Lord
bbedd64540
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
e5b0fe6841
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
David Lord
eadb99eb93
Merge pull request #3137 from Abdur-rahmaanJ/patch-2
Update CONTRIBUTING.rst discord link + style info
2019-05-16 09:48:59 -07:00
David Lord
5e41e409bc
fix discord link, clean up 2019-05-16 09:47:56 -07:00
Abdur-Rahmaan Janhangeer
62fe1563ad
Update CONTRIBUTING.rst 2019-05-16 09:43:51 -07:00
David Lord
4091013ee1
Merge pull request #3118 from JBonser/master
Fix code snippet in config.rst for env vars Fixes #3117
2019-05-16 08:52:23 -07:00
jordan bonser
800c744fe7
improve env vars config example 2019-05-16 08:48:34 -07:00
David Lord
b765e0db50
Merge pull request #3196 from jakseb/fix-docs-paren
Fix misplaced paren in docs
2019-05-16 08:28:58 -07:00
David Lord
c88e4634a5
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
d23b160e6d
helpers.py: Fix docs of url_for(..., _external=True) 2019-05-16 06:54:20 -07:00
Sebastian Jakubiak
205c943ded Fix misplaced paren in docs 2019-05-13 22:22:40 +02:00
David Lord
a07c60af0a
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
29a47ae6ea Add link to official Discord chat server 2019-05-06 09:39:25 -04:00
David Lord
42b67a1f95
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
4df7b220fa Fix typo in URL defaults example 2019-04-12 09:45:58 +08:00
David Lord
5cb4b73167
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
d838f1c918 doc: Improve description for valid view func return value
* improve wording.
* remove unnecessary spaces.
2019-03-06 10:34:21 +08:00
venus
8c979698bd fix the typo 2019-01-12 21:42:06 +09:00
David Lord
d7a1b0157a
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
2c29495e6d
remove encoding from method override pattern 2019-01-07 13:09:36 -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
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