See ChangeLog.

Monotone-Parent: ab2ccda92b2df4cd7482934e46d69ed541d0ead8
Monotone-Revision: af376f6da2887cfa1d81ea2a63d137713304b757

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-02-02T20:46:30
This commit is contained in:
Francis Lachapelle
2012-02-02 20:46:30 +00:00
parent 28e64b2076
commit 4b38c7e483
3 changed files with 17 additions and 5 deletions
+9
View File
@@ -1,3 +1,12 @@
2012-02-02 Francis Lachapelle <flachapelle@inverse.ca>
* UI/MailerUI/UIxMailMainFrame.m (-composeAction): recipient
addresses are now passed as a JSON-formatted string.
* UI/MailerUI/UIxMailAccountActions.m (-composeAction): the
received "mailto" parameter is now a JSON-formatted string; we
parse it accordingly.
2012-02-01 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/UIxCalUserRightsEditor.js (onUpdateACL):
+7 -4
View File
@@ -212,7 +212,7 @@
SOGoDraftsFolder *drafts;
SOGoDraftObject *newDraftMessage;
NSString *urlBase, *url, *value, *signature;
NSArray *mailTo;
id mailTo;
NSMutableDictionary *headers;
BOOL save;
@@ -225,9 +225,12 @@
value = [[self request] formValueForKey: @"mailto"];
if ([value length] > 0)
{
mailTo = [[value stringByUnescapingURL] componentsSeparatedByString: @","];
[headers setObject: mailTo forKey: @"to"];
save = YES;
mailTo = [[value stringByUnescapingURL] objectFromJSONString];
if (mailTo && [mailTo isKindOfClass: [NSArray class]])
{
[headers setObject: (NSArray *) mailTo forKey: @"to"];
save = YES;
}
}
value = [[self request] formValueForKey: @"subject"];
+1 -1
View File
@@ -251,7 +251,7 @@
if ([addresses count] > 0)
parameters = [NSString stringWithFormat: @"?mailto=%@",
[addresses componentsJoinedByString: @","]];
[addresses jsonRepresentation]];
}
}
else if ([[request formValues] objectForKey: @"mailto"])