From: wolfgang Date: Mon, 10 Sep 2007 17:47:05 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1170 d1b88da0-ebda-0310... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f408cfdb796d3e31be0f45f0a6b3a5f16f1b03f;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1170 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/ChangeLog b/ChangeLog index 1a506694..c86e7a59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,74 @@ +2007-09-10 Wolfgang Sourdeau + + * SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject + -trashInContext:_ctx]): no longer expunge the mailbox after + marking a message deleted. + ([SOGoMailObject -moveToFolderNamed:folderNameinContext:]): same + as above. + + * UI/MailerUI/UIxMailView.m ([-deleteAction]): removed method. + ([-trashAction]): moved method into UIxMailActions. + ([-moveAction]): moved method into UIxMailActions. + +2007-09-07 Wolfgang Sourdeau + + * UI/MailPartViewers/UIxMailPartHTMLViewer.m + ([_UIxHTMLMailContentHandler + -endElement:_localNamenamespace:_nsrawName:_rawName]): remove HTML + comments from the CSS code, do not add the CSS code to the body + content and remove references of body from the CSS declarations. + ([UIxMailPartHTMLViewer -cssContent]): new accessor method. + ([UIxMailPartHTMLViewer -flatContentAsString]): separated code + common with cssContent in a different method and invoke it only + once. + + * UI/MainUI/SOGoRootPage.[hm]: made a subclass of UIxComponent + instead of UIxPageFrame. + +2007-09-06 Wolfgang Sourdeau + + * UI/MainUI/SOGoRootPage.m ([-defaultAction]): commented out. + ([-appendToResponse:responseinContext:ctx]): commented out. + ([SOGoRootPage -connectURL]): new accessor that returns the full + url the the "connect" method. + ([-connectAction]): rewrote method to return a properly formatted + auth. cookie based on the username and password passed as + parameter. + + * UI/MainUI/SOGoUserHomePage.m ([SOGoUserHomePage -logoffAction]): + set the value of the cookie to "discard" and set its expiration + date to yesterday. + + * SoObjects/SOGo/SOGoWebAuthenticator.m ([SOGoWebAuthenticator + -preprocessCredentialsInContext:context]): consider the user + anonymous if the cookie value is "discard". + ([SOGoWebAuthenticator + -setupAuthFailResponse:responsewithReason:reasoninContext:context]): + set the expiration date of the cookie to yesterday. + + * UI/SOGoUI/UIxComponent.m ([UIxComponent -applicationPath]): + returns the path to the application if the clientObject is not a + SOGoObject. + + * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder +initialize]): + moved the requirement of authentication from the SOGo application + class to here. + + * SoObjects/Appointments/SOGoAppointmentObject.m + ([SOGoAppointmentObject -saveContentString:_iCalbaseSequence:_v]): + check whether the new appointment object is still relevant before + sending a notification. + 2007-09-05 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoWebAuthenticator.m ([SOGoWebAuthenticator + -setupAuthFailResponse:responsewithReason:reasoninContext:context]): + render the login page through the SoDefaultRenderer. + + * UI/MainUI/SOGoRootPage.m ([SOGoRootPage + -isPublicInContext:localContext]): new overriden method that + returns YES. + * UI/Scheduler/UIxCalendarSelector.m ([UIxCalendarSelector -currentCalendarLogin]): replace css-unsafe characters with _. diff --git a/UI/WebServerResources/ContactsUI.js b/UI/WebServerResources/ContactsUI.js index 718c494f..f38c9d05 100644 --- a/UI/WebServerResources/ContactsUI.js +++ b/UI/WebServerResources/ContactsUI.js @@ -35,7 +35,7 @@ function openContactsFolder(contactsFolder, reload, idx) { var searchValue = search["value"]; if (searchValue && searchValue.length > 0) url += ("&search=" + search["criteria"] - + "&value=" + escape(searchValue)); + + "&value=" + escape(searchValue.utf8encode())); var sortAttribute = sorting["attribute"]; if (sortAttribute && sortAttribute.length > 0) url += ("&sort=" + sorting["attribute"] @@ -96,15 +96,15 @@ function contactsListCallback(http) { if (sorting["attribute"] && sorting["attribute"].length > 0) { var sortHeader; - if (sorting["attribute"] == "cn") + if (sorting["attribute"] == "displayName") sortHeader = $("nameHeader"); else if (sorting["attribute"] == "mail") sortHeader = $("mailHeader"); - else if (sorting["attribute"] == "screenname") + else if (sorting["attribute"] == "screenName") sortHeader = $("screenNameHeader"); - else if (sorting["attribute"] == "o") + else if (sorting["attribute"] == "org") sortHeader = $("orgHeader"); - else if (sorting["attribute"] == "telephonenumber") + else if (sorting["attribute"] == "phone") sortHeader = $("phoneHeader"); else sortHeader = null; @@ -373,17 +373,15 @@ function onHeaderClick(event) { var headerId = this.getAttribute("id"); var newSortAttribute; if (headerId == "nameHeader") - newSortAttribute = "cn"; + newSortAttribute = "displayName"; else if (headerId == "mailHeader") newSortAttribute = "mail"; else if (headerId == "screenNameHeader") - newSortAttribute = "screenname"; + newSortAttribute = "screenName"; else if (headerId == "orgHeader") - newSortAttribute = "o"; + newSortAttribute = "org"; else if (headerId == "phoneHeader") - newSortAttribute = "telephonenumber"; - - log("header: " + headerId); + newSortAttribute = "phone"; if (sorting["attribute"] == newSortAttribute) sorting["ascending"] = !sorting["ascending"]; diff --git a/UI/WebServerResources/MailerUI.css b/UI/WebServerResources/MailerUI.css index 24261f7e..18798df2 100644 --- a/UI/WebServerResources/MailerUI.css +++ b/UI/WebServerResources/MailerUI.css @@ -367,7 +367,8 @@ img.mailer_imagecontent } DIV.mailer_plaincontent -{ +{ + position: relative; font-family: monospace, fixed; white-space: normal; font-size: inherit; @@ -386,7 +387,7 @@ DIV.mailer_plaincontent P DIV.mailer_htmlcontent P { white-space: normal; - font-family: serif; + font-family: sans-serif; font-size: inherit; margin: 0px; padding: 0px;