Commit Graph

40047 Commits

Author SHA1 Message Date
Doug Bunting 1ba65ddade
Restore a couple of `using`s 2019-10-02 12:05:29 -07:00
Doug Bunting a3ac1ce895
Merge branch 'master' into merge/release/3.1-to-master 2019-10-02 10:25:59 -07:00
Doug Bunting 43456141e8
Merge branch 'release/3.1-preview1' => 'release/3.1' (#14645) 2019-10-02 10:08:05 -07:00
Steve Sanderson b14db5700f Updated Blazor macOS Catalina/iOS 13 workaround (#14576)
* MacOSX Catalina Beta wasm workaround for booting mono wasm from Blazor.

* Address review comments

* Address review comments

* Make it clear why global scope is used.

* Stylistic tweaks for Catalina workaround

* Further streamlining

* Update js binaries
2019-10-02 07:46:18 -07:00
William Godbe ff095ddf55
Merge pull request #14651 from aspnet/darc-release/3.1-preview1-96d6c08d-39ce-42c2-9ed1-e4457d1b99df
[release/3.1-preview1] Update dependencies from aspnet/AspNetCore-Tooling
2019-10-01 20:47:17 -07:00
John Luo 1ed31bd2cb
Merge pull request #14402 from aspnet/brecon/negotiateVersion
Negotiate protocol versioning and ConnectionID split
2019-10-01 16:25:35 -07:00
Javier Calvarro Nelson 6bc4d27bfa Support parameters on server-side rendered components
Fixes https://github.com/aspnet/AspNetCore/issues/14433
2019-10-01 16:09:06 -07:00
Pranav K cc368c8e08 Prevent null refs in RemoteJSRuntime
Fixes https://github.com/aspnet/AspNetCore/issues/13396
2019-10-01 16:08:39 -07:00
Pranav K 29a1d50e02 Throw when UseAuthorization is incorrectly configured
* Update AuthZ & Cors middlewares to only set endpoint routing metadata when
  executing in the context of endpoint routing
* Add analyzers for incorrect UseAuth use

Fixes https://github.com/aspnet/AspNetCore/issues/14049
2019-10-01 16:08:24 -07:00
bkatms 51ae61baca Support attaching to an existing request queue in HTTP.SYS (#14182) 2019-10-01 16:05:52 -07:00
Chris Ross 5df258ae5b HttpSys GoAway (#14522) 2019-10-01 16:05:22 -07:00
dotnet-maestro[bot] 66425a5d26 Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20191001.1
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.1.0-preview1.19501.1
- Microsoft.AspNetCore.Razor.Language - 3.1.0-preview1.19501.1
- Microsoft.CodeAnalysis.Razor - 3.1.0-preview1.19501.1
- Microsoft.NET.Sdk.Razor - 3.1.0-preview1.19501.1
2019-10-01 23:05:18 +00:00
Chris Ross 12cba32a11 Make UseStatusCodePagesWithReExecute clear Endpoints (#14531) 2019-10-01 16:05:08 -07:00
Chris Ross 0a1e208c76 [3.1] Re-implement SameSite for 2019 (#13776) 2019-10-01 16:04:59 -07:00
Ryan Brandenburg 92f771f117 Update templates for 3.1 (#14637) 2019-10-01 16:00:10 -07:00
Justin Kotalik cd2983bf41
Merge pull request #14438 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'
2019-10-02 07:52:21 +09:00
Artak 361428ae3b
Updated npm dependencies (#14595) 2019-10-01 15:51:59 -07:00
Ryan Brandenburg 8e6cd2c70d Port https://github.com/aspnet/AspNetCore/pull/12879 to 3.1 (#14638)
* Port https://github.com/aspnet/AspNetCore/pull/12879 to 3.1

* PR feedback
2019-10-01 15:51:34 -07:00
Brennan fa93369beb Fix null reference exception for Streaming null object (#14004) (#14515) 2019-10-01 15:41:06 -07:00
Steve Sanderson 00ebfb4811 When using auth, use CascadingAuthenticationState explicitly. Fixes #14566 2019-10-01 14:50:48 -07:00
Steve Sanderson ebe81c2978 Fix test that was illegally holding ParameterView references 2019-10-01 14:50:25 -07:00
Steve Sanderson 762cbde480 CR: Add some "in" plus clean up "using" 2019-10-01 14:50:25 -07:00
Steve Sanderson 1ac8ff104e Add specific unit test in ParameterViewTest 2019-10-01 14:50:25 -07:00
Steve Sanderson 9afb1ce6ae CR: Clarify comment 2019-10-01 14:50:25 -07:00
Steve Sanderson c2a45b4fd6 Typo 2019-10-01 14:50:25 -07:00
Steve Sanderson e6656a68ab Complete test cases 2019-10-01 14:50:25 -07:00
Steve Sanderson d59baa8a24 Wrap up lifetime concept as a type, and implement expiry 2019-10-01 14:50:25 -07:00
Steve Sanderson 612a6677b1 Have ParameterView track its owning RenderBatchBuilder 2019-10-01 14:50:25 -07:00
Steve Sanderson 2e7c8649b6 Fix comment 2019-10-01 14:50:25 -07:00
Steve Sanderson 206f793fb5 Add unit tests for illegal ParameterView access 2019-10-01 14:50:25 -07:00
Steve Sanderson 2fc604145a Update ref assembly 2019-10-01 14:49:59 -07:00
Steve Sanderson 428017a181 Regenerate blazor.server.js 2019-10-01 14:49:59 -07:00
Steve Sanderson aca8db6572 CR: Rename RenderTreeBuilderExtensions to WebRenderTreeBuilderExtensions 2019-10-01 14:49:59 -07:00
Steve Sanderson 0d30083aab E2E tests for navigation+preventDefault 2019-10-01 14:49:59 -07:00
Steve Sanderson 6f8b31bdb1 Move navigation preventDefault tests to their own page 2019-10-01 14:49:59 -07:00
Steve Sanderson 62f596c2bd Actual event bubbling E2E tests 2019-10-01 14:49:59 -07:00
Steve Sanderson eab8ba85b9 Make navigation+bubbling interactions work like native 2019-10-01 14:49:59 -07:00
Steve Sanderson 47d1ffce05 E2E scenario code for preventDefault+navigation 2019-10-01 14:49:59 -07:00
Steve Sanderson 05c284fe26 Add some E2E scenario code for bubbling 2019-10-01 14:49:59 -07:00
Steve Sanderson 2339282e26 Update JS binaries 2019-10-01 14:49:59 -07:00
Steve Sanderson 580184d7de Rename "stop bubbling" to "stop propagation" for consistency with JS 2019-10-01 14:49:59 -07:00
Steve Sanderson 896feb49e9 Make navigation interception participate in synthetic event bubbling 2019-10-01 14:49:59 -07:00
Steve Sanderson cdef672310 Fix newly-created bug with 'on' prefix mismatch 2019-10-01 14:49:59 -07:00
Steve Sanderson d2887ccc1c Update JS binaries 2019-10-01 14:49:59 -07:00
Steve Sanderson 86a8dcfe10 Implement actual "prevent default" 2019-10-01 14:49:59 -07:00
Steve Sanderson e7e2dedf5d Implement actual "stop bubbling" 2019-10-01 14:49:59 -07:00
Steve Sanderson 31ee4a8daf Simplify: once we start tracking event info for a given element, there's no real value in deleting that tracking info later 2019-10-01 14:49:59 -07:00
Steve Sanderson 3cd4726c76 Keep track of preventDefault/stopBubbling flags on JS side 2019-10-01 14:49:59 -07:00
Steve Sanderson 3249dce498 Refactor EventHandlerInfosForElement storage to avoid ad-hoc assumptions about storage formats 2019-10-01 14:49:59 -07:00
Steve Sanderson e6f183e39e Add RenderTreeBuilder extension methods for "prevent default" and "stop bubbling" 2019-10-01 14:49:59 -07:00