[commits] Horde branch imp_6_1 updated. e73a1bd0981228ffb962432e710a0c160727f5df

Michael M Slusarz slusarz at horde.org
Sat Feb 2 00:12:58 UTC 2013


The branch "imp_6_1" has been updated.
The following is a summary of the commits.

from: b5e5b2d82d8cf047972694f83dcbdb3e5cc259e1

e73a1bd Rewritten compose attachment code

-----------------------------------------------------------------------

commit e73a1bd0981228ffb962432e710a0c160727f5df
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Thu Jan 31 16:41:09 2013 -0700

    Rewritten compose attachment code
    
    Attachment now represented by the IMP_Compose_Attachment object.
    
    Always use VFS to store attachments - if VFS not active, create a dummy
    VFS object using the local temporary filesystem settings
    
    Previously, we were using 2 separate methods to attach a message.
    Consolidate attachment code in single method (_addAttachment()) so we
    can do sanity checking/data analysis (e.g. MIME detection) in a single
    location.

 imp/lib/Ajax/Application/Handler/Dynamic.php |    5 +-
 imp/lib/Ajax/Queue.php                       |   25 +-
 imp/lib/Application.php                      |    1 +
 imp/lib/Basic/Compose.php                    |   12 +-
 imp/lib/Compose.php                          |  465 +++++++++-----------------
 imp/lib/Compose/Attachment.php               |  176 ++++++++++
 imp/lib/Compose/View.php                     |    2 +-
 imp/lib/Factory/Compose.php                  |    1 -
 imp/lib/Factory/ComposeVfs.php               |   35 ++
 imp/lib/Minimal/Compose.php                  |    4 +-
 imp/package.xml                              |    8 +-
 11 files changed, 398 insertions(+), 336 deletions(-)
 create mode 100644 imp/lib/Compose/Attachment.php
 create mode 100644 imp/lib/Factory/ComposeVfs.php

http://git.horde.org/horde-git/-/commit/e73a1bd0981228ffb962432e710a0c160727f5df




More information about the commits mailing list