Commit Graph

32543 Commits

Author SHA1 Message Date
ASP.NET CI 50952529be Updating BuildTools from 2.1.3-rtm-15835 to 2.1.3-rtm-15836
[auto-updated: buildtools]
2018-10-31 20:22:16 +00:00
Nate McMaster b262521969
Include x86 assets in the signing configuration 2018-10-31 13:03:53 -07:00
Ryan Nowak c802d5ef5f
Redesign HealthStatus (again) (#520)
* Redesign HealthStatus (again)

This change brings back the ability to return Healthy/Degraded/Unhealthy
in a HealthCheckResult. We tried making this pass/fail in 2.2.0-preview3
and folks writing health checks for their own use pointed out (rightly
so) that it was too limited.

It's still possible for the app developer to configure the failure
status of a health check, but it requires the health check author to
cooperate.

I also got rid of HealthStatus.Failed since it raises more questions
than it answers. It's really not clear that it's valuable for a health
check for behave different when throwing an unhandled exception.

We would still recommend that a health check library handle exceptions
that they know about and return `context.Registration.FailureStatus`.
2018-10-31 12:51:14 -07:00
Pranav K f2af66bc31
Cleanup InferParameterBindingInfoConvention (#8665)
* Cleanup InferParameterBindingInfoConvention

* Infer BindingSource for collection parameters as Body. Fixes https://github.com/aspnet/Mvc/issues/8536
* Introduce a compat switch to keep 2.1.x LTS behavior for collection parameters
* Do not infer BinderModelName in InferParameterBindingInfoConvention
2018-10-31 12:24:37 -07:00
Nate McMaster 569016c2c5
Code sign all packages in a single batch (#3778)
Changes:
* Sign shared fx zips
* Sign metapackages
* Disable signing on inner repo builds and instead sign all packages at the end
* Add a list of files from other Microsoft teams which can be excluded from signing
* Add a list of 3rd party assemblies which are bundled in the shared frameworks.
2018-10-31 12:12:15 -07:00
John Luo 27efce1042 Do not use the default 5000 port for functional tests 2018-10-31 11:45:53 -07:00
Brice Lambson 1f896dc61b ⬆️ Update NetTopologySuite.IO.SqlServerBytes to 1.15.0 2018-10-31 11:30:17 -07:00
Mikael Mengistu 5b486cdfa9 Java API Doc revisions 2018-10-31 10:42:43 -07:00
ASP.NET CI 973508d1c5 Updating submodule(s)
EntityFrameworkCore => 02c9355b90096762400aa0ab9943725a4cfd8d43
Identity => da9318f431
KestrelHttpServer => e958d82584
Mvc => c74a945dda
Razor => 41fa3ff3eb
SignalR => 865de16086

[auto-updated: submodules]
2018-10-31 10:09:06 -07:00
Nate McMaster c2e9ca24d3
Update build tools to 2.2.0-preview2-20181031.2 2018-10-31 10:04:25 -07:00
ASP.NET CI 828191adbd Updating BuildTools from 2.1.3-rtm-15834 to 2.1.3-rtm-15835
[auto-updated: buildtools]
2018-10-31 09:23:16 -07:00
BrennanConroy 865de16086
Enable cookie jar for Node client using request package (#3202) 2018-10-30 22:13:24 -07:00
Doug Bunting c74a945dda
Convert `RouteValueDictionary` values to `string` using `CultureInfo.InvariantCulture` (#8674)
* Convert `RouteValueDictionary` values to `string` using `CultureInfo.InvariantCulture`
- #8578
- user may override this choice in one case:
  - register a custom `IValueProviderFactory` to pass another `CultureInfo` into the `RouteValueProvider`
- values are used as programmatic tokens outside `RouteValueProvider`

nits:
- take VS suggestions in changed classes
- take VS suggestions in files I had open :)
2018-10-30 20:09:17 -07:00
Ryan Nowak 41fa3ff3eb Add Razor.Workspaces to non-shipping in NPV
Putting this package where it belongs in the NPV list. This package only
ships with our other tooling-only packages.

(cherry picked from commit 9d314071dc)
2018-10-30 18:04:11 -07:00
Nate McMaster eb79d8f75e
Remove the EventNotification submodule 2018-10-30 17:10:11 -07:00
Hao Kung da9318f431
Block enabled 2fa in the UI without cookie consent (#2035)
* Block enabled 2fa in the UI without cookie consent

* Guard against feature not being there

* Set up tweak

* Fix
2018-10-30 16:23:55 -07:00
BrennanConroy 36ca210a65 [Java] Add null ref test for websocket 2018-10-30 15:43:43 -07:00
BrennanConroy 46a3d7e342 Merge branch 'release/2.2' of https://github.com/DHosseiny/SignalR into DHosseiny-release/2.2 2018-10-30 15:43:10 -07:00
Chris Ross (ASP.NET) 3e08bf8833 Move tests to net472 2018-10-30 15:18:52 -07:00
Nate McMaster a705aae147
Merge branch 'release/2.1' into release/2.2 2018-10-30 15:07:46 -07:00
Nate McMaster 9405d058fa
Merge branch 'release/2.1' into release/2.2 2018-10-30 14:54:51 -07:00
Pranav K 734b919b02 Respect SuppressInferBindingSourcesForParameters
Fixes https://github.com/aspnet/Mvc/issues/8657
2018-10-30 14:37:21 -07:00
ASP.NET CI a0fdca9a78 Updating BuildTools from 2.1.3-rtm-15833 to 2.1.3-rtm-15834
[auto-updated: buildtools]
2018-10-30 14:14:50 -07:00
BrennanConroy c9600ac2d4
[Java] Log invocation binding failures (#3160) 2018-10-30 13:49:43 -07:00
Piotr Wosiek af6527dcef Fix XML doc on HttpMethodAttribute and derived ones 2018-10-30 13:21:15 -07:00
Ajay Bhargav Baaskaran 8e62dbcae9 Change testing strategy for build server shutdown test 2018-10-30 13:20:33 -07:00
ASP.NET CI 6b894d9c28 Updating submodule(s)
EntityFrameworkCore => 69e54addd48783e2219a239b2c03933b48e83071

[auto-updated: submodules]
2018-10-30 12:04:26 -07:00
ASP.NET CI 50cc4fa178 Updating submodule(s)
Diagnostics => 4c94bc272b
EntityFrameworkCore => cdc92acdc172a4fb4a822e924b475dd4e54f621f
SignalR => 73f2f19984

[auto-updated: submodules]
2018-10-30 00:05:02 -07:00
John Luo e958d82584 Add more chrome test logging
- fix an issue with tests running as root on VSTS
2018-10-29 16:56:10 -07:00
BrennanConroy 73f2f19984
[Java] API level support down to 23 2018-10-29 16:53:47 -07:00
Nate McMaster 97dc5852a2
Suppress warning NU5125 about upcoming deprecation of PackageLicenseUrl (#3758) 2018-10-29 16:45:04 -07:00
Ryan Nowak 4c94bc272b Rename anti-caching option
- Renamed the property for configuration response caching headers
- Renamed the options class to avoid conflicts with other type names

Fixes https://github.com/aspnet/Diagnostics/issues/509
2018-10-29 16:44:45 -07:00
ASP.NET CI 6db081fff7 Updating submodule(s)
SignalR => 1edf818104

[auto-updated: submodules]
2018-10-29 13:37:22 -07:00
Mikael Mengistu 1edf818104 Remove hidden BiConsumer reference (#3215) 2018-10-29 13:33:19 -07:00
John Luo a058bc0c0a Win-arm shared framework 2018-10-29 12:54:38 -07:00
ASP.NET CI f3e4d442ac Updating BuildTools from 2.2.0-preview2-20181027.2 to 2.2.0-preview2-20181029.2
[auto-updated: buildtools]
2018-10-29 12:04:22 -07:00
ASP.NET CI 0855b08f34 Updating submodule(s)
EntityFrameworkCore => f2b5430c3cb589e5bd515b44be9cdd0ad07748e0
Mvc => 35d2ab37f7
Razor => 8674dd9236
SignalR => 9407fe12f6

[auto-updated: submodules]
2018-10-29 12:04:14 -07:00
BrennanConroy 9407fe12f6
RxJava is on the public API so the library needs to declare it as such (#3155) 2018-10-29 11:43:01 -07:00
Ajay Bhargav Baaskaran 8674dd9236 Removed duplocate Id for a RazorDiagnostic 2018-10-29 11:25:29 -07:00
Pavel Krymets 134bd90888
Filter paths in SiteExtension trigger (#3747) 2018-10-29 10:59:37 -07:00
Pranav K 35d2ab37f7 Allow passing a dictionary to ValidationProblemDetails
Fixes https://github.com/aspnet/Mvc/issues/8645
2018-10-29 09:56:17 -07:00
Pranav K ccde910b29 Specify TaskCreationOptions when using TCS
Fixes https://github.com/aspnet/Mvc/issues/8558
2018-10-29 09:33:05 -07:00
ASP.NET CI f2bf295cdf Updating submodule(s)
Mvc => 0b6932dc15

[auto-updated: submodules]
2018-10-29 07:09:09 +00:00
Doug Bunting 0b6932dc15 Quick fix: Clean up test warnings
- avoid "Skipping test case with duplicate ID" messages
  - xUnit gets confused when `[Theory]`s are overridden
- avoid "falling back to single test case" messages
  - fix inspired by aspnet/SignalR#1820
2018-10-28 21:18:57 -07:00
ASP.NET CI b773918d76 Updating submodule(s)
Diagnostics => 1afd5b2594
Mvc => 37e562902f

[auto-updated: submodules]
2018-10-28 07:05:19 +00:00
Ryan Nowak 1afd5b2594 Don't use Map
Fixes aspnet/Diagnostics#511 and aspnet/Diagnostics#514

It's really confusing to people that we use Map. Users expect that the
URL they provide for the health check middleware will only process
exact matches. The way it behaves when using map is not optimal for some
of the common patterns.
2018-10-27 21:01:55 -07:00
Doug Bunting 37e562902f Support single `IDocumentProvider` method signature
- #8593
- also find `IDocumentProvider` using a more-laborious process
  - `Type.GetType(string)` requires an assembly-qualified name and we don't know the assembly
- default method name now `GenerateAsync`
- only supported signature is `public Task GenerateAsync(string, TextWriter)`

also:
- handle more error cases in the tool's inside man
- avoid an empty document file if `IDocumentProvider.GenerateAsync(...)` fails
- unwrap an `AggregateException`

nits:
- remove duplicate comments
- change `GetDocumentCommandWorker.TryProcess(...)` to return `false` on failure
  - minor because return value is currently ignored
- rename `GetDocumentCommandContext.Output` -> `OutputPath`
- reflect recent change to `dotnet-getdocument`'s `Resources.resx` file in its designer file
2018-10-27 15:27:33 -07:00
ASP.NET CI 728ad474a9 Updating BuildTools from 2.2.0-preview2-20181026.4 to 2.2.0-preview2-20181027.2
[auto-updated: buildtools]
2018-10-27 12:04:25 -07:00
Nate McMaster 373e67896a
Fix the path to RPM template and config files 2018-10-27 03:02:45 -07:00
ASP.NET CI 09f8473d29 Updating submodule(s)
DotNetTools => bda375e411
Razor => 25a895123e

[auto-updated: submodules]
2018-10-27 02:36:10 -07:00