horde.git
16 years agoparse errors, add friends method
Michael J. Rubinsky [Tue, 21 Jul 2009 16:24:18 +0000 (12:24 -0400)]
parse errors, add friends method

16 years agoAdd remaining methods to Status class, phpdoc
Michael J. Rubinsky [Tue, 21 Jul 2009 16:18:04 +0000 (12:18 -0400)]
Add remaining methods to Status class, phpdoc

16 years agoAdd Horde_Date_Utils::relativeDateTime() for getting relative,
Michael J. Rubinsky [Tue, 21 Jul 2009 05:12:20 +0000 (01:12 -0400)]
Add Horde_Date_Utils::relativeDateTime() for getting relative,
natural language representation of datetimes (i.e. 2 minutes ago).

16 years agoDon't leak Horde_Oauth exceptions
Michael J. Rubinsky [Mon, 20 Jul 2009 22:37:28 +0000 (18:37 -0400)]
Don't leak Horde_Oauth exceptions

16 years agoDon't leak Horde_Http_Client exceptions
Michael J. Rubinsky [Mon, 20 Jul 2009 22:32:36 +0000 (18:32 -0400)]
Don't leak Horde_Http_Client exceptions

16 years agotry/catch with some slight hacks to deal with no error messages available
Michael J. Rubinsky [Mon, 20 Jul 2009 22:14:17 +0000 (18:14 -0400)]
try/catch with some slight hacks to deal with no error messages available
with our Http_Client library.

16 years agoFixes found through lint checking
Michael M Slusarz [Mon, 20 Jul 2009 04:58:12 +0000 (22:58 -0600)]
Fixes found through lint checking

16 years agoSwitch back to include instead of include_once.
Michael M Slusarz [Mon, 20 Jul 2009 03:08:56 +0000 (21:08 -0600)]
Switch back to include instead of include_once.

Might as well start catching all the places where we shouldn't be
including/requiring libs anymore.

16 years agoRe-add some lint fixes
Michael M Slusarz [Mon, 20 Jul 2009 04:15:59 +0000 (22:15 -0600)]
Re-add some lint fixes

16 years agoaccount/end_session requires a POST
Michael J. Rubinsky [Mon, 20 Jul 2009 19:03:29 +0000 (15:03 -0400)]
account/end_session requires a POST

16 years agoimprove salt generation for crypt-md5 passwords (lowzl@hotmail.com, Bug #8425)
Chuck Hagenbuch [Mon, 20 Jul 2009 18:10:13 +0000 (14:10 -0400)]
improve salt generation for crypt-md5 passwords (lowzl@hotmail.com, Bug #8425)

16 years agoFix logging in if vinfo doesn't exist (Bug #8444).
Jan Schneider [Mon, 20 Jul 2009 13:16:46 +0000 (15:16 +0200)]
Fix logging in if vinfo doesn't exist (Bug #8444).

16 years agoMFB: Fix sequence name, catch errors.
Jan Schneider [Mon, 20 Jul 2009 12:24:42 +0000 (14:24 +0200)]
MFB: Fix sequence name, catch errors.

16 years agoUse pgp form field only if gnupg is installed and configured.
Jan Schneider [Mon, 20 Jul 2009 10:33:01 +0000 (12:33 +0200)]
Use pgp form field only if gnupg is installed and configured.

16 years agoRemove debug output
Michael J. Rubinsky [Sun, 19 Jul 2009 19:22:25 +0000 (15:22 -0400)]
Remove debug output

16 years agoAdd constants for the various URLs needed for OAuth
Michael J. Rubinsky [Sun, 19 Jul 2009 18:28:54 +0000 (14:28 -0400)]
Add constants for the various URLs needed for OAuth

16 years agoAdd http basic authentication support.
Michael J. Rubinsky [Sun, 19 Jul 2009 18:09:18 +0000 (14:09 -0400)]
Add http basic authentication support.

If you instantiate the Horde_Service_Twitter object with a 'oauth'
parameter containing a Horde_Oauth object, it will use it...otherwise,
you should instantiate the object with username and password parameters
so it can use http basic

16 years agouse the _format property
Michael J. Rubinsky [Sun, 19 Jul 2009 17:33:25 +0000 (13:33 -0400)]
use the _format property

16 years agoAdd destroy(), show() methods and fill in update() to include a in_reply_to parameter
Michael J. Rubinsky [Sun, 19 Jul 2009 17:31:21 +0000 (13:31 -0400)]
Add destroy(), show() methods and fill in update() to include a in_reply_to parameter

16 years agoAdd some more methods to Account, some stubs, some functional
Michael J. Rubinsky [Sun, 19 Jul 2009 17:14:52 +0000 (13:14 -0400)]
Add some more methods to Account, some stubs, some functional

16 years agoAbstract out both the Auth class and the Request class, add Account class
Michael J. Rubinsky [Sun, 19 Jul 2009 17:01:10 +0000 (13:01 -0400)]
Abstract out both the Auth class and the Request class, add Account class

Abstract out Auth and Request so we can support both OAuth and Http Basic
authentication mechanisms.

Add Account class to handle the REST API's account/* methods

16 years agoThis is Horde_Oauth, not H_S_Twitter...
Michael J. Rubinsky [Sun, 19 Jul 2009 16:52:25 +0000 (12:52 -0400)]
This is Horde_Oauth, not H_S_Twitter...

16 years agophpdoc/ws
Michael J. Rubinsky [Sun, 19 Jul 2009 15:03:44 +0000 (11:03 -0400)]
phpdoc/ws

16 years agoRevert "Fix issues found during lint check"
Michael M Slusarz [Sun, 19 Jul 2009 01:46:44 +0000 (19:46 -0600)]
Revert "Fix issues found during lint check"

This reverts commit ac7af75129d89f7c3857619be921169bbff6884d.

Turns out we need double quotes for gettext strings.

16 years agoFix issues found during lint check
Michael M Slusarz [Sat, 18 Jul 2009 21:03:21 +0000 (15:03 -0600)]
Fix issues found during lint check

16 years agoClean up test mail server output
Michael M Slusarz [Fri, 17 Jul 2009 21:43:22 +0000 (15:43 -0600)]
Clean up test mail server output

16 years agophpdoc, don't throw exception when gc'ing
Michael M Slusarz [Fri, 17 Jul 2009 21:33:59 +0000 (15:33 -0600)]
phpdoc, don't throw exception when gc'ing

16 years agoReplace all Identity.php requires with a single, easily removable require in base.php
Michael M Slusarz [Fri, 17 Jul 2009 21:26:03 +0000 (15:26 -0600)]
Replace all Identity.php requires with a single, easily removable require in base.php

16 years agoUse Horde_Menu::getSiteLinks()
Michael M Slusarz [Fri, 17 Jul 2009 21:15:57 +0000 (15:15 -0600)]
Use Horde_Menu::getSiteLinks()

16 years agoMSG_SEP is no longer used.
Michael M Slusarz [Fri, 17 Jul 2009 21:11:23 +0000 (15:11 -0600)]
MSG_SEP is no longer used.

16 years agoAdd getSiteLinks()
Michael M Slusarz [Fri, 17 Jul 2009 21:15:05 +0000 (15:15 -0600)]
Add getSiteLinks()

16 years agoFix call (API func name; only takes 2 parameters).
Michael M Slusarz [Wed, 15 Jul 2009 05:11:00 +0000 (23:11 -0600)]
Fix call (API func name; only takes 2 parameters).

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 agoInitial, very basic, code for Service_Twitter
Michael J. Rubinsky [Sat, 18 Jul 2009 22:49:25 +0000 (18:49 -0400)]
Initial, very basic, code for Service_Twitter

The only functional part at this point it the OAuth authentication
and setting status. See the example file in doc/

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 agosstrip separators at the beginning of the list of tagged tokens
Chuck Hagenbuch [Sat, 18 Jul 2009 14:41:39 +0000 (10:41 -0400)]
sstrip separators at the beginning of the list of tagged tokens

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 agoMore tweaking of the fullmessage display.
Michael M Slusarz [Fri, 17 Jul 2009 20:05:06 +0000 (14:05 -0600)]
More tweaking of the fullmessage display.

16 years agoRemove all Horde::fatal()'s from horde-hatchery
Michael M Slusarz [Fri, 17 Jul 2009 19:25:37 +0000 (13:25 -0600)]
Remove all Horde::fatal()'s from horde-hatchery

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 agoHorde 4/autoloading conventions
Michael M Slusarz [Fri, 17 Jul 2009 19:19:44 +0000 (13:19 -0600)]
Horde 4/autoloading conventions

16 years agoNo need for this array_merge()
Michael M Slusarz [Fri, 17 Jul 2009 18:15:45 +0000 (12:15 -0600)]
No need for this array_merge()

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 agoCache output handling has moved to Horde
Michael M Slusarz [Fri, 17 Jul 2009 18:07:33 +0000 (12:07 -0600)]
Cache output handling has moved to Horde

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 agoInline script handling moved to Horde:: for now
Michael M Slusarz [Thu, 16 Jul 2009 20:05:27 +0000 (14:05 -0600)]
Inline script handling moved to Horde:: for now

16 years agoSpellChecker imple moved to Horde_Ajax.
Michael M Slusarz [Thu, 16 Jul 2009 19:56:52 +0000 (13:56 -0600)]
SpellChecker imple moved to Horde_Ajax.

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 agoMove imple handling to Horde_Ajax_Imple::.
Michael M Slusarz [Thu, 16 Jul 2009 19:22:28 +0000 (13:22 -0600)]
Move imple handling to Horde_Ajax_Imple::.

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

16 years agoUpgrade to Horde 4 coding conventions
Michael M Slusarz [Thu, 16 Jul 2009 17:24:31 +0000 (11:24 -0600)]
Upgrade to Horde 4 coding conventions

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 agoNeeds to be called statically.
Michael M Slusarz [Wed, 15 Jul 2009 03:38:47 +0000 (21:38 -0600)]
Needs to be called statically.

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 agoif there are no custom headers, don't throw a notice that breaks the json result...
Chuck Hagenbuch [Wed, 15 Jul 2009 02:41:25 +0000 (22:41 -0400)]
if there are no custom headers, don't throw a notice that breaks the json result (resulting in the compose window not closing, with no feedback, though the message has been sent)

16 years agoPhrase error
Duck (Jakob Munih) [Wed, 15 Jul 2009 14:09:45 +0000 (16:09 +0200)]
Phrase error

16 years agoCatch errors
Duck (Jakob Munih) [Wed, 15 Jul 2009 14:08:19 +0000 (16:08 +0200)]
Catch errors

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 agoIf a URL is passed to login.php with a valid session, send it through
Chuck Hagenbuch [Wed, 15 Jul 2009 02:26:37 +0000 (22:26 -0400)]
If a URL is passed to login.php with a valid session, send it through
redirect.php so that it's parsed and honored instead of just redirecting to the
initial IMP page.

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 agoA bit clearer null interpretation
Michael M Slusarz [Tue, 14 Jul 2009 20:38:33 +0000 (14:38 -0600)]
A bit clearer null interpretation

16 years agoFix admin actions and track changes to Horde_Auth_Application
Michael M Slusarz [Tue, 14 Jul 2009 18:33:52 +0000 (12:33 -0600)]
Fix admin actions and track changes to Horde_Auth_Application

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 agoImport turba from CVS HEAD.
Michael M Slusarz [Tue, 14 Jul 2009 05:13:35 +0000 (23:13 -0600)]
Import turba from CVS HEAD.

16 years agoFor fatal w/ Horde_Exception, no need to provide file or line numbers
Michael M Slusarz [Tue, 14 Jul 2009 04:49:32 +0000 (22:49 -0600)]
For fatal w/ Horde_Exception, no need to provide file or line numbers

16 years agoFix variable name.
Jan Schneider [Tue, 14 Jul 2009 12:51:36 +0000 (14:51 +0200)]
Fix variable name.
Return after fatal(), it doesn't exit if called in a block for example.

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 agofix parse errors - not sure on intent of the export calls though
Chuck Hagenbuch [Tue, 14 Jul 2009 05:17:20 +0000 (01:17 -0400)]
fix parse errors - not sure on intent of the export calls though

16 years agorename IMP auth driver for class loading
Chuck Hagenbuch [Tue, 14 Jul 2009 05:14:53 +0000 (01:14 -0400)]
rename IMP auth driver for class loading

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