Commit graph

3691 commits

Author SHA1 Message Date
David Lord
7b4f294465 Merge branch '1.0.x' 2019-07-01 09:52:06 -07:00
David Lord
f309813e9a fix tests link 2019-07-01 09:49:40 -07:00
David Lord
ff4f38bdda Merge pull request #3281 from asottile/utf8_changes
Make the changelog UTF-8 compatible
2019-07-01 09:38:43 -07:00
Anthony Sottile
8c68190ed0 Make the changelog UTF-8 compatible 2019-07-01 07:36:20 -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
8c5c7939a2 Merge branch '1.0.x' 2019-06-26 14:46:10 -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
ff0c92a1c7 Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
7a503ef367 remove union merge attr 2019-06-23 16:25:40 -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
2143807952 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
08404e8cd0 document behavior of very generic error handlers 2019-06-21 08:22:35 -07:00
David Lord
6b4ca46a4a always pass InternalServerError instance to 500 handler 2019-06-19 14:52:25 -07:00
David Lord
c909a7900e 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
4d904d4f29 move url matching after opening session 2019-06-13 12:40:01 -07:00
Elad Moshe
26cde0536c 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
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
43f66251ad Merge branch '1.0.x' 2019-06-12 10:41:11 -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
21854b19d9 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
2cf5d51523 fix string concats left over by black 2019-06-01 09:22:20 -07:00
David Lord
f2d8721428 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
e66fe2e8e7 apply reorder-python-imports pre-commit config 2019-06-01 09:07:20 -07:00
David Lord
84520f810d Merge pull request #3245 from pallets/src-dir
move to src directory
2019-06-01 11:10:33 -04:00
David Lord
ed989713f7 move to src directory 2019-06-01 08:06:16 -07:00
David Lord
65b453b692 Merge remote-tracking branch 'origin/1.0.x' 2019-06-01 06:53:29 -07:00
David Lord
2e7b83529a Merge pull request #3241 from jon-stumpf/jss-updates
Add pre-commit config for flake8
2019-06-01 09:36:23 -04:00
Jon S. Stumpf
4dc9c68d19 address flake8 issues 2019-06-01 06:31:35 -07:00
Jon S. Stumpf
8577b347a7 add pre-commit config for flake8 2019-06-01 09:13:46 -04:00
David Lord
d6b3e5eccf Merge pull request #3244 from paulgb/master
Clarify documentation about how url_for uses configuration values (#2759)
2019-06-01 08:59:01 -04:00
David Lord
9225e16709 Merge pull request #3242 from cslecrone/3211-ssl-import
"#3211: Don't require ssl module"
2019-06-01 08:57:06 -04:00