sogo/UI/MailerUI
Wolfgang Sourdeau 5a46d4fb9f Monotone-Parent: 22cba7a9a8457abeec6f1c7a1ef211dc257f0311
Monotone-Revision: d6d341b84cbf1c54684b2a4f7b962733b4c3fe07

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-07-13T13:47:28
Monotone-Branch: ca.inverse.sogo
2007-07-13 13:47:28 +00:00
..
English.lproj Monotone-Parent: b485f305175502819e660d9557bad5fa6d20222f 2007-07-11 05:05:03 +00:00
French.lproj Monotone-Parent: b485f305175502819e660d9557bad5fa6d20222f 2007-07-11 05:05:03 +00:00
screenshots see ChangeLog 2006-06-15 19:34:10 +00:00
Toolbars Monotone-Parent: 00073a874a92b7194927dbee98c428cec16b2430 2006-11-13 22:29:44 +00:00
bundle-info.plist 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
common.h Monotone-Parent: 5f1db91a338238057e34eeec6832aeea6407ee80 2007-07-13 13:46:14 +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 Monotone-Parent: d24f07174457ea6b1b468933be949003bde413ed 2007-07-04 15:40:22 +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
product.plist Monotone-Parent: 22cba7a9a8457abeec6f1c7a1ef211dc257f0311 2007-07-13 13:47:28 +00:00
README see ChangeLog 2006-06-15 19:34:10 +00:00
UIxEnvelopeAddressFormatter.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxFilterList.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailAccountActions.h Monotone-Parent: 351c343491eb5005eeec456fd7caf97dd6c27489 2007-05-28 19:05:00 +00:00
UIxMailAccountActions.m Monotone-Parent: 351c343491eb5005eeec456fd7caf97dd6c27489 2007-05-28 19:05:00 +00:00
UIxMailEditor.m Monotone-Parent: 41d1207879302957d2bb9e04793e78a7966863a0 2007-06-14 21:23:14 +00:00
UIxMailEditorAction.h see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailEditorAction.m Monotone-Parent: 53a7cdc42e8710e661ce709242c9857ae53542ff 2007-01-31 17:12:15 +00:00
UIxMailEditorAttach.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailFilterPanel.m Monotone-Parent: ba0fe3320acf6275bb89d9dc7c60d9082e266489 2007-06-27 21:23:01 +00:00
UIxMailFolderActions.h Monotone-Parent: 46ef91601652f0c3f30bc5660c0a35ebb3a42a9f 2007-05-28 13:15:27 +00:00
UIxMailFolderActions.m Monotone-Parent: b485f305175502819e660d9557bad5fa6d20222f 2007-07-11 05:05:03 +00:00
UIxMailFormatter.h Monotone-Parent: 94a876e445d85c07068605284844c8c23125a590 2006-07-17 17:26:15 +00:00
UIxMailFormatter.m Monotone-Parent: 94a876e445d85c07068605284844c8c23125a590 2006-07-17 17:26:15 +00:00
UIxMailForwardAction.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailListView.h Monotone-Parent: c2822977a6a7e2d1f66bd19d7888fd52217aadb6 2007-07-13 13:45:51 +00:00
UIxMailListView.m Monotone-Parent: b75f4af37c4c6b9dde47f0a94da3787cf1a3e27a 2007-07-13 13:45:37 +00:00
UIxMailMainFrame.h Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailMainFrame.m Monotone-Parent: f06ad83d51ba56ba4489d76a7acc0985afe86e54 2007-05-25 21:19:31 +00:00
UIxMailMoveToPopUp.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailPopupView.m Monotone-Parent: d535d7ddfc7b2fe0512601074c136e964343f019 2006-12-22 17:06:17 +00:00
UIxMailReplyAction.m Monotone-Parent: 0d1504b25805aa0a62ce9ead611227d57b4d4f75 2007-03-07 22:33:27 +00:00
UIxMailSourceView.h Monotone-Parent: d24f07174457ea6b1b468933be949003bde413ed 2007-07-04 15:40:22 +00:00
UIxMailSourceView.m Monotone-Parent: d24f07174457ea6b1b468933be949003bde413ed 2007-07-04 15:40:22 +00:00
UIxMailToSelection.m Monotone-Parent: 21336607671cae2f88c376198194b888c617d148 2006-10-19 17:36:19 +00:00
UIxMailUserRightsEditor.h Monotone-Parent: a78d6ed51e306c9a87f169ff94e474e163a7f950 2007-05-19 00:29:50 +00:00
UIxMailUserRightsEditor.m Monotone-Parent: bfa1eaa1a465a26614ff646159f8de7c177bc878 2007-06-01 20:54:07 +00:00
UIxMailView.m Monotone-Parent: eec670c1a42c0c0dc4d8fd262d9226a82b74a294 2007-06-01 04:11:47 +00:00
UIxMailWindowCloser.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxSieveEditor.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxSubjectFormatter.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 see ChangeLog 2006-06-15 19:34:10 +00:00
WOContext+UIxMailer.m Monotone-Parent: af54238ee1f81a070c6197fca70d25f2fefd747a 2007-06-29 00:14:01 +00:00

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---