Commit Graph

40048 Commits

Author SHA1 Message Date
Chris Ross 65585c13f1
Renable shutdown tests Internal/#2577 (#15131) 2019-10-18 14:57:50 -07:00
N. Taylor Mullen 5f3037df3f Add support for `EnableStopPropagation` and `EnablePreventDefault`.
- For our current world Blazor both of these properties are always `true`. However, for other non-web Blazor scenarios the `EventHandler` attributes at that layer will turn off these features because they're specific to web.

#14517
2019-10-18 14:45:43 -07:00
Javier Calvarro Nelson 19718f6011 [Blazor][Fixes #15155] Clarifies the message to turn on detailed erro… (#15156)
Fixes https://github.com/aspnet/AspNetCore/issues/15155
2019-10-18 13:03:52 -07:00
Pranav K c298c94fe1
Validation fixes for Blazor (#14972)
* Validation fixes for Blazor

* Ensure validation result that are not associated with a member are recorded. Fixes https://github.com/aspnet/AspNetCore/issues/10643
* Add support for showing model-specific errors to ValidationSummary
* Add support for nested validation and a more suitable CompareAttribute. Fixes https://github.com/aspnet/AspNetCore/issues/10526
2019-10-18 11:26:17 -07:00
Doug Bunting 5440cd319d
Merge branch 'release/3.0' => 'release/3.1' (#15126) 2019-10-17 22:15:02 -07:00
Doug Bunting 5db0c95c44
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1 2019-10-17 14:06:15 -07:00
Stephen Halter a4af6185ea
Add "allowReconnect" to SignalR CloseMessages (#14908) 2019-10-17 13:31:25 -07:00
Hao Kung 5dfb923c68
Flow return url in register confirmation (#15075) 2019-10-17 13:04:13 -07:00
Doug Bunting 60ace9d6f6
Merge branch 'release/3.0' => 'release/3.1' (#15086) 2019-10-17 13:03:25 -07:00
Doug Bunting 0da2edb205
Re-enable Linux installer builds (#15119)
- `'$(IsTargetingPackBuilding)' == 'false'` should only disable the targeting packs on non-Windows
- disable `CreateTargetingPackNugetPackage` target on Windows
2019-10-17 13:01:57 -07:00
dotnet-maestro[bot] 6f9f659577 Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20191017.5
- Microsoft.NET.Sdk.Razor - 3.0.1
- Microsoft.CodeAnalysis.Razor - 3.0.1
- Microsoft.AspNetCore.Razor.Language - 3.0.1
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.1
2019-10-17 12:10:50 -07:00
Chris Ross 6d43b50183
Handle large limits for form keys and values #13719 (#15066) 2019-10-17 10:37:07 -07:00
Chris Ross 90b42ba099
Update Facebook API to 4.0 #4684 (#14798) 2019-10-17 10:33:09 -07:00
Doug Bunting b9aeff4250
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1 2019-10-17 10:31:29 -07:00
Pranav K c76df96c70
Treat FormatExceptions and OverflowExceptions to be treated as model state errors (#15035)
In SystemTextJsonInputFormatter and NewtonsoftJsonInputFormatter, suppress
FormatExceptions and OverflowExceptions and instead report them as model state errors.

This makes the behavior more consistent between these formatters, model binders, and
the XML formatters

Fixes https://github.com/aspnet/AspNetCore/issues/14504
2019-10-17 10:06:57 -07:00
Steve Sanderson 1b2c44313b In Blazor Server template, show login UI on small screens too. Fixes #13003 2019-10-17 06:10:18 +01:00
Adrian Wright e8c9952a2b Add .sidebar to .nav-item so to just target the nav in the template and not any other .nav-item's in the html 2019-10-17 03:36:08 +01:00
Matt Mitchell 5ceb94f3fe
[release/3.0] Pin Microsoft.Internal.Extensions.Refs (#15062)
* Pin Microsoft.Internal.Extensions.Refs
This is not being produced in current 3.0 builds so the coherent parent dependency attribute cannot be satisfied.
2019-10-16 14:24:20 -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
Javier Calvarro Nelson cad6e06a83
[Templating][Fixes #15048] Fixes build hang in template tests caused by an unbound blocking collection (#15058) 2019-10-16 18:50:08 +02:00
TeBeCo 49191f4d56 Make ApiDescriptionActionData public (#15023)
* Make ApiDescriptionActionData public

Fixes https://github.com/aspnet/AspNetCore/issues/14954
2019-10-16 08:59:51 -07:00
Pranav K 504f7f6856
Produce a ModelState error when reading the form throws (#14994)
* Introduce ValueProviderException analogous to InputFormatterException
* Record ValueProviderException as a model state error
* Fixup bug in reading ProblemDetails \ ValidationProblemDetails using the converter

Fixes https://github.com/aspnet/AspNetCore/issues/10291
2019-10-15 16:46:35 -07: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
Javier Calvarro Nelson 579f30f591
[Blazor][Fixes #14999] Razor Class Library Static Assets with spaces do not resolve (#15024) 2019-10-15 22:17:05 +02:00
William Godbe 700f4301ea
Fixup prop 2019-10-15 12:16:07 -07:00
William Godbe eccabc68ff
Another fixup to item->prop conversion 2019-10-15 11:26:57 -07:00
dotnet-maestro[bot] 0dad6fec71
[release/3.1] Update dependencies from dotnet/arcade (#14982)
* Update dependencies from https://github.com/dotnet/arcade build 20191010.3

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19510.3
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19510.3
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19510.3

* Add 'dotnet-tools' feed
2019-10-15 17:16:21 +00:00
William Godbe d74a2b00eb
Fix Item->Property conversion in GenerateTestProps.targets 2019-10-15 10:10:24 -07:00
Chris Ross 43bd3a41f2 [3.0] Skip known failure in ShutdownTestWaitForShutdown (#14744)
- update src/Hosting/test/FunctionalTests/ShutdownTests.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>
2019-10-15 09:53:08 -07:00
wtgodbe 1a71156f6a Fix typo in GenerateTestProps.targets 2019-10-14 15:59:40 -07:00
wtgodbe 35f148b7fc Don't skip RefPack tests 2019-10-14 13:28:08 -07:00
wtgodbe 64ec8d8c34 Fix bad merge in ReferenceAssembly.targets 2019-10-14 13:24:37 -07:00
wtgodbe 8deeed2fa8 Merge branches 2019-10-14 13:21:58 -07:00
William Godbe 649ee1fb8c
Merge pull request #14746 from aspnet/DisableRefPackBuild
Disable ref pack build in 3.0
2019-10-14 11:23:01 -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 6dee2f548a
Ensure Microsoft.AspNetCore.Razor.RuntimeCompilation has the right build targets (#14863)
* Include build and build transitive folders in RuntimeCompilation package
* Use a different folder name to allow GitHub indexing. See https://github.com/aspnet/AspNetCore/issues/14846
* Add a test to verify transitive build targets work

Fixes https://github.com/aspnet/AspNetCore/issues/14813
Fixes https://github.com/aspnet/AspNetCore/issues/12768
2019-10-11 13:53:16 -07:00
Pranav K 79a1769e47
fixup 2019-10-11 13:46:45 -07:00
Pranav K 3fe0e303c6
Make sealed 2019-10-11 13:32:50 -07:00
Pranav K 0557585b0a
More fixups 2019-10-11 13:32:50 -07:00
Pranav K 2e7ff1e9b8
Restore the app element 2019-10-11 13:32:49 -07:00
Pranav K a7d40aeb03
Update ref 2019-10-11 13:32:48 -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
Javier Calvarro Nelson 08eafcddbd
[Templating][Fixes #14920] Exclude app.db from publish to single file (#14921)
Otherwise the published application fails when the code tries to
access the missing database.
2019-10-11 18:38:11 +02:00
Doug Bunting 87a110aea8
Merge branch 'release/3.1-preview1' => 'release/3.1' (#14845) 2019-10-10 15:02:13 -07:00
Doug Bunting 4d30facbaf
Merge branch 'release/2.2' => 'release/3.0' (#14714) 2019-10-10 14:50:19 -07:00
wtgodbe 62a62fae7d Fix item metadata evaluation 2019-10-10 14:43:16 -07:00