Commit Graph

37666 Commits

Author SHA1 Message Date
Hao Kung bee20973c7 React to http challenge changes 2015-04-15 11:39:12 -07:00
N. Taylor Mullen fedd53aab8 Update Razor directives to format correctly when entering newline.
- Existing Razor directives layout, inherits, addTagHelper, tagHelperPrefix and removeTagHelper should only ever span a single line and need to cause a re-parse when a newline is entered during design time. To do this modified their AcceptedCharacters to accept anything other than newline rather than anything.
- Updated existing tests to now expect AcceptedCharacters.AnyExceptNewLine when directives are present.
- This change also enables the model directive in Mvc since it also uses the inherit directives core parsing.

#332
2015-04-15 11:32:47 -07:00
N. Taylor Mullen 5bcda94b2c Create error when TagHelper binds to HTML attribute starting w/ data-.
- Added TagHelperDescriptorFactory tests to validate TagHelperAttributeDescriptor creation.

#342
2015-04-15 11:24:08 -07:00
Hao Kung 9ce84d39c2 React to http challenge changes 2015-04-15 11:21:32 -07:00
Hao Kung c69c289abf Simplify Challenge flow 2015-04-15 11:15:40 -07:00
Praburaj 98e70636fe Adding a description for hosting interfaces package.
Fixes: https://github.com/aspnet/Hosting/issues/193
2015-04-15 11:10:18 -07:00
Chris Ross 10f1b9c038 Fix cookie handling in tests. 2015-04-15 11:04:46 -07:00
Praburaj 7f83cc4e99 Fixing runtime info middleware on coreclr
Fixes: https://github.com/aspnet/Diagnostics/issues/108
2015-04-15 11:04:03 -07:00
Chris Ross 7641ca3722 Handle change to cookie parser. 2015-04-15 10:25:47 -07:00
Praburaj 062722f1fb Some diagnostic messages cleanup on deployment helpers 2015-04-15 10:01:44 -07:00
Praburaj 7c5e95818f Adding more diagnostics for iis express process. 2015-04-15 09:48:24 -07:00
Chris Ross e818783ba4 #167: Update cookie APIs to use shared core. 2015-04-15 09:37:47 -07:00
Chris Ross 09d6ab03bc Re-use public constants for header names. 2015-04-15 09:33:35 -07:00
Pranav K 8d506097a0 Update dnu restore to use --parallel flag 2015-04-15 08:15:45 -07:00
Youngjune Hong 9daf6b48a1 Update ModelBinderAttribute not throw exceptions from BinderType property setter 2015-04-14 17:31:50 -07:00
Praburaj 2f0eafa2a3 Scoping a work around previously applied for a Dnx bug 2015-04-14 17:09:51 -07:00
Praburaj 7f5f88081b Honoring the DNX_PACKAGES environment variable. 2015-04-14 17:03:18 -07:00
Praburaj 607ba4aef0 Overriding the environment variables as some of these environment variables are set on CI machines. 2015-04-14 16:32:37 -07:00
unknown d76b332a53 Updata _dataToken to _dataTokens in VirtualPathData 2015-04-14 16:14:36 -07:00
Youngjune Hong 852d6402eb Remove an unecessary test from DefaultAssemblyProviderTests 2015-04-14 16:00:10 -07:00
Praburaj 29ef86fad3 Move deployment helpers out of the test project. 2015-04-14 15:46:42 -07:00
N. Taylor Mullen 01a13bfa1d Add serviceable attribute to projects.
aspnet/DNX#1600
2015-04-14 15:00:26 -07:00
N. Taylor Mullen 96dc7ea6c5 Change TagHelperDescriptorFactory IsValidProperty => IsAccessibleProperty. 2015-04-14 12:22:10 -07:00
N. Taylor Mullen 2c4c35e126 Add rendering logic for PreElement and PostElement on TagHelperOutput.
- Added unit tests to validate that the properties were rendered correctly.
- Modified functional tests to utilize PreElement and PostElement.

aspnet/Razor#341
2015-04-14 12:01:20 -07:00
N. Taylor Mullen c9c8e802a7 Add PreElement and PostElement to TagHelperOutput.
- These two new properties will enable TagHelper authors to render content before and after the TagHelper's HTML element.
- Added tests to correspond with existing test coverage.
- Modified existing tests to double check for TagHelperOutput.Pre/PostElement.
- Refactored all DefaultTagHelperContent pieces of TagHelperOutput to be get only properties.

#341
2015-04-14 11:49:10 -07:00
Ryan Nowak d0e5118741 Delay Attribute Route initialization to the first request 2015-04-13 16:16:27 -07:00
Kiran Challa 24b930fa7c Clean up logging.
- Removing scopes as we want to limit the number of scopes being created.
- Added new log statements using the new log format string.
2015-04-13 15:59:38 -07:00
Pinpoint 5e03a6c1ad Fix incorrect handler delegation and update SignInScheme documentation 2015-04-13 23:20:24 +02:00
Pinpoint 4a2a742ad5 Fix SecurityTokenValidated and rework the different OAuth2 Bearer middleware tests 2015-04-13 23:19:32 +02:00
N. Taylor Mullen 9722319762 Refactor some pieces of Razor.
- String => string
- Updated RazorTemplateEngine to have better spacing.
2015-04-12 16:49:04 -07:00
Eilon Lipton c8f24b239d Merge pull request #260 from ryan1234/patch-1
Spelling mistake.
2015-04-10 18:08:02 -07:00
Ryan Meyer 03c47ad582 Spelling mistake.
Sorry I was looking at this code trying to track down a bug somewhere else and noticed a spelling mistake for a local variable. I know I tend to be anal about spelling, so figured I'd at least point it out.
2015-04-10 16:05:44 -07:00
Troy Dai dcac97fe3b React to configuration model change 2015-04-10 11:42:23 -07:00
Chris Ross a23b665e8d Update IServerInformation namespace. 2015-04-10 10:47:31 -07:00
Chris Ross e03c015065 Update IServerInformation namespace. 2015-04-10 10:40:09 -07:00
Chris Ross 7fb8053700 Move IServerInformation to Server.Interfaces. 2015-04-10 10:04:05 -07:00
Chris Ross 58f759ac25 Move IServerInformation to Hosting. 2015-04-10 09:58:57 -07:00
Matt Ellis ea636140c7 Allow Kestrel to boot when on CoreCLR and *NIX
With cross platform .NET Core support coming online, we need to update
our IsWindows check to not assume running on .NET Core means running on
Windows.  Since CoreFX doesn't yet expose a method for doing this (they
are working on adding it back), we'll just call Uname and if that
returns an empty string assume that we are on Windows.
2015-04-09 23:58:03 -07:00
ASP.NET Push Bot 578f5428ba ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@0fafbcc6bb
2015-04-09 17:36:20 -07:00
ASP.NET Push Bot 482dd39ab8 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@59aeab256b
2015-04-09 17:14:10 -07:00
sornaks 7ea467f73d Adding functional test for CacheTagHelper's enabled property. 2015-04-09 13:21:47 -07:00
sornaks 744c9c47b4 Adding NotNulls for format and format provider in DefaultTagHelperContent.AppendFormat. 2015-04-09 11:01:40 -07:00
Chris Ross 0ad0fc6a9f Remove logger dependencies. 2015-04-09 10:45:05 -07:00
David Fowler 9de989fd54 Removed unnecessary dependencies 2015-04-09 04:27:42 -07:00
Doug Bunting 8965ac96c0 Add more functional tests of cache profiles 2015-04-08 22:37:45 -07:00
Praburaj 14ee7abf22 Remove hosting dependency on diagnostics package 2015-04-08 19:16:36 -07:00
Harsh Gupta 58a5ad2279 Adding Outputformatter in resource filters. 2015-04-08 16:46:46 -07:00
Ajay Bhargav Baaskaran f60896bd90 [Fixes #2259] Use fast property setter in MutableObjectModelBinder 2015-04-08 16:44:30 -07:00
Victor Hurdugaci fab55afca5 Update resource names 2015-04-08 15:31:44 -07:00
Chris Ross 2461b00b02 Basic build infrastructure. 2015-04-08 15:29:15 -07:00