Cesar Blum Silveira
1209eca3fa
Normalize request path to NFC and resolve dot segments ( #273 ).
2016-01-28 15:29:29 -08:00
John Luo
ae47bb21a6
Ordering sensitive configuration #582
2016-01-28 13:55:17 -08:00
N. Taylor Mullen
662e6e6dbe
Fix build break
2016-01-28 13:50:21 -08:00
Hao Kung
80dc5759cc
Async overloads for AuthZ RequireAssertion
2016-01-28 12:48:00 -08:00
N. Taylor Mullen
f78c52a216
Expose `IsTagHelper` as an extensibility point.
...
- This is required for the Razor tooling that determines `TagHelperDescriptor`s.
https://github.com/aspnet/RazorTooling/issues/43
2016-01-28 11:41:21 -08:00
Pranav K
690c42c199
Add dependency on System.Runtime.Serialization.Primitives to make up for JSON.NET not including it
...
Fixes https://github.com/aspnet/Mvc/issues/3946
2016-01-28 11:13:17 -08:00
Pranav K
8d19947ada
Updating to dotnet-cli build
...
Fixes #9
2016-01-28 11:05:28 -08:00
Brennan
27fb99293d
Update Mock for logging
2016-01-28 10:12:39 -08:00
Ryan Nowak
8753c60b43
Fix failing auth test
2016-01-28 08:23:49 -08:00
Derek Gray
8b726ddc0c
Allow the use of the Prompt property of DisplayAttribute for the placeholder attribute of input fields (addresses #3723 )
2016-01-27 16:18:23 -08:00
ryanbrandenburg
78e7179221
* Remove HttpRespomseStreamWriter
2016-01-27 16:04:54 -08:00
Chris R
a80c5e6d85
#614 Standardize the pattern for scope defaults.
2016-01-27 15:26:32 -08:00
Brennan
297c72aa21
React to Logging API changes
2016-01-27 14:42:56 -08:00
Brennan
1fd703e56f
React to Logging API changes
2016-01-27 14:39:00 -08:00
Stephen Halter
d616f0ccb0
Fix FindFirstEqualByte tests
...
- On some platforms, the bytes array was not large enough to fill a vector.
Ex: https://travis-ci.org/aspnet/KestrelHttpServer/builds/105277870#L2633
- Additionally test FindFirstEqualByte with only one bit set in the array
2016-01-27 14:32:34 -08:00
Brennan
15ed03eb26
React to Logging API changes
2016-01-27 14:25:52 -08:00
Brennan
3ea44c6f75
React to Logging API changes
2016-01-27 14:01:49 -08:00
Hao Kung
00ceeb0262
Add IAuthorizationPolicyProvider support
2016-01-27 13:36:53 -08:00
Stephen Halter
a2fe59fb2c
Speed up unit tests
...
- Remove unnecessary uses of Task.Delay
- Change all usages to CancellationToken.None to default(CancellationToken)
for consistency
2016-01-27 13:01:44 -08:00
Brennan
3cac63a9cf
React to Logging API changes
2016-01-27 12:37:35 -08:00
Brennan
247c46da1c
React to Logging API changes
2016-01-27 11:04:35 -08:00
Ryan Nowak
1a70f12bf8
Undesign client validation
...
This change removes a layer of abstraction. These validators now just do
what they do now without creating a bunch of intermediate objects.
ModelClientValidationRule has been removed, and client validations
manipulate the attributes collection of a tag directly.
2016-01-27 09:55:18 -08:00
Ajay Bhargav Baaskaran
8c4bcf14c7
Added caching for validators
2016-01-26 17:15:16 -08:00
jacalvar
71a815be50
[ Fixes #3979 ] AuthorizationContext conflicts with type in Microsoft.AspNet.Authorization
2016-01-26 16:27:40 -08:00
Ajay Bhargav Baaskaran
726ebb7a05
Updated unit test coverage for html helpers
...
- updated HtmlHelperLabelExtensionsTest
- Added tests for HtmlHelperInputExtensions
- Added tests for ValidationMessage and ValidationSummary extensions
2016-01-26 16:04:35 -08:00
jacalvar
357f4a00b7
[ Fixes #3952 ] ViewComponentDescriptor.Type should be a TypeInfo instance instead of a Type instance
2016-01-26 16:01:58 -08:00
Doug Bunting
153c229b7e
Update .gitignore
...
- ignore launchSettings.json in particular
2016-01-26 15:18:29 -08:00
Chris R
9c41eb958e
React to IdentityModel breaking change.
2016-01-26 14:28:49 -08:00
jacalvar
354400f12b
[ Fixes #3752 ] Refactor and cleanup view components
...
* Moved instantiation of view components into DefaultViewComponentActivator
* Introduced IViewComponentFactory to handling setup of new view component instances.
* Added a release method on IViewComponentActivator for handling tear down of view
component instances.
2016-01-26 14:18:12 -08:00
jacalvar
2b0bea675e
[ Fixes #3752 ] Cleanup Controller invocation pipeline
...
* Added a Release method to IControllerActivator
* Changed Create in IControllerActivator to take in a ControllerActionContext
* Move the check to determine if a controller can be instantiated into the controller activator.
* Move logic for disposing controllers into the controller activator and make release on the
controller factory delegate into the activator.
* Changed release methods to take in a controller context.
2016-01-26 14:15:03 -08:00
N. Taylor Mullen
e952009b09
Fix broken test.
...
- `ViewBuffer.Pages` is now initialized on `ViewBuffer` construction.
2016-01-26 12:00:25 -08:00
Chris R
44f03ef83f
Restrict x-forwarded-for evalutation. Credit: pmhsfelix.
...
Use x-forwarded-for validation to restrict other forwarders.
Rename OverrideHeaderMiddleware to ForwardedHeadersMiddleware.
Fix tests
Fix package version.
2016-01-26 10:59:13 -08:00
Doug Bunting
7446cec516
Update `TagHelperSampleTest` to avoid failures due to statefulness of the service
...
- have one test muted at the moment in our CI
- add `Reset()` action to the service, enabling `// Arrange` to bring `Index()` content to a known state
- add a couple more tests to `TagHelperSampleTest` covering the new action and empty `Index()` list
nits:
- use `ViewData`, not `ViewBag`
2016-01-26 10:50:51 -08:00
Pavel Krymets
79eb0138c7
Migrate to using System.Runtime.Loader.AssemblyLoadContext
2016-01-26 10:22:25 -08:00
SteveSandersonMS
2218212c92
Require exactly the same version of rxjs as current Angular 2 beta
2016-01-26 15:25:55 +00:00
SteveSandersonMS
44fd9dd6ab
Publish update angular2-aspnet NPM module so it takes dependency on correct version of Angular
2016-01-26 15:21:50 +00:00
SteveSandersonMS
47c956cc4d
Move packages under top-level 'src' folder
2016-01-26 15:06:36 +00:00
Ben Adams
00b8a13b55
Merge+rename+rename resolve
2016-01-26 11:33:14 +00:00
SteveSandersonMS
5e5b12dc54
Remove explicit imports for NgIf/NgFor/NgClass, as that's no longer needed
2016-01-26 11:20:57 +00:00
SteveSandersonMS
ea4c668a63
Make the edit form and delete dialog work again
2016-01-26 11:17:01 +00:00
Doug Bunting
7dddd06a38
Add more tests of `TagBuilder.CreateSanitizedId()`
...
- investigating #3951
2016-01-25 21:58:39 -08:00
Ben Adams
9f2d685cbf
Merge remote-tracking branch 'refs/remotes/aspnet/shalter/always-immediate' into combined-fixes
2016-01-26 02:15:56 +00:00
N. Taylor Mullen
a47dd7ad63
Fix design time line mapping Razor Host tests.
2016-01-25 17:39:10 -08:00
Ryan Nowak
18909506e1
Flatten TagHelperOutput when writing
...
This change 'flattens' a TagHelperOutput when writing it out to an
HtmlTextWriter. This is a beneficial perf change because more often than
not the thing being written to is a ViewBuffer in Razor, which uses pooled
memory. This allows us to 'join' islands of pooled ViewBuffer memory back
into the main buffer instead of keeping them wrapped up in a
TagHelperOutput or TagHelperContent.
2016-01-25 17:32:18 -08:00
N. Taylor Mullen
2e7e1f9c85
Fix design time line mapping test.
2016-01-25 17:30:21 -08:00
Pranav K
f9ad93c8a5
Fixing XML docs
2016-01-25 16:08:04 -08:00
N. Taylor Mullen
6a43c420b6
Remove unneeded project.json
2016-01-25 15:48:03 -08:00
N. Taylor Mullen
964e58723c
Revert "Try out a Karma test or two"
...
This reverts commit d696f268f7 .
2016-01-25 15:35:54 -08:00
N. Taylor Mullen
1f77aa445a
Fix XML docs to pass xml-docs-test.
2016-01-25 14:55:42 -08:00
Chris R
8b29de8993
Remove ISessionStore.Connect in raction to removal of IDistrbutedCache.Connect.
2016-01-25 13:56:14 -08:00