sogo/UI/MailerUI
Wolfgang Sourdeau 39228fb130 Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd
Monotone-Revision: 2ad8b0c019808014c990f51cc69c4457fdb537c6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-07-28T22:59:11
Monotone-Branch: ca.inverse.sogo
2006-07-28 22:59:11 +00:00
..
English.lproj see ChangeLog 2006-06-15 19:34:10 +00:00
French.lproj Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
Images Monotone-Parent: 02d3e0338704d82e461a5a356479fde77d197290 2006-07-12 22:02:28 +00:00
screenshots see ChangeLog 2006-06-15 19:34:10 +00:00
Toolbars Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +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 see ChangeLog 2006-06-15 19:34:10 +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: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +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 see ChangeLog 2006-06-15 19:34:10 +00:00
NOTES see ChangeLog 2006-06-15 19:34:10 +00:00
product.plist Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +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
UIxMailAccountsView.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailAccountView.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailAccountViewContainer.h Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailAccountViewContainer.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailAddressbook.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailEditor.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailEditorAction.h see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailEditorAction.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailEditorAttach.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailFilterPanel.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailFolderACLEditor.m see ChangeLog 2006-06-15 19:34:10 +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: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailListView.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailListViewContainer.h Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailListViewContainer.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailMainFrame.h Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailMainFrame.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailMoveToPopUp.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailReplyAction.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailSortableTableHeader.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailToSelection.m Monotone-Parent: 4f6055656f29743c9da3d3dcce84f449939717bf 2006-07-11 17:53:09 +00:00
UIxMailTree.h Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailTree.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailTreeBlock.h Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailTreeBlock.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailTreeBlockJS.h Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailTreeBlockJS.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailView.m see ChangeLog 2006-06-15 19:34:10 +00:00
UIxMailViewContainer.h Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +00:00
UIxMailViewContainer.m Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd 2006-07-28 22:59:11 +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: a2a755bb974fa1ddef5662d996422c2b90023444 2006-07-17 17:28:29 +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---