mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-07 04:25:26 +00:00
Monotone-Parent: e08089f9a1045c8de9972e8a201de91f52fd18c7
Monotone-Revision: cef936e3d6818f80d736b01c2f30e5de56e00b93 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-12-06T22:48:41 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
2007-12-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Contacts/SOGoContactLDAPFolder.m
|
||||
([SOGoContactLDAPFolder -davResourceType]): declared as a carddav
|
||||
addressbook collection.
|
||||
|
||||
* SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder
|
||||
-davResourceType]): declared as a carddav addressbook collection.
|
||||
|
||||
* SoObjects/SOGo/SOGoObject.m ([SOGoObject -davLastModified]):
|
||||
override SoObject's implementation. Otherwise a localized date is returned.
|
||||
|
||||
|
||||
@@ -267,6 +267,21 @@
|
||||
return @"vcard-collection";
|
||||
}
|
||||
|
||||
- (NSArray *) davResourceType
|
||||
{
|
||||
NSMutableArray *resourceType;
|
||||
NSArray *cardDavCollection;
|
||||
|
||||
cardDavCollection
|
||||
= [NSArray arrayWithObjects: @"addressbook",
|
||||
@"urn:ietf:params:xml:ns:carddav", nil];
|
||||
|
||||
resourceType = [NSMutableArray arrayWithArray: [super davResourceType]];
|
||||
[resourceType addObject: cardDavCollection];
|
||||
|
||||
return resourceType;
|
||||
}
|
||||
|
||||
/* sorting */
|
||||
- (NSComparisonResult) compare: (id) otherFolder
|
||||
{
|
||||
|
||||
@@ -140,6 +140,21 @@
|
||||
return @"vcard-collection";
|
||||
}
|
||||
|
||||
- (NSArray *) davResourceType
|
||||
{
|
||||
NSMutableArray *resourceType;
|
||||
NSArray *cardDavCollection;
|
||||
|
||||
cardDavCollection
|
||||
= [NSArray arrayWithObjects: @"addressbook",
|
||||
@"urn:ietf:params:xml:ns:carddav", nil];
|
||||
|
||||
resourceType = [NSMutableArray arrayWithArray: [super davResourceType]];
|
||||
[resourceType addObject: cardDavCollection];
|
||||
|
||||
return resourceType;
|
||||
}
|
||||
|
||||
- (id) lookupName: (NSString *) objectName
|
||||
inContext: (WOContext *) lookupContext
|
||||
acquire: (BOOL) acquire
|
||||
|
||||
Reference in New Issue
Block a user