sogo/UI/MailerUI
Wolfgang Sourdeau 51e70457dd Monotone-Parent: 91f695324033a759f628aa29aa6bbda21c6e7dfa
Monotone-Revision: 3b6167a285693c223c66e79510a47baee8f6a2c9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-08-28T21:43:06
Monotone-Branch: ca.inverse.sogo
2007-08-28 21:43:06 +00:00
..
English.lproj Monotone-Parent: 4f7d023c13f9dc0dfc9d9334f0a8ce9e345493ee 2007-08-21 14:50:03 +00:00
French.lproj Monotone-Parent: 4f7d023c13f9dc0dfc9d9334f0a8ce9e345493ee 2007-08-21 14:50:03 +00:00
German.lproj Monotone-Parent: cdfb1cbc8fa7b1a396e50237bf8ca26cd9be6e06 2007-08-23 16:12:32 +00:00
Toolbars Monotone-Parent: 8ca0aa2d20e0ba55ee517e3fe116adea711efe3b 2007-08-15 20:58:44 +00:00
screenshots 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
ChangeLog.upstream - renamed old and obsolete ChangeLogs to Changelog.upstream; 2006-07-04 20:13:47 +00:00
GNUmakefile Monotone-Parent: 8289067a34c438dfdb8b114ed01fd206fce6310d 2007-08-20 20:45:13 +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: 351c343491eb5005eeec456fd7caf97dd6c27489 2007-05-28 19:05:00 +00:00
UIxMailAccountActions.m Monotone-Parent: c7cffd8dde105fd1e43ad66af119ae46d931617a 2007-08-21 14:47:26 +00:00
UIxMailActions.h Monotone-Parent: 1176a93f2b330519d72275451c25f255644728a0 2007-08-17 02:44:19 +00:00
UIxMailActions.m Monotone-Parent: cc054885aad697b7949d4593db97e45d30d2e276 2007-08-18 20:37:18 +00:00
UIxMailEditor.m Monotone-Parent: 91f695324033a759f628aa29aa6bbda21c6e7dfa 2007-08-28 21:43:06 +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: c85409f639b55299e3ece362140e6725f6c43cbb 2007-08-17 02:33:44 +00:00
UIxMailFormatter.h Monotone-Parent: 94a876e445d85c07068605284844c8c23125a590 2006-07-17 17:26:15 +00:00
UIxMailFormatter.m Monotone-Parent: 783dceba01b81a0032283f71411ea2b5a4ec5a92 2007-07-27 17:32:21 +00:00
UIxMailListView.h Monotone-Parent: c2822977a6a7e2d1f66bd19d7888fd52217aadb6 2007-07-13 13:45:51 +00:00
UIxMailListView.m Monotone-Parent: 502f48b359438710d34edd2abd4ba70a14b2865a 2007-08-17 02:20:38 +00:00
UIxMailMainFrame.h Monotone-Parent: a445c049dc5b45e7ecc0df6c56f05d251e1646f5 2007-08-17 02:19:37 +00:00
UIxMailMainFrame.m Monotone-Parent: 21cd67b802d7be6973e4f0cf16a68dfb3497f3a5 2007-08-21 14:49:48 +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: d24f07174457ea6b1b468933be949003bde413ed 2007-07-04 15:40:22 +00:00
UIxMailToSelection.m Monotone-Parent: 80bd60aee363e3ed4623c0effe907fe46d878561 2007-08-21 14:46:07 +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: e925d76ce1929b1801949335cf3b1290dc53eb6d 2007-08-15 20:34:11 +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
UIxSubjectFormatter.m Monotone-Parent: c5cc88dd452d75edebb6730bdb60d21a0facec48 2007-07-27 17:30:37 +00:00
Version see ChangeLog 2006-06-15 19:34:10 +00:00
WOContext+UIxMailer.h Monotone-Parent: c5cc88dd452d75edebb6730bdb60d21a0facec48 2007-07-27 17:30:37 +00:00
WOContext+UIxMailer.m Monotone-Parent: c5cc88dd452d75edebb6730bdb60d21a0facec48 2007-07-27 17:30:37 +00:00
bundle-info.plist see ChangeLog 2006-06-15 19:34:10 +00:00
product.plist Monotone-Parent: 21cd67b802d7be6973e4f0cf16a68dfb3497f3a5 2007-08-21 14:49:48 +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---