Commit Graph

39875 Commits

Author SHA1 Message Date
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
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
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
Doug Bunting 3a07534d25
[release/3.1] Fix the badness and get this branch building (#14594) 2019-10-01 08:13:59 -07:00
Doug Bunting 219b528ac2
Create missing directory and simplify workaround slightly 2019-09-30 19:14:00 -07:00
Doug Bunting 477fa8ce4c
Find or install Tar on CI
- work around dotnet/core-eng#7970
- install Git in repo if Tar can't be found in usual locations
- use found or installed Tar in Microsoft.AspNetCore.App.Ref project
  - copy into repo from wherever it's found
- add lots of `Write-Host` debugging

nit: clean up / comment on VS Code warnings about build.ps1
2019-09-30 16:09:12 -07:00
Doug Bunting 111462e0c2
Use a response file for GenAPI commands
- work around dotnet/arcade#4021
2019-09-30 16:09:10 -07:00
Doug Bunting 24fc9c0008 Add tests of `MetadataSerializer`
- #4914 (2 of probably 3 or 4)

nit: Use more `var`
2019-09-27 12:10:08 -07:00
Pranav K 1937c804fa
Avoid null refs in BlazorIgntior when Disposed (#14341)
* Avoid null refs in BlazorIgntior when Disposed

Fixes https://github.com/aspnet/AspNetCore/issues/14257
2019-09-25 15:01:35 -07:00
Ryan Brandenburg 6317b34aaa
Increase httpclient reliability (#14349) 2019-09-25 13:35:14 -07:00
Doug Bunting 6f2bccc167
Merge branch 'release/3.0' => 'release/3.1' (#14417) 2019-09-25 12:41:06 -07:00
Javier Calvarro Nelson 6d50f25ac3
[Mvc][Fixes #11783] Replace header.Add with header.TryAddWithoutValidation (#14339) 2019-09-25 17:07:12 +02:00
Doug Bunting f3b7077444
Merge branch 'release/2.2' => 'release/3.0' (#14358) 2019-09-25 07:22:53 -07:00