Commit Graph

4367 Commits

Author SHA1 Message Date
Nate McMaster f9c309dd71
Merge branch 'release/2.2' 2018-08-28 11:03:48 -07:00
Nate McMaster 10e1b619c3
Merge branch 'release/2.1' into release/2.2 2018-08-28 10:27:03 -07:00
Nate McMaster 5a4fd3e792
Bumping version from 2.1.2 to 2.1.3 2018-08-28 09:07:51 -07:00
James Newton-King 27d94f078a
Merge release/2.2 2018-08-28 13:46:29 +12:00
Ryan Nowak 0fcf2448c3 Fix aspnet/Routing#722
Exposes a separate change token that will be triggered after action
descriptors have been updated.
2018-08-27 17:24:21 -07:00
Doug Bunting 501df09fd6
Merge remote-tracking branch 'origin/release/2.1' into release/2.2 2018-08-27 16:26:05 -07:00
James Newton-King 8ed9d0aac2
Use Endpoint instead of RouteEndpoint where possible (#8331) 2018-08-28 11:00:11 +12:00
Ryan Nowak a634f6b116 add another test 2018-08-27 15:34:37 -07:00
Ryan Nowak cb0627b28a Addressing a skipped test
I think something that was meant to be revisited in a PR got left
behing. I found this while fixing aspnet/Routing#772 and it seems worth
addressing.

This change removes the hardcoding of action/controller/area in the
data source, and corrects the behavior of required route values when
they aren't in that set.
2018-08-27 15:34:37 -07:00
ASP.NET CI a40ceec73c Update dependencies.props
[auto-updated: dependencies]
2018-08-26 19:23:17 +00:00
Pranav K 5e70fa1f6b
Merge remote-tracking branch 'origin/release/2.2' 2018-08-24 14:20:18 -07:00
Pranav K a7301120b1
Unwrap filter factories in TypeFilterAttribute & ServiceFilterAttribute
Fixes #7855
2018-08-24 14:15:40 -07:00
Javier Calvarro Nelson dfb579d45c [Fixes #8021] Copy the request headers before sending the request on the RedirectHandler
If another handler modifies the request headers the modified headers get
applied on subsequent requests, which is not correct. This change copies
the headers before sending the request and uses the original headers for
the redirect request instead of the potentially modified ones.
2018-08-23 16:09:05 -07:00
Pranav K 8eea0ad44c Update tests to latest compat switch 2018-08-23 08:09:02 -07:00
James Newton-King d881ec178f
Merge release/2.2 2018-08-23 22:05:15 +12:00
James Newton-King e2de54a92d
Update MvcEndpointDataSource to use RoutePattern (#8249) 2018-08-23 21:42:42 +12:00
James Newton-King e2695674df
Merge branch 'merge/release/2.2-to-master' 2018-08-23 10:55:40 +12:00
James Newton-King 03da30f3bf
Replace remaining references to global routing (#8312) 2018-08-23 10:23:29 +12:00
James Newton-King f34634f9a4
Merge release/2.2 2018-08-22 20:18:54 +12:00
James Newton-King cbe1526763
React to routing changes (#8303) 2018-08-22 17:15:09 +12:00
Pranav K 5bd818bd64
Introduce ProblemDetailsFilter
Fixes https://github.com/aspnet/Mvc/issues/6786
2018-08-21 17:29:12 -07:00
N. Taylor Mullen 9e46cb5936 Merge branch 'release/2.2'
# Conflicts:
#	version.props
2018-08-21 15:08:31 -07:00
N. Taylor Mullen f624c9aa7b Add flaky test logging for `CacheTagHelper_VaryByCultureComposesWithOtherVaryByOptions`.
#8281
2018-08-21 15:07:31 -07:00
ASP.NET CI ea681786bd Update package branding for 2.2.0-preview2 2018-08-21 13:33:51 -07:00
ASP.NET CI c1fc38a3e8 Update dependencies.props
[auto-updated: dependencies]
2018-08-19 19:23:35 +00:00
Pranav K 3c6ae4542e
Merge remote-tracking branch 'origin/release/2.2'
# Conflicts:
#	build/dependencies.props
#	korebuild-lock.txt
2018-08-16 15:13:24 -07:00
Pranav K 522006d2c8
[Design] Add a MaxValidationDepth option to ValidationVisitor
Fixes #7357
2018-08-16 15:01:18 -07:00
Pranav K af770ede87 Ignore parameters that specify a model binder type 2018-08-15 12:12:04 -07:00
Ryan Brandenburg 200a70bb86 Update doc comments 2018-08-15 11:42:50 -07:00
Pranav K 7e25d7908a
Warn when the parameter name for a model bound complex parameter has the same name as a top level property
Fixes #7753
2018-08-14 15:44:48 -07:00
kishanAnem 5e20c313d9
Array or List in query string does not get parsed #7712 (#7967)
- exclude collections when detecting complex types in `ApiBehaviorApplicationModelProvider`
- add test cases
2018-08-14 12:06:27 -07:00
Mikael Mengistu 92f1dbe16c
Remove AppVeyor badge from README (#8271) 2018-08-14 10:36:57 -07:00
Kristian Hellang 2421ae8c83 Add IStatusCodeActionResult (#8265)
* Add IStatusCodeActionResult
* Add unit test for explicitly implemented property on StatusCodeResult
2018-08-13 15:39:20 -07:00
ASP.NET CI 6bd94095f7 Update dependencies.props
[auto-updated: dependencies]
2018-08-12 20:08:50 +00:00
ASP.NET CI 93d9c11778 Update dependencies.props
[auto-updated: dependencies]
2018-08-12 19:22:44 +00:00
Doug Bunting 60b9e5d6af
Merge pull request #8257 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-08-11 13:44:29 -07:00
Doug Bunting 1cae9b2658
Merge pull request #8256 from SIkebe/fix-locale-sensitive-unit-tests
Fix locale sensitive unit tests
2018-08-11 13:01:42 -07:00
Pranav K 050993ed92
Merge remote-tracking branch 'origin/release/2.2'
# Conflicts:
#	build/dependencies.props
2018-08-10 11:17:26 -07:00
Ikebe Shodai 253ac7c143 Ignore line ending diff 2018-08-10 11:09:49 -07:00
Ikebe Shodai b78063d2d4 Fix locale sensitive unit tests 2018-08-11 02:53:52 +09:00
Pranav K 9da8e2c908 Ensure UnsupportedContentTypeFilter runs before ModelStateInvalidFilter
Both UnsupportedContentTypeFilter and ModelStateInvalidFilter use ModelState to
determine the response. UnsupportedContentTypeFilter returns a more specific
response and should execute earlier than the latter filter.

Fixes #8236
2018-08-10 10:39:13 -07:00
Kristian Hellang da1189e6f1 Use StatusCodes constants instead of literals in the ProducesResponseType code fix (#8234)
* Use StatusCodes constants instead of literals
2018-08-08 14:41:30 -07:00
Kiran Challa 3c19cede7d Updated dependencies 2018-08-07 16:01:48 -07:00
Kiran Challa 9585084258 Using Routing feature branch versions 2018-08-07 13:38:36 -07:00
Kiran Challa 685176faf5 Updated dependencies 2018-08-07 12:14:33 -07:00
Kiran Challa 306c399310 Using Routing feature branch versions 2018-08-07 11:19:58 -07:00
Kiran Challa 48d1680846 upgraded dependencies 2018-08-07 11:06:38 -07:00
James Newton-King 4cf8b4bb82
Merge 2018-08-07 12:58:38 +12:00
James Newton-King 47f2f451e3
EnableEndpointRouting documentation (#8220) 2018-08-07 09:22:33 +12:00
ASP.NET CI f067c3964f Update dependencies.props
[auto-updated: dependencies]
2018-08-06 20:45:11 +00:00