Commit graph

3698 commits

Author SHA1 Message Date
David Lord
df470aecb9
use app.name as app.logger name 2019-07-01 14:56:18 -07:00
David Lord
465da9f610
Merge branch '1.0.x' 2019-07-01 11:57:00 -07:00
David Lord
cf4923bf58
Merge pull request #3274 from abhinavsagar/patch-1
Fix typo
2019-07-01 11:31:48 -07:00
Abhinav Sagar
3aff003c45
Update cli.py 2019-07-01 11:01:01 -07:00
David Lord
b05a685a03
Merge branch '1.0.x' 2019-07-01 10:54:31 -07:00
David Lord
043443d2d3
Merge pull request #3278 from asottile/importlib_spec
Fixes for PEP451 import loaders and pytest 5.x
2019-07-01 10:47:33 -07:00
Anthony Sottile
a5ecdfa7a5
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
afd6250bab
Merge branch '1.0.x' 2019-07-01 09:52:06 -07:00
David Lord
b9c2267272
fix tests link 2019-07-01 09:49:40 -07:00
David Lord
5a04590e9c
Merge pull request #3281 from asottile/utf8_changes
Make the changelog UTF-8 compatible
2019-07-01 09:38:43 -07:00
Anthony Sottile
ac302fb607 Make the changelog UTF-8 compatible 2019-07-01 07:36:20 -07:00
David Lord
2675076cb7
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
54cbb4e642
send_file quotes ":/" in UTF-8 filename 2019-06-27 07:55:22 -07:00
David Lord
2a2134974c
Merge branch '1.0.x' 2019-06-26 14:46:10 -07:00
David Lord
6ed68f015a
Merge pull request #3272 from pallets/keyerror
don't clear BadRequestKeyError args
2019-06-26 14:43:36 -07:00
David Lord
871e6d6a9d
don't clear BadRequestKeyError args 2019-06-26 14:34:03 -07:00
David Lord
1351d0a565
Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
dbe51dc09d
remove union merge attr 2019-06-23 16:25:40 -07:00
David Lord
31d3c7e719
Merge pull request #3270 from pallets/metadata
update project metadata
2019-06-23 15:43:47 -07:00
David Lord
cb6272ccc8
fix docks linkcheck 2019-06-23 15:37:51 -07:00
David Lord
28b35c55a1
update docs config 2019-06-23 12:27:25 -07:00
David Lord
7d77958000
use sphinx-issues, rewrap changelog 2019-06-23 12:25:38 -07:00
David Lord
24498afed5
standardize project metadata 2019-06-22 13:10:50 -07:00
David Lord
e666f7a69c
standardize license and copyright 2019-06-22 13:09:09 -07:00
David Lord
6cd92ebc32
Merge pull request #3269 from pallets/command-name
use dashes for command names
2019-06-21 09:07:05 -07:00
David Lord
146df0f9e8
use dashes for command names 2019-06-21 08:47:27 -07:00
David Lord
185d7cbab2
Merge pull request #3266 from pallets/internal-server-error-type
always pass InternalServerError instance to 500 handler
2019-06-21 08:33:59 -07:00
David Lord
54519ef028
document behavior of very generic error handlers 2019-06-21 08:22:35 -07:00
David Lord
9054f6d639
always pass InternalServerError instance to 500 handler 2019-06-19 14:52:25 -07:00
David Lord
2fa30f6a9e
Merge pull request #3104 from eladm26/adding_models_converter
moving match_request to RequestContext.push to enable ModelConverter
2019-06-13 12:46:53 -07:00
David Lord
c65863912b
move url matching after opening session 2019-06-13 12:40:01 -07:00
Elad Moshe
1ff98a2d21
wait until app ctx is ready before matching url
`RequestContext.match_request` is moved from `__init__` to `push`. This
causes matching to happen later, when the app context is available.
This enables URL converters that use things such as the database.
2019-06-13 08:32:23 -07:00
David Lord
d5fea5fa1d
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
6ec98f0749
reword _get_exc_class_and_code docstring 2019-06-12 14:09:57 -07:00
aligoren
d8d74b0cc8
document _get_exc_class_and_code params 2019-06-12 14:08:45 -07:00
David Lord
53f5fd234b
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
571b9f54e7
reword Blueprint class docstring 2019-06-12 14:01:49 -07:00
vdanain
b89bf9e6d7
document Blueprint params 2019-06-12 12:09:01 -07:00
David Lord
f7f1d9de3d
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
4b519f0e33
reword api error section 2019-06-12 11:02:53 -07:00
Logan Wright
7bc965fada
adds api error handling documentation 2019-06-12 10:54:12 -07:00
David Lord
29111a3259
Merge branch '1.0.x' 2019-06-12 10:41:11 -07:00
David Lord
8a7d080085
remove codecov 2019-06-12 10:35:35 -07:00
David Lord
46a67b6789
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
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
d4b688bd03
Merge pull request #3247 from pallets/join-strings
fix string concats left over by black
2019-06-01 12:28:29 -04:00
David Lord
53c893b646
fix string concats left over by black 2019-06-01 09:22:20 -07:00
David Lord
3db4697959
Merge pull request #3246 from pallets/reorder-imports
apply reorder-python-imports pre-commit config
2019-06-01 12:12:49 -04:00
David Lord
43483683b2
apply reorder-python-imports pre-commit config 2019-06-01 09:07:20 -07:00
David Lord
ab8d60d826
Merge pull request #3245 from pallets/src-dir
move to src directory
2019-06-01 11:10:33 -04:00