horde.git
16 years agoMFB test for bug 8510.
Jan Schneider [Sun, 30 Aug 2009 10:05:47 +0000 (12:05 +0200)]
MFB test for bug 8510.

16 years agophpdoc
Jan Schneider [Sun, 30 Aug 2009 10:05:22 +0000 (12:05 +0200)]
phpdoc

16 years agoMFB: Fix exporting certain weekday recurrence rules to iCalendar (lst_hoe02@kwsoft...
Jan Schneider [Sun, 30 Aug 2009 10:01:58 +0000 (12:01 +0200)]
MFB: Fix exporting certain weekday recurrence rules to iCalendar (lst_hoe02@kwsoft.de, Bug #8510).

16 years agoFix test. This still isn't correct, because it should NOT consider DST changes.
Jan Schneider [Sun, 30 Aug 2009 09:52:17 +0000 (11:52 +0200)]
Fix test. This still isn't correct, because it should NOT consider DST changes.

16 years agoRevert "Implement Countable."
Chuck Hagenbuch [Sat, 29 Aug 2009 02:49:38 +0000 (22:49 -0400)]
Revert "Implement Countable."

This reverts commit d0396d8d495ed66fa088ae490a1d0ff3dbe16de9.

16 years agoImplement Countable.
Jan Schneider [Fri, 28 Aug 2009 21:08:31 +0000 (23:08 +0200)]
Implement Countable.

16 years agoFix sending illegal multiple headers when re-sending messages.
Jan Schneider [Fri, 28 Aug 2009 09:27:44 +0000 (11:27 +0200)]
Fix sending illegal multiple headers when re-sending messages.

16 years agoReturn all contries if requested, like documented.
Jan Schneider [Mon, 24 Aug 2009 20:28:46 +0000 (22:28 +0200)]
Return all contries if requested, like documented.

16 years agoAdd Horde_Auth::requireAuth()
Michael M Slusarz [Mon, 24 Aug 2009 20:05:32 +0000 (14:05 -0600)]
Add Horde_Auth::requireAuth()

16 years agoFix CSS on IE 8 - don't display IE 7 CSS
Michael M Slusarz [Mon, 24 Aug 2009 16:43:39 +0000 (10:43 -0600)]
Fix CSS on IE 8 - don't display IE 7 CSS

16 years agoAdd Horde_Auth_Application::requireAuth()
Michael M Slusarz [Mon, 24 Aug 2009 15:32:18 +0000 (09:32 -0600)]
Add Horde_Auth_Application::requireAuth()

This reverts commit 5df37f9934afeee9f4741d41f92c06cfc4b39ca9.

16 years agouse a static class var for the cached instance, and make the method protected so...
Chuck Hagenbuch [Mon, 24 Aug 2009 02:06:02 +0000 (22:06 -0400)]
use a static class var for the cached instance, and make the method protected so that subclasses can access it if appropriate

16 years agoThis check doesn't make any sense to me, and it break guest application access.
Jan Schneider [Sun, 23 Aug 2009 21:11:47 +0000 (23:11 +0200)]
This check doesn't make any sense to me, and it break guest application access.

16 years agoFix phpdoc.
Jan Schneider [Sun, 23 Aug 2009 21:04:04 +0000 (23:04 +0200)]
Fix phpdoc.

16 years agoReturn array if an array was requested.
Jan Schneider [Sun, 23 Aug 2009 13:49:12 +0000 (15:49 +0200)]
Return array if an array was requested.

16 years agoCache browser object, don't use singleton().
Jan Schneider [Sun, 23 Aug 2009 13:40:30 +0000 (15:40 +0200)]
Cache browser object, don't use singleton().

16 years agoDon't use singleton().
Jan Schneider [Sun, 23 Aug 2009 13:36:12 +0000 (15:36 +0200)]
Don't use singleton().

16 years agoFix charset caching.
Jan Schneider [Sun, 23 Aug 2009 13:35:32 +0000 (15:35 +0200)]
Fix charset caching.

16 years agophpdoc fixes
Jan Schneider [Sat, 22 Aug 2009 15:33:42 +0000 (17:33 +0200)]
phpdoc fixes

16 years agoHorde_Mime_Part::parseMessage() correctly parses non-MIME parts.
Michael M Slusarz [Thu, 20 Aug 2009 19:50:07 +0000 (13:50 -0600)]
Horde_Mime_Part::parseMessage() correctly parses non-MIME parts.

16 years agocatch exceptions when apis don't exist in hasAppMethod and _loadApiCache
Chuck Hagenbuch [Fri, 21 Aug 2009 17:50:24 +0000 (13:50 -0400)]
catch exceptions when apis don't exist in hasAppMethod and _loadApiCache

16 years agostart working on Horde_Support_Backtrace, an object to make it easier to get pieces...
Chuck Hagenbuch [Fri, 21 Aug 2009 17:48:27 +0000 (13:48 -0400)]
start working on Horde_Support_Backtrace, an object to make it easier to get pieces of the calling history

16 years agoHelps to actually unset the timezone.
Jan Schneider [Thu, 20 Aug 2009 21:42:20 +0000 (23:42 +0200)]
Helps to actually unset the timezone.

16 years agoMFB: Set timezone on logging (Bug #8496).
Jan Schneider [Thu, 20 Aug 2009 16:38:17 +0000 (18:38 +0200)]
MFB: Set timezone on logging (Bug #8496).

16 years agoanother link, about PUT variables
Chuck Hagenbuch [Thu, 20 Aug 2009 19:36:39 +0000 (15:36 -0400)]
another link, about PUT variables

16 years agoBug #8475: Fix parameter order
Michael M Slusarz [Wed, 19 Aug 2009 22:36:34 +0000 (16:36 -0600)]
Bug #8475: Fix parameter order

16 years agoBug #8505: Encode URL parameters with rawurlencode().
Michael M Slusarz [Wed, 19 Aug 2009 19:18:09 +0000 (13:18 -0600)]
Bug #8505: Encode URL parameters with rawurlencode().

Need this instead of urlencode() since these URLs may be parsed by a
language (i.e. javascript) that uses strict RFC 1738 encoding.

16 years agophpdoc for authLoginParams() data
Michael M Slusarz [Wed, 19 Aug 2009 18:36:32 +0000 (12:36 -0600)]
phpdoc for authLoginParams() data

16 years agoBug #8475: Fix SHOW permissions if not authenticated to app
Michael M Slusarz [Wed, 19 Aug 2009 18:08:08 +0000 (12:08 -0600)]
Bug #8475: Fix SHOW permissions if not authenticated to app

16 years agoFix negating instanceof.
Jan Schneider [Tue, 18 Aug 2009 08:52:31 +0000 (10:52 +0200)]
Fix negating instanceof.
Handle exceptions.

16 years agoBug #8498: If not logged in, and doing horde auth, use auth driver rather than applic...
Michael M Slusarz [Mon, 17 Aug 2009 23:54:29 +0000 (17:54 -0600)]
Bug #8498: If not logged in, and doing horde auth, use auth driver rather than application driver

16 years agoBug #8498: Fix setting auth credentials in session for auto driver.
Michael M Slusarz [Mon, 17 Aug 2009 23:49:57 +0000 (17:49 -0600)]
Bug #8498: Fix setting auth credentials in session for auto driver.

16 years agoFix processing of app logintasks after login
Michael M Slusarz [Mon, 17 Aug 2009 20:58:51 +0000 (14:58 -0600)]
Fix processing of app logintasks after login

16 years agoAdd Horde_LoginTasks::getLabels()
Michael M Slusarz [Mon, 17 Aug 2009 05:13:38 +0000 (23:13 -0600)]
Add Horde_LoginTasks::getLabels()

16 years agoFix undefined error warnings
Michael M Slusarz [Sun, 16 Aug 2009 22:54:41 +0000 (16:54 -0600)]
Fix undefined error warnings

16 years agoTry with public.
Jan Schneider [Mon, 17 Aug 2009 14:43:04 +0000 (16:43 +0200)]
Try with public.

16 years agoAdd explanation.
Jan Schneider [Mon, 17 Aug 2009 14:34:14 +0000 (16:34 +0200)]
Add explanation.

16 years agoFix incomplete merge.
Jan Schneider [Mon, 17 Aug 2009 14:32:24 +0000 (16:32 +0200)]
Fix incomplete merge.

16 years agomore verbose method name than _getOb
Chuck Hagenbuch [Mon, 17 Aug 2009 02:28:40 +0000 (22:28 -0400)]
more verbose method name than _getOb

16 years agothrow an exception if an API class doesn't exist, instead of a fatal error
Chuck Hagenbuch [Mon, 17 Aug 2009 02:27:43 +0000 (22:27 -0400)]
throw an exception if an API class doesn't exist, instead of a fatal error

16 years agoFix typo
Michael M Slusarz [Sat, 15 Aug 2009 19:58:49 +0000 (13:58 -0600)]
Fix typo

16 years agoCorrectly identify disabled application methods
Michael M Slusarz [Sat, 15 Aug 2009 19:55:11 +0000 (13:55 -0600)]
Correctly identify disabled application methods

16 years agoCan't call hasMethod() when generating a link - the method name will never exist.
Michael J. Rubinsky [Sat, 15 Aug 2009 19:37:59 +0000 (15:37 -0400)]
Can't call hasMethod() when generating a link - the method name will never exist.

No need to call Horde_Registry::hasMethod() from linkByPackage() anymore since we now
load the api cache directly from the linkByPackage() - the hasMethod() call was always
failing since the name of the link does not exist as a true API method call.

16 years agoWe need to wrap session_destroy() to avoid warnings if no session has been started.
Jan Schneider [Sat, 15 Aug 2009 08:26:05 +0000 (10:26 +0200)]
We need to wrap session_destroy() to avoid warnings if no session has been started.

16 years agoDestroy session when CLI script ends.
Jan Schneider [Fri, 14 Aug 2009 21:58:38 +0000 (23:58 +0200)]
Destroy session when CLI script ends.

16 years agoFix sequence escaping for PostgreSQL.
Gonçalo Queirós [Fri, 14 Aug 2009 13:39:44 +0000 (15:39 +0200)]
Fix sequence escaping for PostgreSQL.

16 years agoFix version number calculation.
Jan Schneider [Thu, 13 Aug 2009 19:09:07 +0000 (21:09 +0200)]
Fix version number calculation.

16 years agoMFB: Pass user's password to the signup_addextra hook.
Jan Schneider [Thu, 13 Aug 2009 16:00:32 +0000 (18:00 +0200)]
MFB: Pass user's password to the signup_addextra hook.

16 years agoFix cache ID generation if CONDSTORE is available on the server
Michael M Slusarz [Wed, 12 Aug 2009 04:40:02 +0000 (22:40 -0600)]
Fix cache ID generation if CONDSTORE is available on the server

16 years agoFix callAppMethod() calls
Michael M Slusarz [Tue, 11 Aug 2009 21:28:03 +0000 (15:28 -0600)]
Fix callAppMethod() calls

16 years agoIMP doesn't have base.php anymore
Michael M Slusarz [Tue, 11 Aug 2009 21:22:23 +0000 (15:22 -0600)]
IMP doesn't have base.php anymore

16 years agoConvert Horde_Auth_Application to use Horde_Registry_Application interface
Michael M Slusarz [Thu, 6 Aug 2009 05:02:55 +0000 (23:02 -0600)]
Convert Horde_Auth_Application to use Horde_Registry_Application interface

16 years agoAdd Horde_Registry::callAppMethod() and hasAppMethod()
Michael M Slusarz [Thu, 6 Aug 2009 04:50:33 +0000 (22:50 -0600)]
Add Horde_Registry::callAppMethod() and hasAppMethod()

16 years agoAdd Horde_Registry_Application
Michael M Slusarz [Thu, 6 Aug 2009 04:27:53 +0000 (22:27 -0600)]
Add Horde_Registry_Application

16 years agoRemove $services and $types vars from API interface
Michael M Slusarz [Wed, 5 Aug 2009 23:02:02 +0000 (17:02 -0600)]
Remove $services and $types vars from API interface

16 years agoSupport IE conditional comments
Michael M Slusarz [Mon, 10 Aug 2009 05:17:14 +0000 (23:17 -0600)]
Support IE conditional comments

16 years agoMoz 1.4 CSS file no longer needed - switch to mozilla.css instead
Michael M Slusarz [Mon, 10 Aug 2009 05:09:46 +0000 (23:09 -0600)]
Moz 1.4 CSS file no longer needed - switch to mozilla.css instead

16 years agoThe first Net_DNS entry might be a CNAME, which doesn't have the ptrdname info
Michael M Slusarz [Fri, 7 Aug 2009 20:51:01 +0000 (14:51 -0600)]
The first Net_DNS entry might be a CNAME, which doesn't have the ptrdname info

16 years agoAdd constants for the FM tags we will be using.
Michael J. Rubinsky [Fri, 7 Aug 2009 19:03:22 +0000 (15:03 -0400)]
Add constants for the FM tags we will be using.

The RELEASE_NOTES files should be modified to use these constants
in place of the current integers used for the focus.  A singe constant
can be used, or an array of constants may be passed to add more then
one focus/tag.

16 years agoUse Horde_Exceptions here
Michael J. Rubinsky [Fri, 7 Aug 2009 13:27:58 +0000 (09:27 -0400)]
Use Horde_Exceptions here

16 years ago...and remove the debug code.
Michael J. Rubinsky [Fri, 7 Aug 2009 00:05:05 +0000 (20:05 -0400)]
...and remove the debug code.

16 years agoFirst attempt at refactoring to use the new fm restful api
Michael J. Rubinsky [Thu, 6 Aug 2009 23:59:27 +0000 (19:59 -0400)]
First attempt at refactoring to use the new fm restful api

Update to use the new FM API. Also fix some things that broke during
the H4 refactor.  Tested to the point that I successfully ran a --dryrun
for a new Ansel release, also tested the GET call to the urls.json method,
but haven't yet tested the PUT methods yet.

16 years agoFix some typos; add missing line
Michael M Slusarz [Thu, 6 Aug 2009 21:09:37 +0000 (15:09 -0600)]
Fix some typos; add missing line

16 years agoHorde_Auth::authenticationFailureRedirect -> Horde_Auth::authenticateFailure
Michael M Slusarz [Thu, 6 Aug 2009 03:30:34 +0000 (21:30 -0600)]
Horde_Auth::authenticationFailureRedirect -> Horde_Auth::authenticateFailure

16 years agoRevert "Remove $services and $types vars from API interface"
Michael M Slusarz [Wed, 5 Aug 2009 23:07:59 +0000 (17:07 -0600)]
Revert "Remove $services and $types vars from API interface"

This reverts commit aa0a1c4a1fe7c0c3c0843e62572005012fca8bac.

16 years agoRemove $services and $types vars from API interface
Michael M Slusarz [Wed, 5 Aug 2009 23:02:02 +0000 (17:02 -0600)]
Remove $services and $types vars from API interface

16 years agoBug #8475: Fix hasPermission()
Michael M Slusarz [Wed, 5 Aug 2009 18:59:47 +0000 (12:59 -0600)]
Bug #8475: Fix hasPermission()

16 years agoFix alert determination.
Michael M Slusarz [Wed, 5 Aug 2009 18:22:04 +0000 (12:22 -0600)]
Fix alert determination.

16 years agoClear alerts stack after calling alerts()
Michael M Slusarz [Wed, 5 Aug 2009 17:57:54 +0000 (11:57 -0600)]
Clear alerts stack after calling alerts()

16 years agoBug #8475: Better way to make sure system tasks are always run
Michael M Slusarz [Wed, 5 Aug 2009 08:32:55 +0000 (02:32 -0600)]
Bug #8475: Better way to make sure system tasks are always run

16 years agoFix paren placement
Michael M Slusarz [Wed, 5 Aug 2009 04:49:29 +0000 (22:49 -0600)]
Fix paren placement

16 years agoMake sure systemtasks are always run before logintasks
Michael M Slusarz [Wed, 5 Aug 2009 04:05:21 +0000 (22:05 -0600)]
Make sure systemtasks are always run before logintasks

16 years agoAssuming this was left as include_once inadvertanly, chnage it back
Michael J. Rubinsky [Wed, 5 Aug 2009 00:51:56 +0000 (20:51 -0400)]
Assuming this was left as include_once inadvertanly, chnage it back
to include.

16 years agoOptimize autoloading.
Michael M Slusarz [Tue, 4 Aug 2009 23:23:52 +0000 (17:23 -0600)]
Optimize autoloading.

Run through class patterns first before trying to use include paths.
This prevents us from having to add applications to the include path, so
PEAR/external libs shouldn't try to load libraries that have the same
basenames as an application library.

16 years agoFix popup link
Michael M Slusarz [Tue, 4 Aug 2009 22:29:58 +0000 (16:29 -0600)]
Fix popup link

16 years agoExpand use of getServiceLink().
Michael M Slusarz [Tue, 4 Aug 2009 22:09:24 +0000 (16:09 -0600)]
Expand use of getServiceLink().

It should be used for more than just service links that can be viewed
via the menu - it should be used for *any* service link so that URI
generation is consistent across all applications.

16 years agoFiner-grained control of script loading order
Michael M Slusarz [Tue, 4 Aug 2009 21:02:45 +0000 (15:02 -0600)]
Finer-grained control of script loading order

16 years agoDon't silence include_once, and allow Api.php to not exist.
Jan Schneider [Tue, 4 Aug 2009 21:24:31 +0000 (23:24 +0200)]
Don't silence include_once, and allow Api.php to not exist.

16 years agoUse Horde_String::ucfirst().
Jan Schneider [Tue, 4 Aug 2009 20:47:16 +0000 (22:47 +0200)]
Use Horde_String::ucfirst().

16 years agoWill discuss this with Chuck, but until then, make this an incldue_once
Michael J. Rubinsky [Tue, 4 Aug 2009 19:53:52 +0000 (15:53 -0400)]
Will discuss this with Chuck, but until then, make this an incldue_once
to avoid fatal Cannot redeclare Class errors when using any external libraries.

16 years agoNeed to ucfirst() the appname when trying to load it's API class
Michael J. Rubinsky [Tue, 4 Aug 2009 19:53:26 +0000 (15:53 -0400)]
Need to ucfirst() the appname when trying to load it's API class

16 years agoAdd 'load_base' option to pushApp()
Michael M Slusarz [Tue, 4 Aug 2009 19:12:28 +0000 (13:12 -0600)]
Add 'load_base' option to pushApp()

16 years agoMake CSS compression configurable
Michael M Slusarz [Tue, 4 Aug 2009 18:53:57 +0000 (12:53 -0600)]
Make CSS compression configurable

16 years agoAdd some more info on Prefs UI functions
Michael M Slusarz [Tue, 4 Aug 2009 08:39:33 +0000 (02:39 -0600)]
Add some more info on Prefs UI functions

16 years agoFix usage of truncate length
Michael M Slusarz [Tue, 4 Aug 2009 07:13:13 +0000 (01:13 -0600)]
Fix usage of truncate length

16 years agoAdd a bit of API documentation
Michael M Slusarz [Tue, 4 Aug 2009 04:23:24 +0000 (22:23 -0600)]
Add a bit of API documentation

This should eventually be done elsewhere, but keep the info here for
now so it doesn't get lost.

16 years agoImplement new API framework.
Michael M Slusarz [Tue, 4 Aug 2009 00:10:31 +0000 (18:10 -0600)]
Implement new API framework.

See Horde_Registry_Api:: for a brief rundown on what the new API files
need.

16 years agoFix param name
Michael M Slusarz [Mon, 3 Aug 2009 19:18:12 +0000 (13:18 -0600)]
Fix param name

16 years agoRevert "BC"
Jan Schneider [Mon, 3 Aug 2009 18:39:28 +0000 (20:39 +0200)]
Revert "BC"

This reverts commit e652e9d819dfc582a3bd69286c7ef0e335593525.

16 years agoBC
Jan Schneider [Mon, 3 Aug 2009 16:33:12 +0000 (18:33 +0200)]
BC

16 years agoAdd support for yui and no js compression
Michael M Slusarz [Mon, 3 Aug 2009 05:30:09 +0000 (23:30 -0600)]
Add support for yui and no js compression

16 years agoAdd YUI Compressor support to javascript minify filter.
Michael M Slusarz [Mon, 3 Aug 2009 05:03:43 +0000 (23:03 -0600)]
Add YUI Compressor support to javascript minify filter.

16 years agoOptimizations
Michael M Slusarz [Sun, 2 Aug 2009 21:46:47 +0000 (15:46 -0600)]
Optimizations

16 years agoMinify forced view javascript files (i.e. prototype.js)
Michael M Slusarz [Sat, 1 Aug 2009 22:47:47 +0000 (16:47 -0600)]
Minify forced view javascript files (i.e. prototype.js)

16 years agoOAuth signature verification requires that the method used to make
Michael J. Rubinsky [Mon, 3 Aug 2009 03:27:20 +0000 (23:27 -0400)]
OAuth signature verification requires that the method used to make
the request be considered when signing the request...we can't assume
we are always using POST - this will cause requests to fail.

16 years agoFix missing ']'.
Matt Selsky [Sun, 2 Aug 2009 15:16:25 +0000 (11:16 -0400)]
Fix missing ']'.

16 years agoTypo
Jan Schneider [Sat, 1 Aug 2009 11:23:04 +0000 (13:23 +0200)]
Typo

16 years agoNeed to add popup localized text in here so it is always included, even if popup...
Michael M Slusarz [Fri, 31 Jul 2009 21:14:44 +0000 (15:14 -0600)]
Need to add popup localized text in here so it is always included, even if popup.js is directly included

16 years agoWe will never be requesting prototye.js in this function.
Michael J. Rubinsky [Fri, 31 Jul 2009 21:51:16 +0000 (17:51 -0400)]
We will never be requesting prototye.js in this function.

16 years agoMake sure prototype is included from addExternal() as well,
Michael J. Rubinsky [Fri, 31 Jul 2009 21:34:19 +0000 (17:34 -0400)]
Make sure prototype is included from addExternal() as well,
otherwise includeing an external script file before any other horde
file would cause prototype.js to not be loaded.