Commit Graph

40316 Commits

Author SHA1 Message Date
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
Brennan 23f3a10965
[TS Client] Catch exception in onreceive and close connection (#15082) 2019-10-17 11:27:03 -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
dotnet-maestro[bot] 418e35c439
Update dependencies from https://github.com/aspnet/Blazor build 20191016.2 (#15115)
- Microsoft.AspNetCore.Blazor.Mono - 5.0.0-alpha1.19516.2
2019-10-17 15:58:55 +00:00
dotnet-maestro[bot] 1eebef11fa
[master] Update dependencies from 2 repositories (#15057)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20191015.1

- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19515.1
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19515.1
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19515.1
- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19515.1

* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20191016.4

- Microsoft.EntityFrameworkCore.Tools - 5.0.0-alpha1.19516.4
- Microsoft.EntityFrameworkCore.SqlServer - 5.0.0-alpha1.19516.4
- dotnet-ef - 5.0.0-alpha1.19516.4
- Microsoft.EntityFrameworkCore - 5.0.0-alpha1.19516.4
- Microsoft.EntityFrameworkCore.InMemory - 5.0.0-alpha1.19516.4
- Microsoft.EntityFrameworkCore.Relational - 5.0.0-alpha1.19516.4
- Microsoft.EntityFrameworkCore.Sqlite - 5.0.0-alpha1.19516.4
2019-10-17 14:20:10 +00:00
Kahbazi f651fdf1f1 Add AutomaticAuthentication option in HttpSys #5877 (#6516) 2019-10-17 05:46:20 -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
David Fowler bd65275148
Update THIRD-PARTY-NOTICES.txt
Add corefx to third party notices as part of https://github.com/aspnet/AspNetCore/pull/14986
2019-10-16 22:06:04 -07:00
David Fowler 9098a47dbf
Some minor clean up of Stream implementations (#14986)
* Some minor clean up of Stream implementations
- Use TaskToApm from corefx to implement Begin/End in streams
- Use PipeReader.CopyToAsync(Stream) to implement CopyToAsync
- Add more overrides on derived Streams in IIS
2019-10-16 22:04:29 -07: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
David Fowler 16be9a264e
Don't re-use DefaultHttpContext if IHttpContextAccessor is in use (#15049)
* Don't re-use DefaultHttpContext if IHttpContextAccessor is in use
- Consumers may still get null or an ODE but will never end up with data from a different request.
- Make sure an ODE is thrown from all properties on HttpContext after the request is over.
2019-10-16 17:09:54 -07: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
wtgodbe d0115a0c5d merge master into branch 2019-10-16 13:30:40 -07:00
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
Chris Ross 1434f89d50
GenerateReferenceAssemblies requires restore.cmd (#15072) 2019-10-16 12:39:36 -07: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
Koen Ekelschot 1599a5a2a7 Improve documentation RequestHeaders and ResponseHeaders #3465 (#14971) 2019-10-16 09:41:28 -07:00
Bharat Kumar Bellamkonda d73dfd3a1d Replaced >= with > in condition. (#14825) 2019-10-16 09:36:16 -07:00
Joni 8f9073e8ea Fixes typo in StaticComponentRenderer.cs (#14925)
Fixes "reponse" => "response"
2019-10-16 09:29:56 -07: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
dotnet-maestro[bot] d4cc16a1c8
Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20191015.8 (#15053)
- Microsoft.EntityFrameworkCore.Tools - 5.0.0-alpha1.19515.8
- Microsoft.EntityFrameworkCore.SqlServer - 5.0.0-alpha1.19515.8
- dotnet-ef - 5.0.0-alpha1.19515.8
- Microsoft.EntityFrameworkCore - 5.0.0-alpha1.19515.8
- Microsoft.EntityFrameworkCore.InMemory - 5.0.0-alpha1.19515.8
- Microsoft.EntityFrameworkCore.Relational - 5.0.0-alpha1.19515.8
- Microsoft.EntityFrameworkCore.Sqlite - 5.0.0-alpha1.19515.8

Dependency coherency updates

- Microsoft.AspNetCore.Analyzer.Testing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Memory - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.SqlServer - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.StackExchangeRedis - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.CommandLineUtils.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.AzureKeyVault - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Binder - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.CommandLine - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.EnvironmentVariables - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.FileExtensions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Ini - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Json - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.KeyPerFile - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.UserSecrets - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Xml - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DiagnosticAdapter - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Composite - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Embedded - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Physical - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileSystemGlobbing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HashCodeCombiner.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HostFactoryResolver.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Http - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.AzureAppServices - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Configuration - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Console - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Debug - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventSource - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventLog - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.TraceSource - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Testing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ObjectPool - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.ConfigurationExtensions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.DataAnnotations - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ParameterDefaultValue.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Primitives - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.TypeNameHelper.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ValueStopwatch.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.WebEncoders - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Internal.Extensions.Refs - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.JSInterop - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Mono.WebAssembly.Interop - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyModel - 5.0.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Ref - 5.0.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging)
- NETStandard.Library.Ref - 2.1.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging)
- Internal.AspNetCore.Analyzers - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.Testing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore)
2019-10-16 13:37:01 +00: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
Brennan 10863cfaea
Add tests to verify protocol message size (#15030) 2019-10-15 16:28:42 -07:00
Artak 666fe9b03c
Added more path mappings to labels (#15034)
* Added more path mappings to labels

* Update .github/labeler.yml

Co-Authored-By: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2019-10-15 15:38:09 -07:00
Artak c0aa9b8f52
Adding all the areas in sorted order 2019-10-15 14:04:51 -07:00
Artak 3feb49707a
Added Mvc into the area-mvc labels path 2019-10-15 13:45:17 -07:00
Artak d40fd322d0
Enabling PR auto-labeling (#15020)
* Create labeler.yml

Creating the initial label mappings

* Adding the auto-labeler workflow
2019-10-15 13:24:08 -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] c7972d45f8
Update dependencies from https://github.com/aspnet/Blazor build 20191014.2 (#15013)
- Microsoft.AspNetCore.Blazor.Mono - 5.0.0-alpha1.19514.2
2019-10-15 17:33:07 +00: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
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
dotnet-maestro[bot] 5df73373b5
Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20191014.3 (#15012)
- Microsoft.EntityFrameworkCore.Tools - 5.0.0-alpha1.19514.3
- Microsoft.EntityFrameworkCore.SqlServer - 5.0.0-alpha1.19514.3
- dotnet-ef - 5.0.0-alpha1.19514.3
- Microsoft.EntityFrameworkCore - 5.0.0-alpha1.19514.3
- Microsoft.EntityFrameworkCore.InMemory - 5.0.0-alpha1.19514.3
- Microsoft.EntityFrameworkCore.Relational - 5.0.0-alpha1.19514.3
- Microsoft.EntityFrameworkCore.Sqlite - 5.0.0-alpha1.19514.3
2019-10-15 13:15:08 +00:00
wtgodbe 1a71156f6a Fix typo in GenerateTestProps.targets 2019-10-14 15:59:40 -07:00