horde.git
15 years agoRemove second exception parameter if it is a string.
Gunnar Wrobel [Wed, 10 Feb 2010 14:45:50 +0000 (15:45 +0100)]
Remove second exception parameter if it is a string.

Having a string as  does not have any effect as it gets set to zero in the Exception constructor.

15 years agoAdd tests for the current exception class.
Gunnar Wrobel [Wed, 10 Feb 2010 10:49:17 +0000 (11:49 +0100)]
Add tests for the current exception class.

15 years agoAdd the possibility to initialize a test suite with a static init() method
Gunnar Wrobel [Wed, 10 Feb 2010 08:39:29 +0000 (09:39 +0100)]
Add the possibility to initialize a test suite with a static init() method
rather than using the main() method.

It is not sufficient to setup the static AllTests class via the main method.
This only allows to directly execute the AllTests.php file by parsing it
with php. Using phpunit is not possible as this will only use the suite()
method to grab the test suite.

It would still be better to use late static binding here but the added
method should be enough to allow running the tests in both ways.

The AllTests.php in Kolab_Session demonstrates how to use the init() method.

15 years agoFix Horde_Mime::isChild() for X.0 type MIME IDs
Michael M Slusarz [Wed, 10 Feb 2010 08:42:02 +0000 (01:42 -0700)]
Fix Horde_Mime::isChild() for X.0 type MIME IDs

15 years agoUse content-disposition filename to get/set name of part
Michael M Slusarz [Wed, 10 Feb 2010 08:15:05 +0000 (01:15 -0700)]
Use content-disposition filename to get/set name of part

15 years agoFix constant name.
Michael M Slusarz [Wed, 10 Feb 2010 08:12:02 +0000 (01:12 -0700)]
Fix constant name.

15 years agoFix display of certain attachments
Michael M Slusarz [Wed, 10 Feb 2010 07:58:39 +0000 (00:58 -0700)]
Fix display of certain attachments

15 years agoFix undefined error
Michael M Slusarz [Wed, 10 Feb 2010 07:58:16 +0000 (00:58 -0700)]
Fix undefined error

15 years agoMove contextmenu styles to horde
Michael M Slusarz [Wed, 10 Feb 2010 07:08:42 +0000 (00:08 -0700)]
Move contextmenu styles to horde

15 years agoClose submenu and trigger current element on click
Michael M Slusarz [Wed, 10 Feb 2010 06:59:37 +0000 (23:59 -0700)]
Close submenu and trigger current element on click

15 years agoModest improvements to the prefs UI templates
Michael M Slusarz [Wed, 10 Feb 2010 06:50:50 +0000 (23:50 -0700)]
Modest improvements to the prefs UI templates

15 years agoMake $app optional to Horde::getServiceLink().
Michael M Slusarz [Wed, 10 Feb 2010 06:50:17 +0000 (23:50 -0700)]
Make $app optional to Horde::getServiceLink().

15 years agoSet inferred attributes if using LIST-EXTENDED
Michael M Slusarz [Wed, 10 Feb 2010 06:07:31 +0000 (23:07 -0700)]
Set inferred attributes if using LIST-EXTENDED

15 years agoMake sure all special mailboxes are sent when rebuilding mailbox tree
Michael M Slusarz [Wed, 10 Feb 2010 05:59:13 +0000 (22:59 -0700)]
Make sure all special mailboxes are sent when rebuilding mailbox tree

15 years agoOnly show unsubscribed style if viewing unsubscribed mailboxes
Michael M Slusarz [Wed, 10 Feb 2010 05:55:52 +0000 (22:55 -0700)]
Only show unsubscribed style if viewing unsubscribed mailboxes

15 years agoMore improvements to mailbox tree generation.
Michael M Slusarz [Wed, 10 Feb 2010 05:49:48 +0000 (22:49 -0700)]
More improvements to mailbox tree generation.

Leverage recent improvements in IMAP library that allow more consistent
handling of things like attributes across various IMAP servers.
Use attribute information to more intelligently create the mailbox tree.
Saves an IMAP LIST call on initial build if subscribed only mailboxes
are shown.
Fixes special labels if they appear in a mailbox below the first level.
Fixes Bug #8859

15 years agoFix label determination for INBOX.
Michael M Slusarz [Wed, 10 Feb 2010 04:19:12 +0000 (21:19 -0700)]
Fix label determination for INBOX.

If namespace is INBOX., and mailbox is INBOX.INBOX, this mailbox should
not have a translated label name.

15 years agoAdd IMP_Folder binder class.
Michael M Slusarz [Tue, 9 Feb 2010 23:54:13 +0000 (16:54 -0700)]
Add IMP_Folder binder class.

Cache ID for folder list must include server key - or else logging into
different servers will give server list from last server.

15 years agoMove init() to a better location in the file
Michael M Slusarz [Tue, 9 Feb 2010 23:37:29 +0000 (16:37 -0700)]
Move init() to a better location in the file

15 years agoFix several options argument issues
Michael M Slusarz [Tue, 9 Feb 2010 22:18:15 +0000 (15:18 -0700)]
Fix several options argument issues

15 years agoBug #8858: Auto-determine charset for text attachments
Michael M Slusarz [Tue, 9 Feb 2010 20:29:43 +0000 (13:29 -0700)]
Bug #8858: Auto-determine charset for text attachments

15 years agoHorde_Mime_Magic improvements.
Michael M Slusarz [Tue, 9 Feb 2010 20:15:37 +0000 (13:15 -0700)]
Horde_Mime_Magic improvements.

Add 'nostrip' option to prevent stripping MIME parameter information
from the return.
Improve phpdoc.
Remove unused variable.

15 years agoUpdate MIME mapping data file.
Michael M Slusarz [Tue, 9 Feb 2010 20:09:36 +0000 (13:09 -0700)]
Update MIME mapping data file.

15 years agoAdd Horde_Registry::getAppDrivers()
Michael M Slusarz [Tue, 9 Feb 2010 18:49:31 +0000 (11:49 -0700)]
Add Horde_Registry::getAppDrivers()

15 years agoConversions to H4 formats
Michael M Slusarz [Tue, 9 Feb 2010 18:34:20 +0000 (11:34 -0700)]
Conversions to H4 formats

15 years agome != jan
Michael M Slusarz [Tue, 9 Feb 2010 17:17:53 +0000 (10:17 -0700)]
me != jan

15 years agoFix logic
Michael M Slusarz [Tue, 9 Feb 2010 07:03:42 +0000 (00:03 -0700)]
Fix logic

15 years agoTweak default HTML UI font
Michael M Slusarz [Tue, 9 Feb 2010 06:46:54 +0000 (23:46 -0700)]
Tweak default HTML UI font

15 years agoMove quicksearch sizing into CSS
Michael M Slusarz [Tue, 9 Feb 2010 06:16:14 +0000 (23:16 -0700)]
Move quicksearch sizing into CSS

15 years agoIE 7+ JS fix
Michael M Slusarz [Tue, 9 Feb 2010 06:15:44 +0000 (23:15 -0700)]
IE 7+ JS fix

15 years agoAlso remove Safari 2 support for DIMP
Michael M Slusarz [Tue, 9 Feb 2010 05:23:52 +0000 (22:23 -0700)]
Also remove Safari 2 support for DIMP

15 years agoRemove IE 6 support for DIMP
Michael M Slusarz [Tue, 9 Feb 2010 05:17:06 +0000 (22:17 -0700)]
Remove IE 6 support for DIMP

15 years agoProvide basic checking to prevent switching between mimp/imp/dimp during session
Michael M Slusarz [Tue, 9 Feb 2010 05:16:49 +0000 (22:16 -0700)]
Provide basic checking to prevent switching between mimp/imp/dimp during session

15 years agoRemove move PEAR_Error usage in IMP
Michael M Slusarz [Tue, 9 Feb 2010 04:22:23 +0000 (21:22 -0700)]
Remove move PEAR_Error usage in IMP

15 years agoDon't attach events to listeners by default (attach when notify() is
Michael M Slusarz [Tue, 9 Feb 2010 03:52:45 +0000 (20:52 -0700)]
Don't attach events to listeners by default (attach when notify() is
called on a listener).

Remove _initNotification() workaround.
Since the notification system no longer attaches events to listeners
until notify() is called, it is safe to change notification listeners as
needed directly within _init() calls.

15 years agoUnneeed tests
Michael M Slusarz [Tue, 9 Feb 2010 03:10:21 +0000 (20:10 -0700)]
Unneeed tests

15 years agoStore notifications events as Horde_Notification_Event objects
Michael M Slusarz [Tue, 9 Feb 2010 01:37:46 +0000 (18:37 -0700)]
Store notifications events as Horde_Notification_Event objects

15 years agophpdoc; coding standards
Michael M Slusarz [Mon, 8 Feb 2010 23:36:56 +0000 (16:36 -0700)]
phpdoc; coding standards

15 years agoSet timeout.
Jan Schneider [Mon, 8 Feb 2010 22:45:50 +0000 (23:45 +0100)]
Set timeout.

15 years agoCatch exceptions.
Jan Schneider [Mon, 8 Feb 2010 22:39:37 +0000 (23:39 +0100)]
Catch exceptions.

15 years agoSet remote calendar timeout also when retrieving calendar information.
Jan Schneider [Mon, 8 Feb 2010 22:16:44 +0000 (23:16 +0100)]
Set remote calendar timeout also when retrieving calendar information.

15 years agoFix race condition when new alarms arrive faster than growlers are created.
Jan Schneider [Mon, 8 Feb 2010 22:06:59 +0000 (23:06 +0100)]
Fix race condition when new alarms arrive faster than growlers are created.

15 years agoThese are strings now.
Jan Schneider [Mon, 8 Feb 2010 22:01:43 +0000 (23:01 +0100)]
These are strings now.

15 years agoDesign tweaks.
Jan Schneider [Mon, 8 Feb 2010 21:31:06 +0000 (22:31 +0100)]
Design tweaks.

15 years agoFix argument passing (Bug #8846).
Jan Schneider [Mon, 8 Feb 2010 09:15:59 +0000 (10:15 +0100)]
Fix argument passing (Bug #8846).

15 years agoMake this smaller.
Jan Schneider [Fri, 5 Feb 2010 11:25:54 +0000 (12:25 +0100)]
Make this smaller.

15 years agoRemove unused icons.
Jan Schneider [Fri, 5 Feb 2010 11:25:39 +0000 (12:25 +0100)]
Remove unused icons.

15 years agoAdd timeobjects too.
Jan Schneider [Fri, 5 Feb 2010 10:39:32 +0000 (11:39 +0100)]
Add timeobjects too.

15 years agoUse a more useful error handling.
Jan Schneider [Wed, 3 Feb 2010 18:45:30 +0000 (19:45 +0100)]
Use a more useful error handling.

15 years agoAdd debug logging for Horde_Prefs::setValue()
Michael M Slusarz [Fri, 5 Feb 2010 21:24:51 +0000 (14:24 -0700)]
Add debug logging for Horde_Prefs::setValue()

15 years agoTicket #8805: Optimize folder tree initialization
Michael M Slusarz [Fri, 5 Feb 2010 21:21:09 +0000 (14:21 -0700)]
Ticket #8805: Optimize folder tree initialization

15 years agoAdmin login provided by appInit()
Michael M Slusarz [Fri, 5 Feb 2010 21:03:29 +0000 (14:03 -0700)]
Admin login provided by appInit()

15 years agoThrow exception if admin auth requested but no admins defined
Michael M Slusarz [Fri, 5 Feb 2010 21:03:15 +0000 (14:03 -0700)]
Throw exception if admin auth requested but no admins defined

15 years agoUse personal info of from address if reply-to address is missing it
Michael M Slusarz [Fri, 5 Feb 2010 20:09:32 +0000 (13:09 -0700)]
Use personal info of from address if reply-to address is missing it

15 years agoFix determination of reply_all usage
Michael M Slusarz [Fri, 5 Feb 2010 20:09:10 +0000 (13:09 -0700)]
Fix determination of reply_all usage

15 years agoMissed a spot to add additional maillog actions
Michael M Slusarz [Fri, 5 Feb 2010 18:48:14 +0000 (11:48 -0700)]
Missed a spot to add additional maillog actions

15 years agoAdd ability to swap between forward options if using auto forward
Michael M Slusarz [Fri, 5 Feb 2010 18:31:41 +0000 (11:31 -0700)]
Add ability to swap between forward options if using auto forward

15 years agoConsistently use getMetadata()
Michael M Slusarz [Fri, 5 Feb 2010 17:24:10 +0000 (10:24 -0700)]
Consistently use getMetadata()

15 years agoMore complete maillog handling of reply types
Michael M Slusarz [Fri, 5 Feb 2010 17:24:00 +0000 (10:24 -0700)]
More complete maillog handling of reply types

15 years agoAllow switching to single recipient when auto replying to list
Michael M Slusarz [Fri, 5 Feb 2010 16:55:52 +0000 (09:55 -0700)]
Allow switching to single recipient when auto replying to list

15 years agoDon't attempt to import a birthday value if there is no value set
Michael J. Rubinsky [Fri, 5 Feb 2010 16:42:47 +0000 (11:42 -0500)]
Don't attempt to import a birthday value if there is no value set

15 years agoFix layout of File_Csv pacakge
Michael J. Rubinsky [Fri, 5 Feb 2010 15:18:32 +0000 (10:18 -0500)]
Fix layout of File_Csv pacakge

15 years agoAdd chance to switch reply type to single recipient on compose page when using auto...
Michael M Slusarz [Thu, 4 Feb 2010 22:12:07 +0000 (15:12 -0700)]
Add chance to switch reply type to single recipient on compose page when using auto-reply

15 years agoNeed md5.js for quickreply.
Michael M Slusarz [Thu, 4 Feb 2010 23:12:47 +0000 (16:12 -0700)]
Need md5.js for quickreply.

15 years agoFix forward preference group members
Michael M Slusarz [Thu, 4 Feb 2010 20:14:11 +0000 (13:14 -0700)]
Fix forward preference group members

15 years agoThis is a static method.
Jan Schneider [Thu, 4 Feb 2010 22:50:06 +0000 (23:50 +0100)]
This is a static method.

15 years agobase.php => Application.php
Jan Schneider [Thu, 4 Feb 2010 22:49:53 +0000 (23:49 +0100)]
base.php => Application.php

15 years agoAdd Id tags.
Jan Schneider [Thu, 4 Feb 2010 22:38:05 +0000 (23:38 +0100)]
Add Id tags.

15 years agoRevert "Remove old CVS-related code"
Jan Schneider [Thu, 4 Feb 2010 22:34:28 +0000 (23:34 +0100)]
Revert "Remove old CVS-related code"

This reverts commit 36b4c8a71fd29949f80d7c1ff6c676d4eb5376ce.

We still are going to need the old parsing, because people are going to update
from release versions from CVS.

15 years agoMFB: Fix sending alarms to multiple users (Bug #8821).
Jan Schneider [Thu, 4 Feb 2010 22:25:58 +0000 (23:25 +0100)]
MFB: Fix sending alarms to multiple users (Bug #8821).

15 years agoRemove debug code, fix scope.
Jan Schneider [Thu, 4 Feb 2010 22:25:29 +0000 (23:25 +0100)]
Remove debug code, fix scope.

15 years agoCatch exceptions.
Jan Schneider [Thu, 4 Feb 2010 21:53:55 +0000 (22:53 +0100)]
Catch exceptions.

15 years agoCorrectly rebuild mailbox list in dimp
Michael M Slusarz [Thu, 4 Feb 2010 18:58:11 +0000 (11:58 -0700)]
Correctly rebuild mailbox list in dimp

15 years agoRemove session storage code completely from IMP_Imap_Tree
Michael M Slusarz [Thu, 4 Feb 2010 18:57:56 +0000 (11:57 -0700)]
Remove session storage code completely from IMP_Imap_Tree

15 years agoCVS changelog updates
Michael M Slusarz [Thu, 4 Feb 2010 18:29:34 +0000 (11:29 -0700)]
CVS changelog updates

15 years agoFix parse error.
Jan Schneider [Thu, 4 Feb 2010 18:29:56 +0000 (19:29 +0100)]
Fix parse error.

15 years agoApplications are supposed to be installed inside horde/.
Jan Schneider [Thu, 4 Feb 2010 17:00:09 +0000 (18:00 +0100)]
Applications are supposed to be installed inside horde/.

15 years agoWe only want real applications.
Jan Schneider [Thu, 4 Feb 2010 16:52:07 +0000 (17:52 +0100)]
We only want real applications.

15 years agoList all applications, not just active ones (rsalmon (at) mbpgroup (dot) com, Bug...
Chuck Hagenbuch [Thu, 4 Feb 2010 15:31:38 +0000 (10:31 -0500)]
List all applications, not just active ones (rsalmon (at) mbpgroup (dot) com, Bug #8846)

15 years agoQuota fixes/doc improvements
Michael M Slusarz [Thu, 4 Feb 2010 07:24:35 +0000 (00:24 -0700)]
Quota fixes/doc improvements

15 years agoACL fixes - everything should work again in IMP
Michael M Slusarz [Thu, 4 Feb 2010 06:10:43 +0000 (23:10 -0700)]
ACL fixes - everything should work again in IMP

15 years agoDon't display print links in attachment list
Michael M Slusarz [Thu, 4 Feb 2010 04:58:50 +0000 (21:58 -0700)]
Don't display print links in attachment list

15 years agoFix displaying images in print view
Michael M Slusarz [Thu, 4 Feb 2010 04:52:22 +0000 (21:52 -0700)]
Fix displaying images in print view

15 years agoMove print code into view script.
Michael M Slusarz [Thu, 4 Feb 2010 04:48:14 +0000 (21:48 -0700)]
Move print code into view script.

For consistentcy, ease of link generation, and code reuse purposes.

15 years agoSwitching applications, so need to push app here
Michael M Slusarz [Thu, 4 Feb 2010 01:43:13 +0000 (18:43 -0700)]
Switching applications, so need to push app here

15 years agoUse MD5 hashes to determine when to auto-save
Michael M Slusarz [Thu, 4 Feb 2010 00:38:21 +0000 (17:38 -0700)]
Use MD5 hashes to determine when to auto-save

15 years agoAdd MD5 javascript library
Michael M Slusarz [Thu, 4 Feb 2010 00:38:09 +0000 (17:38 -0700)]
Add MD5 javascript library

15 years agoImproved full rendering of plain text
Michael M Slusarz [Wed, 3 Feb 2010 23:25:52 +0000 (16:25 -0700)]
Improved full rendering of plain text

15 years agoAdd noJS option to highlightquotes filter
Michael M Slusarz [Wed, 3 Feb 2010 23:25:06 +0000 (16:25 -0700)]
Add noJS option to highlightquotes filter

15 years agoDon't link e-mails in full plain text view
Michael M Slusarz [Wed, 3 Feb 2010 22:50:24 +0000 (15:50 -0700)]
Don't link e-mails in full plain text view

15 years agoMozilla print fixes
Michael M Slusarz [Wed, 3 Feb 2010 22:41:13 +0000 (15:41 -0700)]
Mozilla print fixes

Fix layout of header DIV in print HTML on Mozilla
Make headers size constant - or else formatting in the page will
make it too large/small.

15 years agoNotification singleton best initialized in Horde_Registry constructor
Michael M Slusarz [Wed, 3 Feb 2010 22:02:02 +0000 (15:02 -0700)]
Notification singleton best initialized in Horde_Registry constructor

15 years agoPartial revert "Fix channel names."
Michael M Slusarz [Wed, 3 Feb 2010 21:55:15 +0000 (14:55 -0700)]
Partial revert "Fix channel names."

This partially reverts commit d9de00640cd4369b5f882f9327050afecaab47ae.

15 years agoAllow indicating if we want remote/listTimeObject events from calendar/listEvents
Michael J. Rubinsky [Wed, 3 Feb 2010 23:21:47 +0000 (18:21 -0500)]
Allow indicating if we want remote/listTimeObject events from calendar/listEvents

15 years agoHorde_NLS => Horde_Nls
Michael J. Rubinsky [Wed, 3 Feb 2010 22:00:04 +0000 (17:00 -0500)]
Horde_NLS => Horde_Nls

15 years agoBug #8708: Silence HTML parsing errors; changelog
Michael M Slusarz [Wed, 3 Feb 2010 21:47:36 +0000 (14:47 -0700)]
Bug #8708: Silence HTML parsing errors; changelog

15 years agoBug #8708: Inject headers into firefox print output
Michael M Slusarz [Wed, 3 Feb 2010 21:22:47 +0000 (14:22 -0700)]
Bug #8708: Inject headers into firefox print output

15 years agoAdd filterBySelector().
Michael M Slusarz [Wed, 3 Feb 2010 21:13:48 +0000 (14:13 -0700)]
Add filterBySelector().

15 years agoAdd ability to return Csstidy object.
Michael M Slusarz [Wed, 3 Feb 2010 21:13:11 +0000 (14:13 -0700)]
Add ability to return Csstidy object.

15 years agoMove print generation to separate script.
Michael M Slusarz [Mon, 1 Feb 2010 19:35:25 +0000 (12:35 -0700)]
Move print generation to separate script.

For non-Mozilla browsers, use frames to separate headers from message
data.
Only show print links for parts that can be displayed in a 'full' render.
Re-add support for 'add_printedby' config option.