Commit Graph

39740 Commits

Author SHA1 Message Date
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
ajcvickers f593b05cc3 React to EF API removal 2014-11-11 10:09:51 -08:00
DamianEdwards 1e2152cd26 Update kproj files to move artifacts out of project folder 2014-11-10 14:20:49 -08:00
Pranav K fc99ba1426 Updating kvm.ps1 and kvm.sh scripts 2014-11-10 10:12:30 -08:00
Doug Bunting 2d32420f01 Add `<option/>` tag helper
- #1423
2014-11-07 14:11:12 -08:00
Doug Bunting 30f25fec99 Provide selected values to `<option/>` tag helpers
- value may remain in the `FormContext` beyond `</select>` end tag but will
  be cleaned up at the `</form>` end tag of the containing `<form/>` element
 - `SelectTagHelper` called prior to helpers for contained `<option/>`s and
   not again later
- adjust mock setups to handle new `GenerateSelect()` call
- add assertions for expected `FormContext.FormData` entry

nit: mention #1468 in a test comment
2014-11-07 14:11:07 -08:00
Doug Bunting 3d84b528e5 Extend `IHtmlGenerator.GenerateSelect()` to make selected values available
nit: use Linq methods, not query syntax in `DefaultHtmlGenerator`
2014-11-07 14:10:26 -08:00
N. Taylor Mullen de9a999bf6 React to aspnet/Razor#208 changes. 2014-11-07 11:54:30 -08:00
N. Taylor Mullen 54155e47e5 Add DesignTime code generation support for TagHelpers.
- We now generate a subset of the TagHelper runtime code during DesignTime. This enables users to see errors in the editor
- Added tests to validate design time code generation.
- Refactored runtime code generation tests (we now use a lot of their infrastructure for the design time pieces).

#208
2014-11-07 10:57:50 -08:00
Kirthi Krishnamraju 424099bd57 Updated readme 2014-11-07 10:52:23 -08:00
Pranav K 8f16060f94 Fixing dev NuGet.config 2014-11-06 22:17:09 -08:00
Pranav K 970ee1b71f Fixing dev NuGet.config 2014-11-06 22:08:10 -08:00
Pranav K 36d4d8999f Fixing dev NuGet.config 2014-11-06 22:06:51 -08:00
Pranav K 72604cb327 Fixing dev NuGet.config 2014-11-06 22:05:03 -08:00
DamianEdwards 0352ef8a79 MusicStore.Spa changes:
- Added buddy validation provider

Created SimpleMapper in MusicStore.Spa

- Fixed EF mapping config
- Made SimpleMapper to map DTOs to EF objects (and vice-versa)
- Admin screens now return Artist/Genre names when showing Album details

- Unhook grunt/npm/bower from project.json due to long-path issue in KRE build

- Remove unneeded AngularHtmlHelper<T> class
2014-11-06 14:07:27 -08:00
Pranav K 45f6bcde4a Merge branch 'release' into dev 2014-11-06 12:49:52 -08:00
Pranav K 087552dc5f Updating to release NuGet.config 2014-11-06 12:49:38 -08:00
Pranav K 6f543a7302 Merge branch 'release' into dev 2014-11-06 12:48:00 -08:00
Pranav K cd184e3e33 Updating to release NuGet.config 2014-11-06 12:46:58 -08:00