sogo/UI/MailerUI
Wolfgang Sourdeau 212f438551 Monotone-Parent: 3e221864601a9820fef140de7c772be29079ed48
Monotone-Revision: 87549a04ea4f0186bec4f2810f59f6075fa464b2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-05-02T23:14:51
Monotone-Branch: ca.inverse.sogo
2008-05-02 23:14:51 +00:00
..
English.lproj Monotone-Parent: 18f239a3de0b7ac267996e840fa462638dadaf29 2007-12-10 22:34:12 +00:00
French.lproj Monotone-Parent: 18f239a3de0b7ac267996e840fa462638dadaf29 2007-12-10 22:34:12 +00:00
German.lproj Monotone-Parent: b834eebdc880064c4db7e21c7bf4960a2b90f0d1 2008-01-21 23:26:41 +00:00
Italian.lproj Monotone-Parent: 3ba428cb7437bcf800f19f8b140f409be05bc889 2008-03-24 19:56:15 +00:00
Toolbars Monotone-Parent: f95c202e8a677fb1f00e60e9dde0d8bb8e420572 2007-11-15 19:02:23 +00:00
COPYING see ChangeLog 2006-06-15 19:34:10 +00:00
COPYRIGHT see ChangeLog 2006-06-15 19:34:10 +00:00
ChangeLog.upstream - renamed old and obsolete ChangeLogs to Changelog.upstream; 2006-07-04 20:13:47 +00:00
GNUmakefile Monotone-Parent: 0536d34a9212fa68a10f5a18d95efd01e0c46aac 2008-03-20 13:48:17 +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
NOTES see ChangeLog 2006-06-15 19:34:10 +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 Monotone-Parent: 4f12ba210dcd4149e7496ee80e06c65b94793dd3 2007-11-01 12:48:19 +00:00
UIxMailAccountActions.m Monotone-Parent: 1d7595555adaaa499a56601d8635282526350a2e 2008-01-08 20:29:51 +00:00
UIxMailActions.h Monotone-Parent: 1176a93f2b330519d72275451c25f255644728a0 2007-08-17 02:44:19 +00:00
UIxMailActions.m Monotone-Parent: 8ef0ab24c4c10895d5e911f82260ba93fedbb853 2007-10-30 14:16:51 +00:00
UIxMailEditor.m Monotone-Parent: e0c7704c039513e9d35441827fe46a04a1a4f5f7 2008-04-15 15:01:16 +00:00
UIxMailFilterPanel.m Monotone-Parent: c5cc88dd452d75edebb6730bdb60d21a0facec48 2007-07-27 17:30:37 +00:00
UIxMailFolderActions.h Monotone-Parent: 660b741557d301814eebace414a974e674f53a7b 2007-08-17 02:35:39 +00:00
UIxMailFolderActions.m Monotone-Parent: 348d7cfde7b84e4f271c58cd0b418303e0e045d1 2007-12-17 21:10:58 +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 Monotone-Parent: 1f5154a7061d5d35fbae4f27e238a58b5c521dc7 2007-11-05 22:39:10 +00:00
UIxMailListView.m Monotone-Parent: b1ec84bc92525573af74b5507c6ea14ae0f5f462 2007-11-08 23:18:52 +00:00
UIxMailMainFrame.h Monotone-Parent: 773965cc12e1e34ce72a11b7b25f3ff6e0dc7887 2008-03-25 19:59:13 +00:00
UIxMailMainFrame.m Monotone-Parent: 773965cc12e1e34ce72a11b7b25f3ff6e0dc7887 2008-03-25 19:59:13 +00:00
UIxMailMoveToPopUp.m Monotone-Parent: b12641f92f89dbd4afe141575a8f444aee2c63de 2007-07-27 17:34:32 +00:00
UIxMailPopupView.m Monotone-Parent: d535d7ddfc7b2fe0512601074c136e964343f019 2006-12-22 17:06:17 +00:00
UIxMailSourceView.h Monotone-Parent: d24f07174457ea6b1b468933be949003bde413ed 2007-07-04 15:40:22 +00:00
UIxMailSourceView.m Monotone-Parent: dfb85b6efa469d0ee3fba3799df2f1247332f8ed 2007-09-11 19:38:57 +00:00
UIxMailToSelection.m Monotone-Parent: 78dcdb9c4c1457146fc206115afe39e0596352f3 2007-12-04 23:24:40 +00:00
UIxMailUserRightsEditor.h Monotone-Parent: 745cbd44946c7043041f13e5fec74b5d72fe71c5 2007-11-27 23:18:17 +00:00
UIxMailUserRightsEditor.m Monotone-Parent: 745cbd44946c7043041f13e5fec74b5d72fe71c5 2007-11-27 23:18:17 +00:00
UIxMailView.m see changelog 2007-11-19 00:47:07 +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: 3e221864601a9820fef140de7c772be29079ed48 2008-05-02 23:14:51 +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---