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
Shannon
1e45abe71e
oops, changes the failedpassattempts back to noedit
2014-02-18 17:58:57 +11:00
Shannon
a556b4ed21
Logs warnings if accessing built-in properties on the member model but the underlying property type is missing.
2014-02-18 17:53:02 +11:00
Shannon
953c711ca4
Updates the default member type property types to use "Labels", then needed to update the member type repo and membertypereadonlyfactory to ensure that even though the underlying data type for the property exposes a different Db Type that we 'reset' that Db Type to what it always should be. This means that no matter what underlying data type a developer changes a property to, if it is a built-in membership property, the Db Type will always stay consistent and save in the correct column. Of course if someone enters some invalid data, then the data will not be saved.
2014-02-18 17:19:38 +11:00
Shannon
f06c9e8235
Ensures the default member type properties are put on a custom tab
2014-02-18 15:39:00 +11:00
Shannon
f1a439e851
removes version specific references to mysql in the proj files and web.config
...
ensures that escaping in the sql expression classes is done correctly without any double escaping. Also ensures that escaping is happening using the equals operator, not just the Equals() method and adds unit tests for them.
Fixes: U4-4232 Umbraco.Core.Persistence.Querying issue with backslashes
2014-02-18 14:57:03 +11:00
Shannon
a0e496e589
Merge branch '6.2.0' of https://github.com/umbraco/Umbraco-CMS into 6.2.0
2014-02-17 21:38:38 +11:00
Shannon
e0dcc3afbc
Streamlines how strings are escaped with the sql expression helpers and syntax providers. Fixes: U4-4232 Umbraco.Core.Persistence.Querying issue with backslashes
2014-02-17 21:38:13 +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
4d2d9156ba
updates more plugin manager defs
2014-02-17 15:58:57 +11:00
Shannon
82ba1a24a3
Ensures we perform null checks in both GetAll and GetByQuery as we never want to include a null item in the resultant collection - which could happen depending on what the sub class repository is doing.
...
Fixes: U4-3145 Cache file periodically becomes corrupted: "Oops: this document is published but is not in the cache (internal error)"
2014-02-17 15:45:36 +11:00
Shannon
357db9d0b6
completes: U4-3282 Expose permission assignment methods at the service layer
2014-02-17 15:33:17 +11:00
Shannon
61766287bc
Cleans up some more of the old 'object' User Id references.
2014-02-17 15:26:38 +11:00
Shannon
ffbf8b2fd6
completes: U4-4103 Publicize PluginManager for devs to use to create their own plugins
2014-02-17 15:08:27 +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
2849ecadb7
fix legacy member wrapping new api and mixing email/login name
2014-02-17 12:24:11 +11:00
Shannon
697f93c3ce
removes null check for LoginName, since it gets set to the name passed in if it is empty
2014-02-17 12:09:27 +11:00
Shannon
18121e8726
Enxures user start node's are -1 by default when creating the model.
2014-02-17 11:48:32 +11:00
Shannon
81cdc71145
Ensures new user objects are approved by default.
2014-02-17 11:17:15 +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
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