See ChangeLog
Monotone-Parent: 434bb07a3b51027135236efad4365813a470e946 Monotone-Revision: d5b97dd613695b722316f9c4bf4e5d35241a832e Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-11-22T21:52:40 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
acb4d211a8
commit
42f3b1af80
|
@ -1,3 +1,10 @@
|
||||||
|
2008-11-22 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||||
|
|
||||||
|
* Modified the invitation "update" templates
|
||||||
|
to display the summar in the email subject.
|
||||||
|
* Commented out a premature optimization in
|
||||||
|
SOGoAppointmentFolder.m
|
||||||
|
|
||||||
2008-11-20 Ludovic Marcotte <lmarcotte@inverse.ca>
|
2008-11-20 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||||
|
|
||||||
* Fixed a crash issue in SOGoCache - we don't
|
* Fixed a crash issue in SOGoCache - we don't
|
||||||
|
|
|
@ -1470,25 +1470,29 @@ static Class sogoAppointmentFolderKlass = Nil;
|
||||||
// has only asked for {DAV:}getetag with no other properties,
|
// has only asked for {DAV:}getetag with no other properties,
|
||||||
// we do not load the c_content and other fields from the
|
// we do not load the c_content and other fields from the
|
||||||
// database as this can be pretty costly.
|
// database as this can be pretty costly.
|
||||||
|
#if 0
|
||||||
|
// FOR AN UNKNOWN REASON FOR NOW, THIS GENERATES EMPTY ETAGS (ALL HAVE GCS0000000 VALUE)
|
||||||
if ([*properties caseInsensitiveCompare: @"{DAV:}getetag"] == NSOrderedSame &&
|
if ([*properties caseInsensitiveCompare: @"{DAV:}getetag"] == NSOrderedSame &&
|
||||||
!*(properties+1))
|
!*(properties+1))
|
||||||
fields =[NSArray arrayWithObjects: @"c_name", @"c_version",
|
fields = [NSArray arrayWithObjects: @"c_name", @"c_creationdate",
|
||||||
@"c_component", nil];
|
@"c_lastmodified", @"c_version",
|
||||||
|
@"c_component", nil];
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
fields = reportQueryFields;
|
fields = reportQueryFields;
|
||||||
|
|
||||||
filterList = [filters objectEnumerator];
|
filterList = [filters objectEnumerator];
|
||||||
while ((currentFilter = [filterList nextObject]))
|
while ((currentFilter = [filterList nextObject]))
|
||||||
{
|
{
|
||||||
additionalFilters = [self _composeAdditionalFilters: currentFilter];
|
additionalFilters = [self _composeAdditionalFilters: currentFilter];
|
||||||
NSLog(@"query");
|
//NSLog(@"query");
|
||||||
apts = [self bareFetchFields: fields
|
apts = [self bareFetchFields: fields
|
||||||
from: [currentFilter objectForKey: @"start"]
|
from: [currentFilter objectForKey: @"start"]
|
||||||
to: [currentFilter objectForKey: @"end"]
|
to: [currentFilter objectForKey: @"end"]
|
||||||
title: [currentFilter objectForKey: @"title"]
|
title: [currentFilter objectForKey: @"title"]
|
||||||
component: [currentFilter objectForKey: @"name"]
|
component: [currentFilter objectForKey: @"name"]
|
||||||
additionalFilters: additionalFilters];
|
additionalFilters: additionalFilters];
|
||||||
NSLog(@"adding properties");
|
//NSLog(@"adding properties");
|
||||||
max = [apts count];
|
max = [apts count];
|
||||||
buffer = [[NSMutableString alloc] initWithCapacity: max*512];
|
buffer = [[NSMutableString alloc] initWithCapacity: max*512];
|
||||||
for (count = 0; count < max; count++)
|
for (count = 0; count < max; count++)
|
||||||
|
@ -1496,7 +1500,7 @@ static Class sogoAppointmentFolderKlass = Nil;
|
||||||
properties: properties
|
properties: properties
|
||||||
withBaseURL: baseURL
|
withBaseURL: baseURL
|
||||||
toBuffer: buffer];
|
toBuffer: buffer];
|
||||||
NSLog(@"done");
|
//NSLog(@"done");
|
||||||
[response appendContentString: buffer];
|
[response appendContentString: buffer];
|
||||||
[buffer release];
|
[buffer release];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<#IsSubject>The appointment for the <#OldAptStartDate /> at <#OldAptStartTime /> has changed</#IsSubject>
|
<#IsSubject>The appointment "<#Summary />" for the <#OldAptStartDate /> at <#OldAptStartTime /> has changed</#IsSubject>
|
||||||
<#IsBody>
|
<#IsBody>
|
||||||
This appointment, previously set for <#OldAptStartDate /> at <#OldAptStartTime /> (<#OldAptLocation />) is now scheduled for <#NewAptStartDate /> at <#NewAptStartTime /> (<#NewAptLocation />).
|
This appointment, previously set for <#OldAptStartDate /> at <#OldAptStartTime /> (<#OldAptLocation />) is now scheduled for <#NewAptStartDate /> at <#NewAptStartTime /> (<#NewAptLocation />).
|
||||||
Please make a decision for these new settings.
|
Please make a decision for these new settings.
|
||||||
|
|
|
@ -45,3 +45,8 @@ IsBody: WOConditional {
|
||||||
condition = isSubject;
|
condition = isSubject;
|
||||||
negate = YES;
|
negate = YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Summary: WOString {
|
||||||
|
value = summary;
|
||||||
|
escapeHTML = NO;
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
<#IsSubject>The appointment for the <#OldAptStartDate /> at <#OldAptStartTime /> has changed</#IsSubject>
|
<#IsSubject>The appointment "<#Summary />" for the <#OldAptStartDate /> at <#OldAptStartTime /> has changed</#IsSubject>
|
||||||
<#IsBody>
|
<#IsBody>
|
||||||
This appointment, previously set for <#OldAptStartDate /> at <#OldAptStartTime /> (<#OldAptLocation />) is now scheduled for <#NewAptStartDate /> at <#NewAptStartTime /> (<#NewAptLocation />).
|
This appointment, previously set for <#OldAptStartDate /> at <#OldAptStartTime /> (<#OldAptLocation />) is now scheduled for <#NewAptStartDate /> at <#NewAptStartTime /> (<#NewAptLocation />).
|
||||||
Please make a decision for these new settings.
|
Please make a decision for these new settings.
|
||||||
|
|
|
@ -45,3 +45,8 @@ IsBody: WOConditional {
|
||||||
condition = isSubject;
|
condition = isSubject;
|
||||||
negate = YES;
|
negate = YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Summary: WOString {
|
||||||
|
value = summary;
|
||||||
|
escapeHTML = NO;
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<#IsSubject>Le rendez-vous du <#OldAptStartDate /> à <#OldAptStartTime /> est modifié</#IsSubject>
|
<#IsSubject>Le rendez-vous "<#Summary />" du <#OldAptStartDate /> à <#OldAptStartTime /> est modifié</#IsSubject>
|
||||||
<#IsBody>
|
<#IsBody>
|
||||||
La réunion qui devait se dérouler le <#OldAptStartDate /> à <#OldAptStartTime /> (<#OldAptLocation />) est maintenant prévue le <#NewAptStartDate /> à <#NewAptStartTime /> (<#NewAptLocation />).
|
La réunion qui devait se dérouler le <#OldAptStartDate /> à <#OldAptStartTime /> (<#OldAptLocation />) est maintenant prévue le <#NewAptStartDate /> à <#NewAptStartTime /> (<#NewAptLocation />).
|
||||||
Vous êtes invité à accepter ou refuser de participer à la réunion pour cette nouvelle date.
|
Vous êtes invité à accepter ou refuser de participer à la réunion pour cette nouvelle date.
|
||||||
|
|
|
@ -45,3 +45,8 @@ IsBody: WOConditional {
|
||||||
condition = isSubject;
|
condition = isSubject;
|
||||||
negate = YES;
|
negate = YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Summary: WOString {
|
||||||
|
value = summary;
|
||||||
|
escapeHTML = NO;
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
<#IsSubject>The appointment for the <#OldAptStartDate /> at <#OldAptStartTime /> has changed</#IsSubject>
|
<#IsSubject>The appointment "<#Summary />" for the <#OldAptStartDate /> at <#OldAptStartTime /> has changed</#IsSubject>
|
||||||
<#IsBody>
|
<#IsBody>
|
||||||
This appointment, previously set for <#OldAptStartDate /> at <#OldAptStartTime /> (<#OldAptLocation />) is now scheduled for <#NewAptStartDate /> at <#NewAptStartTime /> (<#NewAptLocation />).
|
This appointment, previously set for <#OldAptStartDate /> at <#OldAptStartTime /> (<#OldAptLocation />) is now scheduled for <#NewAptStartDate /> at <#NewAptStartTime /> (<#NewAptLocation />).
|
||||||
Please make a decision for these new settings.
|
Please make a decision for these new settings.
|
||||||
|
|
|
@ -45,3 +45,8 @@ IsBody: WOConditional {
|
||||||
condition = isSubject;
|
condition = isSubject;
|
||||||
negate = YES;
|
negate = YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Summary: WOString {
|
||||||
|
value = summary;
|
||||||
|
escapeHTML = NO;
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
<#IsSubject>L'appuntamento fissato in data <#OldAptStartDate /> alle ore <#OldAptStartTime /> è stato modificato </#IsSubject>
|
<#IsSubject>L'appuntamento "<#Summary />" fissato in data <#OldAptStartDate /> alle ore <#OldAptStartTime /> è stato modificato </#IsSubject>
|
||||||
<#IsBody>
|
<#IsBody>
|
||||||
Questo appuntamento, fissato precedentemete in data <#OldAptStartDate /> (<#OldAptLocation />)
|
Questo appuntamento, fissato precedentemete in data <#OldAptStartDate /> (<#OldAptLocation />)
|
||||||
alle ore <#OldAptStartTime /> è ora programmato il <#NewAptStartDate
|
alle ore <#OldAptStartTime /> è ora programmato il <#NewAptStartDate
|
||||||
|
|
|
@ -45,3 +45,8 @@ IsBody: WOConditional {
|
||||||
condition = isSubject;
|
condition = isSubject;
|
||||||
negate = YES;
|
negate = YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Summary: WOString {
|
||||||
|
value = summary;
|
||||||
|
escapeHTML = NO;
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
<#IsSubject>The appointment for the <#OldAptStartDate /> at <#OldAptStartTime /> has changed</#IsSubject>
|
<#IsSubject>The appointment "<#Summary />" for the <#OldAptStartDate /> at <#OldAptStartTime /> has changed</#IsSubject>
|
||||||
<#IsBody>
|
<#IsBody>
|
||||||
This appointment, previously set for <#OldAptStartDate /> at <#OldAptStartTime /> (<#OldAptLocation />) is now scheduled for <#NewAptStartDate /> at <#NewAptStartTime /> (<#NewAptLocation />).
|
This appointment, previously set for <#OldAptStartDate /> at <#OldAptStartTime /> (<#OldAptLocation />) is now scheduled for <#NewAptStartDate /> at <#NewAptStartTime /> (<#NewAptLocation />).
|
||||||
Please make a decision for these new settings.
|
Please make a decision for these new settings.
|
||||||
|
|
|
@ -45,3 +45,8 @@ IsBody: WOConditional {
|
||||||
condition = isSubject;
|
condition = isSubject;
|
||||||
negate = YES;
|
negate = YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Summary: WOString {
|
||||||
|
value = summary;
|
||||||
|
escapeHTML = NO;
|
||||||
|
}
|
|
@ -275,7 +275,6 @@ static NSString *uidColumnName = @"c_uid";
|
||||||
[d setObject: values forKey: @"values"];
|
[d setObject: values forKey: @"values"];
|
||||||
[d setObject: uid forKey: @"uid"];
|
[d setObject: uid forKey: @"uid"];
|
||||||
|
|
||||||
#warning reenable when the code to use the SOGoCache is finished
|
|
||||||
[[NSDistributedNotificationCenter defaultCenter]
|
[[NSDistributedNotificationCenter defaultCenter]
|
||||||
postNotificationName: ([fieldName isEqualToString: @"c_defaults"] ? @"SOGoUserDefaultsHaveChanged" : @"SOGoUserSettingsHaveChanged")
|
postNotificationName: ([fieldName isEqualToString: @"c_defaults"] ? @"SOGoUserDefaultsHaveChanged" : @"SOGoUserSettingsHaveChanged")
|
||||||
object: nil
|
object: nil
|
||||||
|
|
Loading…
Reference in a new issue