Commit graph

3465 commits

Author SHA1 Message Date
David Lord
3b45b82ec2
Merge branch '1.0-maintenance' 2019-01-06 10:36:54 -08:00
David Lord
a656025c3b
Merge pull request #3065 from pallets/fedora
use "-m virtualenv" in installation doc
2019-01-06 10:34:52 -08:00
David Lord
10d0ed68a3
Merge pull request #3056 from tirkarthi/fix-syntax-warning
Fix syntax warning in docstring
2019-01-06 10:25:47 -08:00
David Lord
40e064fa27
use "-m virtualenv" in installation doc 2019-01-06 10:25:16 -08:00
xtreak
b85425ac1b
remove syntax warning from docstring 2019-01-06 10:17:58 -08:00
David Lord
717f9d33ca
Merge pull request #3054 from tirkarthi/fix-py37-warnings
Fix DeprecationWarning on collections import in flask.sessions
2019-01-06 10:09:18 -08:00
xtreak
e4ebbd3f5b
Fix DeprecationWarning on collections import 2019-01-06 10:04:00 -08:00
David Lord
c9245609f4
Merge pull request #3051 from ExplodingCabbage/tojson-docs-fixes
[Docs] Improve tojson docs (additions, clarifications, & fixes)
2019-01-06 09:54:59 -08:00
Mark Amery
24325ecb69
Clarify and add detail to tojson docs
Fix some confusing and obsolete prose.
2019-01-06 09:44:09 -08:00
David Lord
6606f66857
Merge pull request #3049 from RohanTalip/scriptinfo-typo
Corrected a typo in a docstring: "Help object" --> "Helper object"
2019-01-06 09:16:29 -08:00
Rohan Talip
02df042416
Corrected a typo in a docstring: "Help object" --> "Helper object" 2019-01-06 09:10:28 -08:00
David Lord
aef4159588
Merge pull request #3031 from jseldess/fix-typos
Fix typos found while completing the Flask tutorial
2019-01-06 08:11:39 -08:00
Jesse Seldess
90aef1b2cf
Fix typos found while completing the Flask tutorial 2019-01-06 08:01:45 -08:00
David Lord
446cea9221
Merge pull request #3044 from garenchan/ci-test
Add Python 3.7 to CI.
2019-01-06 08:00:23 -08:00
David Lord
8a14c6d67d
use specific pypy versions for travis xenial
remove 3.6 from appveyor, reduce in tox
remove deprecated travis feature "sudo: false"
split docs and devel,lowest travis envs
remove osx py2 env in attempt to finish faster
move travis matrix to python key
2019-01-06 07:52:03 -08:00
garenchan
deb211cf13
Add Python 3.7 to CI. 2019-01-06 07:09:11 -08:00
David Lord
7e65f1c5f1
Merge pull request #3019 from colincadams/patch-2
Clarify prefixing of urls for blueprint endpoints
2019-01-06 07:07:59 -08:00
Colin Adams
4f638b9c28
Clarify prefixing of URLs for blueprint endpoints
Clarify that endpoint names are prefixed by the name of the blueprint,
but the URL is not automatically prefixed.
2019-01-06 06:58:38 -08:00
David Lord
80f14e30a2
Merge pull request #3011 from greyli/improve-cli-help-text
Use imperative tense for CLI help text
2019-01-06 06:38:14 -08:00
Grey Li
d0ceb16be9
Use imperative tense for CLI help text 2019-01-06 06:31:57 -08:00
David Lord
b78ebacca7
Merge pull request #2996 from alysivji/spa-docs
[Docs] Add Single-Page Web Application pattern
2019-01-06 06:26:07 -08:00
Aly Sivji
2b74cf9f2d
Add SPA pattern to docs 2019-01-06 06:19:55 -08:00
David Lord
4d37acad21
Merge pull request #3059 from mattrobenolt/fspath
Add support for PathLike objects in static file helpers
2019-01-05 15:44:53 -08:00
Matt Robenolt
25de45cbb6
Add support for PathLike objects in static file helpers
See: https://www.python.org/dev/peps/pep-0519/

This is mostly encountered with pathlib in python 3, but this API
suggests any PathLike object can be treated like a filepath with
`__fspath__` function.
2019-01-05 15:23:47 -08:00
David Lord
f7d50d4b67
Merge branch '1.0-maintenance' 2019-01-05 15:12:17 -08:00
David Lord
15c079f500
Merge pull request #3063 from pallets/key-error
clear KeyError in production for Werkzeug 0.15
2019-01-05 15:07:06 -08:00
David Lord
1096e226cc
Merge pull request #3064 from pallets/docs-fix
fix docs build
2019-01-05 15:06:41 -08:00
David Lord
8b567fea23
fix docs build 2019-01-05 14:59:25 -08:00
David Lord
49efc44233
clear KeyError in production for Werkzeug 0.15 2019-01-05 12:49:59 -08:00
David Lord
afb7e4ee5f
Merge pull request #3062 from EJEP/master
Add comment about using factory function in __init__.py
2019-01-04 14:35:14 -08:00
Emlyn Price
5e07e3a6ad Add comment about using factory function in __init__.py 2019-01-04 22:12:53 +00:00
David Lord
62621ba0fd
Merge pull request #3041 from obestwalter/patch-1
Fix typo in class name
2018-12-21 06:47:39 -08:00
Oliver Bestwalter
d8400d7cac
Fix typo in class name 2018-12-21 15:36:58 +01:00
David Lord
f2dd7eff8e
Merge pull request #3021 from CasterWxBlog/master
add classifiers
2018-12-08 11:20:27 -08:00
CasterWx
2611632c69 add classifiers 2018-12-08 12:45:20 +08:00
Hsiaoming Yang
d5665e4ba6
Merge pull request #2917 from garenchan/docs1
Docs: fix some errors in errorhandling.rst
2018-11-28 22:25:21 +09:00
David Lord
877da63462
Merge pull request #2993 from data-get/update-cache-documentation
Update documentation for users to use flask-caching instead of Werkzeug cache
2018-11-13 14:09:31 -05:00
David Lord
dcc02d6e7d
Merge pull request #2976 from cykerway/master
Fix inconsistency in testing doc.
2018-11-13 14:06:12 -05:00
Andrew Crouse
aec0cdc016
Update documentation for users to use flask-caching instead of the deprecated Werkzeug cache 2018-11-13 14:03:27 -05:00
David Lord
ca23b7b406
Merge pull request #2994 from jarek/werkzeug-640-exceptions-during-bind
Handle errors during create_url_adapter
2018-11-13 13:55:35 -05:00
Jarek Piórkowski
a5709e7850 Add changelog entry 2018-11-13 13:40:50 -05:00
Jarek Piórkowski
9b0bd91195 Correct tests
We've discovered that passing Unicode in Host actually works, except for
test client limitations on Python 2 - and the only things that don't
work are non-printable characters.
2018-11-13 13:09:16 -05:00
Jarek Piórkowski
ed9775fb77 Handle errors during create_url_adapter
If create_url_adapter raises (which it can if werkzeug cannot bind
environment, for example on non-ASCII Host header), we handle it as
other routing exceptions rather than raising through.

ref https://github.com/pallets/werkzeug/issues/640
2018-11-12 16:59:09 -05:00
Markus Unterwaditzer
339419117f
Fixes for sentry docs (#2991) 2018-11-07 21:04:10 +01:00
Adam Walsh
3bf80912cf Update sentry error handling documentation (#2990)
- Change examples to use the Sentry Python SDK: `sentry-sdk`
- Removed the app factory pattern example
- Added a custom exception handling example
2018-11-07 20:25:52 +01:00
Dave Chevell
e08bcf9f97 Fix #2935: Copy current session object in copy_current_request_context (#2936)
Add session to RequestContext.copy()
2018-11-03 20:32:24 -07:00
Cyker Way
43e2d7518d Fix inconsistency in testing doc. 2018-10-29 20:53:39 -04:00
David Lord
7e714bd28b
Merge pull request #2969 from codeaditya/update-links
Use https for external links wherever possible
2018-10-27 13:56:09 -07:00
Aditya
f05625eb82 Use https for external links wherever possible 2018-10-27 17:58:45 +05:30
David Lord
f7e7f2ab11
Merge pull request #2966 from jangjunha/fix-doc-deferredcallbacks
Docs: Fix deferredcallbacks.rst
2018-10-25 08:54:52 -07:00