horde.git
16 years agoFix object instantiation; cache object internally
Michael M Slusarz [Wed, 15 Jul 2009 05:08:21 +0000 (23:08 -0600)]
Fix object instantiation; cache object internally

16 years agoBuild authorization header, check for missing oauth_token and oauth_consumer_key
Michael J. Rubinsky [Sat, 18 Jul 2009 22:07:30 +0000 (18:07 -0400)]
Build authorization header, check for missing oauth_token and oauth_consumer_key

Add method to Horde_Oauth_Request that builds an OAuth Authorization header
(http://oauth.net/core/1.0#auth_header)

Allow H_O_Request to obtain the *required* oauth_consumer_key and the oauth_token
values from the Consumer and Token objects respectively so that client code doesn't
have to awkardly pass them in both the Horde_Oauth_Consumer const'r and in the
Horde_Oauth_Request const'r

Add method to build an OAuth Authorization Header

16 years agoDocumnet the required config parameters, throw exception if any
Michael J. Rubinsky [Sat, 18 Jul 2009 14:18:15 +0000 (10:18 -0400)]
Documnet the required config parameters, throw exception if any
are missing

16 years agoFix percent encoding of the '+' character.
Michael J. Rubinsky [Sat, 18 Jul 2009 00:06:30 +0000 (20:06 -0400)]
Fix percent encoding of the '+' character.

16 years agothrow exceptions instead of calling Horde::fatal()
Michael M Slusarz [Fri, 17 Jul 2009 19:37:59 +0000 (13:37 -0600)]
throw exceptions instead of calling Horde::fatal()

16 years agoRemove object assignments by reference and unneded includes
Michael M Slusarz [Fri, 17 Jul 2009 19:31:17 +0000 (13:31 -0600)]
Remove object assignments by reference and unneded includes

16 years agoDon't assign objects by reference.
Michael M Slusarz [Fri, 17 Jul 2009 18:38:07 +0000 (12:38 -0600)]
Don't assign objects by reference.

16 years agoOnly log on success.
Michael M Slusarz [Fri, 17 Jul 2009 18:37:57 +0000 (12:37 -0600)]
Only log on success.

16 years agoUse hash().
Michael M Slusarz [Fri, 17 Jul 2009 18:37:47 +0000 (12:37 -0600)]
Use hash().

16 years agoAdd Horde::getCacheUrl().
Michael M Slusarz [Fri, 17 Jul 2009 17:56:16 +0000 (11:56 -0600)]
Add Horde::getCacheUrl().

16 years agoabort and use a regular image tag if we don't have the right image path (seeing this...
Chuck Hagenbuch [Fri, 17 Jul 2009 15:50:03 +0000 (11:50 -0400)]
abort and use a regular image tag if we don't have the right image path (seeing this in chora)

16 years agofix getLoginScreen call
Chuck Hagenbuch [Fri, 17 Jul 2009 15:40:55 +0000 (11:40 -0400)]
fix getLoginScreen call

16 years agoImport SpellChecker imple object from IMP.
Michael M Slusarz [Thu, 16 Jul 2009 19:56:22 +0000 (13:56 -0600)]
Import SpellChecker imple object from IMP.

16 years agoAdd IMP inline script handling functions.
Michael M Slusarz [Thu, 16 Jul 2009 19:55:03 +0000 (13:55 -0600)]
Add IMP inline script handling functions.

Again, this will probably eventually need to be moved elsewhere, but
it needs to be moved out of IMP immediately since several things moving
to framework rely on this code.

16 years agoAdd Horde_Ajax::.
Michael M Slusarz [Thu, 16 Jul 2009 19:21:46 +0000 (13:21 -0600)]
Add Horde_Ajax::.

16 years agoThis becomes a mandatory dependency
Michael M Slusarz [Thu, 16 Jul 2009 16:14:34 +0000 (10:14 -0600)]
This becomes a mandatory dependency

16 years agoFix variable name
Michael J. Rubinsky [Thu, 16 Jul 2009 13:55:14 +0000 (09:55 -0400)]
Fix variable name
Bug: 8436
Submitted by: Duck

16 years agofix package.xml
Chuck Hagenbuch [Thu, 16 Jul 2009 03:40:13 +0000 (23:40 -0400)]
fix package.xml

16 years agothese are stream filters, so put them in a Horde_Stream_Filter package instead of...
Chuck Hagenbuch [Thu, 16 Jul 2009 03:39:58 +0000 (23:39 -0400)]
these are stream filters, so put them in a Horde_Stream_Filter package instead of in Util::

16 years agofix Nls config usage
Chuck Hagenbuch [Thu, 16 Jul 2009 03:08:27 +0000 (23:08 -0400)]
fix Nls config usage

16 years agothrow Horde_Auth_Exceptions instead of generic Horde_Exceptions
Chuck Hagenbuch [Wed, 15 Jul 2009 14:40:37 +0000 (10:40 -0400)]
throw Horde_Auth_Exceptions instead of generic Horde_Exceptions

16 years agofix dependency on Core package, and add dependency on Exception package
Chuck Hagenbuch [Wed, 15 Jul 2009 14:33:21 +0000 (10:33 -0400)]
fix dependency on Core package, and add dependency on Exception package

16 years agostub _authenticate in the auto driver to avoid a compile-time error
Chuck Hagenbuch [Wed, 15 Jul 2009 14:28:55 +0000 (10:28 -0400)]
stub _authenticate in the auto driver to avoid a compile-time error

16 years agorevert creation of exception objects not used for throwing
Chuck Hagenbuch [Wed, 15 Jul 2009 03:24:21 +0000 (23:24 -0400)]
revert creation of exception objects not used for throwing

16 years agocatch exceptions during API calls to re-throw, so that we can make sure to call popApp()
Chuck Hagenbuch [Wed, 15 Jul 2009 01:43:09 +0000 (21:43 -0400)]
catch exceptions during API calls to re-throw, so that we can make sure to call popApp()

16 years agoClean up application driver
Michael M Slusarz [Tue, 14 Jul 2009 21:14:21 +0000 (15:14 -0600)]
Clean up application driver

16 years agoA bit clearer null representation
Michael M Slusarz [Tue, 14 Jul 2009 20:37:54 +0000 (14:37 -0600)]
A bit clearer null representation

16 years agoFix Registry usage; fix missing trailing bracket if not using Registry
Michael M Slusarz [Tue, 14 Jul 2009 20:09:55 +0000 (14:09 -0600)]
Fix Registry usage; fix missing trailing bracket if not using Registry

16 years agoif appConfig ends up empty, make sure it's an empty array before doing array things...
Chuck Hagenbuch [Tue, 14 Jul 2009 20:35:55 +0000 (16:35 -0400)]
if appConfig ends up empty, make sure it's an empty array before doing array things with it

16 years agoAdd Horde_Config::getVersion()
Michael M Slusarz [Tue, 14 Jul 2009 19:11:58 +0000 (13:11 -0600)]
Add Horde_Config::getVersion()

16 years agodocumentation; cleaner fatal() handling
Michael M Slusarz [Tue, 14 Jul 2009 06:45:30 +0000 (00:45 -0600)]
documentation; cleaner fatal() handling

16 years agoFix loading of global configurations.
Jan Schneider [Tue, 14 Jul 2009 12:33:32 +0000 (14:33 +0200)]
Fix loading of global configurations.

16 years agoFix using new nls configuration.
Jan Schneider [Tue, 14 Jul 2009 12:22:16 +0000 (14:22 +0200)]
Fix using new nls configuration.

16 years agoMoved to Horde_Registry.
Jan Schneider [Tue, 14 Jul 2009 12:06:14 +0000 (14:06 +0200)]
Moved to Horde_Registry.

16 years agoHow do we want to deal with optional configuration files?
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.

16 years agoAs long as API methods return PEAR_Errors, throw them as 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.

16 years agoTypo
Jan Schneider [Sun, 12 Jul 2009 14:41:59 +0000 (16:41 +0200)]
Typo

16 years agoFix abstract declaration.
Michael M Slusarz [Tue, 14 Jul 2009 06:19:26 +0000 (00:19 -0600)]
Fix abstract declaration.

16 years agoHttpRemote -> Http_Remote and tweak class loading so that this allworks
Chuck Hagenbuch [Tue, 14 Jul 2009 04:45:10 +0000 (00:45 -0400)]
HttpRemote -> Http_Remote and tweak class loading so that this allworks

16 years agoremove never-used app-specific driver loading
Chuck Hagenbuch [Tue, 14 Jul 2009 04:40:57 +0000 (00:40 -0400)]
remove never-used app-specific driver loading

16 years agono return after a throw
Chuck Hagenbuch [Tue, 14 Jul 2009 04:38:47 +0000 (00:38 -0400)]
no return after a throw

16 years agoUtil -> Horde_Util
Chuck Hagenbuch [Tue, 14 Jul 2009 04:37:36 +0000 (00:37 -0400)]
Util -> Horde_Util

16 years agorename Horde_Auth_Driver to Horde_Auth_Base to match the convention of other H4 libraries
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

16 years agodon't catch exceptions and throw them away unless we are really, really sure we want...
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

16 years agoremove datatree driver in H4
Chuck Hagenbuch [Tue, 14 Jul 2009 04:28:16 +0000 (00:28 -0400)]
remove datatree driver in H4

16 years agospelling
Chuck Hagenbuch [Tue, 14 Jul 2009 04:20:20 +0000 (00:20 -0400)]
spelling

16 years agoif a hook doesn't exist, log it and return null instead of throwing an exception
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

16 years agoWork around broken DateTime serialization in PHP 5.2.x.
Michael M Slusarz [Mon, 13 Jul 2009 22:40:19 +0000 (16:40 -0600)]
Work around broken DateTime serialization in PHP 5.2.x.

16 years agoFix dependencies
Michael M Slusarz [Mon, 13 Jul 2009 22:40:04 +0000 (16:40 -0600)]
Fix dependencies

16 years agoAdd (some) streaming capability to zip driver.
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.

16 years agoFix class names.
Michael M Slusarz [Mon, 13 Jul 2009 22:38:41 +0000 (16:38 -0600)]
Fix class names.

16 years agoAdd debugging logging for login failures.
Michael M Slusarz [Mon, 13 Jul 2009 21:56:12 +0000 (15:56 -0600)]
Add debugging logging for login failures.

16 years agoBetter error handling for Mime Viewer rendering
Michael M Slusarz [Mon, 13 Jul 2009 21:11:27 +0000 (15:11 -0600)]
Better error handling for Mime Viewer rendering

16 years agoImport Horde_Compress:: from CVS HEAD
Michael M Slusarz [Mon, 13 Jul 2009 21:11:07 +0000 (15:11 -0600)]
Import Horde_Compress:: from CVS HEAD

16 years agoNo reference from singletons
Michael M Slusarz [Mon, 13 Jul 2009 20:20:56 +0000 (14:20 -0600)]
No reference from singletons

16 years agoMoved Horde_Exception:: to its own package
Michael M Slusarz [Mon, 13 Jul 2009 17:07:32 +0000 (11:07 -0600)]
Moved Horde_Exception:: to its own package

16 years agoHorde::callHook() now throws a Horde_Exception
Michael M Slusarz [Mon, 13 Jul 2009 17:03:50 +0000 (11:03 -0600)]
Horde::callHook() now throws a Horde_Exception

16 years agoMake sure we always have app name when logging
Michael M Slusarz [Fri, 10 Jul 2009 21:56:21 +0000 (15:56 -0600)]
Make sure we always have app name when logging

16 years agoPHP 5 coding style
Michael M Slusarz [Fri, 10 Jul 2009 21:55:56 +0000 (15:55 -0600)]
PHP 5 coding style

16 years agowhitespace
Michael M Slusarz [Mon, 13 Jul 2009 19:41:36 +0000 (13:41 -0600)]
whitespace

16 years agoPHP 5 conversions for Horde_Registry
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::.

16 years agoAdd Horde_String::truncate()
Michael M Slusarz [Thu, 9 Jul 2009 22:54:25 +0000 (16:54 -0600)]
Add Horde_String::truncate()

16 years agorevert - we want exceptions to go beyond this point (though at some point we might...
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)

16 years agodon't need & on object creation
Chuck Hagenbuch [Sun, 12 Jul 2009 02:00:42 +0000 (22:00 -0400)]
don't need & on object creation

16 years agoremove Release files (moved to their own package)
Chuck Hagenbuch [Sun, 12 Jul 2009 02:00:03 +0000 (22:00 -0400)]
remove Release files (moved to their own package)

16 years agoFix caching of nl_langInfo() calls
Michael J. Rubinsky [Sat, 11 Jul 2009 19:38:01 +0000 (15:38 -0400)]
Fix caching of nl_langInfo() calls

16 years agocatch exceptions when apps don't have conf.php files
Chuck Hagenbuch [Fri, 10 Jul 2009 14:34:02 +0000 (10:34 -0400)]
catch exceptions when apps don't have conf.php files

16 years agofix file paths; remove extra Horde/ directory
Chuck Hagenbuch [Fri, 10 Jul 2009 00:16:02 +0000 (20:16 -0400)]
fix file paths; remove extra Horde/ directory

16 years agoMerge IMP_Template
Michael M Slusarz [Thu, 9 Jul 2009 20:48:32 +0000 (14:48 -0600)]
Merge IMP_Template

16 years agoPHP 5 cleanups to Horde:: (mainly dealing with error handling)
Michael M Slusarz [Thu, 9 Jul 2009 19:07:10 +0000 (13:07 -0600)]
PHP 5 cleanups to Horde:: (mainly dealing with error handling)

16 years agoFix typo
Michael M Slusarz [Thu, 9 Jul 2009 18:07:36 +0000 (12:07 -0600)]
Fix typo

16 years agophpdoc
Michael M Slusarz [Thu, 9 Jul 2009 17:47:30 +0000 (11:47 -0600)]
phpdoc

16 years agoThis is a sub-package of Text_Filter
Michael M Slusarz [Thu, 9 Jul 2009 16:45:16 +0000 (10:45 -0600)]
This is a sub-package of Text_Filter

16 years agoEh, fix the class name of Horde_Registry_Caller - and remove the
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

16 years agoRe-add Horde_Registry_Caller
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.

16 years agoMerge commit from earlier today
Michael M Slusarz [Thu, 9 Jul 2009 08:08:38 +0000 (02:08 -0600)]
Merge commit from earlier today

16 years agoImport Nls package from CVS HEAD
Michael M Slusarz [Thu, 9 Jul 2009 07:52:36 +0000 (01:52 -0600)]
Import Nls package from CVS HEAD

16 years agoHorde core framework package import into Git 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.

16 years agoAuth:: (CVS) -> Horde_Auth::
Michael M Slusarz [Tue, 7 Jul 2009 01:08:53 +0000 (19:08 -0600)]
Auth:: (CVS) -> Horde_Auth::

16 years agoCorrectly identify charset of HTML data
Michael M Slusarz [Tue, 7 Jul 2009 19:57:42 +0000 (13:57 -0600)]
Correctly identify charset of HTML data

16 years agopackage.xml fixes
Michael M Slusarz [Tue, 7 Jul 2009 19:41:44 +0000 (13:41 -0600)]
package.xml fixes

16 years agoRemove dependency on Mail_mimeDecode.
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.

16 years agoAdded Horde_Mime::uudecode()
Michael M Slusarz [Tue, 7 Jul 2009 07:35:47 +0000 (01:35 -0600)]
Added Horde_Mime::uudecode()

16 years agoInitialize the result variable.
Gunnar Wrobel [Tue, 7 Jul 2009 14:24:50 +0000 (16:24 +0200)]
Initialize the result variable.

16 years agofix package.xml and package name
Chuck Hagenbuch [Tue, 7 Jul 2009 02:45:34 +0000 (22:45 -0400)]
fix package.xml and package name

16 years agoAdd Text_Filter_Csstidy package.
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.

16 years agoAdd Horde_Text_Filter_Cleanhtml::.
Michael M Slusarz [Mon, 6 Jul 2009 20:11:01 +0000 (14:11 -0600)]
Add Horde_Text_Filter_Cleanhtml::.

16 years agomime_magic extension is deprecated
Michael M Slusarz [Mon, 6 Jul 2009 19:34:16 +0000 (13:34 -0600)]
mime_magic extension is deprecated

16 years agoFix rewind of stream
Michael M Slusarz [Mon, 6 Jul 2009 05:17:22 +0000 (23:17 -0600)]
Fix rewind of stream

16 years agoAdd stream fetch() output to Cclient driver
Michael M Slusarz [Mon, 6 Jul 2009 03:52:58 +0000 (21:52 -0600)]
Add stream fetch() output to Cclient driver

16 years agoRemove Blowfish and Cast128 ciphers
Michael M Slusarz [Mon, 6 Jul 2009 03:52:30 +0000 (21:52 -0600)]
Remove Blowfish and Cast128 ciphers

16 years agoPOP3 driver improvements.
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.

16 years agoLogging & error reporting tweaks
Michael M Slusarz [Sun, 5 Jul 2009 21:05:59 +0000 (15:05 -0600)]
Logging & error reporting tweaks

16 years agoHorde_Cipher_Blowfish is broken. Fallback to RC2 instead.
Michael M Slusarz [Sun, 5 Jul 2009 20:31:08 +0000 (14:31 -0600)]
Horde_Cipher_Blowfish is broken.  Fallback to RC2 instead.

16 years agoImport Horde_Cipher:: from CVS.
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.

16 years agoProperly clone Horde_Mime_Part objects.
Michael M Slusarz [Thu, 2 Jul 2009 19:28:01 +0000 (13:28 -0600)]
Properly clone Horde_Mime_Part objects.

16 years agoUse Horde_Util_Filter_Eol
Michael M Slusarz [Thu, 2 Jul 2009 18:30:48 +0000 (12:30 -0600)]
Use Horde_Util_Filter_Eol

16 years agoAdd Horde_Util_Filter_Eol
Michael M Slusarz [Thu, 2 Jul 2009 18:30:32 +0000 (12:30 -0600)]
Add Horde_Util_Filter_Eol

16 years agoFix Horde_Util tests.
Michael M Slusarz [Thu, 2 Jul 2009 18:20:02 +0000 (12:20 -0600)]
Fix Horde_Util tests.

16 years agoDefault to PHP default.
Michael M Slusarz [Thu, 2 Jul 2009 18:09:49 +0000 (12:09 -0600)]
Default to PHP default.