diff --git a/ChangeLog b/ChangeLog index 2f6ad60c2..6b28ab8fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2008-02-22 Wolfgang Sourdeau + * SoObjects/Contacts/SOGoContactGCSFolder.m ([SOGoContactGCSFolder + -davNamespaces]): same as below. + + * SoObjects/Appointments/SOGoAppointmentFolder.m + ([SOGoAppointmentFolder -davNamespaces]): take the parents + namespaces into account. + * SoObjects/SOGo/SOGoObject.m ([SOGoObject -addUserInAcls:uid]): new method. ([SOGoObject -removeUserFromAcls:uid]): new methods (see below). diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index aec706eef..745e312c4 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -287,7 +287,12 @@ static NSNumber *sharedYes = nil; - (NSArray *) davNamespaces { - return [NSArray arrayWithObject: @"urn:ietf:params:xml:ns:caldav"]; + NSMutableArray *ns; + + ns = [NSMutableArray arrayWithArray: [super davNamespaces]]; + [ns addObjectUniquely: @"urn:ietf:params:xml:ns:caldav"]; + + return ns; } - (id) davCalendarQuery: (id) queryContext diff --git a/SoObjects/Contacts/SOGoContactGCSFolder.m b/SoObjects/Contacts/SOGoContactGCSFolder.m index dfc77caef..eff8313e9 100644 --- a/SoObjects/Contacts/SOGoContactGCSFolder.m +++ b/SoObjects/Contacts/SOGoContactGCSFolder.m @@ -259,7 +259,12 @@ - (NSArray *) davNamespaces { - return [NSArray arrayWithObject: @"urn:ietf:params:xml:ns:carddav"]; + NSMutableArray *ns; + + ns = [NSMutableArray arrayWithArray: [super davNamespaces]]; + [ns addObjectUniquely: @"urn:ietf:params:xml:ns:carddav"]; + + return ns; } - (NSString *) groupDavResourceType