Commit Graph

37701 Commits

Author SHA1 Message Date
Kiran Challa 780897f44a Updated License.txt 2017-07-05 10:09:53 -07:00
Nate McMaster a7bf561b1c Add CookieBuilder to CookieAuthenticationOptions and obsolete the duplicated properties 2017-07-05 10:05:10 -07:00
Nate McMaster 968237d751 Replace configure method on Twitter, RemoteAuthentication, and OpenIdConnect options with CookieBuilder 2017-07-05 09:56:12 -07:00
Nate McMaster 6f4f34a0bf Remove SessionOptions.SameSideMode (#176) 2017-07-05 09:40:55 -07:00
Chris R 85402d4bd6 Add CancellationToken to ISession Load/CommitAsync 2017-07-05 09:05:01 -07:00
Javier Calvarro Nelson ef43b100a6 Fix a null reference exception and add some null checks 2017-07-04 14:24:40 -07:00
Ryan Nowak 8d9c16132a Fix #6479 - remove IFileProvider constructor
The RazorProject implementation used by MVC at runtime has a constructor
that takes an IFileProvider (used by tests). This causes ambiguities
when a user registers an IFileProvider in DI.

Cleaning up tests to use a mock instead of the file provider directly
2017-07-04 13:48:56 -07:00
Ryan Nowak a23307e2b1 Check for properties that can't befound
If you give ModelExpressionProvider a lambda with a private property
you'll end up here. This wasn't common before, but it seems like users
are more likely to try it with pages.

Model Metadata and Model Binding don't handle private properties, so
supporting it in Model Expressions seems less than useful.

This isn't a breaking change because this case would have resulted in a
null-ref. Addresses #6400
2017-07-04 13:26:17 -07:00
John Luo bb1d80be2a Create common manifest file
This will trim additional packages such as runtime.win-arm64.runtime.native.system.data.sqlclient.sni
2017-07-03 18:36:30 -07:00
Murat Girgin 66b939725e https://github.com/aspnet/Security/issues/1265. Check Auth failures and log them. 2017-07-03 18:04:05 -07:00
Doug Bunting c351712419 Add `FloatingPointTypeModelBinderProvider` and related binders
- #5502
- support thousands separators for `decimal`, `double` and `float`
- add tests demonstrating `SimpleTypeModelBinder` does not support thousands separators for numeric types
- add tests demonstrating use of commas (not thousands separators) with `enum` values
2017-07-03 17:55:04 -07:00
Petr Onderka 354facf4ad Use localization middleware (#801)
* Use localization middleware
2017-07-03 17:52:39 -07:00
David Fowler f21f5039b2 Replace ConnectionContext with HubConnectionContext (#629)
* Replace ConnectionContext with HubConnectionContext
- The SocketDelegate implementation owns the transport pipe,
it's a single producer single consumer model. SignalR needs to support
multiple producers so that broadcast, return values and sending to individual
connections works. This change introduces a multi producer channel that is used
by all producers to copy data to the transport safely. This will make the move
to pipelines easier.
2017-07-03 17:44:28 -07:00
Mike Harder 95831af3eb Set "TreatWarningsAsErrors" before NuGet restore (#255)
* Ensures our build stays clean of NuGet warnings
2017-07-03 17:40:05 -07:00
Mike Harder 8608131b4e Set "TreatWarningsAsErrors" before NuGet restore (#115)
* Ensures our build stays clean of NuGet warnings
2017-07-03 17:39:59 -07:00
Mike Harder b70ca8056e Set "TreatWarningsAsErrors" before NuGet restore (#249)
* Ensures our build stays clean of NuGet warnings
2017-07-03 17:38:48 -07:00
Mike Harder 1c80d8fcf8 Set "TreatWarningsAsErrors" before NuGet restore (#71)
* Ensures our build stays clean of NuGet warnings
2017-07-03 17:38:32 -07:00
N. Taylor Mullen d36838ed88 Handle imported @page directives.
- Prior to this imported `@page` directives would flow through the Razor system without error. This resulted in inconsistent behavior between MVC and Razor. Now, imported `@page` directives result in diagnostics on the page directive node.
- Added two tests to verify that we still treat views with imported page directives as Razor pages BUT we also log a diagnostic on the page directive node.
- Renamed the `ViewComponentDiagnosticFactory` class to `RazorExtensionsDiagnosticFactory` so it can be used for more than just view component diagnostics. This way we can ensure that our diagnostics don't end up overlapping.

#1503
2017-07-03 17:11:17 -07:00
Javier Calvarro Nelson c50f55d1de Add a default sliding expiration of 30 seconds on Memory and Distributed Cache Tag Helpers. 2017-07-03 17:06:47 -07:00
Mike Harder f292fa8db5 Set "TreatWarningsAsErrors" before NuGet restore (#150)
* Ensures our build stays clean of NuGet warnings
2017-07-03 16:56:46 -07:00
Ryan Nowak 8a9bf9c71a Rewrite of code rendering context 2017-07-03 16:29:34 -07:00
Ryan Nowak 35889cba81 Add properties to the body node that it needs
Removes a usage of TagRenderingContext
2017-07-03 16:29:34 -07:00
Mike Harder c9ff84b7e5 Revert "Temporarily remove TreatWarningsAsErrors to unblock build (#809)" (#813)
This reverts commit f28400f986.
2017-07-03 16:24:50 -07:00
Ryan Brandenburg ddef61485b DiagnosticSource to 4.4.1 2017-07-03 15:09:38 -07:00
Ryan Brandenburg 654d6bee4a DiagnosticSource to 4.4.1 2017-07-03 15:06:56 -07:00
Ryan Brandenburg 057a853de7 DiagnosticSource to 4.4.1 2017-07-03 15:03:34 -07:00
Ryan Brandenburg 81544958b8 DiagnosticSource to 4.4.1 2017-07-03 15:02:01 -07:00
Sébastien Ros 13e76c24d3 Dispose CancellationTokenSource created in CacheTagHelper (#6293)
Fixes #5649
2017-07-03 14:59:48 -07:00
Pranav K 954e186261 Update LICENSE.txt text 2017-07-03 14:08:32 -07:00
Pranav K 6be831539c Update LICENSE.txt text 2017-07-03 14:08:21 -07:00
Pranav K 652afa7023 Update LICENSE.txt text 2017-07-03 14:08:15 -07:00
Pranav K a449fd4719 Update LICENSE.txt text 2017-07-03 14:08:09 -07:00
Pranav K 2462b9f173 Update LICENSE.txt text 2017-07-03 14:08:03 -07:00
Pranav K 96f6436a67 Update LICENSE.txt text 2017-07-03 14:07:57 -07:00
Pranav K c57938caa9 Update LICENSE.txt text 2017-07-03 14:07:45 -07:00
Pranav K d33791ea07 Update LICENSE.txt text 2017-07-03 14:07:40 -07:00
Pranav K 8cb1a31385 Update LICENSE.txt text 2017-07-03 14:07:34 -07:00
Pranav K 4694014a2e Update LICENSE.txt text 2017-07-03 14:07:18 -07:00
Pranav K ca751c5297 Update LICENSE.txt text 2017-07-03 14:07:12 -07:00
Pranav K ea8d868fe6 Update LICENSE.txt text 2017-07-03 14:07:06 -07:00
Pranav K 368883b39b Update LICENSE.txt text 2017-07-03 14:06:54 -07:00
Pranav K dc8330b18b Update LICENSE.txt text 2017-07-03 14:06:43 -07:00
Pranav K cf195d36a3 Update LICENSE.txt text 2017-07-03 14:06:38 -07:00
Pranav K fbfdbf4fe9 Update LICENSE.txt text 2017-07-03 14:06:32 -07:00
Pranav K 2c4bc302de Update LICENSE.txt text 2017-07-03 14:06:26 -07:00
Pranav K a0049e2c29 Update LICENSE.txt text 2017-07-03 14:06:20 -07:00
Pranav K 6cdcff9b5c Update LICENSE.txt text 2017-07-03 14:06:15 -07:00
Pranav K ac4157c627 Update LICENSE.txt text 2017-07-03 14:06:09 -07:00
Pranav K 596822f676 Update LICENSE.txt text 2017-07-03 14:06:04 -07:00
Pranav K 0704198e55 Update LICENSE.txt text 2017-07-03 14:05:58 -07:00