Sebastiaan Janssen
690ab29863
Use the database "agnostic" query for this (see U4-3876)
2014-02-21 17:01:59 +01:00
Shannon
27cb1d5223
completes: U4-4275 Hide built-in member type properties from the insert umbraco field list
2014-02-21 16:20:07 +11:00
Shannon
c677f36f08
Changes some of the naming conventions for the underlying membership provider services bits.
2014-02-21 16:03:32 +11:00
Shannon
750f7a6b33
Updates some method names to be less confusing regarding permissions
2014-02-21 15:55:56 +11:00
Shannon
3e67b3034d
Added the ability to specify explicit db type's for a property type using an overloaded ctor argument. This allows us to specify explicit db types for properties without having them get overwritten during the repository saving logic which will always reset it to be the db type of the underlying property editor. In the case of our built-in membership properties we do not want this to happen. Fixes some unit tests. Removes built-in props from being included in the property types on the profile model on the front-end.
2014-02-21 12:56:00 +11:00
Shannon
1ada5210ad
updated to latest examine
2014-02-21 09:54:53 +11:00
Shannon
ce649f54d7
Upgraded to latest examine, completes: U4-4240 Update with new examine version 0.1.53
2014-02-20 15:01:47 +11:00
Shannon
606b5aa60a
fixes logic in membershiphelper updatemember
2014-02-20 13:55:56 +11:00
Shannon
a206652a0d
updates login redirect logic to be more inline with v7, less greedy which is better.
2014-02-20 13:37:12 +11:00
Shannon
545040fdf0
Fixes installer upgrade
2014-02-20 13:09:54 +11:00
Shannon
40d1a09609
Updates the membership helper in how it updates the membership provider data, updates the editMember page to update the membership provider properties all via the membership provider
2014-02-19 23:49:53 +11:00
Shannon
a4adbca12c
Removes the ability to edit the data type for a built-in membership property. Ensures that even if a data type is attempted to be changed with the API that the built-in properties are always persisted with the data type that we have defined by convention.
2014-02-19 21:56:33 +11:00
Shannon
8728e2f918
Fixes: U4-4260 When changing sort order on member type and saving, this doesn't get reflected on the member
2014-02-19 20:17:21 +11:00
Shannon
cd53682ddb
removes ability to configure custom fields for the new membership provider
2014-02-19 17:52:45 +11:00
Shannon
d339e7c814
updates the property type editability for built in member types
2014-02-19 16:57:33 +11:00
Shannon
078deb704b
Completes: U4-4255 Add readonly membership provider properties to the profile model
2014-02-19 16:27:14 +11:00
Shannon
6858eb3330
Fixes: U4-4257 Fix member type editor to not have to re-call 'Save' so many times,
...
streamlines how the show property and editable property on member type's are dealt with (removes tuples)
2014-02-19 16:14:34 +11:00
Shannon
e267b7700a
Ensures that member properties are created when member type property type's are added (same as U4-1407), streamlines how this occurs on the base class. Streamlines how empty aliases are validated at the repo level for members, media, content. Makes built-in member property type's non-editable
2014-02-19 14:23:48 +11:00
Stephan
3634a77d61
U4-4241 - UrlAbsolute() returns relative urls
2014-02-17 10:47:51 +01:00
Shannon
846f4b5b6c
Removes the various old hacks for the legacy user's membership provider, now that we have the AllowManuallyChangingPassword flag, these hacks are not required.
2014-02-17 19:32:04 +11:00
Shannon
2869f17eff
ensures the default property aliases are set during ctor
2014-02-17 18:02:29 +11:00
Shannon
feefb052fd
Updates the BulkInsertRecords method to optionally close the trans - shouldn't by default. Updates how permissions are handled in the new services and exposes another method, ensures it's all wrapped in trans and ensures that cache is cleared properly. Fixes: U4-4213 "Replace child node permissions" does not work if all permissions cleared
2014-02-17 17:45:59 +11:00
Shannon
61766287bc
Cleans up some more of the old 'object' User Id references.
2014-02-17 15:26:38 +11:00
Shannon
f7a703195c
Fixes: U4-4215 Tree.config registeres tree inconsistently
2014-02-17 14:56:12 +11:00
Shannon
509be9b431
Updates the underlying UmbracoServiceMembershipProvider to deal with 'object' for provider key, this then lets us deal with either guid or int for the new membership provider, just like the old one does.
2014-02-17 14:14:17 +11:00
Shannon
10ef5eb7bc
adds new interface for members' membership providers to implement so we know what aliases to store data against.
2014-02-17 13:16:28 +11:00
Shannon
4069fc8d1f
fixes issue with legacy user.Password property and fixes comparison of sections
2014-02-13 17:19:28 +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
fdd7227494
Fix DynamicPublishedContent to use CleanStringType.ConvertCase
2014-02-12 10:46:57 +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
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
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
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
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
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