sogo/UI/MailerUI
Wolfgang Sourdeau ea65646b76 Monotone-Parent: 09d4bd466044e8e7495de436a6ebe651f4a2fd56
Monotone-Revision: c1a2d381d8af27188d0704030b27985ca594d689

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-07-15T16:15:22
Monotone-Branch: ca.inverse.sogo
2009-07-15 16:15:22 +00:00
..
BrazilianPortuguese.lproj Brazilian Portuguese and Czech translations 2009-07-09 19:49:04 +00:00
Czech.lproj Brazilian Portuguese and Czech translations 2009-07-09 19:49:04 +00:00
Dutch.lproj Added "Save attachment" menu 2009-07-09 15:27:11 +00:00
English.lproj Added "Save attachment" menu 2009-07-09 15:27:11 +00:00
French.lproj Added "Save attachment" menu 2009-07-09 15:27:11 +00:00
German.lproj Added "Save attachment" menu 2009-07-09 15:27:11 +00:00
Italian.lproj Monotone-Parent: 09d4bd466044e8e7495de436a6ebe651f4a2fd56 2009-07-15 16:15:22 +00:00
Russian.lproj Added "Save attachment" menu 2009-07-09 15:27:11 +00:00
Spanish.lproj Added "Save attachment" menu 2009-07-09 15:27:11 +00:00
Toolbars See ChangeLog 2008-09-28 14:02:40 +00:00
Welsh.lproj Added "Save attachment" menu 2009-07-09 15:27:11 +00:00
COPYING see ChangeLog 2006-06-15 19:34:10 +00:00
COPYRIGHT see ChangeLog 2006-06-15 19:34:10 +00:00
GNUmakefile Brazilian Portuguese and Czech translations 2009-07-09 19:49:04 +00:00
GNUmakefile.postamble see ChangeLog 2006-06-15 19:34:10 +00:00
GNUmakefile.preamble see ChangeLog 2006-06-15 19:34:10 +00:00
MailerUIProduct.m Monotone-Parent: 8713b03b75cde71f5a7dbc54ba1bf52054a6fe03 2007-05-23 18:33:24 +00:00
README see ChangeLog 2006-06-15 19:34:10 +00:00
UIxEnvelopeAddressFormatter.m Monotone-Parent: b12641f92f89dbd4afe141575a8f444aee2c63de 2007-07-27 17:34:32 +00:00
UIxFilterList.m Monotone-Parent: b12641f92f89dbd4afe141575a8f444aee2c63de 2007-07-27 17:34:32 +00:00
UIxMailAccountActions.h Added the possibility of retreiving the number of unseen 2008-10-03 13:54:24 +00:00
UIxMailAccountActions.m Monotone-Parent: 3273edcbe74bef5af678b4bac440df23fe52dafd 2009-06-26 17:48:48 +00:00
UIxMailActions.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
UIxMailActions.m See ChangeLog 2008-10-03 19:01:29 +00:00
UIxMailEditor.m See ChangeLog 2009-04-01 13:49:24 +00:00
UIxMailFilterPanel.m Monotone-Parent: c5cc88dd452d75edebb6730bdb60d21a0facec48 2007-07-27 17:30:37 +00:00
UIxMailFolderActions.h Monotone-Parent: b68886fef709d3931ecfc6a232969b39ca2576c0 2009-06-01 17:52:24 +00:00
UIxMailFolderActions.m Monotone-Parent: 158571d4f7e1fd1da2b47567f93275d509fff71d 2009-07-02 17:21:07 +00:00
UIxMailFormatter.h Monotone-Parent: 025330d36e1af8f073a0b0a02b64a65e36da2ffb 2007-11-05 16:37:17 +00:00
UIxMailFormatter.m Monotone-Parent: 783dceba01b81a0032283f71411ea2b5a4ec5a92 2007-07-27 17:32:21 +00:00
UIxMailListView.h Fixed a translation bug in MessageListView 2008-10-08 18:38:03 +00:00
UIxMailListView.m Monotone-Parent: c060ce320baeac54323275b3b98a5dc254d3e7b6 2009-07-07 18:28:50 +00:00
UIxMailMainFrame.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
UIxMailMainFrame.m See ChangeLog 2009-04-01 13:49:24 +00:00
UIxMailMoveToPopUp.m See ChangeLog 2009-04-01 13:49:24 +00:00
UIxMailPopupView.m Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
UIxMailSourceView.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
UIxMailSourceView.m Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
UIxMailToSelection.m Monotone-Parent: 1ade254d62fcb6133186bc9896363a6fa7dc5f90 2008-09-11 21:59:31 +00:00
UIxMailUserRightsEditor.h Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
UIxMailUserRightsEditor.m Monotone-Parent: c33cdda9e79ffbb64ec7e5ffcb898838a13ac5a7 2008-09-27 01:13:41 +00:00
UIxMailView.m See ChangeLog 2008-09-30 19:34:31 +00:00
UIxMailWindowCloser.m Monotone-Parent: c5cc88dd452d75edebb6730bdb60d21a0facec48 2007-07-27 17:30:37 +00:00
UIxSieveEditor.m see ChangeLog 2006-06-15 19:34:10 +00:00
Version see ChangeLog 2006-06-15 19:34:10 +00:00
WOContext+UIxMailer.h Monotone-Parent: 025330d36e1af8f073a0b0a02b64a65e36da2ffb 2007-11-05 16:37:17 +00:00
WOContext+UIxMailer.m Monotone-Parent: 025330d36e1af8f073a0b0a02b64a65e36da2ffb 2007-11-05 16:37:17 +00:00
bundle-info.plist see ChangeLog 2006-06-15 19:34:10 +00:00
product.plist Monotone-Parent: 83dfeb0263c5486d96e98bedd1e997bf5a368823 2009-06-01 17:59:02 +00:00

README

SOGO Mailer UI
==============

- own (Thunderbird styled) frame
- component for tree

TODO
====
- a lot ;->
- SOPE: does not recognize <input type="button"> !

Components
==========
UIxMailAccountView.wox
UIxMailAccountsView.wox
UIxMailEditor.wox
UIxMailToSelection.wox
UIxMailListView.wox
UIxMailMainFrame.wox
UIxMailTree.wox
UIxMailView.wox

Class Hierarchy
===============

[NSObject]
  MailerUIProduct
  [WOComponent]
    [SoComponent]
      <UIxComponent>
        UIxFilterList
        UIxMailAccountView
        UIxMailAccountsView
        UIxMailAddressbook
        UIxMailEditor
        (Scheduler_Privates)
        UIxMailListView
        UIxMailMainFrame
        UIxMailToSelection
        UIxMailToolbar
        UIxMailTree
        UIxMailView
        UIxSieveEditor
      UIxMailSortableTableHeader
    UIxMailEditorAttach.m
    UIxMailFilterPanel
    UIxMailMoveToPopUp
    UIxMailWindowCloser
  [WODirectAction]
    UIxMailEditorAction
      UIxMailForwardAction
      UIxMailReplyAction
  [NSFormatter]
    UIxMailFormatter
      UIxMailDateFormatter
      UIxSubjectFormatter
      UIxEnvelopeAddressFormatter
  UIxMailTreeBlock
  [WOContext]
    (UIxMailer)

Defaults
========

SOGoShowInternetMarker - bool
- show a marker in the editor that the request is from the outside

SOGoInternetDetectQualifier - string
- an EOQualifier to detect whether a set of HTTP headers is from the outside,
  eg: "NOT (minequprovenance = 'intranet')"
      -SOGoInternetDetectQualifier '"NOT (minequprovenance = \"intranet\")"'
  Note: all header field names are lowercase

SOGoInternetMailHeaders - dictionary
- if a request was detected as coming from the Internet, add the mail headers
  specified in this default
  eg: { received = "sogo depuis internet"; }
  -SOGoInternetMailHeaders "{received=\"sogo depuis internet\"; }"

SOGoMailEditorKeepTmpFile
- for debugging, if a mail was send, keep the file containing the MIME in the
  temporary directory for review instead of deleting it

SOGoMailTreeRootClass
- configure the root class of the mail tree, eg:
  - SOGoMailAccounts - standard view, show all IMAP4 accounts
  - SOGoMailAccount  - just show the standard mail account (tree at Inbox!)
  - SoApplication    - stop at the application object (show all folders)

SOGoDontUseETagsForMailViewer - YES|NO
- when enable SOGo won't tag mail viewers with an entity-tag (HTTP etag)
  - the etag ensures that the viewer will only get resend to the browser when
    it changed. In the case of IMAP4 this is never because URLs are one-time
    IDs in the IMAP4 server and messages cannot be edited in IMAP4
  - use the default for debugging (otherwise you won't see changes ...)

SOGoUseLocationBasedSentFolder - YES | NO
- when enable SOGo looks up the Sent folder by traversing the lookup-path
  until it finds a SOGoMailAccount object and then asks the account for the
  Sent folder.

Notes
=====

- we might want to bind the content viewers as SOPE methods to the mail class?
  eg "viewTextPlain"
  - this would not return a WOComponent, but a SoPageInvocation
  - caching might be more difficult 
    - some 'reuse component' support in SoPageInvocation for stateless
      components?
      - watch nested calls
  - for this we would need to add support for embedded calling of SOPE methods
    <var:component method="viewTextPlain" /> ?

Bodystructures
==============

Multiparts: multipart/MIXED, multipart/SIGNED

Feature: we fetch all plain/text bodies in a single run by traversing the
         body structure.

Sample Bodystructure (GPG):
---snip---
  {
    parts = (
        {
            bodyId = ""; 
            description = ""; 
            encoding = "QUOTED-PRINTABLE"; 
            lines = 22; 
            parameterList = {}; 
            size = 731; 
            subtype = PLAIN; 
            type = text; 
        }, 
        {
            bodyId = ""; 
            description = "Esta parte del mensaje"; 
            encoding = 7BIT; 
            parameterList = {name = "signature.asc"; }; 
            size = 196; 
            subtype = "PGP-SIGNATURE"; 
            type = application; 
        }
    ); 
    subtype = SIGNED; 
    type = multipart; 
  }
---snap---

Sample Body Structure (Image):
---snip---
  {
    parts = (
        {
            bodyId = ""; 
            description = ""; 
            encoding = BASE64; 
            parameterList = {name = "PoseChau.jpg"; "x-unix-mode" = 0644; }; 
            size = 58370; 
            subtype = JPEG; 
            type = image; 
        }, 
        {
            bodyId = ""; 
            description = ""; 
            encoding = 7BIT; 
            lines = 2; 
            parameterList = {charset = "US-ASCII"; format = flowed; }; 
            size = 57; 
            subtype = PLAIN; 
            type = text; 
        }
    ); 
    subtype = MIXED; 
    type = multipart; 
  }
---snap---