[commits] Horde branch imp_6_1 updated. 0182d2253b2d8c99a3cecc948e7330909ac76aa3

Michael M Slusarz slusarz at horde.org
Tue Mar 26 05:00:30 UTC 2013


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

from: 3afec365b207362ab425d6fbaa41cf2075eeba45

79972c5 [mms] Rename 'compose_attach' hook as 'compose_attachment'.
7b4dbba Update filelist
0182d22 Remove unused code

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

commit 79972c5c524d83aa103f7ba923b9cfc584a00581
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Mon Mar 25 20:47:20 2013 -0600

    [mms] Rename 'compose_attach' hook as 'compose_attachment'.
    
    Due to the way we build attachment data, the old compose_attach is
    worthless.  First, we have moved MIME detection back into IMP's core
    code. Also, we need to run the hook for any attachment, not just
    uploaded attachment (since we now allow things like browser data URL
    insertion).
    
    It is best to simply start all over with a new hook, so thus the total
    renaming. Bonus, besides above, is that we expose the actual Attachment
    object so ANYTHING about the attachment can be altered (data, MIME part
    information) and we still keep the efficiencies of allowing access to
    the already existing temporary file.

 imp/config/hooks.php.dist      |   34 +++++-----------------------------
 imp/docs/CHANGES               |    1 +
 imp/docs/UPGRADING             |   19 ++++++++++++-------
 imp/lib/Compose.php            |    9 ++++-----
 imp/lib/Compose/Attachment.php |   28 ++++++++++++++--------------
 imp/package.xml                |    1 +
 6 files changed, 37 insertions(+), 55 deletions(-)

http://git.horde.org/horde-git/-/commit/79972c5c524d83aa103f7ba923b9cfc584a00581

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

commit 7b4dbba7da4da7ba8a024f575047a8f78084be58
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Mon Mar 25 20:52:19 2013 -0600

    Update filelist

 imp/package.xml |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/7b4dbba7da4da7ba8a024f575047a8f78084be58

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

commit 0182d2253b2d8c99a3cecc948e7330909ac76aa3
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Mon Mar 25 22:52:20 2013 -0600

    Remove unused code

 imp/lib/Mime/Viewer/Html.php |   50 +++++++----------------------------------
 1 files changed, 9 insertions(+), 41 deletions(-)

http://git.horde.org/horde-git/-/commit/0182d2253b2d8c99a3cecc948e7330909ac76aa3




More information about the commits mailing list