Commit Graph

40929 Commits

Author SHA1 Message Date
Praburaj 76d0d56b5d Setting DNX_APPBASE from the deployment helpers 2015-04-15 15:09:15 -07:00
Harsh Gupta 7f68a47fde Fixing doc comments for c67236141b 2015-04-15 14:46:29 -07:00
Praburaj 6dd1fd7dc1 Selfhost does not seem to like CreateNoWindow on CI. 2015-04-15 14:36:22 -07:00
Harsh Gupta c67236141b Fixes 2304:
The fix splits client validation and model validation into two separate hierarchies.
Introduced ClientModelValidatorProvider in MvcOptions, which can be iterated to produce IClientModelValidators.
As a result of this, HtmlGenerator code can be free of ActionBindingContext and directly consumes options.
This also means that we do not modify the client validations during resource filters.
2015-04-15 14:30:46 -07:00
Praburaj 1c648fa905 Revert "Fixing runtime info middleware on coreclr"
This reverts commit 7f83cc4e99.
2015-04-15 13:55:21 -07:00
Praburaj 5a289a2c9b Merge branch 'packagename' into dev 2015-04-15 13:50:12 -07:00
Praburaj eac23bc1d8 Moving some helpers into validator class 2015-04-15 13:49:57 -07:00
Hao Kung f191792b96 React to Http Challenge changes 2015-04-15 13:10:35 -07:00
Hao Kung f71d49744e React to WebHostingBuilder 2015-04-15 12:45:28 -07:00
N. Taylor Mullen eaa58bc913 Change inject directive to format correctly after newline during design time.
- Also modified existing tests to account for aspnet/Razor#332 which fixed models formatting after newline.
- Updated tests for inject to understand new formatting parsing.

aspnet/Razor#332
2015-04-15 12:18:45 -07:00
Praburaj ebf76371de Adding a package description for the ELM middleware package
Fixes: https://github.com/aspnet/Diagnostics/issues/100
2015-04-15 12:10:04 -07:00
Ajay Bhargav Baaskaran 4951235eef [Fixes #2337] Added support for file types in input taghelper and
htmlhelper
2015-04-15 11:58:40 -07:00
Ajay Bhargav Baaskaran a9f2c937df React to Cookie changes 2015-04-15 11:50:11 -07:00
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