Jan Schneider [Tue, 14 Jul 2009 11:49:46 +0000 (13:49 +0200)]
How do we want to deal with optional configuration files?
We used to ignore PEAR_Errors where config files are optional. This no longer
works with exceptions.
Jan Schneider [Tue, 14 Jul 2009 11:44:25 +0000 (13:44 +0200)]
As long as API methods return PEAR_Errors, throw them as exceptions.
Jan Schneider [Sun, 12 Jul 2009 14:41:59 +0000 (16:41 +0200)]
Typo
Michael M Slusarz [Tue, 14 Jul 2009 06:19:26 +0000 (00:19 -0600)]
Fix abstract declaration.
Chuck Hagenbuch [Tue, 14 Jul 2009 04:45:10 +0000 (00:45 -0400)]
HttpRemote -> Http_Remote and tweak class loading so that this allworks
Chuck Hagenbuch [Tue, 14 Jul 2009 04:40:57 +0000 (00:40 -0400)]
remove never-used app-specific driver loading
Chuck Hagenbuch [Tue, 14 Jul 2009 04:38:47 +0000 (00:38 -0400)]
no return after a throw
Chuck Hagenbuch [Tue, 14 Jul 2009 04:37:36 +0000 (00:37 -0400)]
Util -> Horde_Util
Chuck Hagenbuch [Tue, 14 Jul 2009 04:36:49 +0000 (00:36 -0400)]
rename Horde_Auth_Driver to Horde_Auth_Base to match the convention of other H4 libraries
Chuck Hagenbuch [Tue, 14 Jul 2009 04:30:46 +0000 (00:30 -0400)]
don't catch exceptions and throw them away unless we are really, really sure we want to mask errors
Chuck Hagenbuch [Tue, 14 Jul 2009 04:28:16 +0000 (00:28 -0400)]
remove datatree driver in H4
Chuck Hagenbuch [Tue, 14 Jul 2009 04:20:20 +0000 (00:20 -0400)]
spelling
Chuck Hagenbuch [Tue, 14 Jul 2009 04:15:53 +0000 (00:15 -0400)]
if a hook doesn't exist, log it and return null instead of throwing an exception
Michael M Slusarz [Mon, 13 Jul 2009 22:40:19 +0000 (16:40 -0600)]
Work around broken DateTime serialization in PHP 5.2.x.
Michael M Slusarz [Mon, 13 Jul 2009 22:40:04 +0000 (16:40 -0600)]
Fix dependencies
Michael M Slusarz [Mon, 13 Jul 2009 22:38:49 +0000 (16:38 -0600)]
Add (some) streaming capability to zip driver.
Still need to put data into a string when compressing due to
broken zlib stream filtering.
Michael M Slusarz [Mon, 13 Jul 2009 22:38:41 +0000 (16:38 -0600)]
Fix class names.
Michael M Slusarz [Mon, 13 Jul 2009 21:56:12 +0000 (15:56 -0600)]
Add debugging logging for login failures.
Michael M Slusarz [Mon, 13 Jul 2009 21:11:27 +0000 (15:11 -0600)]
Better error handling for Mime Viewer rendering
Michael M Slusarz [Mon, 13 Jul 2009 21:11:07 +0000 (15:11 -0600)]
Import Horde_Compress:: from CVS HEAD
Michael M Slusarz [Mon, 13 Jul 2009 20:20:56 +0000 (14:20 -0600)]
No reference from singletons
Michael M Slusarz [Mon, 13 Jul 2009 17:07:32 +0000 (11:07 -0600)]
Moved Horde_Exception:: to its own package
Michael M Slusarz [Mon, 13 Jul 2009 17:03:50 +0000 (11:03 -0600)]
Horde::callHook() now throws a Horde_Exception
Michael M Slusarz [Fri, 10 Jul 2009 21:56:21 +0000 (15:56 -0600)]
Make sure we always have app name when logging
Michael M Slusarz [Fri, 10 Jul 2009 21:55:56 +0000 (15:55 -0600)]
PHP 5 coding style
Michael M Slusarz [Mon, 13 Jul 2009 19:41:36 +0000 (13:41 -0600)]
whitespace
Michael M Slusarz [Fri, 10 Jul 2009 21:51:40 +0000 (15:51 -0600)]
PHP 5 conversions for Horde_Registry
Move some session code from Horde:: to Horde_Registry::.
Michael M Slusarz [Thu, 9 Jul 2009 22:54:25 +0000 (16:54 -0600)]
Add Horde_String::truncate()
Chuck Hagenbuch [Sun, 12 Jul 2009 02:17:08 +0000 (22:17 -0400)]
revert - we want exceptions to go beyond this point (though at some point we might want to catch a specific config exception and re-throw a registry exception)
Chuck Hagenbuch [Sun, 12 Jul 2009 02:00:42 +0000 (22:00 -0400)]
don't need & on object creation
Chuck Hagenbuch [Sun, 12 Jul 2009 02:00:03 +0000 (22:00 -0400)]
remove Release files (moved to their own package)
Michael J. Rubinsky [Sat, 11 Jul 2009 19:38:01 +0000 (15:38 -0400)]
Fix caching of nl_langInfo() calls
Chuck Hagenbuch [Fri, 10 Jul 2009 14:34:02 +0000 (10:34 -0400)]
catch exceptions when apps don't have conf.php files
Chuck Hagenbuch [Fri, 10 Jul 2009 00:16:02 +0000 (20:16 -0400)]
fix file paths; remove extra Horde/ directory
Michael M Slusarz [Thu, 9 Jul 2009 20:48:32 +0000 (14:48 -0600)]
Merge IMP_Template
Michael M Slusarz [Thu, 9 Jul 2009 19:07:10 +0000 (13:07 -0600)]
PHP 5 cleanups to Horde:: (mainly dealing with error handling)
Michael M Slusarz [Thu, 9 Jul 2009 18:07:36 +0000 (12:07 -0600)]
Fix typo
Michael M Slusarz [Thu, 9 Jul 2009 17:47:30 +0000 (11:47 -0600)]
phpdoc
Michael M Slusarz [Thu, 9 Jul 2009 16:45:16 +0000 (10:45 -0600)]
This is a sub-package of Text_Filter
Michael J. Rubinsky [Thu, 9 Jul 2009 15:24:24 +0000 (11:24 -0400)]
Eh, fix the class name of Horde_Registry_Caller - and remove the
class I added erroneously to Registry.php
Michael J. Rubinsky [Thu, 9 Jul 2009 15:18:49 +0000 (11:18 -0400)]
Re-add Horde_Registry_Caller
Not sure if this belongs here or maybe in it's own file, but this
at least makes Horde useable again.
Michael M Slusarz [Thu, 9 Jul 2009 08:08:38 +0000 (02:08 -0600)]
Merge commit from earlier today
Michael M Slusarz [Thu, 9 Jul 2009 07:52:36 +0000 (01:52 -0600)]
Import Nls package from CVS HEAD
Michael M Slusarz [Thu, 9 Jul 2009 03:00:36 +0000 (21:00 -0600)]
Horde core framework package import into Git from CVS HEAD
Named core framework package Core - makes more sense to me then
framework since technically, Core is part of the framework.
Also, split out Release into a separate package since 99.9% of users
don't need this package.
Michael M Slusarz [Tue, 7 Jul 2009 01:08:53 +0000 (19:08 -0600)]
Auth:: (CVS) -> Horde_Auth::
Michael M Slusarz [Tue, 7 Jul 2009 19:57:42 +0000 (13:57 -0600)]
Correctly identify charset of HTML data
Michael M Slusarz [Tue, 7 Jul 2009 19:41:44 +0000 (13:41 -0600)]
package.xml fixes
Michael M Slusarz [Tue, 7 Jul 2009 08:30:03 +0000 (02:30 -0600)]
Remove dependency on Mail_mimeDecode.
Previously, we were using Mail_mimeDecode to parse MIME message text and
to parse MIME headers with parameter data.
This code is more robust, cleaner, probably faster, and doesn't thrown
errors in PHP 5 strict mode.
In transition, added ability to get params and base of MIME headers
directly.
Michael M Slusarz [Tue, 7 Jul 2009 07:35:47 +0000 (01:35 -0600)]
Added Horde_Mime::uudecode()
Gunnar Wrobel [Tue, 7 Jul 2009 14:24:50 +0000 (16:24 +0200)]
Initialize the result variable.
Chuck Hagenbuch [Tue, 7 Jul 2009 02:45:34 +0000 (22:45 -0400)]
fix package.xml and package name
Michael M Slusarz [Mon, 6 Jul 2009 20:56:13 +0000 (14:56 -0600)]
Add Text_Filter_Csstidy package.
Deals with the GPL licensing issue by installing as a separate package.
Michael M Slusarz [Mon, 6 Jul 2009 20:11:01 +0000 (14:11 -0600)]
Add Horde_Text_Filter_Cleanhtml::.
Michael M Slusarz [Mon, 6 Jul 2009 19:34:16 +0000 (13:34 -0600)]
mime_magic extension is deprecated
Michael M Slusarz [Mon, 6 Jul 2009 05:17:22 +0000 (23:17 -0600)]
Fix rewind of stream
Michael M Slusarz [Mon, 6 Jul 2009 03:52:58 +0000 (21:52 -0600)]
Add stream fetch() output to Cclient driver
Michael M Slusarz [Mon, 6 Jul 2009 03:52:30 +0000 (21:52 -0600)]
Remove Blowfish and Cast128 ciphers
Michael M Slusarz [Mon, 6 Jul 2009 03:37:58 +0000 (21:37 -0600)]
POP3 driver improvements.
Implement capability checking for servers which lack CAPA.
Implement getID() for POP3 servers that support the IMPLEMENTATION
capability string.
Use streams internally for body data.
Honor 'stream' argument to various fetch() functions.
Michael M Slusarz [Sun, 5 Jul 2009 21:05:59 +0000 (15:05 -0600)]
Logging & error reporting tweaks
Michael M Slusarz [Sun, 5 Jul 2009 20:31:08 +0000 (14:31 -0600)]
Horde_Cipher_Blowfish is broken. Fallback to RC2 instead.
Michael M Slusarz [Sun, 5 Jul 2009 20:29:25 +0000 (14:29 -0600)]
Import Horde_Cipher:: from CVS.
Am dubious about the state of this package, especially since neither
blowfish nor Cast128 pass the unit tests (they don't work in CVS either
going back for many years). It might be best to dump them or else use
PEAR's Crypt_Blowfish module instead.
Michael M Slusarz [Thu, 2 Jul 2009 19:28:01 +0000 (13:28 -0600)]
Properly clone Horde_Mime_Part objects.
Michael M Slusarz [Thu, 2 Jul 2009 18:30:48 +0000 (12:30 -0600)]
Use Horde_Util_Filter_Eol
Michael M Slusarz [Thu, 2 Jul 2009 18:30:32 +0000 (12:30 -0600)]
Add Horde_Util_Filter_Eol
Michael M Slusarz [Thu, 2 Jul 2009 18:20:02 +0000 (12:20 -0600)]
Fix Horde_Util tests.
Michael M Slusarz [Thu, 2 Jul 2009 18:09:49 +0000 (12:09 -0600)]
Default to PHP default.
Michael M Slusarz [Thu, 2 Jul 2009 15:50:01 +0000 (09:50 -0600)]
Fix logic
Michael M Slusarz [Wed, 1 Jul 2009 22:57:35 +0000 (16:57 -0600)]
Less resource intensive search for null character
Michael M Slusarz [Wed, 1 Jul 2009 22:57:05 +0000 (16:57 -0600)]
Make sure stream is rewound to the beginning.
Michael M Slusarz [Wed, 1 Jul 2009 22:23:10 +0000 (16:23 -0600)]
Allow toString() to add the necessary base message header text
Michael M Slusarz [Wed, 1 Jul 2009 18:25:00 +0000 (12:25 -0600)]
Fix multipart size determination
Gunnar Wrobel [Wed, 1 Jul 2009 18:48:14 +0000 (20:48 +0200)]
Correct variable name.
Michael M Slusarz [Wed, 1 Jul 2009 06:47:34 +0000 (00:47 -0600)]
Remove debug; use ftell() instead of fstat()
Michael M Slusarz [Wed, 1 Jul 2009 03:55:02 +0000 (21:55 -0600)]
More efficient way of setting contents.
Michael M Slusarz [Tue, 30 Jun 2009 22:00:57 +0000 (16:00 -0600)]
Major rewrite of the contents portion of Horde_Mime_Part.
Always store data inside part in binary format. Reduces overhead (no
need to store in larger base64 format) and allows us to do the
decompression at the same time we have to write the data to the new
internal stream object anyway.
Reworked parameters for setContents(), appendContents(), getContents(),
setTransferEncoding(), addMimeHeaders(), toString().
Removed getContentsAsStream(), getCanonicalContents() -> these can be
accessed via options to getContents().
Removed transferDecode(), transferEncode(), transferEncodeContents(),
transferDecodeContents(), strict7bit(), getTransferEncoding(), and
getCurrentEncoding() -> this is all handled internally on a call to
toString().
Removed toCanonicalString() -> this can be accessed via options to
toString().
Also:
Fix rtrim() call (don't trim non-EOL whitespace chars).
phpdoc
Chuck Hagenbuch [Wed, 1 Jul 2009 03:22:11 +0000 (23:22 -0400)]
these functions don't belong here
Michael M Slusarz [Tue, 30 Jun 2009 18:43:15 +0000 (12:43 -0600)]
Bug #7856: Allow underscore characters in path
Michael M Slusarz [Tue, 30 Jun 2009 18:41:58 +0000 (12:41 -0600)]
phpdoc
Michael M Slusarz [Tue, 30 Jun 2009 08:33:41 +0000 (02:33 -0600)]
Horde_Mime_Part:: stream fixes.
Fix serialize() of Horde_Mime_Part::.
Fix some typos.
Michael M Slusarz [Tue, 30 Jun 2009 05:08:17 +0000 (23:08 -0600)]
Fix typo
Michael M Slusarz [Tue, 30 Jun 2009 05:05:02 +0000 (23:05 -0600)]
Fix undefined error
Michael M Slusarz [Tue, 30 Jun 2009 05:04:50 +0000 (23:04 -0600)]
Make php temp memory limit a bit lower - 1 MB instead of default 2 MB
Michael M Slusarz [Tue, 30 Jun 2009 00:35:06 +0000 (18:35 -0600)]
Implement stream return for fullmsg, bodytext, and bodypart for Socket
driver.
Michael M Slusarz [Mon, 29 Jun 2009 22:24:59 +0000 (16:24 -0600)]
Request #3359: Horde_Mime_Part uses memory streams to store contents data.
Michael M Slusarz [Tue, 30 Jun 2009 02:54:12 +0000 (20:54 -0600)]
Cache array pointer
Michael M Slusarz [Tue, 30 Jun 2009 00:36:34 +0000 (18:36 -0600)]
Need to clone Horde_Mime_Part so later changes aren't saved in cache
Michael M Slusarz [Mon, 29 Jun 2009 20:09:22 +0000 (14:09 -0600)]
I've spent way too much time trying to get this to work, and I think the issue is simply that PHP doesn't currently support what I am trying to do
Michael M Slusarz [Mon, 29 Jun 2009 18:35:29 +0000 (12:35 -0600)]
Add Data URI limit for Opera
Michael M Slusarz [Mon, 29 Jun 2009 04:44:30 +0000 (22:44 -0600)]
Slightly shorter constant name
Gunnar Wrobel [Mon, 29 Jun 2009 07:16:45 +0000 (09:16 +0200)]
Remove obsolete postalAddress attribute.
Gunnar Wrobel [Mon, 29 Jun 2009 06:41:03 +0000 (08:41 +0200)]
Fix testing.
Gunnar Wrobel [Mon, 29 Jun 2009 05:55:55 +0000 (07:55 +0200)]
Error handling.
Gunnar Wrobel [Mon, 29 Jun 2009 05:44:07 +0000 (07:44 +0200)]
Correct catching errors.
Gunnar Wrobel [Mon, 29 Jun 2009 05:31:56 +0000 (07:31 +0200)]
Completed testing fixes.
Gunnar Wrobel [Mon, 29 Jun 2009 04:12:13 +0000 (06:12 +0200)]
Test fixes.
Gunnar Wrobel [Mon, 29 Jun 2009 03:48:32 +0000 (05:48 +0200)]
Typo.
Gunnar Wrobel [Mon, 29 Jun 2009 03:52:03 +0000 (05:52 +0200)]
Completed Kolab_Format PHP5 cleanup.
Gunnar Wrobel [Tue, 23 Jun 2009 16:06:12 +0000 (18:06 +0200)]
Imported Kolab_Format from Horde CVS.
Gunnar Wrobel [Fri, 26 Jun 2009 08:19:56 +0000 (10:19 +0200)]
Remove "baseinstalldir" as it places Notification.php in an incorrect location (Horde/Horde/Notification.php).
Michael M Slusarz [Fri, 26 Jun 2009 07:34:21 +0000 (01:34 -0600)]
Added Horde_SessionObjects::prune()