Commit Graph

39583 Commits

Author SHA1 Message Date
David Fowler feb9d1281e Tweak libuv shutdown sequence (#1735)
* Tweak libuv shutdown sequence
- Increase timeouts for thread and listener shutdowns
- Remove post.Unreference call from AllowStopRude
2017-04-21 13:12:37 -07:00
Ajay Bhargav Baaskaran 8eac7c2d6c [Fixes #6117] Added RedirectToPage overloads to Controller 2017-04-21 12:19:35 -07:00
Kiran Challa 7dff704c34 Unskipped Nano server's standalone tests 2017-04-21 12:15:19 -07:00
Ajay Bhargav Baaskaran 4e2cd0c2d6 Finish writer implementation of the remaining IR nodes and added tests
- SetTagHelperPropertyIRNode
- ChecksumIRNode
- UsingStatementIRNode
- Preallocated attributes target extension
- HtmlAttributeIRNode and friends
- Design time directive helper target extension
- Removed renderers and rendering conventions
- Regenerated IR baselines
Issue - #846 and #1051
2017-04-21 11:46:34 -07:00
N. Taylor Mullen 83faaebdb6 Upgrade Roslyn dependency to 2.0.0.
- Added C# 7 unit and functional test to validate features work end-to-end.

#6149
2017-04-21 11:41:31 -07:00
N. Taylor Mullen 1696e2aebf Upgrade Razor's Roslyn dependency to 2.0.0.
- Added C# 7 test to validate questionable features work end-to-end.
- Had to add several explicit package references to let our VS specific packages work as expected.

#1046
2017-04-21 11:40:21 -07:00
David Fowler 383a13f1f9 Remove unused dependency (#1032) 2017-04-21 10:37:35 -07:00
Pranav K 6b96a38dc8 Revert "Set MvcRazorExcludeRefAssembliesFromPublish to false to fix build break temporarily"
This reverts commit 69e2fa82eb.
2017-04-21 09:37:20 -07:00
Ryan Brandenburg 9daa61084e Make DataStoreErrorLogger._log static 2017-04-21 09:26:04 -07:00
Nate McMaster 31635abf6b Resolve warnings about duplicate imports of Microsoft.Common.targets 2017-04-21 08:54:29 -07:00
Christopher Dresel 025870e8b9 Fix #6159 - Fix deep copy for ControllerModel and ActionModel 2017-04-21 07:41:14 -07:00
David Fowler dcea15dba7 Skipped newly failing AddressRegistration tests failing tests on OSX and Linux (#1732)
* Unblock CI
2017-04-21 01:54:44 -07:00
Kiran Challa e606844509 Unskipped standalone functional tests 2017-04-21 01:43:48 -07:00
Kiran Challa 51f77ea7f3 Workaround: On xplat machines, provided executable permission to published standalone application executable 2017-04-20 23:56:29 -07:00
Mike Harder 10775adf5b Revert "Adds new WebHost API for creating IWebHost & IWebHostBuilder with defaults:"
This reverts commit 55d50b2d41.
2017-04-20 18:47:00 -07:00
Mike Harder 992407fb35 Revert "Update build targets and clean up"
This reverts commit 587985b497.
2017-04-20 18:46:34 -07:00
Ryan Brandenburg 5a184df808 Remove Binder from Page and PageModel 2017-04-20 17:54:50 -07:00
John Luo 587985b497 Update build targets and clean up 2017-04-20 17:17:57 -07:00
Kiran Challa f4d84f50cd Upgrading Moq to 4.7.1 2017-04-20 17:07:50 -07:00
damianedwards 55d50b2d41 Adds new WebHost API for creating IWebHost & IWebHostBuilder with defaults:
- #24
2017-04-20 16:55:56 -07:00
Hao Kung 7f421a0403 Update tests 2017-04-20 16:50:15 -07:00
Kiran Challa 95aadb3f4f removed dead code 2017-04-20 16:47:26 -07:00
Kiran Challa 2388cca5ac Workaround for issue https://github.com/aspnet/Routing/issues/390 2017-04-20 16:47:26 -07:00
Stephen Halter a14eabce9a RequestTests and ResponseTests cleanup (#1723) 2017-04-20 16:33:05 -07:00
Andrew Stanton-Nurse fc54ffc96e fix build 2017-04-20 16:06:15 -07:00
Hao Kung bc757faeba Add GetExternalAuthenticationSchemes back 2017-04-20 15:46:20 -07:00
Hao Kung 4f20655850 Set DisplayName for auth 2017-04-20 14:19:32 -07:00
Andrew Stanton-Nurse 64e9cba14d fix build broken by PlatformAbstractions (#409) 2017-04-20 14:17:45 -07:00
N. Taylor Mullen c25aadf599 Enable page directive to handle malformed text.
- Made a targeted fix to PageDirective that stops it from crashing Visual Studio when its malformed.
- Added unit test to validate PageDirective didn't throw when attempting to determine if something was a page.
- Added an integration test to validate malformed page tags can make their way through the entire Razor pipeline and don't destroy the rest of the content.

#1247
2017-04-20 14:05:54 -07:00
Hao Kung ea3becb3ca Reenable APICheck 2017-04-20 13:48:26 -07:00
N. Taylor Mullen 715aa9bcae Fix cross plat tests for TagHelperBinderSyntaxTreePassTest. 2017-04-20 13:33:00 -07:00
Pranav K 9fe480f735 Add LazyReferenceMetadataFeature 2017-04-20 13:05:50 -07:00
Nate McMaster ee9feedc27 Improve implementation of IHttpUpgradeFeature
After upgrade has been accepted by the server:
 - Reads to HttpRequest.Body always return 0
 - Writes to HttpResponse.Body always throw
 - The only valid way to communicate is to use the stream returned by IHttpUpgradeFeature.UpgradeAsync()

Also, Kestrel returns HTTP 400 if requests attempt to send a request body along with Connection: Upgrade
2017-04-20 12:42:58 -07:00
Hao Kung 4566cf9fdb Add DisplayName to scheme 2017-04-20 12:42:12 -07:00
Hao Kung c142085695 UseIdentity => UseAuthentication 2017-04-20 12:34:07 -07:00
Brice Lambson e3180baea5 Re-enable Entity Framework tests
Resolves #350
2017-04-20 12:11:22 -07:00
N. Taylor Mullen f31b45d84a Enable TagHelper directives to handle malformed text.
- Prior to this change we'd try to substring a TagHelper directive with length 1 but our substring call would be for -1 (explosions).
- Added tests to validate that `@tagHelperPrefix`, `@removeTagHelper` and `@addTagHelper` all behave properly when they have malformed quotes.

#1242
2017-04-20 11:43:38 -07:00
Pranav K 681b798a2e RedirectToPage doesn't trim /Index from URL
Fixes #6080
2017-04-20 11:15:45 -07:00
Andrew Stanton-Nurse a8add21274 react to removal of PlatformAbstractions (#356) 2017-04-20 11:09:39 -07:00
Andrew Stanton-Nurse 198fe34813 react to removal of PlatformAbstractions (#36) 2017-04-20 11:09:29 -07:00
Andrew Stanton-Nurse a975d7fa01 react to removal of PlatformAbstractions (#6164) 2017-04-20 11:09:18 -07:00
Andrew Stanton-Nurse 6c8359ca9c react to removal of PlatformAbstractions (#116) 2017-04-20 11:08:29 -07:00
Andrew Stanton-Nurse c3f658d232 react to removal of PlatformAbstractions (#781) 2017-04-20 11:01:22 -07:00
Andrew Stanton-Nurse c2eec09ba0 react to removal of PlatformAbstractions (#405) 2017-04-20 11:01:06 -07:00
Stephen Halter bebba2a113 Make UnrootedConnectionsGetRemovedFromHeartbeat test less flaky (#1727) 2017-04-20 10:58:48 -07:00
Kiran Challa e2e350ec6c [Fixes #763] Investigate System.Security.Claims references required to make compilation work 2017-04-20 10:24:48 -07:00
David Fowler d0743806d8 Disable UnrootedConnectionsGetRemovedFromHeartbeat because it's flaky 2017-04-20 10:21:20 -07:00
Kiran Challa e450dd707e Deleted obsolete razor views and models 2017-04-20 10:03:39 -07:00
Andrew Stanton-Nurse 14b99f74fa react to removal of PlatformAbstractions (#168) 2017-04-20 09:31:10 -07:00
Andrew Stanton-Nurse bfeff186e3 react to removal of PlatformAbstractions (#75) 2017-04-20 09:31:03 -07:00