]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1170 d1b88da0-ebda-0310...
authorwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 10 Sep 2007 17:47:05 +0000 (17:47 +0000)
committerwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 10 Sep 2007 17:47:05 +0000 (17:47 +0000)
ChangeLog
UI/WebServerResources/ContactsUI.js
UI/WebServerResources/MailerUI.css

index 1a506694e8d14d0e1e95760d4285554535d361d9..c86e7a5927516cdb69481611fdd864ea57a83bf2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,74 @@
+2007-09-10  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
+
+       * 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  <wsourdeau@inverse.ca>
+
+       * 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  <wsourdeau@inverse.ca>
+
+       * 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  <wsourdeau@inverse.ca>
 
+       * 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 _.
 
index 718c494f6dc279ec51959d2f8ae43e2e55f93b50..f38c9d05b689025b29efb6ea81121f54eba57f37 100644 (file)
@@ -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"];
index 24261f7e52a7d1a76011f4dbd5ca4e5d43d9b988..18798df294316506647e5c9cc53e89d7bdabc1d7 100644 (file)
@@ -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;