[commits] Horde branch master updated. b637da251ef261369594eca30af8d94efa650683
Michael M Slusarz
slusarz at horde.org
Tue Nov 11 07:23:00 UTC 2014
The branch "master" has been updated.
The following is a summary of the commits.
from: b9300374e1951db2406ec43d0f300fd46e4a0085
44fd341 [mms] Fix parsing a base MIME-compliant message with no Content-Type information.
bf00f95 This script is not IMAP specific (supports POP also)
48c1c28 [mms] Fix regression in listMailboxes() for POP3 servers when 'flat' option is true.
91e8fe2 [mms] Correctly pass the 'no_body' parameter to parts embedded in a message/rfc822 part in Horde_Mime_Part#parseMessage().
81d8da2 [mms] Correctly handle content parameters in a case-insensitive manner.
2732f1d code style
21bdd9d [mms] Fix accessing subparts when using Horde_Mime_Part#getRawPartText().
10d4f95 [mms] Horde_Mime_Headers has been rewritten.
f07864e Fix tests
8917845 Horde_Core now uses new Horde_Mime_Header code
2270649 Imap_Client now uses new Horde_Mime_Header code
b48cf4f Horde_Itip now uses new Horde_Mime_Header code
7e83057 IMP now uses new Horde_Mime_Header code
7e9b8e0 Ingo now uses new Horde_Mime_Header code
b637da2 whups now uses new Horde_Mime_Header code
Summary: http://github.com/horde/horde/compare/b9300374e1951db2406ec43d0f300fd46e4a0085...b637da251ef261369594eca30af8d94efa650683
-----------------------------------------------------------------------
commit 44fd3415bd234da927226fa6ef74f45269302703
Author: Michael M Slusarz <slusarz at horde.org>
Date: Mon Nov 10 20:20:34 2014 -0700
[mms] Fix parsing a base MIME-compliant message with no Content-Type information.
We were treating as application/octet-stream, but this is correctly
treated as "text/plain; charset=us-ascii" instead.
Additionally, return us-ascii as a value from getCharset() - that IS the
charset of the part. Whether to add to Content-Type should be
determined in getType() instead.
framework/Mime/lib/Horde/Mime/Part.php | 22 +++++---------
framework/Mime/package.xml | 2 +
framework/Mime/test/Horde/Mime/PartTest.php | 16 +++++++++++
framework/Mime/test/Horde/Mime/fixtures/sample_msg4.txt | 9 ++++++
4 files changed, 35 insertions(+), 14 deletions(-)
create mode 100644 framework/Mime/test/Horde/Mime/fixtures/sample_msg4.txt
http://github.com/horde/horde/commit/44fd3415bd234da927226fa6ef74f45269302703
-----------------------------------------------------------------------
commit bf00f956f1c9565b741bd06a1c29d4d83cc4a0b2
Author: Michael M Slusarz <slusarz at horde.org>
Date: Mon Nov 10 20:44:46 2014 -0700
This script is not IMAP specific (supports POP also)
imp/bin/imp-query-imap-cache | 28 +++++++++++++++-------------
1 files changed, 15 insertions(+), 13 deletions(-)
http://github.com/horde/horde/commit/bf00f956f1c9565b741bd06a1c29d4d83cc4a0b2
-----------------------------------------------------------------------
commit 48c1c2868957b2cd96237c6d58ca55ab6ab06389
Author: Michael M Slusarz <slusarz at horde.org>
Date: Mon Nov 10 20:46:43 2014 -0700
[mms] Fix regression in listMailboxes() for POP3 servers when 'flat' option is true.
framework/Imap_Client/lib/Horde/Imap/Client/Socket/Pop3.php | 18 ++++++----
framework/Imap_Client/package.xml | 4 +-
2 files changed, 13 insertions(+), 9 deletions(-)
http://github.com/horde/horde/commit/48c1c2868957b2cd96237c6d58ca55ab6ab06389
-----------------------------------------------------------------------
commit 91e8fe21295c97ed1b9d41ad628dce0ca531a893
Author: Michael M Slusarz <slusarz at horde.org>
Date: Mon Nov 10 21:06:21 2014 -0700
[mms] Correctly pass the 'no_body' parameter to parts embedded in a message/rfc822 part in Horde_Mime_Part#parseMessage().
framework/Mime/lib/Horde/Mime/Part.php | 5 ++++-
framework/Mime/package.xml | 2 ++
2 files changed, 6 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/91e8fe21295c97ed1b9d41ad628dce0ca531a893
-----------------------------------------------------------------------
commit 81d8da2a1b0047636e7f278d0bc5695e36ad8460
Author: Michael M Slusarz <slusarz at horde.org>
Date: Mon Nov 10 21:25:28 2014 -0700
[mms] Correctly handle content parameters in a case-insensitive manner.
framework/Mime/lib/Horde/Mime/Headers.php | 2 +-
framework/Mime/package.xml | 2 ++
framework/Mime/test/Horde/Mime/HeadersTest.php | 15 +++++++++++++++
3 files changed, 18 insertions(+), 1 deletions(-)
http://github.com/horde/horde/commit/81d8da2a1b0047636e7f278d0bc5695e36ad8460
-----------------------------------------------------------------------
commit 2732f1d240a3dd8ecf6831fed4218b3d9156573e
Author: Michael M Slusarz <slusarz at horde.org>
Date: Mon Nov 10 21:36:38 2014 -0700
code style
framework/Mime/lib/Horde/Mime/Part.php | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/2732f1d240a3dd8ecf6831fed4218b3d9156573e
-----------------------------------------------------------------------
commit 21bdd9d76d72b03ed426e1281b7a44de9be615f6
Author: Michael M Slusarz <slusarz at horde.org>
Date: Mon Nov 10 21:52:47 2014 -0700
[mms] Fix accessing subparts when using Horde_Mime_Part#getRawPartText().
framework/Mime/lib/Horde/Mime/Part.php | 4 ++--
framework/Mime/test/Horde/Mime/PartTest.php | 15 +++++++++++++++
2 files changed, 17 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/21bdd9d76d72b03ed426e1281b7a44de9be615f6
-----------------------------------------------------------------------
commit 10d4f9571498d4477ffe624996773a6fbddf2824
Author: Michael M Slusarz <slusarz at horde.org>
Date: Tue Oct 28 23:23:52 2014 -0600
[mms] Horde_Mime_Headers has been rewritten.
Main focus is to improve handling of certain specific headers, since
semantics for all headers are not the same. This is needed to better
support things like EAI.
Additionally, the API for Horde_Mime_Headers was much too complex. It
should be a simple API for accessing individual headers. Advanced header
manipulation (i.e. Message-ID generation) should be done in code on top
of this basic code.
See docs/UPGRADING for information on deprecated features.
Verified that all deprecated functions still work as expected, and all
unit tests using the old code still passes.
framework/Mime/doc/Horde/Mime/UPGRADING | 82 +-
framework/Mime/lib/Horde/Mime.php | 23 +-
framework/Mime/lib/Horde/Mime/ContentParam.php | 310 -----
framework/Mime/lib/Horde/Mime/ContentParam/Decode.php | 37 +-
framework/Mime/lib/Horde/Mime/Headers.php | 821 ++++-------
framework/Mime/lib/Horde/Mime/Headers/Addresses.php | 139 ++
framework/Mime/lib/Horde/Mime/Headers/AddressesMulti.php | 87 ++
framework/Mime/lib/Horde/Mime/Headers/ContentParam.php | 401 ++++++
framework/Mime/lib/Horde/Mime/Headers/Date.php | 54 +
framework/Mime/lib/Horde/Mime/Headers/Deprecated.php | 190 +++
framework/Mime/lib/Horde/Mime/Headers/Element.php | 130 ++
framework/Mime/lib/Horde/Mime/Headers/Element/Address.php | 38 +
framework/Mime/lib/Horde/Mime/Headers/Element/Multiple.php | 60 +
framework/Mime/lib/Horde/Mime/Headers/Element/Single.php | 108 ++
framework/Mime/lib/Horde/Mime/Headers/Identification.php | 48 +
framework/Mime/lib/Horde/Mime/Headers/MessageId.php | 60 +
framework/Mime/lib/Horde/Mime/Headers/MimeVersion.php | 55 +
framework/Mime/lib/Horde/Mime/Headers/Received.php | 129 ++
framework/Mime/lib/Horde/Mime/Headers/Subject.php | 51 +
framework/Mime/lib/Horde/Mime/Headers/UserAgent.php | 57 +
framework/Mime/lib/Horde/Mime/Mail.php | 28 +-
framework/Mime/lib/Horde/Mime/Mdn.php | 33 +-
framework/Mime/lib/Horde/Mime/Part.php | 118 +-
framework/Mime/package.xml | 49 +-
framework/Mime/test/Horde/Mime/ContentParamTest.php | 6 +-
framework/Mime/test/Horde/Mime/HeadersTest.php | 389 +++++--
26 files changed, 2493 insertions(+), 1010 deletions(-)
delete mode 100644 framework/Mime/lib/Horde/Mime/ContentParam.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/Addresses.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/AddressesMulti.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/ContentParam.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/Date.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/Deprecated.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/Element.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/Element/Address.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/Element/Multiple.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/Element/Single.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/Identification.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/MessageId.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/MimeVersion.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/Received.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/Subject.php
create mode 100644 framework/Mime/lib/Horde/Mime/Headers/UserAgent.php
http://github.com/horde/horde/commit/10d4f9571498d4477ffe624996773a6fbddf2824
-----------------------------------------------------------------------
commit f07864e5b4b201999944decc13b629eadb3d4248
Author: Michael M Slusarz <slusarz at horde.org>
Date: Mon Nov 10 23:56:08 2014 -0700
Fix tests
.../Kolab_Storage/lib/Horde/Kolab/Storage/Object/MimeType.php | 2 +-
.../Kolab_Storage/test/Horde/Kolab/Storage/Unit/ObjectTest.php | 20 ++---
framework/Push/test/Horde/Push/Unit/Push/Recipient/MailTest.php | 2 +-
3 files changed, 10 insertions(+), 14 deletions(-)
http://github.com/horde/horde/commit/f07864e5b4b201999944decc13b629eadb3d4248
-----------------------------------------------------------------------
commit 891784553ecaa6e8bcb77d22c2bb9c691ba807b2
Author: Michael M Slusarz <slusarz at horde.org>
Date: Tue Oct 28 23:24:56 2014 -0600
Horde_Core now uses new Horde_Mime_Header code
framework/Core/lib/Horde/Core/Prefs/Identity.php | 6 +++---
framework/Core/package.xml | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
http://github.com/horde/horde/commit/891784553ecaa6e8bcb77d22c2bb9c691ba807b2
-----------------------------------------------------------------------
commit 22706497a4af410621be14a99e5b16df4619335e
Author: Michael M Slusarz <slusarz at horde.org>
Date: Tue Oct 28 23:25:30 2014 -0600
Imap_Client now uses new Horde_Mime_Header code
framework/Imap_Client/lib/Horde/Imap/Client/Base.php | 2 +-
framework/Imap_Client/lib/Horde/Imap/Client/Data/Envelope.php | 88 +++++----
framework/Imap_Client/lib/Horde/Imap/Client/Socket.php | 17 +-
framework/Imap_Client/lib/Horde/Imap/Client/Socket/Pop3.php | 26 ++--
framework/Imap_Client/package.xml | 2 +-
5 files changed, 74 insertions(+), 61 deletions(-)
http://github.com/horde/horde/commit/22706497a4af410621be14a99e5b16df4619335e
-----------------------------------------------------------------------
commit b48cf4fcdb0a7ef5adff1332409b21199afeae84
Author: Michael M Slusarz <slusarz at horde.org>
Date: Tue Oct 28 23:25:46 2014 -0600
Horde_Itip now uses new Horde_Mime_Header code
framework/Itip/lib/Horde/Itip/Response.php | 4 ++--
framework/Itip/lib/Horde/Itip/Response/Options/Horde.php | 13 ++++++++-----
framework/Itip/package.xml | 2 +-
3 files changed, 11 insertions(+), 8 deletions(-)
http://github.com/horde/horde/commit/b48cf4fcdb0a7ef5adff1332409b21199afeae84
-----------------------------------------------------------------------
commit 7e830577f987dd2fe9aa98881ea60cdb7de24160
Author: Michael M Slusarz <slusarz at horde.org>
Date: Tue Oct 28 23:25:58 2014 -0600
IMP now uses new Horde_Mime_Header code
imp/bin/imp-bounce-spam | 10 +-
imp/config/hooks.php.dist | 8 +-
imp/lib/Ajax/Application/Handler/Common.php | 2 +-
imp/lib/Ajax/Application/Handler/Dynamic.php | 8 +-
imp/lib/Ajax/Application/Handler/ImageUnblock.php | 7 +-
imp/lib/Ajax/Application/ListMessages.php | 2 +-
imp/lib/Ajax/Application/ShowMessage.php | 6 +-
imp/lib/Ajax/Imple/ItipRequest.php | 28 +++--
imp/lib/Basic/Listinfo.php | 2 +-
imp/lib/Basic/Thread.php | 4 +-
imp/lib/Compose.php | 140 ++++++++++-----------
imp/lib/Compose/LinkedAttachment.php | 16 ++-
imp/lib/Contents/View.php | 10 +-
imp/lib/Dynamic/Compose.php | 3 +-
imp/lib/Filter.php | 5 +-
imp/lib/Flag/System/Attachment.php | 4 +-
imp/lib/Flag/System/Encrypted.php | 7 +-
imp/lib/Flag/System/List.php | 2 +-
imp/lib/Flag/System/Signed.php | 3 +-
imp/lib/Images.php | 5 +-
imp/lib/Message.php | 2 +-
imp/lib/Message/Ui.php | 7 +-
imp/lib/Mime/Headers.php | 4 +-
imp/lib/Mime/Viewer/Audio.php | 2 +-
imp/lib/Mime/Viewer/Html.php | 3 +-
imp/lib/Mime/Viewer/Itip.php | 6 +-
imp/lib/Mime/Viewer/Pgp.php | 5 +-
imp/lib/Mime/Viewer/Rfc822.php | 2 +-
imp/lib/Mime/Viewer/Smime.php | 2 +-
imp/lib/Mime/Viewer/Video.php | 2 +-
imp/lib/Prefs/AttribText.php | 12 +-
imp/lib/Prefs/Special/PgpPrivateKey.php | 2 +-
imp/lib/Spam.php | 4 +-
imp/lib/Spam/Email.php | 4 +-
34 files changed, 170 insertions(+), 159 deletions(-)
http://github.com/horde/horde/commit/7e830577f987dd2fe9aa98881ea60cdb7de24160
-----------------------------------------------------------------------
commit 7e9b8e09d4089b13540fe742260b9e5e166c4213
Author: Michael M Slusarz <slusarz at horde.org>
Date: Tue Oct 28 23:26:09 2014 -0600
Ingo now uses new Horde_Mime_Header code
ingo/lib/Script/Sieve.php | 4 ++--
ingo/package.xml | 7 +++++++
2 files changed, 9 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/7e9b8e09d4089b13540fe742260b9e5e166c4213
-----------------------------------------------------------------------
commit b637da251ef261369594eca30af8d94efa650683
Author: Michael M Slusarz <slusarz at horde.org>
Date: Tue Oct 28 23:26:26 2014 -0600
whups now uses new Horde_Mime_Header code
whups/lib/Driver.php | 2 +-
whups/package.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/b637da251ef261369594eca30af8d94efa650683
More information about the commits
mailing list