Commit Graph

17933 Commits

Author SHA1 Message Date
Artak 1141654673
Fix the TargetFramework for Blazor WASM server app (#14865) 2019-10-09 22:22:24 -07:00
Ryan Brandenburg a68c961a58
Dev exception notifications (#14636)
Blazor dev exception notification
2019-10-09 16:37:57 -07:00
Chris Ross 4fac2918a6
Merge branch 'release/3.0' into merge/release/2.2-to-release/3.0 2019-10-09 16:21:25 -07:00
Chris Ross f3b0fbe207
Allow opt out of HttpSys client cert negotiation #14806 (#14839) 2019-10-09 15:57:11 -07:00
Chris Ross c0a7f04370 [3.0 patch] Re-implement SameSite for 2019 (#13870) 2019-10-09 14:19:33 -07:00
huysentruitw d0de73684d ControllerBase.Problem should also set the StatusCode of the response (#14672)
* ControllerBase.Problem should also set the StatusCode of the response

Fixes https://github.com/aspnet/AspNetCore/issues/14663
2019-10-09 09:29:16 -07:00
wtgodbe 5e2e1cdfd3 disable other targeting pack test 2019-10-08 12:32:37 -07:00
wtgodbe b89103fd5f Fix Xunit skip attribute 2019-10-08 11:44:21 -07:00
William Godbe dd13c8737a Update src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj
Co-Authored-By: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2019-10-08 11:44:19 -07:00
wtgodbe 03b4bcfee8 Test fixes for ref-pack build 2019-10-08 11:44:19 -07:00
wtgodbe 6fc778af6a disable building Microsoft.AspNetCore.App.Ref package in 3.0 2019-10-08 11:44:19 -07:00
John Luo 354d859d50
Manually add TypeForwardedTo in ref assemblies (#14538)
* Manually add TypeForwardedTo in ref assemblies

* Pin ref assembly version to Major.Minor.0.0

* Disable MSB3243 warning

* Pin pinning implementation assembly version

* Use nuget.exe v5.3.0 which support icon metadata

* Fixup nuspec packing
2019-10-07 21:00:34 -07:00
Ryan Brandenburg c3ccf5ba7f
InputNumber Long (#14741)
InputNumber Long
2019-10-07 16:12:48 -07:00
James Newton-King 4cda48130c
Update gRPC template package sample to follow convention (#14716) 2019-10-07 11:21:16 +13:00
William Godbe f05087be68
Merge pull request #14394 from aspnet/Embedded30
[release/3.0] Switch to embedded package icon
2019-10-04 14:19:13 -07:00
Doug Bunting 8534db0650
Remove legacy package archive file 2/2 2019-10-04 12:46:22 -07:00
Doug Bunting ab8185b1b9
Remove legacy package archive file 1/2 2019-10-04 12:46:02 -07:00
Doug Bunting 453bb22ec5
Merge branch 'release/3.1-preview1' => 'release/3.1' (#14720) 2019-10-04 11:25:23 -07:00
William Godbe a7b739bab3
Merge pull request #14670 from aspnet/darc-release/3.1-preview1-0b181dd5-7535-4667-b834-38ee8ff3d57f
[release/3.1-preview1] Update dependencies from 3 repositories
2019-10-03 19:41:17 -07:00
wtgodbe 3b1fda7476 remove TargetingPack metadata from workaround 2019-10-03 17:49:43 -07:00
wtgodbe db829275b3 Fix workaround 2019-10-03 16:11:30 -07:00
wtgodbe 784f4d542b Apply workaround for template tests 2019-10-03 14:50:59 -07:00
Chris Ross bae8fe9399 [2.2] Re-implement SameSite for 2019 (#13858)
* Re-implement SameSite for 2019 #12125

* Rename compat flag

* References

* Use Microsoft.AspNetCore.SuppressSameSiteNone compat key

* Patchconfig

* Port CookiePolicy fix
2019-10-03 14:37:36 -07:00
Chris Ross 8aaf577742 Unrevert else clause in TestMatrix 2019-10-03 13:05:49 -07:00
Ryan Nowak 5409bd7270 Fix #11301 - revert workaround for test matrix
I suspect that this workaround is now causing our tests to fail, and we
wanted to get rid of it anyway.
2019-10-03 13:05:33 -07:00
Ryan Nowak ac48ceaab2 React to change in logging testing 2019-10-03 13:05:16 -07:00
William Godbe 79f04eb14d
Merge pull request #14682 from dotnet-maestro-bot/merge/release/3.1-preview1-to-release/3.1
[automated] Merge branch 'release/3.1-preview1' => 'release/3.1'
2019-10-03 10:17:06 -07:00
Brennan ac261d8789 Don't call close if connect does not succeed (#14114)
- small comment
- patch config
- fix assert
2019-10-03 08:27:41 -07:00
John Luo 016116150d Merge branch 'release/3.0' into release/3.1 2019-10-02 15:43:34 -07:00
Pranav K 6f71d6573b
Obsolete ValidationVisitor.AllowShortCircuitingValidationWhenNoValidatorsArePresent (#14593)
Fixes https://github.com/aspnet/AspNetCore/issues/14126
2019-10-02 15:23:29 -07:00
Javier Calvarro Nelson cca42d9624 [Blazor][Fixes #13357] input type=time reseting value (#14379)
* [Blazor] input type=time reseting value
* Normalizes values on the client and sends proper dates and times to
  the server.
* Normalizes values applied from the server to the client.
* Introduces @bind and @bind-value support for inputs of types
  datetime-local, month, time.

Fixes #13357

* Update JS
2019-10-02 15:21:00 -07:00
Pranav K 9e84abec47
Add a few tests for generic JSInterop (#14626)
Fixes https://github.com/aspnet/AspNetCore/issues/9061
2019-10-02 12:44:39 -07:00
Pranav K b9d0e61144
Retarget Ignitor to netcoreapp3.0 (#14668) 2019-10-02 12:37:10 -07:00
Doug Bunting 8a54461c63
Merge branch 'release/3.0' into merge/release/2.2-to-release/3.0 2019-10-02 10:11:37 -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
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
Justin Kotalik 59bdc3449f [release/2.2] Backport memory leak fix from 3.0 (#13840) 2019-10-01 16:06:56 -07:00
Justin Kotalik 029a4c0a68 Update check for 413 in IIS (#14589) 2019-10-01 16:06:39 -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
William Godbe db4087769e
Merge pull request #14535 from aspnet/Baseline30
Update package baseline
2019-10-01 12:14:46 -07:00
Doug Bunting fd34e14f4a
Create missing directory and simplify workaround slightly 2019-09-30 19:15:53 -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 f219a38288
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:05:43 -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
wtgodbe e233890a25 Suppress errors for removed references in Components.csproj 2019-09-26 15:21:48 -07:00
wtgodbe 86e9b45aa0 Use up-to-date nuget versions 2019-09-26 12:53:59 -07:00
Brennan 1aa29f044e C# and Java client negotiateVersion cleanup (#14196) 2019-09-25 17:07:45 -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
Brennan b5db4a96ba [TS] Add support for negotiateVersion and connectionToken (#14157) 2019-09-25 12:42:46 -07:00
Javier Calvarro Nelson 6d50f25ac3
[Mvc][Fixes #11783] Replace header.Add with header.TryAddWithoutValidation (#14339) 2019-09-25 17:07:12 +02:00
Mikael Mengistu de15b0c0cb Add support for negotiateVersion query string parameter and ConnectionToken (#13880) 2019-09-24 15:22:21 -07:00
Mikael Mengistu 7d59ae1720 SignalR ConnectionToken/ConnectionAddress feature (#13773) 2019-09-24 14:18:11 -07:00
Mikael Mengistu ea8c2b92f4 SignalR Negotiate protocol versioning (#13389) 2019-09-24 14:18:06 -07:00
wtgodbe 8c49f8937d Add icon metadata to manually generated .nuspecs 2019-09-24 13:31:51 -07:00
wtgodbe ff61a43031 Merge branches 2019-09-24 13:26:49 -07:00
Pranav K db8cef1ae6
Merge branch 'release/3.1' into prkrishn/fix-null-ref 2019-09-24 12:39:04 -07:00
Ryan Brandenburg ab1347ef20
Unskip OpenAPI tests (#14296) 2019-09-24 10:52:38 -07:00