Commit Graph

38808 Commits

Author SHA1 Message Date
Nate McMaster bbff308d22
Unmark System_UsesProvidedDirectoryAndCertificate as flaky (#11125) 2019-06-12 09:35:49 -07:00
Thiez db72ea04a2 Fix incorrect documentation, parameter check for HttpMethodAttribute (#11133)
The second constructor of the `HttpMethodAttribute` class claims that the `template` parameter may not be `null`, and no such claim is present about the `httpMethods` parameter. However, when `httpMethods` is `null`, an exception is thrown, while `template` *is* allowed to be null (as can be seen in the `HttpMethodAttribute(IEnumerable<string>)` constructor, which passes `null`.

In addition, the `HttpMethodAttribute(IEnumerable<string>)` constructor contains a `null`-check for the `httpMethods` parameter, but since this check is *also* in the `HttpMethodAttribute(IEnumerable<string>, string)` constructor this check is dead code.
2019-06-12 09:33:52 -07:00
Nate McMaster 6c806f91b1
Add option for only packing runtime-specific packages (#11116)
* Add option for only packing runtime-specific packages
* Remove Microsoft.AspNetCore.Blazor.Templates.dll from the Blazor VSIX
* Cleanup implementation of ANCMSymbols packaging
2019-06-11 20:47:10 -07:00
Brennan dd2e2186db Fix typo in condition for Windows Auth with LongPolling (#11051)
Co-Authored-By: Stephen Halter <halter73@gmail.com>
2019-06-11 17:02:54 -07:00
Jeff Weiner bc91bd0308 Fix _LoginPartial.OrgAuth.cshtml referencing non-existent CSS classes (#10781) 2019-06-11 16:51:40 -07:00
Ben Adams d5f4f26437 Update Platform for api change (#11110) 2019-06-11 16:46:02 -07:00
dotnet-maestro[bot] e92a84d3b8 [master] Update dependencies from 2 repositories (#11086)
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190610.8
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview7.19310.8
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview7.19310.8
- dotnet-ef - 3.0.0-preview7.19310.8
- Microsoft.EntityFrameworkCore - 3.0.0-preview7.19310.8
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview7.19310.8
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview7.19310.8
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview7.19310.8

Dependency coherency updates
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview7.19310.5 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview7.19310.5 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview7.19310.5 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview7.19310.5 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview7.19310.5 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview7.19310.5 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview7.19310.5 (parent: Microsoft.EntityFrameworkCore)
- et cetera

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190610.3
- Microsoft.NET.Sdk.Razor - 3.0.0-preview7.19310.3
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview7.19310.3
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview7.19310.3
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview7.19310.3
2019-06-11 16:37:54 -07:00
Hao Kung f8bd011d85
Don't strip amr and auth_time in OIDC by default (#11076) 2019-06-11 14:53:32 -07:00
Justin Kotalik 92b90fd986
Deflaking a lot of tests (#10960) 2019-06-11 14:10:06 -07:00
John Luo 7a8487e2bd
Add PlatformManifest to runtime package (#11046) 2019-06-11 12:46:01 -07:00
WuYafeng 40f0c28261 Resolve Kestrel default certificate store is invalid (#11074) 2019-06-11 11:58:16 -07:00
Mikael Mengistu eeaba9252f
Update HubConnection url in Java client (#11010) 2019-06-11 11:00:26 -07:00
Justin Kotalik 7e92e4c280
Remove warning for content files issues (#11073) 2019-06-11 09:59:47 -07:00
Nate McMaster 618595aa45
Merge branch 'release/2.2' 2019-06-11 09:53:34 -07:00
Nate McMaster c5b2bc0df2
Merge branch 'release/2.1' into release/2.2 2019-06-11 09:48:08 -07:00
Pranav K 1ffc2351b8
Make the test input a bit more reasonable (#11067) 2019-06-11 09:29:38 -07:00
Jacques Eloff 147f5afb1e Re-enable setup localization (#11094) 2019-06-11 09:21:06 -07:00
Matt Mitchell dab998e7d2 Unpin 2.1.12 package versions (#11091) 2019-06-11 09:07:33 -07:00
Javier Calvarro Nelson c7a9da58b4
[Identity] Disable polling on file providers (#11048)
* Disable polling on file file providers.
* Use in-memory SQL lite database always on the test project.
2019-06-11 17:42:04 +02:00
Jacques Eloff 85feca7a12
Merge pull request #10932 from aspnet/joeloff/LocUpdate
Localization handback for missing strings
2019-06-11 07:43:40 -07:00
Nate McMaster 42f79ed842
Set official build ID (#11077)
* Trim trailing slash from SignCheckDirectory
* Set OfficialBuildId
2019-06-10 23:15:11 -07:00
dotnet-maestro[bot] a6bc6ce23d [master] Update dependencies from 3 repositories (#10939)
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190610.7
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview7.19310.7
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview7.19310.7
- dotnet-ef - 3.0.0-preview7.19310.7
- Microsoft.EntityFrameworkCore - 3.0.0-preview7.19310.7
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview7.19310.7
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview7.19310.7
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview7.19310.7

Dependency coherency updates
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview7.19309.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview7.19309.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview7.19309.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview7.19309.2 (parent: Microsoft.EntityFrameworkCore)
- et cetera

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190610.2
- Microsoft.NET.Sdk.Razor - 3.0.0-preview7.19310.2
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview7.19310.2
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview7.19310.2
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview7.19310.2

* Update dependencies from https://github.com/aspnet/Blazor build 20190610.1
- Microsoft.AspNetCore.Blazor.Mono - 0.10.0-preview7.19310.1
2019-06-10 23:12:23 -07:00
Justin Kotalik d7fc06af5e
Move IServerVariablesFeature to Http.Features (#11007) 2019-06-10 21:16:36 -07:00
Sébastien Ros 5561338cfe React to System.Text.Json namespace changes (#11053) 2019-06-10 20:42:24 -07:00
Günther Foidl 90ab2cb965 Spanified Webencoders.Base64UrlEncode (#11047) 2019-06-10 18:18:31 -07:00
Arthur Vickers 4d1262c39b Small fixes for DatabaseErrorPageMiddleware
The main change here is to also allow public `HasTables` to be found. This will be removed once we get the new EF merged.

The change to the migration makes it align with what we would generate, but I don't think has any functional impact on the tests.

See also https://github.com/aspnet/EntityFrameworkCore/pull/16024 which (I really hope!)fixes the other failures once it makes it here.
2019-06-10 16:09:13 -07:00
Mikael Mengistu ecd709eb9a
Make sure to release connection lock (#11049) 2019-06-10 15:38:07 -07:00
John Luo f76be64e5d
Only run selenium tests when build java is specified (#11018) 2019-06-10 14:35:27 -07:00
David Fowler d4a982fefa
Reduce allocations when Activity is enabled (#11020)
- Remove string allocations caused by DiagnosticSource.Stop/StartActivity
- Pass the HttpContext directly as the object for StartActivity and StopActivity to avoid the anonymous object allocation.
- Though it's a bit ugly, added an HttpContext property to DefaultHttpContext to avoid breaking back-compat (which had to do reflection to get the HttpContext property anyways)
2019-06-10 13:37:15 -07:00
John Luo c89055b9b0
Use Ubuntu 18.04 LTS instead of 18.10 (#11045) 2019-06-10 13:15:04 -07:00
Ryan Brandenburg 0b340bd70c
Merge pull request #10915 from aspnet/rybrande/BlazorAccessibility
Improve Blazor accessibility
2019-06-10 11:08:53 -07:00
Ben Adams 37e6ad7e12 Improve HostFiltering perf (#9359) 2019-06-10 09:32:00 -07:00
Pranav K 7ee7f5ddee
Unskip tests (#11024)
Fixes https://github.com/aspnet/AspNetCore/issues/4417
2019-06-10 09:02:21 -07:00
John Luo bdb9127f85
Merge pull request #10510 from aspnet/johluo/helix-build-unique
Make it so Helix runs can be rerun and preserve history R2
2019-06-10 01:33:46 -07:00
Kahbazi b4b3aa9c94 Return an empty list instead of null for IHeaderDictionary extensions #3486 (#10972) 2019-06-09 09:45:36 -07:00
John Luo 4683b077da
Merge pull request #11006 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2019-06-08 16:25:42 -07:00
Pranav K d935ea2d25
Guarantee ordering for SignalR client HttpConnection.send #10780 (#10987)
Fixes https://github.com/aspnet/AspNetCore/issues/9901
2019-06-08 14:35:29 -07:00
Nate McMaster 58554c094f
Fix code-signing by adding back the implicit reference to MicroBuild.Core 2019-06-07 22:19:40 -07:00
Nate McMaster 936d4dcf09
Add back DevelopmentDependency to ApiDescription projects 2019-06-07 17:38:11 -07:00
Mikael Mengistu f4e3c0a171
Don't remove auth header when stopping HubConnection (#10635) 2019-06-07 17:27:38 -07:00
Nate McMaster 41ce223c1c
Replace Internal.AspNetCore.Sdk with Microsoft.DotNet.Arcade.Sdk (#10674)
* Update build.cmd to install .NET Core into $repoRoot/.dotnet instead of $repoRoot/.dotnet/x64
* Move restore sources from build/sources.props into eng/Versions.props (following arcade conventions)
* Remove usages of RuntimeFrameworkVersion in tests and build
* Update Blazor VSIX to use Arcade VSIX tools
* Rename Common.Tests to IIS.Common.TestLib and make it a test asset
* Remove custom versions props for ANCM installer code
* Remove duplicate references to xunit and remove usages of IsTestProject
* Remove duplicate references to Internal.AspNetCore.Analyzers
* Import Arcade.Sdk props and targets and remove custom versioning props
* Remove references to Internal.AspNetCore.Sdk
* Rename PackageLicenseType => PackageLicenseExpression
* Remove dependency on tasks in Internal.AspNetCore.Sdk, add ref to Internal.AspNetCore.BuildTasks as a temporary workaround
* Use Arcade's nuspec support
* Rename SignalR.Client.FunctionalTests to SignalR.Client.FunctionalTestApp
* Fixes for changes to property evaluation order
* Update BaseLineGenerator to netcoreapp3.0
* React to changes in evaluation order in RPM files and quirks in using <Exec> instead of <Run>
* Update Microsoft.Extensions.ApiDescription.Server to react to changes in Arcade packaging
* Workaround aspnet/AspNetCore#11009
2019-06-07 17:19:41 -07:00
John Luo e8a8e1b738 Remove 2.x test workaround 2019-06-07 16:45:50 -07:00
John Luo aaf0a1c43a Merge branch 'release/2.2' 2019-06-07 16:42:15 -07:00
Arthur Vickers b5adc6b156 Move Database Error Page tests to SQLite
In an attempt to make them more reliable.

See also https://github.com/aspnet/EntityFrameworkCore/issues/15997
2019-06-07 16:31:29 -07:00
Kahbazi d3d6e0e709 Ensure MaxConcurrentRequests is a positive number (#11003) 2019-06-07 15:42:09 -07:00
Brennan 3259a2c9f6
Prefer File.Move for DataProtection key creation + Fallback (#10990) 2019-06-07 15:32:08 -07:00
Artak 5918ac7e8c
Removed the HSTS middleware (#10998) 2019-06-07 15:27:16 -07:00
Ryan Brandenburg 72d1578b16 Add eplanitory comment 2019-06-07 15:26:57 -07:00
John Luo 5a698ae534 Merge branch 'release/2.1' into release/2.2 2019-06-07 14:21:57 -07:00
Ben Adams f10680a37a Use one SequenceReader+Rewind rather than 2 (#8076) 2019-06-07 13:15:27 -07:00