Commit Graph

11009 Commits

Author SHA1 Message Date
Suhas Joshi afdd2b4c3c Merge pull request #47 from suhasj/sujosh
Updated method to return CreateUserAdmin and Configuration method to ret...
2014-04-29 16:22:10 -07:00
Suhas Joshi 1a92b3048f Updated CreateAdmin method to return Task and added wait statement 2014-04-29 16:19:43 -07:00
ajcvickers 30dac08fe8 It's DbDatabase! (Updating for changes to database creation APIs) 2014-04-29 10:27:03 -07:00
Praburaj b7a989256f Few changes with this checkin:
1. Enabling a work around to add an album to the store (Due to bug# https://github.com/aspnet/WebFx/issues/339) currently its not possible to create / edit an album in the store.
2. Removing a not necessary route from the webFx routes - A previous CR feedback.
2014-04-28 18:02:21 -07:00
Praburaj e324f989e7 EditorForModel and EditorFor Html helpers are available now.
EditorForModel and EditorFor Html helpers are available now. Updating the sample to use those helpers.
2014-04-28 17:04:55 -07:00
Praburaj 80bccdd810 A bug in authorization filter fixed. Modifying sample to use the fix.
A bug in authorization filter at a controller level failing to honor a [AllowAnonymous]
override at an action level was fixed. Modifying the sample to use the fix.
2014-04-28 16:17:23 -07:00
Praburaj e57ca9ab61 A bug in Html Summary when trying to render error messages in a model state error bag is fixed.
Modifying the sample to use the fix.
2014-04-28 16:15:14 -07:00
Praburaj 92904e0d9e Bug in filtering a claim of a specific type and value is now fixed.
Modifying the sample to use the fix.
2014-04-28 16:12:08 -07:00
Praburaj 4a26d740b5 Issue related to having multiple antiforgery token helpers in a single page is now fixed with latest build.
I'm uncommenting the code to accomodate the fix now.
2014-04-28 12:08:59 -07:00
Praburaj a0f5369a20 Model binding can now handle nullable enums. Bug (https://github.com/aspnet/WebFx/issues/256) was fixed to address this.
Deleting the comment and uncommenting the sample code.
2014-04-28 11:01:46 -07:00
Praburaj 647ac5dac0 Modifying the Helios.cmd, Selfhost.cmd and CustomHost.cmd to start the application on different ports on different hosting models.
This will help us to root cause issues faster with fewer questions.
2014-04-28 10:32:59 -07:00
David Fowler 01daa33403 Added xml assembly since it's no included on mono by default 2014-04-26 13:03:51 -07:00
David Fowler e90fe3cefa Fixed issues with no finding main project k package if not on mono 2014-04-26 12:53:45 -07:00
David Fowler 90a149ab80 Added initial support for mono 2014-04-26 12:46:37 -07:00
Praburaj acb8421c90 Enabling Url.IsLocalUrl in the music store code 2014-04-25 15:58:20 -07:00
Praburaj 23fb4d8e7d 1. Enabling code to use the [Authorize] filter
2. Marked a few places with bug#s with work arounds
3. Making the app run on CoreCLR by default again (which I reverted by mistake in a previous submit).
2014-04-25 14:06:38 -07:00
ajcvickers 9d25c0b1f1 Updating EntitySet/EntityContext to DbSet/DbContext 2014-04-24 17:19:01 -07:00
Praburaj 8bd2d01b11 Adding the switch to turn on Helios errors when deployed to remote.
Currently the detailed errors are displayed only for local requests.
2014-04-24 14:53:19 -07:00
Praburaj 470f217374 HttpContext.User is being populated with an anonymous identity with a recent change. So I dont have to check for null before.
Fixing the app accordingly.
2014-04-24 14:35:14 -07:00
ajcvickers cda544c04b IServiceProvider no longer available from EntityConfigurationBuilder. Using ISP passed to context instead. 2014-04-24 14:16:24 -07:00
Praburaj 5bd052efaa 1. Making configuration as a service to read configuration settings from various places in the app
2. Reversed the order of registration of Environment source & json source as the logic for source override changed.
3. Taking a snapshot of the latest packages.
2014-04-23 15:16:58 -07:00
David Fowler 93a2ab2352 Fixed the configuration model and other compilation errors 2014-04-23 09:02:07 -07:00
Praburaj 1cc6445c49 Adding a temporary work around for a bug in ValidationSummary html helper that surfaces during register page.
Cleaning up a Dispose method in one of the controllers - all others have been cleaned up before.
2014-04-22 17:39:31 -07:00
Hao Kung 5ba60857a7 Identity DI changes 2014-04-22 14:01:42 -07:00
Brice Lambson 8b2dfabc30 Generate projects for net451 2014-04-21 13:16:45 -07:00
ajcvickers 737afbd610 An injection of musical love... (Updating music store to use new EF configuration and DI)
Changes EF setup to use common DI container
Sets up injection of context instances
2014-04-18 13:17:08 -07:00
David Fowler d138028462 Updated due to change in API 2014-04-17 22:38:08 -07:00
David Fowler f258b008fa Fixed build break and used new pattern for using mvc 2014-04-17 21:26:23 -07:00
Hao Kung 3c4a2df2cb Use DI for Identity 2014-04-17 15:36:17 -07:00
Hao Kung e61107a381 Switch to using Identity extensions 2014-04-17 14:29:25 -07:00
David Fowler c06aa04654 Update music store to handle the new changes in aspnet/WebFx#257 and aspnet/WebFx#259 2014-04-17 00:46:24 -07:00
Praburaj aa7fe89c81 Using a single GetUserName() temporary extension in all places where I try to get the user name. This temporary extension will go away when we have these extensions as part of identity package. 2014-04-16 17:22:05 -07:00
Praburaj 506b439f2f Using Html.DisplayNameFor helper to generate some titles. 2014-04-16 17:12:23 -07:00
Praburaj 20d0fc9bd8 Enabling code to use Html.LabelFor and Html.Label helpers. 2014-04-16 16:53:53 -07:00
Praburaj 5c3d268327 Deleting a view page related to social login which is not in alpha scope (previously missed to remove this). 2014-04-16 14:17:16 -07:00
Praburaj 439398b7ab Some minor cleanup:
1. Removing a couple of unused enum items which is not required for alpha
2. Cleaning up an unused namespace in Startup.cs
2014-04-16 14:16:07 -07:00
Levi Broderick 6bc6da1c7d Fix build break: inadvertently removed PBKDF2.cs and related functionality 2014-04-15 22:10:09 -07:00
GrabYourPitchforks 1959aa9e7f Merge from internal DataProtection repo. 2014-04-15 18:03:41 -07:00
Praburaj 41700cf56d Changes with this checkin:
adding a work around to test the account/manage user feature. With this I can verify password changes work fine.
2014-04-15 17:19:58 -07:00
Praburaj 348d4a11de Html.ActionLink WebFx bug# 246 is fixed now. Enabling the code to use the helper. 2014-04-15 16:49:46 -07:00
Praburaj 843c952928 Removing some more view pages related to the external login. Also fixed the corresponding views
that were trying to render them.
2014-04-15 16:42:13 -07:00
Hao Kung d4c0e7dd90 Remove set password logic not needed for alpha 2014-04-15 12:23:21 -07:00
Praburaj 7fd711df54 Html.ActionLink generating an incorrect url when trying to generate a link to a different controller + action.
Adding a work around with information of a corresponding bug. The work around will go away once we have a fix.
2014-04-15 12:11:05 -07:00
Praburaj 69dae2d216 Enabling code to use RedirectToAction helpers. 2014-04-15 11:45:17 -07:00
Hao Kung 70b45dbe2d AccountController identity cleanup
Use SignInManager where appropriate
Misc cleanup of controller actions
2014-04-15 11:03:18 -07:00
Praburaj 46da4ba9e4 Changes with this checkin:
Removing all code related to External login from Account controller.
I also added a little ugly work around to initiate a static UserManager for testing purpose. This should go away shortly.
With this change user can register a user, login & logout.
2014-04-14 18:20:57 -07:00
Praburaj f95588f0dd Enabling code to do drop down lists in music store. 2014-04-14 17:26:39 -07:00
Praburaj 24293783f5 Using ViewBag in a view component instead of ViewData. 2014-04-14 15:08:54 -07:00
Praburaj eeb9326101 Having a layout page in a ViewComponent was the reason for StackOverFlow exception. Removing that fixed the problem.
Using ViewData instead of ViewBag in a ViewComponent.
Copying over some of the icons from the original music store required for this view component.
2014-04-14 14:13:30 -07:00
Praburaj b97cedb4eb Updating the Readme.md to remove a manual clean up step instruction as the scripts already perform that. 2014-04-14 12:38:10 -07:00