Shannon
0e4e12d0ba
More code and tests written for deep cloning.
2014-04-15 19:12:42 +10:00
Shannon
9118701669
More test written for deep cloning.
2014-04-15 14:53:19 +10:00
Shannon
58758e7a41
More work on deep cloning, have test passing for IContent
2014-04-15 13:52:49 +10:00
Shannon
b7f7775b89
adds initial commit of entity cloning
2014-02-20 22:34:54 +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
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
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
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
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
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
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
ccaf82d797
Fixes object extensions for dates with a 'kind' specified.
2014-01-29 11:21:35 +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
Shannon
e2ac82abca
Gets most of the User and UserType legacy objects wrapping the new services, yay! Now just need to sort out all the caching stuff which I have tasks for.
2014-01-23 18:44:41 +11:00
Shannon
64d1a484bd
Fixes User Id issues with HasIdentity, wraps legacy UserType to the new service, fixes the uninstalling db schema to not throw exceptions and clog up the unit test log.
2014-01-23 17:11:58 +11:00
Shannon
4735f27a66
Fixes more naming conventions with CreateMemberWithIdentity, fixes memberTasks to ensure the name is set, fixes new membership providers which had the name/email call reversed. Updates the cache refresher event handler to listen to MemberService events instead of the old legacy API events.
2014-01-23 14:55:41 +11:00
Shannon
f4534aa94c
adds unit tests for member type can view/can edit properties
2014-01-23 10:55:22 +11:00
Shannon
56dec485a5
Starts wrapping MemberTypeService from the legacy MemberType object. Changes the User.Id to an int - no more casting. Changes CreateMember to CreateMemberWithIdentity for consistency. Adds raiseEvent params to the create/save methods. Updates the MemberTypeService to have consistent naming conventions. Starts wrapping more of the MemberService from the legacy Member object.
2014-01-23 10:41:57 +11:00
Stephan
326309e61e
U4-4056 - better unicode/ascii support for urls
2014-01-16 17:09:21 +01:00
Shannon
c38030def2
Fixes: U4-3855 Preview cookie should be a session cookie not persisted
2014-01-16 20:47:13 +11:00
Shannon
5c614a88a2
ensures webapi plugincontrollers are routed to /backoffice if [IsBackOffice] is specified
2014-01-15 13:29:17 +11:00
Shannon
3ef9635406
Fixes: U4-4010 Member and user session gets mixed - fixes how we detect a back office request + unit tests and added new IsBackOffice attribute
2014-01-15 13:17:38 +11:00
Shannon
aebc30c7a3
Removes the version specific info from the CDF and Examine references in all proj files.
2014-01-13 14:02:50 +11:00
Morten Christensen
f86eb4b741
Adds import and export of languages along with tests
2014-01-10 14:48:55 +01:00
Morten Christensen
880636c5a6
Adding languages xml to existing xml file for testing purposes
2014-01-10 14:47:31 +01:00
Morten Christensen
6e344f335e
Adding Export of DictionaryItems including test
2014-01-10 13:08:33 +01:00
Morten Christensen
6b205bd725
Updates from PR#127 from Lars-Erik. Had to manually copy in the changes because the PR was closed.
...
Adds Import of Dictionary Items to the PackagingService along with tests and a fix for the DictionaryRepository.
2014-01-10 11:45:41 +01:00
Shannon
531306a091
Created notifications repository and service with unit tests, then need to start integrating that so notifications are properly sent.
2014-01-10 17:03:00 +11:00
Shannon
7c720460f5
Fixes: U4-3876 MySQL cmsContentXml Migration Error on 7.0.1 Upgrade
2014-01-09 10:33:35 +11:00
Shannon
961755336a
adds another test for #U4-3876
2014-01-08 20:34:20 +11:00
Shannon
e0aff8a1e4
adds a unit test
2014-01-08 20:25:35 +11:00
Shannon
66a63b3cbb
ignores these tests for now, they are successful when running isolated but as a whole they don't pass because of something with the legacy data layer.
2014-01-08 18:39:37 +11:00
Shannon
cdbf89ee57
Fixes up the unit tests
2014-01-08 17:08:13 +11:00
Shannon
9467a67661
Backports the permissions repo updates, permissions on user/content repo updates and default permissions for users
2014-01-08 15:42:49 +11:00
Shannon
0b4ddf82aa
Adds more user service tests
2014-01-06 17:43:29 +11:00
Shannon
3ff173732b
implements the remaining incomplete parts of the UserService, adds more unit tests
2014-01-06 17:30:08 +11:00
Shannon
f3f7aa70d1
Ensures a default member/user type is assigned on membership provider initialize, adds more unit tests
2014-01-06 16:18:25 +11:00
Shannon
cd82bc6d21
streamlined the new membership provider classes so now they all share the same logic and use IMembershipMemberService<T> which is used by both IMember and IUser services
2014-01-06 15:38:34 +11:00
Shannon
5538a2e793
fixed up the failing unit tests for member service counts, added more unit tests for UserService and implemented more of the required methods.
2014-01-06 12:25:14 +11:00
Shannon
1b7dc76df2
Updated much more of the UserService + some unit tests
2014-01-06 11:56:53 +11:00
Shannon
85c85cd1eb
Simplifies and streamlines the models used between IMember and IUser along with the services used for both of these entities.
...
Updates the model used to store and retreive permissions, instead of a single string it is an Enumerable<string> which gives us some flexibility in the future and since this was not public (yet) it's the perfect time to do this.
Removes the base Profile classes from User since these are not required, since we cannot share base classes between Member and User, these weren't necessary.
2014-01-06 11:04:26 +11:00
Shannon
8a70c440f2
Added many more unit tests for the membership provider base class and fixed some logic inconsistencies.
2013-12-28 18:55:43 +11:00