mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-10 02:45:08 +00:00
Monotone-Parent: c26a4cd6f1b197f62132a741a9db02e3ec7994ee
Monotone-Revision: c51ca967467953c6452032e1b6f4c87b4372f1e4 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-07-14T16:46:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -2038,7 +2038,7 @@ Index: sope-appserver/NGObjWeb/DAVPropMap.plist
|
||||
"{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set" =
|
||||
davCalendarComponentSet;
|
||||
"{urn:ietf:params:xml:ns:caldav}supported-calendar-data" =
|
||||
@@ -138,13 +163,13 @@
|
||||
@@ -138,13 +163,14 @@
|
||||
"{urn:ietf:params:xml:ns:carddav}addressbook-description" = davDescription;
|
||||
|
||||
/* Apple CalServer */
|
||||
@@ -2053,6 +2053,7 @@ Index: sope-appserver/NGObjWeb/DAVPropMap.plist
|
||||
|
||||
+ /* Apple extensions */
|
||||
+ "{http://apple.com/ns/ical/}calendar-color" = davCalendarColor;
|
||||
+ "{http://apple.com/ns/ical/}calendar-order" = davCalendarOrder;
|
||||
+
|
||||
/* GroupDAV */
|
||||
"{http://www.groupdav.org/}component-set" = gdavComponentSet;
|
||||
|
||||
@@ -1397,6 +1397,23 @@ static Class sogoAppointmentFolderKlass = Nil;
|
||||
return error;
|
||||
}
|
||||
|
||||
- (NSString *) davCalendarOrder
|
||||
{
|
||||
NSArray *siblings;
|
||||
unsigned int order;
|
||||
|
||||
order = [[container subFolders] indexOfObject: self];
|
||||
|
||||
return [NSString stringWithFormat: @"%d", order];
|
||||
}
|
||||
|
||||
- (NSException *) setDavCalendarOrder: (NSString *) newColor
|
||||
{
|
||||
NSException *error;
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (SOGoWebDAVValue *) davCalendarFreeBusySet
|
||||
{
|
||||
NSEnumerator *subFolders;
|
||||
@@ -1754,6 +1771,7 @@ static Class sogoAppointmentFolderKlass = Nil;
|
||||
else if ([url hasSuffix: @"AsAppointment"])
|
||||
obj = [SOGoAppointmentObject objectWithName: _key
|
||||
inContainer: self];
|
||||
[obj setIsNew: YES];
|
||||
}
|
||||
}
|
||||
if (!obj)
|
||||
|
||||
Reference in New Issue
Block a user