diff --git a/ChangeLog b/ChangeLog index c33e549c1..b63b818dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2009-10-27 Ludovic Marcotte + + * SoObjects/SOGo/SOGoGCSFolder.m (create) + We send the advisory to the owner of the newly + created collection, not the currently logged on + user (which might be different). The sender will + nevertheless be the currently logged on user, as + it's this particular user that triggered the + creation of the collection. + * Documentation/SOGo Installation Guide.odt + Updated to set WOUseRelativeURLs to YES instead + of NO by default. + 2009-10-26 Francis Lachapelle * UI/WebServerResources/ContactsUI.js diff --git a/Documentation/SOGo Installation Guide.odt b/Documentation/SOGo Installation Guide.odt index 0de2abad0..c80224f63 100644 Binary files a/Documentation/SOGo Installation Guide.odt and b/Documentation/SOGo Installation Guide.odt differ diff --git a/SoObjects/SOGo/SOGoGCSFolder.m b/SoObjects/SOGo/SOGoGCSFolder.m index b773d13c8..4b08cca77 100644 --- a/SoObjects/SOGo/SOGoGCSFolder.m +++ b/SoObjects/SOGo/SOGoGCSFolder.m @@ -392,7 +392,7 @@ static NSArray *childRecordFields = nil; if (sendFolderAdvisories) { - user = [context activeUser]; + user = [SOGoUser userWithLogin: [self ownerInContext: context]]; pageName = [NSString stringWithFormat: @"SOGoFolder%@%@Advisory", [user language], template]; diff --git a/UI/Contacts/UIxListView.m b/UI/Contacts/UIxListView.m index 8fdd9244b..c89d93603 100644 --- a/UI/Contacts/UIxListView.m +++ b/UI/Contacts/UIxListView.m @@ -60,14 +60,27 @@ { return [list cardReferences]; } -- (NSString *) itemText + +- (NSString *) itemHref { - NSString *rc; + return [NSString stringWithFormat: @"mailto:%@", + [item email]]; +} - rc = [NSString stringWithFormat: @"%@ <%@>", - [item fn], [item email]]; +- (NSString *) itemOnclick +{ + return [NSString stringWithFormat: @"return openMailTo('%@ <%@>');", + [item fn], [item email]]; +} - return rc; +- (NSString *) itemName +{ + return [item fn]; +} + +- (NSString *) itemEmail +{ + return [item email]; } - (void) checkListReferences diff --git a/UI/Templates/ContactsUI/UIxListView.wox b/UI/Templates/ContactsUI/UIxListView.wox index a3b7c1a28..f47dbcc97 100644 --- a/UI/Templates/ContactsUI/UIxListView.wox +++ b/UI/Templates/ContactsUI/UIxListView.wox @@ -19,7 +19,10 @@