Monotone-Parent: f4d8a0e75faa4a181cfac93302360f7f4168e0cc
Monotone-Revision: 490ba5f20c6d08910205f97565f54a96c5bb9390 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-05-02T23:13:40 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
1cbbbb01be
commit
87af33d14f
|
@ -1,5 +1,9 @@
|
||||||
2008-05-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2008-05-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
|
* SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder
|
||||||
|
-davDisplayName]): new overriden method to provide a display name
|
||||||
|
to the users principal.
|
||||||
|
|
||||||
* SoObjects/SOGo/SOGoPermissions.[hm]: removed the "Save Acls"
|
* SoObjects/SOGo/SOGoPermissions.[hm]: removed the "Save Acls"
|
||||||
permission since its purposes matches SOPE's "Change Permissions".
|
permission since its purposes matches SOPE's "Change Permissions".
|
||||||
|
|
||||||
|
|
|
@ -556,106 +556,15 @@
|
||||||
return cos;
|
return cos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (NSString *) davDisplayName
|
||||||
|
{
|
||||||
|
return [[LDAPUserManager sharedUserManager]
|
||||||
|
getCNForUID: nameInContainer];
|
||||||
|
}
|
||||||
|
|
||||||
- (BOOL) davIsCollection
|
- (BOOL) davIsCollection
|
||||||
{
|
{
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
// /* CalDAV support */
|
|
||||||
// - (NSArray *) davCalendarHomeSet
|
|
||||||
// {
|
|
||||||
// /*
|
|
||||||
// <C:calendar-home-set xmlns:D="DAV:"
|
|
||||||
// xmlns:C="urn:ietf:params:xml:ns:caldav">
|
|
||||||
// <D:href>http://cal.example.com/home/bernard/calendars/</D:href>
|
|
||||||
// </C:calendar-home-set>
|
|
||||||
|
|
||||||
// Note: this is the *container* for calendar collections, not the
|
|
||||||
// collections itself. So for use its the home folder, the
|
|
||||||
// public folder and the groups folder.
|
|
||||||
// */
|
|
||||||
// NSArray *tag;
|
|
||||||
// SOGoAppointmentFolders *parent;
|
|
||||||
|
|
||||||
// parent = [self privateCalendars: @"Calendar" inContext: context];
|
|
||||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
|
||||||
// [parent davURL], nil];
|
|
||||||
|
|
||||||
// return [NSArray arrayWithObject: tag];
|
|
||||||
// }
|
|
||||||
|
|
||||||
// - (NSArray *) davCalendarUserAddressSet
|
|
||||||
// {
|
|
||||||
// NSArray *tag, *allEmails;
|
|
||||||
// NSMutableArray *addresses;
|
|
||||||
// NSEnumerator *emails;
|
|
||||||
// NSString *currentEmail;
|
|
||||||
|
|
||||||
// addresses = [NSMutableArray array];
|
|
||||||
|
|
||||||
// allEmails = [[context activeUser] allEmails];
|
|
||||||
// emails = [allEmails objectEnumerator];
|
|
||||||
// while ((currentEmail = [emails nextObject]))
|
|
||||||
// {
|
|
||||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
|
||||||
// [NSString stringWithFormat: @"MAILTO:%@", currentEmail],
|
|
||||||
// nil];
|
|
||||||
// [addresses addObject: tag];
|
|
||||||
// }
|
|
||||||
|
|
||||||
// return addresses;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// - (NSArray *) davCalendarScheduleInboxURL
|
|
||||||
// {
|
|
||||||
// NSArray *tag;
|
|
||||||
// SOGoAppointmentFolders *parent;
|
|
||||||
|
|
||||||
// parent = [self privateCalendars: @"Calendar" inContext: context];
|
|
||||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
|
||||||
// [NSString stringWithFormat: @"%@personal/", [parent davURL]],
|
|
||||||
// nil];
|
|
||||||
|
|
||||||
// return [NSArray arrayWithObject: tag];
|
|
||||||
// }
|
|
||||||
|
|
||||||
// - (NSString *) davCalendarScheduleOutboxURL
|
|
||||||
// {
|
|
||||||
// NSArray *tag;
|
|
||||||
// SOGoAppointmentFolders *parent;
|
|
||||||
|
|
||||||
// parent = [self privateCalendars: @"Calendar" inContext: context];
|
|
||||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
|
||||||
// [NSString stringWithFormat: @"%@personal/", [parent davURL]],
|
|
||||||
// nil];
|
|
||||||
|
|
||||||
// return [NSArray arrayWithObject: tag];
|
|
||||||
// }
|
|
||||||
|
|
||||||
// - (NSString *) davDropboxHomeURL
|
|
||||||
// {
|
|
||||||
// NSArray *tag;
|
|
||||||
// SOGoAppointmentFolders *parent;
|
|
||||||
|
|
||||||
// parent = [self privateCalendars: @"Calendar" inContext: context];
|
|
||||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
|
||||||
// [NSString stringWithFormat: @"%@personal/", [parent davURL]],
|
|
||||||
// nil];
|
|
||||||
|
|
||||||
// return [NSArray arrayWithObject: tag];
|
|
||||||
// }
|
|
||||||
|
|
||||||
// - (NSString *) davNotificationsURL
|
|
||||||
// {
|
|
||||||
// NSArray *tag;
|
|
||||||
// SOGoAppointmentFolders *parent;
|
|
||||||
|
|
||||||
// parent = [self privateCalendars: @"Calendar" inContext: context];
|
|
||||||
// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",
|
|
||||||
// [NSString stringWithFormat: @"%@personal/", [parent davURL]],
|
|
||||||
// nil];
|
|
||||||
|
|
||||||
// return [NSArray arrayWithObject: tag];
|
|
||||||
// }
|
|
||||||
|
|
||||||
@end /* SOGoUserFolder */
|
@end /* SOGoUserFolder */
|
||||||
|
|
Loading…
Reference in New Issue