Commit Graph

599 Commits

Author SHA1 Message Date
wtgodbe ba2ed9fae9 merge release/3.1 to master 2019-10-16 13:23:32 -07:00
Javier Calvarro Nelson 1046cc2daa
[Blazor] Fix sample and turn debug logs and detailed errors client and server-side on the sample (#15052) 2019-10-16 22:12:25 +02:00
Steve Sanderson d3f1f5a6ea Make InputBase respond to validation state notifications (#14818)
* InputBase subscribes to OnValidationStateChanged. Fixes #11914

* E2E test
2019-10-16 11:35:34 -07:00
William Godbe 2c6d7a0cb8
Merge pull request #14602 from dotnet-maestro-bot/merge/release/3.0-to-release/3.1
[automated] Merge branch 'release/3.0' => 'release/3.1'
2019-10-16 10:27:06 -07:00
Javier Calvarro Nelson efc2f024f3
[Blazor][Fixes #14959] Update navlink to perform case-insensitive matches (#14991)
Otherwise the link doesn't get highlighted even though the route matches (routing is case insensitive).
2019-10-16 19:04:19 +02:00
Pranav K 30b31d7086
Account for Layout ordering in Blazor (#15001)
The server requires that clients send descriptors in sequence. Since MVC executes
Layouts in an inside-out manner, modify the client to explicitly order descriptors

Fixes https://github.com/aspnet/AspNetCore/issues/14474
2019-10-15 13:17:58 -07:00
Doug Bunting faf9a071cb
Merge branch 'master' into merge/release/3.1-to-master 2019-10-15 09:50:16 -07:00
Brennan d35b33f294
Add user agent header to TS client and normalized the other clients (#14484) 2019-10-15 08:36:15 -07:00
wtgodbe 8deeed2fa8 Merge branches 2019-10-14 13:21:58 -07:00
Doug Bunting 0dedfa95d4
Merge branch 'release/3.1' -> 'master' 2019-10-14 09:32:59 -07:00
John Doe 288bedd9a3 Fixes spell across test classes and comments (#14958) 2019-10-13 20:46:20 -07:00
Pranav K d299ae2491
Introduce ComponentTagHelper (#14592)
* Introduce ComponentTagHelper
Fixes https://github.com/aspnet/AspNetCore/issues/13726
2019-10-11 15:59:52 -07:00
Pranav K 79a1769e47
fixup 2019-10-11 13:46:45 -07:00
Pranav K d1faff4126
Fixup 2019-10-11 13:32:47 -07:00
Javier Calvarro Nelson 80d019d726
Introduce ComponentTagHelper
Fixes https://github.com/aspnet/AspNetCore/issues/13726
2019-10-11 13:32:46 -07:00
Pranav K 8c39137944 Port Throw when UseAuthorization is incorrectly configured (#14893)
* Port Throw when UseAuthorization is incorrectly configured

* fixup
2019-10-10 14:14:43 -07:00
Adrian Wright 0cf058711f Rename class "error-ui" to "blazor-error-ui" 2019-10-10 19:57:23 +01:00
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
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
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
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
John Luo 016116150d Merge branch 'release/3.0' into release/3.1 2019-10-02 15:43:34 -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 a3ac1ce895
Merge branch 'master' into merge/release/3.1-to-master 2019-10-02 10:25:59 -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
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
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