merge of '5052783f79bc86c62042f5d4a556a3573c4a3876'

and '8889afbf143b1653a2ac96bad029b4301fc1f146'

Monotone-Parent: 5052783f79bc86c62042f5d4a556a3573c4a3876
Monotone-Parent: 8889afbf143b1653a2ac96bad029b4301fc1f146
Monotone-Revision: fcece651323f876baef1d1d08bc52772b67ce6a4

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-09-28T15:07:20
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte 2009-09-28 15:07:20 +00:00
commit 9ae151dfb9
10 changed files with 73 additions and 37 deletions

View file

@ -1,3 +1,15 @@
2009-09-28 Cyril Robert <crobert@inverse.ca>
* SoObjects/Appointments/SOGoAptMailInvitation.m: Added Spanish definition.
* SoObjects/Appointments/SOGoAptMailICalReply.m: Added Spanish definition.
* SoObjects/Appointments/SOGoAptMailDeletion.m: Added Spanish definition.
* SoObjects/Appointments/SOGoAptMailUpdate.m: Added Spanish definition.
2009-09-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoUser.m (+initialize): avoid a crash when
SOGoProfileURL is not set.
2009-09-27 Ludovic Marcotte <lmarcotte@inverse.ca> 2009-09-27 Ludovic Marcotte <lmarcotte@inverse.ca>
* Reworked the UIxMailPartSignedViewer to inherit * Reworked the UIxMailPartSignedViewer to inherit

View file

@ -3195,6 +3195,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
[event setUid: uid]; [event setUid: uid];
object = [SOGoAppointmentObject objectWithName: uid object = [SOGoAppointmentObject objectWithName: uid
inContainer: self]; inContainer: self];
[object setIsNew: YES];
content = content =
[NSString stringWithFormat: @"BEGIN:VCALENDAR\n%@\nEND:VCALENDAR", [NSString stringWithFormat: @"BEGIN:VCALENDAR\n%@\nEND:VCALENDAR",
[event versitString]]; [event versitString]];

View file

@ -69,3 +69,9 @@
@implementation SOGoAptMailRussianDeletion @implementation SOGoAptMailRussianDeletion
@end @end
@interface SOGoAptMailSpanishDeletion : SOGoAptMailNotification
@end
@implementation SOGoAptMailSpanishDeletion
@end

View file

@ -245,3 +245,9 @@ static NSCharacterSet *wsSet = nil;
@implementation SOGoAptMailRussianICalReply @implementation SOGoAptMailRussianICalReply
@end @end
@interface SOGoAptMailSpanishICalReply : SOGoAptMailICalReply
@end
@implementation SOGoAptMailSpanishICalReply
@end

View file

@ -69,3 +69,9 @@
@implementation SOGoAptMailRussianInvitation @implementation SOGoAptMailRussianInvitation
@end @end
@interface SOGoAptMailSpanishInvitation : SOGoAptMailNotification
@end
@implementation SOGoAptMailSpanishInvitation
@end

View file

@ -88,3 +88,11 @@
@implementation SOGoAptMailItalianUpdate @implementation SOGoAptMailItalianUpdate
@end @end
@interface SOGoAptMailSpanishUpdate : SOGoAptMailNotification
{
}
@end
@implementation SOGoAptMailSpanishUpdate
@end

View file

@ -146,7 +146,8 @@ _timeValue (NSString *key)
@" was renamed to 'SOGoProfileURL'"]; @" was renamed to 'SOGoProfileURL'"];
} }
} }
SOGoProfileURL = [[NSURL alloc] initWithString: profileURL]; if (profileURL)
SOGoProfileURL = [[NSURL alloc] initWithString: profileURL];
} }
if (!fallbackIMAP4Server) if (!fallbackIMAP4Server)
ASSIGN (fallbackIMAP4Server, ASSIGN (fallbackIMAP4Server,

View file

@ -207,24 +207,24 @@
- (BOOL) importVcard: (NGVCard *) card - (BOOL) importVcard: (NGVCard *) card
{ {
NSString *uid, *name; NSString *uid;
SOGoContactGCSFolder *folder; SOGoContactGCSFolder *folder;
NSException *ex; SOGoContactGCSEntry *contact;
BOOL rc = NO; BOOL rc = NO;
if (card) if (card)
{ {
folder = [self clientObject]; folder = [self clientObject];
uid = [folder globallyUniqueObjectId]; uid = [folder globallyUniqueObjectId];
name = [NSString stringWithFormat: @"%@.vcf", uid];
[card setUid: uid]; [card setUid: uid];
ex = [[folder ocsFolder] writeContent: [card versitString] contact = [SOGoContactGCSEntry objectWithName: uid
toName: name inContainer: folder];
baseVersion: 0]; [contact setIsNew: YES];
if (ex)
NSLog (@"write failed: %@", ex); [contact saveContentString: [card versitString]];
else
rc = YES; rc = YES;
} }
return rc; return rc;

View file

@ -1,17 +1,16 @@
<?xml version="1.0" standalone="yes"?> <?xml version="1.0" standalone="yes"?>
<!DOCTYPE div>
<div xmlns="http://www.w3.org/1999/xhtml" <div xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding" xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant" xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url" xmlns:rsrc="OGo:url"
xmlns:label="OGo:label" xmlns:label="OGo:label"
> >
<div> <var:foreach list="bodyInfo.parts" item="childInfo" index="childIndex">
<var:foreach list="bodyInfo.parts" item="childInfo" index="childIndex"> <div>
<div> <var:component value="contentViewerComponent"
<var:component value="contentViewerComponent" bodyInfo="childInfo"
bodyInfo="childInfo" partPath="childPartPath" />
partPath="childPartPath" /> </div>
</div> </var:foreach>
</var:foreach>
</div>
</div> </div>

View file

@ -5,18 +5,15 @@
xmlns:const="http://www.skyrix.com/od/constant" xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url" xmlns:rsrc="OGo:url"
xmlns:label="OGo:label" xmlns:label="OGo:label"
class="mailer_plaincontent signed" class="signed"
const:id="signedMessage" const:id="signedMessage"
var:valid="validSignature" var:valid="validSignature"
var:error="validationMessage" var:error="validationMessage">
> <var:foreach list="bodyInfo.parts" item="childInfo" index="childIndex">
<div> <div>
<var:foreach list="bodyInfo.parts" item="childInfo" index="childIndex"> <var:component value="contentViewerComponent"
<div> bodyInfo="childInfo"
<var:component value="contentViewerComponent" partPath="childPartPath" />
bodyInfo="childInfo" </div>
partPath="childPartPath" /> </var:foreach>
</div>
</var:foreach>
</div>
</div> </div>