Shannon
4069fc8d1f
fixes issue with legacy user.Password property and fixes comparison of sections
2014-02-13 17:19:28 +11:00
Shannon
0a80c39962
Fixes merge
2014-02-13 15:25:57 +11:00
Florian Verdonck
edee8134c2
Updated request after feedback
2014-02-13 15:21:40 +11:00
Shannon
30a73c0886
updated web.config template to use new role provider.
2014-02-13 14:45:24 +11:00
Shannon
f5ee02a3e9
Updates the membership partial view templates to redirect to current page by default but allows this to be overridden. Creates a new RedirectToCurrentUmbracoUrl method which is slightly diff from RedirectToCurrentUmbracoPage since it doesn't care about the actual page item rendering, just the currently rendered URL which is useful if coming from a rewritten URL (which is what happens with public access rewrites)
2014-02-13 13:30:32 +11:00
Shannon
9827b40bea
Fixes: U4-4223 MVC based forms with SurfaceControllers don't work when rendered in Webforms mode.
...
This slightly changes how the routing works in the module, now we always send the request to the RenderRouteHandler, this will first process the logic for route hijacking, then it will determine if the request was found to be a WebForms template, if so then we'll return the webforms handler. This also now allows us to have POSTed values to SurfaceController's from forms that have been rendered in Webforms whilst maintaining all viewdata, tempdata and model state on postback even when rendering in webforms!
2014-02-13 13:19:51 +11:00
Stephan
f9323c85e4
Fix issue with 9d7b3b96 in .designer.cs file
2014-02-12 13:22:35 +01:00
Stephan
2677672e50
Merge remote-tracking branch 'origin/6.2.0' into 6.2.0
2014-02-12 13:22:30 +01:00
Morten Christensen
a38e0dcf86
Adding integer overload for UmbracoEntity so it can be used with a dynamic object containing either a boolean or integer retrieved from the database to initialize the UmbracoEntity object.
2014-02-12 12:47:47 +01:00
Stephan
fdd7227494
Fix DynamicPublishedContent to use CleanStringType.ConvertCase
2014-02-12 10:46:57 +01:00
Stephan
6b74e14cdd
Backport DefaultShortStringHelper from 7.1
2014-02-12 10:40:00 +01:00
Shannon
9d7b3b965a
fixes some issues with new bundles.
2014-02-12 18:19:20 +11:00
Shannon
806008a7e9
Fixes issue with @ symbols in login name and a member group query
2014-02-12 18:02:00 +11:00
Shannon
45fa192c95
Fixes some unit tests
2014-02-12 17:25:45 +11:00
Shannon
92235128f1
Got new MemberGroupService done, completed the MemberService for role based stuff, created a member group cache refresher since we are caching member groups by name (probably should cache others too). Public access stuff changes if a name of a member group is changed which is now done with an event instead of coded into the biz logic.
2014-02-12 17:14:16 +11:00
Shannon
7622937cfd
implemented remaining methods for member groups/roles + unit tests
2014-02-11 20:38:48 +11:00
Shannon
bf41694572
Fixed up some more of the member group + member stuff with more unit tests
2014-02-11 19:21:36 +11:00
Shannon
7b897ce64c
Member group repo updated along with the member service to support roles, etc... got first of many unit tests passing.
2014-02-11 12:43:55 +11:00
Shannon
1ca950f721
Starts creating the IMemberGroupService and supporting classes.
2014-02-10 19:48:16 +11:00
Shannon
ffba271fd0
Creates the MemberGroupRepository and supporting models.
2014-02-10 19:35:32 +11:00
Shannon
ec08d3e910
Updates MembershipHelper to not change the email/name if the value has not changed. Updates the templates to show only validation summaries for their own values/prefixes. Fixes some underlying MVC methods that merge view state to ensure the prefixes work with validation summaries properly when not showing property level errors. Updates the Umb controllers to add model level validation msgs when failed.
2014-02-10 18:34:12 +11:00
Shannon
0bfd032fad
Obsoletes the RedirectOnSucces on the RegisterModel as it is not needed. Adds RedirectUrl to the ProfileModel and updates the controller to redirect properly (ensures it doesn't just redirect to home!)
2014-02-10 16:46:45 +11:00
Shannon
2bb58b6fca
Updates MembershipHelper to ensure that the membership provider is used when updating a profile, specifically to deal with unique emails. Updates the profile edit template to have correct validation procedures.
2014-02-10 16:22:15 +11:00
Shannon
4d2d656b3d
Moved ChangePassword method to MembershipHelper and makes it public, adds an overload.
2014-02-10 14:29:29 +11:00
Shannon
fa625d72f9
updates some comments
2014-02-10 14:12:44 +11:00
Shannon
1991380e02
Changes CDF version to be the hash code of UTC now
2014-02-10 13:53:12 +11:00
Shannon
3b8d6dc2c7
Merge remote-tracking branch 'origin/6.2.0' into 6.2.0
2014-02-10 13:50:43 +11:00
Shannon
1faeb76c27
Removes the need for duplicate templates for partial views. Of course we can have partial view only templates if necessary but currently we just borrow them from the partial view macros and update the header
2014-02-10 13:50:31 +11:00
Sebastiaan Janssen
3a513668fd
U4-4185 Log fails to show unicode (cyrillic) characters
2014-02-05 15:52:20 +01:00
Stephan
3ef51d7357
U4-2317 - issue with domains & languages management
2014-01-30 16:18:06 +01:00
Stephan
8b553dd067
U4-4144 - work around media cache exceptions on invalid properties
2014-01-29 19:30:17 +01:00
Shannon
ccaf82d797
Fixes object extensions for dates with a 'kind' specified.
2014-01-29 11:21:35 +11:00
Shannon
f28ae52ae3
moved logic to update a profile to MembershipHelper.
2014-01-28 21:57:00 +11:00
Shannon
cfd0973f00
Moves the registration logic to the MembershipHelper, fixes up the views to keep the indexes so props save.
2014-01-28 21:42:30 +11:00
Shannon
1bfdd83ba7
Cleans up more of the membership controllers and snippets to be using the membership helper and fixes up a few issues
2014-01-28 19:41:21 +11:00
Shannon
6fefcacc61
Adds more methods to the MembershipHelper, updates the RegisterModel and obsoletes the standard ctor so biz logic is not happening in the model, updates the snippets to use the correct way. Fixes an issue in the membership repo for persisting new members when the member type doesn't contain all the built-in props.
2014-01-28 18:59:27 +11:00
Shannon
3b639e61b2
Exposes MembershipHelper onthe UmbracoViewPage so people can use it directly in views.
2014-01-28 17:02:20 +11:00
Shannon
9959ff667e
publicizes MembershipHelper and exposes it on the various base classes: SurfaceController, UmbracoApiController and UmbracoUserControl as the property "Members", will add more helper methods.
2014-01-28 16:58:55 +11:00
Shannon
de1f86c7a1
adds logic to the membership helper to create a new LoginStatusModel with the values filled in, obsoletes the empty ctor on LoginStatusModel since that does some biz logic lookups, instead replaces it with a static method to create an empty one.
2014-01-28 16:30:58 +11:00
Shannon
28d8fd0531
Changes LoginStatusModel to use the correct api and updates the new membership provider stuff to ensure that the provideruserkey is the int id of the model for backwards compatibility.
2014-01-28 16:13:05 +11:00
Shannon
e4e76eb0bf
Backports commit: Prefixed built in controllers to better avoid conflicts with people's custom code
...
Conflicts:
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml
src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/Login.cshtml
src/Umbraco.Web/Controllers/UmbLoginController.cs
src/Umbraco.Web/Controllers/UmbLoginStatusController.cs
src/Umbraco.Web/Controllers/UmbProfileController.cs
src/Umbraco.Web/Controllers/UmbRegisterController.cs
src/Umbraco.Web/Umbraco.Web.csproj
2014-01-28 13:47:16 +11:00
Shannon
677cc8c8fd
Fixes ProfileController to use normal .Net APIs and the new members service - also removes the Response.Redirect that was in there, why was it like that?
2014-01-28 13:35:43 +11:00
Shannon
3fa5c4e0b2
Updates RegisterController with the standard ASP.Net APIs to create and login a member.
2014-01-28 13:21:30 +11:00
Shannon
360393c464
Fixes LoginStatusController to use the standard ASP.Net APIs
2014-01-28 13:07:25 +11:00
Shannon
d3daf88a8d
Fixes the LoginController to use the correct APIs
2014-01-28 12:58:22 +11:00
Shannon
7a99ebd6d9
Starts the implementation of the new role provider.
2014-01-28 12:48:41 +11:00
Shannon
a7298e2e5a
Completes: U4-4148 Anytime RuntimeCacheProvider or InMemoryCacheProvider is used, a cache refresher will need to handle it's distribution!
2014-01-28 12:20:10 +11:00
Shannon
15d7443c61
Streamlines the content type cache refreshing, leaving some of the legacy cache clearing but that shouldn't really have an effect, with these new changes it should be guaranteed that the distributed cache is executed always for Doc, media and member types.
2014-01-28 12:13:27 +11:00
Shannon
f2b7e27b34
Fixes: U4-2721 RuntimeCacheProvider is not cleared when data type changes and updates the repo factory to not use the InMemory cache provider since we should only ever use that for very very specific reasons since the memory can never auto-clear with that provider.
2014-01-28 11:30:02 +11:00
Shannon
690d08aa8c
Completes wrapping the new IUserService from the legacy User object. Ensures User cache is handled correctly and distributed cache is updated for Users.
2014-01-28 10:46:59 +11:00