Monotone-Parent: ad3f1bd9ed29f2b9c3b6a653aa3f856435440133

Monotone-Revision: a10c7483ee3fa379bb760ab378a895c024c299a3

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-01-29T20:48:39
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-01-29 20:48:39 +00:00
parent 4feaacaaf4
commit 9e89cddf11
3 changed files with 30 additions and 0 deletions

View File

@ -1,3 +1,13 @@
2008-01-29 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoGCSFolder.m ([SOGoGCSFolder
-davSetProperties:setPropsremovePropertiesNamed:removedPropsinContext:localContext]):
new method that takes the displayname into account.
* SoObjects/SOGo/SOGoParentFolder.m ([SOGoParentFolder
-davCreateCollection:pathInfoinContext:localContext]): new method
that acts as a proxy to newFolderWithName:andNameInContainer:.
2008-01-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor

View File

@ -503,6 +503,19 @@ static BOOL sendFolderAdvisories = NO;
return [self _subscribe: NO inContext: localContext];
}
- (NSException *) davSetProperties: (NSDictionary *) setProps
removePropertiesNamed: (NSDictionary *) removedProps
inContext: (WOContext *) localContext
{
NSString *newDisplayName;
newDisplayName = [setProps objectForKey: @"davDisplayName"];
if ([newDisplayName length])
[self renameTo: newDisplayName];
return nil;
}
/* acls as a container */
- (NSArray *) aclUsersForObjectAtPath: (NSArray *) objectPathArray;

View File

@ -314,4 +314,11 @@ static SoSecurityManager *sm = nil;
sortedArrayUsingSelector: @selector (compare:)];
}
- (NSException *) davCreateCollection: (NSString *) pathInfo
inContext: (WOContext *) localContext
{
return [self newFolderWithName: pathInfo
andNameInContainer: pathInfo];
}
@end