mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-15 16:35:35 +00:00
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:
@@ -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):
|
||||
|
||||
@@ -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"];
|
||||
|
||||
@@ -251,7 +251,7 @@
|
||||
|
||||
if ([addresses count] > 0)
|
||||
parameters = [NSString stringWithFormat: @"?mailto=%@",
|
||||
[addresses componentsJoinedByString: @","]];
|
||||
[addresses jsonRepresentation]];
|
||||
}
|
||||
}
|
||||
else if ([[request formValues] objectForKey: @"mailto"])
|
||||
|
||||
Reference in New Issue
Block a user