Commit Graph

44758 Commits

Author SHA1 Message Date
Chris Ross 1dd3a2ee1f #147 - OWIN: Throw KeyNotFoundException if the underlying Feature is missing. Return defaults for required entries. 2014-11-14 15:11:40 -08:00
Chris Ross 0fee3c87a0 #85 - Update the targeted Facebook API version to v2.2. 2014-11-14 15:05:31 -08:00
Pranav K 052ad3e95f RenderSection \ RenderSectionAsync does not work in sections
Fixes #1509
2014-11-14 12:17:25 -08:00
Suhas Joshi 42c809ca16 Updated to use EF Async methods 2014-11-14 11:47:51 -08:00
N. Taylor Mullen bad8b16a2a Add extensibility point to resolve descriptors in assembly.
- Modified our default TagHelperDescriptorResolver to provide a protected virtual method that it uses under the covers to resolve descriptors for an entire assembly. This will enable tooling to cache descriptors on a per-assembly basis.

#214
2014-11-14 10:45:19 -08:00
N. Taylor Mullen 829faaaa4b Change TagHelperAttributeDescriptor to not depend on PropertyInfo.
- Right now the only information that is used from the PropertyInfo is the PropertyName and the PropertyType, therefore changed the PropertyInfo property on TagHelperAttributeDescriptor to be AttributeTypeName since we already had an accessor for AttributePropertyName.
- Modified test comparers to validate type names.

#214
2014-11-14 10:45:14 -08:00
N. Taylor Mullen 2200f7dc3a Add AssemblyName to TagHelperDescriptor.
- TagHelperDescriptor's need a way to showcase where they came from so tooling can reverse look them up.
- Update tests to specify TagHelperDescriptor assembly names.

#214
2014-11-14 10:45:08 -08:00
N. Taylor Mullen 8d4bdbdb84 Allow invalid HTML to be in Razor pages.
- Modified the TagHelperParseTreeRewriter to not remove invalid HTML snippets.
- Added tests to validate invalid HTML is allowed.

#212
2014-11-14 10:30:51 -08:00
Chris Ross b7bb7f8fcf Fix issue with empty path. 2014-11-14 09:43:33 -08:00
Suhas Joshi 8709721890 Merge branch 'UpdateKestrel' of https://github.com/aspnet/Security into UpdateKestrel 2014-11-13 16:51:52 -08:00
Suhas Joshi 4f90920b6d Added kestrel and running on IIS support 2014-11-13 16:50:53 -08:00
Chris Ross bf5d14f477 #78 - Enable TestServer to populate the PathBase. 2014-11-13 16:23:03 -08:00
Suhas Joshi 191bf8815c Updating connection strings to use lcatest localdb 2014-11-13 15:49:45 -08:00
Suhas Joshi 2f7c186b24 Adding necesary files for IIS hosting 2014-11-13 12:57:01 -08:00
ianhong dd1500dcfb Updated a comment and sort usings 2014-11-13 11:28:13 -08:00
ianhong 245d1dffda Updating the summary comment for IRazorViewFactory and its tests per comments 2014-11-13 11:28:12 -08:00
ianhong 0720177243 Updating per comments 2014-11-13 11:28:12 -08:00
ianhong 23a7aa813d Updating FindView_UsesViewLocationExpandersToLocateViews for IRazorViewFactory. 2014-11-13 11:28:12 -08:00
ianhong e9c7a34cfc Introducing RazorViewFactory for RazorView 2014-11-13 11:28:11 -08:00
Suhas Joshi 0815681a95 Added kestrel to run samples on Mono 2014-11-13 11:16:36 -08:00
Doug Bunting 7e8870cb9f Per PR discussion
- clean up "the the" in XML comments
- simplify refactoring VS did when I renamed `GetHtmlHelperForViewData()`
 - fix existing issue in `HtmlHelperCheckboxTest.CheckBoxReplacesUnderscoresInHtmlAttributesWithDashes()`
   (was using a `HtmlHelper<ViewDataDictionary<TestModel>>`)
2014-11-12 21:56:11 -08:00
Doug Bunting 1d3ae83507 Address PR comments in test code
- add missing license headers
- make "post" more obvious
- use `Assert.IsAssignableFrom()`

nit: remove unused `using`s in `HtmlHelperLinkGenerationTest`
2014-11-12 21:56:03 -08:00
Doug Bunting 6313a9682e Address PR comments in product code
- XML comment improvements
2014-11-12 21:55:55 -08:00
Doug Bunting 2982c72547 Add `Html.BeginForm()` and `Html.BeginRouteForm()` tests
- helps w/ #453 since `Html.BeginForm()` wasn't previously tested
- provide a `DefaultTemplatesUtilities.GetHtmlHelper()` overload with an
  `IHtmlGenerator` parameter
- update `DefaultTemplateUtilities` to use `DefaultHttpContext`
 - stop using a mock for this purpose; provides a non-`null` `Request`

nit:
- `DefaultTemplatesUtilities.GetHtmlHelperForViewData()` -> `...GetHtmlHelper()`
  for consistency with other overloads
2014-11-12 21:55:48 -08:00
Doug Bunting 22fafe298c Add `BeginRouteForm()` HTML helper
- refactor `DefaultHtmlGenerator.GenerateForm()` to support new method

nits:
- correct XML comments
- add a few more code comments
2014-11-12 21:55:40 -08:00
kanchanm 47d0afbe38 Fixing xml comment typo 2014-11-12 16:25:01 -08:00
Victor Hurdugaci 2970af14b1 Update KProj to the latest format 2014-11-12 15:56:14 -08:00
Victor Hurdugaci c0d8e94287 Update KProj to the latest format 2014-11-12 15:43:31 -08:00
Victor Hurdugaci 15344d8d7a Update KProj to the latest format 2014-11-12 15:39:40 -08:00
Victor Hurdugaci a3a59f122d Update KProj to the latest format 2014-11-12 15:36:26 -08:00
Victor Hurdugaci ee162013a5 Update KProj to the latest format 2014-11-12 15:33:16 -08:00
Victor Hurdugaci 39accef1ad Update KProj to the latest format 2014-11-12 15:24:16 -08:00
Victor Hurdugaci 1b8f25f7d4 Update KProj to the latest format 2014-11-12 15:15:40 -08:00
Victor Hurdugaci 53d89bb9b5 Update KProj to the latest format 2014-11-12 15:12:39 -08:00
Victor Hurdugaci 76bb27e5d3 Update KProj to the latest format 2014-11-12 15:09:59 -08:00
Victor Hurdugaci d25ffec655 Update KProj to latest version 2014-11-12 15:06:43 -08:00
Victor Hurdugaci b466013235 Update KProj to the latest format 2014-11-12 15:01:34 -08:00
kanchanm 4598505652 Fix to special case Dispose method to be treated as non-action 2014-11-12 14:52:19 -08:00
Hao Kung 5c10f9e96b SignOut all identity cookies except for RememberMe
Fixes https://github.com/aspnet/Identity/issues/211
2014-11-12 12:38:34 -08:00
Hao Kung 91eac9f74e Remove old V1 method: FindByUsernamePassword
Replaced with FindUser/CheckPassword

Fixes https://github.com/aspnet/Identity/issues/223
2014-11-12 12:22:50 -08:00
Hao Kung d624876ad3 Fix add phone number views in sample 2014-11-12 12:00:17 -08:00
Ryan Nowak e9d8c845d6 Create a new routedata for each 'router' for MVC
This is the MVC companion to https://github.com/aspnet/Routing/pull/122

As routing flows, routes replace the route data and mutate a copy. This
allows users to make changes that dirty the data without affecting
undesired state changes.

We also add the 'next' router for diagnostic purposes.
2014-11-12 11:10:21 -08:00
Ajay Bhargav Baaskaran 232deb47d0 added tests for json input formatter 2014-11-12 10:50:55 -08:00
Doug Bunting 3edc04741c Address PR comments
- "K_build_options" -> "KPM_build_options" environment variable
- "K_build_options" -> "KPM_restore_options" (oops)
- "set-quiet" -> "--quiet" target

nit: remove trailing whitespace
2014-11-12 08:45:54 -08:00
Doug Bunting dd5e65eb1d Get build and restore options from environment; provide set-quiet target
- see #123
- leaves default build unchanged
- run `build set-quiet default` for a much-quieter build
2014-11-12 08:40:44 -08:00
Pranav K ac129c71ac Updating update-master to reset to release and copy NuGet.master.config to
repos
2014-11-12 07:41:24 -08:00
Troy Dai 73a439804b Skip calling clean-npm-modules from #run-grunt on Mono 2014-11-11 17:02:42 -08:00
DamianEdwards 88ebb165e7 Fixed kproj artifacts dir location 2014-11-11 12:06:43 -08:00
DamianEdwards 9c279164c4 Updated the grunt target to delete node_modules directory afterward
- It shelss out to "robocopy" tool as that is safe for long paths
- Doing this to work around the issue with KRE compile failing when long paths are present in the project folder
2014-11-11 11:15:36 -08:00
Kiran Challa 17e4dd2bf6 [Fixes #1429] Content negotiation does a case-sensitive matching of media type's parameter values 2014-11-11 10:15:51 -08:00