sogo/UI/MailerUI
Wolfgang Sourdeau e092c4f38a Monotone-Parent: ef460d9a1b70d8d0e6195ea18cc95d9a2b9abbbf
Monotone-Revision: a4983f379dc036de6579ce272ecb19b8e655def2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-04-22T19:28:35
Monotone-Branch: ca.inverse.sogo
2010-04-22 19:28:35 +00:00
..
BrazilianPortuguese.lproj Monotone-Parent: 5be6c87443be578d119d408f0aa2b86f5a6bbc31 2010-04-15 18:27:08 +00:00
Czech.lproj Monotone-Parent: 54c370d8695670130da586c6fb0f9e2d3da6057c 2010-04-15 21:16:19 +00:00
Dutch.lproj Monotone-Parent: 5be6c87443be578d119d408f0aa2b86f5a6bbc31 2010-04-15 18:27:08 +00:00
English.lproj Monotone-Parent: 5be6c87443be578d119d408f0aa2b86f5a6bbc31 2010-04-15 18:27:08 +00:00
French.lproj Monotone-Parent: 5be6c87443be578d119d408f0aa2b86f5a6bbc31 2010-04-15 18:27:08 +00:00
German.lproj Monotone-Parent: caf7f951dff45be29d5fded0eea4067c717a9868 2010-04-19 17:43:02 +00:00
Hungarian.lproj Monotone-Parent: 5be6c87443be578d119d408f0aa2b86f5a6bbc31 2010-04-15 18:27:08 +00:00
Italian.lproj Monotone-Parent: 5be6c87443be578d119d408f0aa2b86f5a6bbc31 2010-04-15 18:27:08 +00:00
Russian.lproj Monotone-Parent: 5be6c87443be578d119d408f0aa2b86f5a6bbc31 2010-04-15 18:27:08 +00:00
Spanish.lproj Monotone-Parent: 5be6c87443be578d119d408f0aa2b86f5a6bbc31 2010-04-15 18:27:08 +00:00
Swedish.lproj Monotone-Parent: 5be6c87443be578d119d408f0aa2b86f5a6bbc31 2010-04-15 18:27:08 +00:00
Toolbars
Welsh.lproj Monotone-Parent: 5be6c87443be578d119d408f0aa2b86f5a6bbc31 2010-04-15 18:27:08 +00:00
bundle-info.plist
COPYING
GNUmakefile
GNUmakefile.postamble
GNUmakefile.preamble
MailerUIProduct.m
product.plist Monotone-Parent: ef460d9a1b70d8d0e6195ea18cc95d9a2b9abbbf 2010-04-22 19:28:35 +00:00
README
UIxEnvelopeAddressFormatter.m
UIxFilterList.m
UIxMailAccountActions.h
UIxMailAccountActions.m
UIxMailActions.h
UIxMailActions.m
UIxMailEditor.m Monotone-Parent: a4b72920f072cccd72e189b05519b57436eb9471 2010-04-21 14:35:58 +00:00
UIxMailFilterPanel.m
UIxMailFolderActions.h
UIxMailFolderActions.m Monotone-Parent: a4b72920f072cccd72e189b05519b57436eb9471 2010-04-21 14:35:58 +00:00
UIxMailFormatter.h
UIxMailFormatter.m
UIxMailListView.h
UIxMailListView.m
UIxMailMainFrame.h
UIxMailMainFrame.m Monotone-Parent: a4b72920f072cccd72e189b05519b57436eb9471 2010-04-21 14:35:58 +00:00
UIxMailMoveToPopUp.m
UIxMailPopupView.m
UIxMailSourceView.h
UIxMailSourceView.m
UIxMailToSelection.m
UIxMailUserRightsEditor.h
UIxMailUserRightsEditor.m
UIxMailView.m
UIxMailWindowCloser.m
Version
WOContext+UIxMailer.h
WOContext+UIxMailer.m

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