[commits] Horde branch master updated. 17fa804b062958f27601544d900399158432823c

Michael M Slusarz slusarz at horde.org
Tue Apr 5 04:17:09 UTC 2011


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

from: 70283df260054d19bfd77e9e90b8b6f0ee88a888

cdd0ca8 Rename Imap notification handler to ImapAlerts
6f18e25 Add ability to sort mailboxes return from Horde_Imap_Client_Base#statusMultiple()
64f0b8d Request #9751: New mail notifications now handled by the Horde Notification system
45c3705 Not needed
17fa804 Fixed Notification Decorator notify() behavior.

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

commit cdd0ca87bf6adcb9ba6a1d6dd6d74201556a5970
Author: Michael M Slusarz <slusarz at curecanti.org>
Date:   Mon Apr 4 16:28:29 2011 -0600

    Rename Imap notification handler to ImapAlerts

 imp/lib/Application.php                               |    2 +-
 imp/lib/Notification/Handler/Decorator/Imap.php       |   37 -----------------
 imp/lib/Notification/Handler/Decorator/ImapAlerts.php |   37 +++++++++++++++++
 3 files changed, 38 insertions(+), 38 deletions(-)
 delete mode 100644 imp/lib/Notification/Handler/Decorator/Imap.php
 create mode 100644 imp/lib/Notification/Handler/Decorator/ImapAlerts.php

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

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

commit 6f18e252d252f1280c91b6ac3b91124e3f4e4b6e
Author: Michael M Slusarz <slusarz at curecanti.org>
Date:   Mon Apr 4 17:14:39 2011 -0600

    Add ability to sort mailboxes return from Horde_Imap_Client_Base#statusMultiple()

 framework/Imap_Client/lib/Horde/Imap/Client/Base.php |   25 ++++++++++++++++-
 framework/Imap_Client/package.xml                    |   16 ++++++-----
 2 files changed, 32 insertions(+), 9 deletions(-)

http://git.horde.org/horde-git/-/commit/6f18e252d252f1280c91b6ac3b91124e3f4e4b6e

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

commit 64f0b8dffed1554b44c7bab1c057b33b8e7671f4
Author: Michael M Slusarz <slusarz at curecanti.org>
Date:   Mon Apr 4 16:31:15 2011 -0600

    Request #9751: New mail notifications now handled by the Horde Notification system

 imp/config/prefs.php                                     |   12 +-
 imp/docs/CHANGES                                         |    2 +
 imp/docs/UPGRADING                                       |    2 +
 imp/folders.php                                          |   11 --
 imp/lib/Application.php                                  |    1 +
 imp/lib/Block/Summary.php                                |   35 +------
 imp/lib/IMP.php                                          |   66 -----------
 imp/lib/Imap/Tree.php                                    |   14 +--
 imp/lib/LoginTasks/SystemTask/Upgrade.php                |   20 +++
 imp/lib/Notification/Handler/Decorator/NewmailNotify.php |   84 ++++++++++++++
 imp/lib/Prefs/Ui.php                                     |   84 +++++++-------
 imp/mailbox.php                                          |   17 ---
 imp/package.xml                                          |   18 ++--
 imp/templates/newmsg/alert.html                          |   18 ---
 imp/templates/prefs/newmailaudio.html                    |   20 +++
 imp/templates/prefs/sound.html                           |   20 ---
 16 files changed, 190 insertions(+), 234 deletions(-)
 create mode 100644 imp/lib/Notification/Handler/Decorator/NewmailNotify.php
 delete mode 100644 imp/templates/newmsg/alert.html
 create mode 100644 imp/templates/prefs/newmailaudio.html
 delete mode 100644 imp/templates/prefs/sound.html

http://git.horde.org/horde-git/-/commit/64f0b8dffed1554b44c7bab1c057b33b8e7671f4

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

commit 45c3705b0dce98f2f307d61b96c83eb2f68b9e5f
Author: Michael M Slusarz <slusarz at curecanti.org>
Date:   Mon Apr 4 17:48:10 2011 -0600

    Not needed

 imp/lib/Application.php |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/45c3705b0dce98f2f307d61b96c83eb2f68b9e5f

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

commit 17fa804b062958f27601544d900399158432823c
Author: Michael M Slusarz <slusarz at curecanti.org>
Date:   Mon Apr 4 22:00:47 2011 -0600

    Fixed Notification Decorator notify() behavior.
    
    First, don't run decorators on events until we are absolutely sure they
    are attached to a listener.
    
    Second, don't pass listener key to Decorator.  There is no requirement,
    for example, that we have to attach a status listener as 'status', but
    this was hard-coded into Decorators.  Instead, pass the listener object
    directly to Decorator - and then do instanceof checking.
    
    Third, pass the handler object to the Decorator notify() method.  This
    prevents us from having to do a global $notifcation call to push further
    notifications onto the stack.

 framework/Notification/lib/Horde/Notification/Handler.php         |   60 +++--
 .../lib/Horde/Notification/Handler/Decorator/Alarm.php            |   12 +-
 .../lib/Horde/Notification/Handler/Decorator/Base.php             |    9 +-
 framework/Notification/package.xml                                |   16 +-
 imp/lib/Notification/Handler/Decorator/ImapAlerts.php             |   13 +-
 imp/lib/Notification/Handler/Decorator/NewmailNotify.php          |   17 +-
 6 files changed, 72 insertions(+), 55 deletions(-)

http://git.horde.org/horde-git/-/commit/17fa804b062958f27601544d900399158432823c




More information about the commits mailing list