Commit Graph

25659 Commits

Author SHA1 Message Date
David Fowler af636fc8d4 Upgraded deps 2018-03-22 21:56:53 -07:00
David Fowler 0753f4b4f4 Merged release/2.1 2018-03-22 21:56:29 -07:00
David Fowler abdcb47b8f
Renames from API review (#2413)
* Renames from API review
- Rename Microsoft.AspNetCore.Protocols.Abstractions to Microsoft.AspNetCore.Connections.Abstractions.
- Renamed IConnectionHandler to IConnectionDispatcher (and related properties and types)
- Added ConnectionHandler and UseConnectionHandler extension method to Connections.Abstractions.
-  Use ActivatorUtilties to create the ConnectionHandler
2018-03-22 21:38:14 -07:00
ASP.NET CI 69a003e99f Updating submodule(s)
SignalR => 7479f92303

[auto-updated: submodules]
2018-03-23 04:34:00 +00:00
ASP.NET CI f0520bf048 Updating submodule(s)
SignalR => d367bdc9aa

[auto-updated: submodules]
2018-03-23 04:31:27 +00:00
James Newton-King 7479f92303
Merge branch 'release/2.1' into dev 2018-03-23 17:28:25 +13:00
James Newton-King d367bdc9aa
Remove message content from JS client logging (#1694) 2018-03-23 17:24:51 +13:00
ASP.NET CI 80021913ac Updating submodule(s)
AADIntegration => 8f42ce8492

[auto-updated: submodules]
2018-03-22 20:17:51 -07:00
Javier Calvarro Nelson 8f42ce8492 Application parts cleanups 2018-03-22 20:13:10 -07:00
Ajay Bhargav Baaskaran 77200410d6 Updated Razor views 2018-03-22 19:17:31 -07:00
ASP.NET CI ab6a3859e9 Updating submodule(s)
Razor => 2b33a4a043

[auto-updated: submodules]
2018-03-22 19:14:50 -07:00
Ryan Nowak 2b33a4a043 Merge branch 'release/2.1' into dev 2018-03-22 18:57:42 -07:00
ASP.NET CI 71e15349f4 Updating submodule(s)
Razor => 881fb49f73

[auto-updated: submodules]
2018-03-22 18:48:16 -07:00
Ryan Nowak 881fb49f73 Merge branch 'rel/vs15.7' into release/2.1 2018-03-22 18:36:32 -07:00
ASP.NET CI 1d9ec50c57 Updating submodule(s)
EntityFrameworkCore => 28479da1f8986a88fc8a067ceab1b9ea45afb637
Razor => cb3d797f46

[auto-updated: submodules]
2018-03-22 18:24:10 -07:00
Patrick Westerhoff 06c93669d6 Allow overwriting parameters on challenge requests
Add a way to overwrite query arguments that are passed as part of the
challenge request to the external authentication provider in OAuth-based
authentication providers, including OpenID Connect.

This uses the new `AuthenticationProperties.Parameters` collection to
pass parameters to the authentication handler which will then look for
special items within that property bag, overwriting previously
configured values within the authentication options.

This can be used for example to overwrite the OAuth scopes that are
requested from an authentication provider, or to explicitly trigger a
reauthentication by requiring a login prompt with OpenID Connect. By
being able to specify this on individual challenge requests (using
`HttpContext.ChallengeAsync`), this is independent from the global
scheme configuration.

Custom ~ChallengeProperties types, e.g. `OAuthChallengeProperties` for
OAuth-based authentication providers, provide assistance in setting the
challenge request parameters but are not required to make the handlers
use the overwritten values.

- Adjust authentication handlers to respect the custom parameters, and
  add ~ChallengeProperties types.
- Introduce `OAuthHandler.FormatScope(IEnumerable<string>)` to format a
  custom set of scopes. Subclasses requiring a different scope format
  should override this method instead of the parameterless overload.
  Overriding just `FormatScope()` will prevent handlers from supporting
  overwriting the OAuth `scope` in a challenge request.
- Refactor GoogleHandler to support parameterization through both the
  `Parameters` and the `Items` collection (former is preferred) to keep
  compatibility with the old behavior.
- Add an OpenIdConnect sample to overwrite the prompt argument in a
  challenge request.
- Add extensive tests.
2018-03-23 02:09:05 +01:00
ASP.NET CI 087d181fc8 Updating submodule(s)
EntityFrameworkCore => e67ec978a783cf25a30bed162b02446910033d6b
IISIntegration => 88d40dacf9
Razor => 954a62c075
Templating => 4acda9dd9b

[auto-updated: submodules]
2018-03-22 17:57:35 -07:00
Patrick Westerhoff d24fddcf59 Clean up tests
- Make Facebook test server asynchronous to avoid having to
  block for the result.
- Clean up some formatting.
2018-03-23 01:33:50 +01:00
ASP.NET CI 0bc4ae2b97 Updating submodule(s)
IISIntegration => 2f44ab1744
SignalR => fd54ec2c4f
Templating => c8f8d722f3

[auto-updated: submodules]
2018-03-22 17:12:14 -07:00
Pranav K cb3d797f46
Merge pull request #2212 from aspnet/release/2.1
Remove EnableDefaultCompiledViewAssemblyLoadBehavior and add a switch…
2018-03-22 17:10:12 -07:00
Pranav K 954a62c075 Remove EnableDefaultCompiledViewAssemblyLoadBehavior and add a switch to disable generating application part factory attribute 2018-03-22 17:09:53 -07:00
Jass Bagga c8f8d722f3
Merge pull request #398 from aspnet/release/2.1
Set userBrowserLink to false for VS host file (#395)
2018-03-22 17:04:28 -07:00
Jass Bagga 4acda9dd9b
Set userBrowserLink to false for VS host file (#395)
Addresses #394
2018-03-22 17:04:09 -07:00
Pavel Krymets 2f44ab1744
Merge pull request #722 from aspnet/release/2.1
Merge Release/2.1 into dev
2018-03-22 16:50:11 -07:00
ASP.NET CI 865476eaaf Updating submodule(s)
IISIntegration => ed801f0e88
SignalR => a47e1051e8

[auto-updated: submodules]
2018-03-22 16:47:56 -07:00
Pavel Krymets 88d40dacf9
Merge branch 'dev' into release/2.1 2018-03-22 16:47:41 -07:00
Pavel Krymets ed801f0e88 Do not return 200 for exceptions 2018-03-22 16:43:11 -07:00
Pavel Krymets 9f76dfa31f
Merge pull request #719 from aspnet/pakrym/fix-error-code
Do not return 200 for exceptions
2018-03-22 16:23:11 -07:00
Nate McMaster 77bf03c9ac
Merge branch 'release/2.1' into dev 2018-03-22 16:11:19 -07:00
ASP.NET CI e5b3dff633 Updating submodule(s)
EntityFrameworkCore => 89add5906f87db3ee81e3f25fa8446b10b9e3741
SignalR => 8572774ca4

[auto-updated: submodules]
2018-03-22 16:01:10 -07:00
BrennanConroy fd54ec2c4f Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-22 15:57:47 -07:00
BrennanConroy a47e1051e8
Add protocol version to handshake (#1666) 2018-03-22 15:54:35 -07:00
Pavel Krymets 1686a71046 Return HRESULT 2018-03-22 15:49:18 -07:00
BrennanConroy 6d642ea5ce
Move Typescript client folder (#1692) 2018-03-22 15:47:08 -07:00
ASP.NET CI eb93153a0d Updating submodule(s)
EntityFrameworkCore => 70e182d66305a3c71b3256a46e53b01194f80a22
SignalR => f1a3775247

[auto-updated: submodules]
2018-03-22 22:32:09 +00:00
David Fowler 8572774ca4 Merge branch 'release/2.1' into dev 2018-03-22 15:26:21 -07:00
David Fowler f1a3775247
Copy HttpContext properties for long polling transport (#1684)
- The long polling transport simulates a persistent connection
over multiple http requests. In order to expose common http request
properties, we need to copy them to a fake http context on the first poll
and set that as the HttpContext exposed via the IHttpContextFeature.
2018-03-22 15:24:35 -07:00
Nate McMaster c569d163c4
Filter osx from symbols packages and include npm artifacts in prodcon 2018-03-22 15:20:10 -07:00
Nate McMaster 5aae1f91a8
Include symbols in published output 2018-03-22 15:20:09 -07:00
Nate McMaster e5822232bb
Update to .NET Core 2.0.7-servicing-26322-01 2018-03-22 15:15:52 -07:00
Ryan Nowak 0a450d2f53 Add a version to the Razor about dialog entry 2018-03-22 14:54:20 -07:00
ASP.NET CI 487e6b545c Updating BuildTools from 2.1.0-preview2-15746 to 2.1.0-preview2-15748
[auto-updated: buildtools]
2018-03-22 14:49:08 -07:00
ASP.NET CI 1c7a40dcc0 Updating submodule(s)
AADIntegration => 500279ea98
Identity => 1fd33f62f4
IISIntegration => f1058f8575
Mvc => 8590bb9367
Razor => ac3065a9e1
SignalR => b5c46f35b3

[auto-updated: submodules]
2018-03-22 14:48:59 -07:00
Javier Calvarro Nelson 500279ea98 Add missing source 2018-03-22 14:43:03 -07:00
Ryan Brandenburg 8590bb9367 Updating baselines 2018-03-22 14:39:58 -07:00
Javier Calvarro Nelson 9e61d6bd98 Update application parts implementation 2018-03-22 14:31:21 -07:00
ASP.NET CI a240d7568b Updating submodule(s)
Mvc => 12f8e10e1a

[auto-updated: submodules]
2018-03-22 14:27:42 -07:00
Pranav K 12f8e10e1a
Merge branch 'release/2.1' into dev 2018-03-22 14:22:46 -07:00
ASP.NET CI 1dd5f94de3 Updating submodule(s)
Razor => 48606039e5
SignalR => c5b6be6b55

[auto-updated: submodules]
2018-03-22 13:40:30 -07:00
Javier Calvarro Nelson de86071b2c React to changes in Virtual schemes 2018-03-22 13:39:45 -07:00