Monotone-Parent: a7f4ebc5a4a1d9fe0406a1c608757fb14147fa5d

Monotone-Revision: c54d8d94c481e0cfc4efd1ad03e95f6d10110d10

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-03-19T01:21:39
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-03-19 01:21:39 +00:00
parent 4c832536e9
commit 50dbc4e2a5
4 changed files with 14 additions and 3 deletions

View File

@ -1,5 +1,16 @@
2009-03-18 Wolfgang Sourdeau <wsourdeau@inverse.ca> 2009-03-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Contacts/SOGoContactLDIFEntry.m ([SOGoContactLDIFEntry
-vCard]): same as below.
* SoObjects/Appointments/SOGoFreeBusyObject.m ([SOGoFreeBusyObject
-iCalStringForFreeBusyInfos:_infoswithMethod:methodfrom:_startDateto:_endDate]):
same as below.
* SoObjects/Appointments/SOGoCalendarComponent.m
([SOGoCalendarComponent -calendar:create:secure]): specify
"-//Inverse inc./SOGo 1.0//EN" as PRODID.
* Main/sogod.m (convertOldSOGoDomain): new function that convert * Main/sogod.m (convertOldSOGoDomain): new function that convert
the old "sogod-0.9" NSUserDefaults domain to "sogod". the old "sogod-0.9" NSUserDefaults domain to "sogod".

View File

@ -385,7 +385,7 @@ _occurenceHasID (iCalRepeatableEntityObject *occurence, NSString *recID)
{ {
ASSIGN (*calendar, [iCalCalendar groupWithTag: @"vcalendar"]); ASSIGN (*calendar, [iCalCalendar groupWithTag: @"vcalendar"]);
[*calendar setVersion: @"2.0"]; [*calendar setVersion: @"2.0"];
[*calendar setProdID: @"-//Inverse inc.//SOGo 0.9//EN"]; [*calendar setProdID: @"-//Inverse inc./SOGo 1.0//EN"];
tag = [[self componentTag] uppercaseString]; tag = [[self componentTag] uppercaseString];
newComponent = [[*calendar classForTag: tag] newComponent = [[*calendar classForTag: tag]
groupWithTag: tag]; groupWithTag: tag];

View File

@ -124,7 +124,7 @@ static unsigned int freebusyRangeEnd = 0;
user = [SOGoUser userWithLogin: uid roles: nil]; user = [SOGoUser userWithLogin: uid roles: nil];
calendar = [iCalCalendar groupWithTag: @"vcalendar"]; calendar = [iCalCalendar groupWithTag: @"vcalendar"];
[calendar setProdID: @"//Inverse inc./SOGo 0.9"]; [calendar setProdID: @"//Inverse inc./SOGo 1.0//EN"];
[calendar setVersion: @"2.0"]; [calendar setVersion: @"2.0"];
if (method) if (method)
[calendar setMethod: method]; [calendar setMethod: method];

View File

@ -121,7 +121,7 @@
{ {
vcard = [[NGVCard alloc] initWithUid: [self nameInContainer]]; vcard = [[NGVCard alloc] initWithUid: [self nameInContainer]];
[vcard setVClass: @"PUBLIC"]; [vcard setVClass: @"PUBLIC"];
[vcard setProdID: @"-//Inverse inc.//SOGo"]; [vcard setProdID: @"-//Inverse inc./SOGo 1.0//EN"];
[vcard setProfile: @"vCard"]; [vcard setProfile: @"vCard"];
info = [ldifEntry objectForKey: @"displayName"]; info = [ldifEntry objectForKey: @"displayName"];
if (!(info && [info length] > 0)) if (!(info && [info length] > 0))