horde.git
15 years agoMFB
Jan Schneider [Thu, 21 Oct 2010 11:58:03 +0000 (13:58 +0200)]
MFB

15 years agoMFB
Jan Schneider [Thu, 21 Oct 2010 11:57:15 +0000 (13:57 +0200)]
MFB

15 years agoHardcode charset (Bug #9285).
Jan Schneider [Thu, 21 Oct 2010 11:45:08 +0000 (13:45 +0200)]
Hardcode charset (Bug #9285).

15 years agoFix method name (Bug #9326).
Jan Schneider [Thu, 21 Oct 2010 09:00:38 +0000 (11:00 +0200)]
Fix method name (Bug #9326).

15 years agoReport the correct class name in exception.
Jan Schneider [Wed, 20 Oct 2010 16:39:13 +0000 (18:39 +0200)]
Report the correct class name in exception.

15 years agoRe-add the $clear parameter instead.
Jan Schneider [Wed, 20 Oct 2010 16:21:04 +0000 (18:21 +0200)]
Re-add the $clear parameter instead.

15 years agoAdd $Id$ tag.
Jan Schneider [Wed, 20 Oct 2010 15:18:17 +0000 (17:18 +0200)]
Add $Id$ tag.

15 years agoBug #9297: More hacks to fix IFRAME height for troublesome HTML data
Michael M Slusarz [Thu, 21 Oct 2010 06:33:48 +0000 (00:33 -0600)]
Bug #9297: More hacks to fix IFRAME height for troublesome HTML data

15 years agoBug #4480: always show mailbox list, even on ACL list error
Michael M Slusarz [Thu, 21 Oct 2010 06:04:33 +0000 (00:04 -0600)]
Bug #4480: always show mailbox list, even on ACL list error

15 years agoACL management page tweaks
Michael M Slusarz [Thu, 21 Oct 2010 05:58:03 +0000 (23:58 -0600)]
ACL management page tweaks

15 years agoFix scope
Michael M Slusarz [Thu, 21 Oct 2010 05:48:27 +0000 (23:48 -0600)]
Fix scope

15 years agoTypo
Michael M Slusarz [Thu, 21 Oct 2010 01:29:04 +0000 (19:29 -0600)]
Typo

15 years agoBug #9320: Fix variable name
Chuck Hagenbuch [Thu, 21 Oct 2010 05:37:15 +0000 (01:37 -0400)]
Bug #9320: Fix variable name

15 years agono back button in the login page header; don't show mode and language selection on...
Chuck Hagenbuch [Thu, 21 Oct 2010 05:33:09 +0000 (01:33 -0400)]
no back button in the login page header; don't show mode and language selection on the mobile login screen

15 years agoFirst cut at a jquery-mobile mobile login page
Chuck Hagenbuch [Thu, 21 Oct 2010 03:22:27 +0000 (23:22 -0400)]
First cut at a jquery-mobile mobile login page

15 years agoBug #9313: Fix logintask confirmation
Michael M Slusarz [Thu, 21 Oct 2010 01:22:43 +0000 (19:22 -0600)]
Bug #9313: Fix logintask confirmation

Session data type might change - if it changes from array/object to
scalar, remove the typehint declaration stored in the session.

Possibly fixes Bug #9324
Possibly fixes Bug #9325

15 years agoUnneeded assignment
Michael M Slusarz [Thu, 21 Oct 2010 01:20:43 +0000 (19:20 -0600)]
Unneeded assignment

15 years agoBug #9321: Actually return something from this method
Michael M Slusarz [Wed, 20 Oct 2010 23:08:55 +0000 (17:08 -0600)]
Bug #9321: Actually return something from this method

15 years agophpdoc
Michael M Slusarz [Wed, 20 Oct 2010 18:54:02 +0000 (12:54 -0600)]
phpdoc

15 years agoBug #9308: Fix variable name
Michael M Slusarz [Wed, 20 Oct 2010 18:15:44 +0000 (12:15 -0600)]
Bug #9308: Fix variable name

15 years agophpdoc
Michael M Slusarz [Wed, 20 Oct 2010 18:03:13 +0000 (12:03 -0600)]
phpdoc

15 years agoGet an array back from json_decode here.
Michael J. Rubinsky [Wed, 20 Oct 2010 17:52:24 +0000 (13:52 -0400)]
Get an array back from json_decode here.

15 years agoThese are static methods, can't use $this
Michael J. Rubinsky [Wed, 20 Oct 2010 17:47:27 +0000 (13:47 -0400)]
These are static methods, can't use $this

15 years agoHide pref groups using application method
Michael M Slusarz [Wed, 20 Oct 2010 05:43:27 +0000 (23:43 -0600)]
Hide pref groups using application method

15 years agoTweaks
Michael M Slusarz [Wed, 20 Oct 2010 05:38:19 +0000 (23:38 -0600)]
Tweaks

15 years agoConvert a raiseError to exception throwing
Michael M Slusarz [Wed, 20 Oct 2010 05:33:38 +0000 (23:33 -0600)]
Convert a raiseError to exception throwing

15 years agoMove Horde-specific code out of horde/Prefs and into horde/Core
Michael M Slusarz [Tue, 19 Oct 2010 23:00:18 +0000 (17:00 -0600)]
Move Horde-specific code out of horde/Prefs and into horde/Core

Includes the prefs.php configuration loading and hooks code.

15 years agoDon't cache prefs if using session storage driver
Michael M Slusarz [Tue, 19 Oct 2010 22:59:50 +0000 (16:59 -0600)]
Don't cache prefs if using session storage driver

15 years agoSimplify preference hooks.
Michael M Slusarz [Fri, 15 Oct 2010 20:59:39 +0000 (14:59 -0600)]
Simplify preference hooks.

Instead of having separate hooks for each preference, define single hook
for each of the preference events (init, change) and pass these hooks
the preference name.

15 years agoFix undefined index error
Michael M Slusarz [Tue, 19 Oct 2010 21:44:50 +0000 (15:44 -0600)]
Fix undefined index error

15 years agoAbstract prefs storage code into Horde_Prefs_Storage.
Michael M Slusarz [Fri, 15 Oct 2010 22:02:55 +0000 (16:02 -0600)]
Abstract prefs storage code into Horde_Prefs_Storage.

Jan and I talked about using a stack system for retrieving prefs data
from storage.  After discussion, determined that cache storage won't
work in the stack system for several reasons.  However, it may be
possible to implement otherwise.  For example, in Horde, there would be
2 stack drivers.  The first is a read-only driver that returns the
default values from the prefs.php files.  The second would be the
persistent storage driver.

15 years agoscope
Michael J. Rubinsky [Wed, 20 Oct 2010 16:06:51 +0000 (12:06 -0400)]
scope

15 years agoCatch errors from remote calendars, they shouldn't cause fatal errors.
Michael J. Rubinsky [Wed, 20 Oct 2010 15:39:11 +0000 (11:39 -0400)]
Catch errors from remote calendars, they shouldn't cause fatal errors.

15 years agofix parse error
Michael J. Rubinsky [Wed, 20 Oct 2010 15:25:36 +0000 (11:25 -0400)]
fix parse error

15 years agoFix log level name.
Jan Schneider [Tue, 19 Oct 2010 19:34:17 +0000 (21:34 +0200)]
Fix log level name.

15 years agoFix session initialization again.
Jan Schneider [Tue, 19 Oct 2010 17:24:05 +0000 (19:24 +0200)]
Fix session initialization again.

15 years agoDon't make client addressbook source a required configuration parameter.
Michael J. Rubinsky [Wed, 20 Oct 2010 14:59:56 +0000 (10:59 -0400)]
Don't make client addressbook source a required configuration parameter.

Chicken and egg problem: when turba is first installed, and using a source like
localsql with shares enabled, there will be no existing address books found to list.
If left unpopulated, this will cause client/* api calls to fail, but before we made
this a select list, we made it default to 'localsql' - which would cause the clients/*
api methods to fail since that's not a valid source when using shares.

 So, making this non-required doesn't loose anything we had before.

15 years agoFix opening new compose message with to address
Michael M Slusarz [Tue, 19 Oct 2010 19:00:59 +0000 (13:00 -0600)]
Fix opening new compose message with to address

15 years agoSimplify
Michael M Slusarz [Tue, 19 Oct 2010 18:35:43 +0000 (12:35 -0600)]
Simplify

15 years agoFix typo
Michael M Slusarz [Tue, 19 Oct 2010 18:35:27 +0000 (12:35 -0600)]
Fix typo

15 years agoBug #9318: Syslog should respect confs
Gonçalo Queirós [Tue, 19 Oct 2010 15:06:25 +0000 (16:06 +0100)]
Bug #9318: Syslog should respect confs

Signed-off-by: Michael M Slusarz <slusarz@curecanti.org>
15 years agoUse _scopes array only - no need to maintain separate _prefs array.
Michael M Slusarz [Fri, 15 Oct 2010 22:36:55 +0000 (16:36 -0600)]
Use _scopes array only - no need to maintain separate _prefs array.

15 years agoRemoved 'shared' feature of Horde_Prefs.
Michael M Slusarz [Fri, 15 Oct 2010 22:45:47 +0000 (16:45 -0600)]
Removed 'shared' feature of Horde_Prefs.

Defeats the whole purpose of decoupling the various applications.
Additionally, doesn't make much sense to declare horde
prefs 'shared' since they are always used as a fallback if the prefname
doesn't exist in the local scope.

Preference values from other applications should be accessed via an
application's API instead.  This is already what we do, for example, to
get the search_sources pref in IMP/Turba.

Not really sure how this was supposed to work anyway, since shared prefs
were totally dependent on the order in which the app was loaded. Simply
put, global prefs need to live in horde.

15 years agoFixes for charset changes - make Cleanhtml work properly again
Michael M Slusarz [Mon, 18 Oct 2010 23:48:33 +0000 (17:48 -0600)]
Fixes for charset changes - make Cleanhtml work properly again

15 years agoRemove unneeded space
Michael M Slusarz [Mon, 18 Oct 2010 21:31:50 +0000 (15:31 -0600)]
Remove unneeded space

15 years agoBug #9315: Fix setting session_cache_limiter value
Michael M Slusarz [Mon, 18 Oct 2010 21:27:33 +0000 (15:27 -0600)]
Bug #9315: Fix setting session_cache_limiter value

15 years agoMerge from CVS HEAD
Michael M Slusarz [Mon, 18 Oct 2010 18:10:01 +0000 (12:10 -0600)]
Merge from CVS HEAD

15 years agoKeep track of dirty prefs so we don't have to iterate through potentially large array...
Michael M Slusarz [Fri, 15 Oct 2010 22:12:29 +0000 (16:12 -0600)]
Keep track of dirty prefs so we don't have to iterate through potentially large array at end of every access

15 years agoUpdate to new session initialization (Bug #9314).
Jan Schneider [Tue, 19 Oct 2010 16:33:42 +0000 (18:33 +0200)]
Update to new session initialization (Bug #9314).

15 years agoMissed this field when upgrade scripts refactored to migrations.
Michael J. Rubinsky [Tue, 19 Oct 2010 03:44:26 +0000 (23:44 -0400)]
Missed this field when upgrade scripts refactored to migrations.

15 years agoUpdate package.xml.
Jan Schneider [Mon, 18 Oct 2010 23:31:42 +0000 (01:31 +0200)]
Update package.xml.

15 years agoFix method call.
Jan Schneider [Mon, 18 Oct 2010 23:27:13 +0000 (01:27 +0200)]
Fix method call.
Reset attributes and components.

15 years agoFix charset.
Jan Schneider [Mon, 18 Oct 2010 23:26:26 +0000 (01:26 +0200)]
Fix charset.

15 years agoMFB: Fix importing recurrence exceptions from vCalendar 1.0.
Jan Schneider [Mon, 18 Oct 2010 23:10:55 +0000 (01:10 +0200)]
MFB: Fix importing recurrence exceptions from vCalendar 1.0.

15 years agoMFB: Fix test.
Jan Schneider [Mon, 18 Oct 2010 22:59:35 +0000 (00:59 +0200)]
MFB: Fix test.

15 years agoMFB: Add import test.
Jan Schneider [Mon, 18 Oct 2010 22:55:31 +0000 (00:55 +0200)]
MFB: Add import test.

15 years agoCatch empty sources dir.
Gunnar Wrobel [Mon, 18 Oct 2010 15:06:59 +0000 (17:06 +0200)]
Catch empty sources dir.

15 years agoCatch output.
Gunnar Wrobel [Mon, 18 Oct 2010 14:59:00 +0000 (16:59 +0200)]
Catch output.

15 years agoEnsure the horde channel is present when preparing a component for installation.
Gunnar Wrobel [Mon, 18 Oct 2010 14:58:37 +0000 (16:58 +0200)]
Ensure the horde channel is present when preparing a component for installation.

15 years agoImproved error handling.
Gunnar Wrobel [Mon, 18 Oct 2010 13:22:45 +0000 (15:22 +0200)]
Improved error handling.

15 years agoIt is no longer required to provide a dummy value here.
Gunnar Wrobel [Mon, 18 Oct 2010 12:47:36 +0000 (14:47 +0200)]
It is no longer required to provide a dummy value here.

15 years agoInstall files from the 'locale' directory.
Gunnar Wrobel [Mon, 18 Oct 2010 12:47:11 +0000 (14:47 +0200)]
Install files from the 'locale' directory.

15 years agoUpdated package.xml (includes locale files). Made translation optional.
Gunnar Wrobel [Mon, 18 Oct 2010 12:46:47 +0000 (14:46 +0200)]
Updated package.xml (includes locale files). Made translation optional.

For Horde_Cli I think we should indeed allow to avoid using dependency
injection as that might be too much overhead in some cases. So calling
initTranslation() will try to create the translation factory in case
it exists and has not been provided to the init() call.

15 years agoAdded a mock translation handler and translation factories.
Gunnar Wrobel [Mon, 18 Oct 2010 12:36:17 +0000 (14:36 +0200)]
Added a mock translation handler and translation factories.

Creating new translation handlers within the classes that use
translated texts breaks the idea of dependency injection.
Providing such classes with a factory that delivers the
translation handler on demand seems to be more flexible to me.

Horde_Translation_Factory_Gettext also distinguishes between
repository checkout and installed PEAR package. In both
situations the locale directories are placed into different
locations.

15 years agoUse setlocale. Catch errors when setting locale. Restore environment after test.
Gunnar Wrobel [Mon, 18 Oct 2010 05:06:13 +0000 (07:06 +0200)]
Use setlocale. Catch errors when setting locale. Restore environment after test.

For me the test didn't run without also calling setlocale(). Added
this based on the PHPUnit setLocale() call which resets to the
old locale after testing.

In case setting the locale fails the tests will be skipped.

I'm not certain how environment variables will be handled by PHPUnit
but to be on the safe side I rather reset them after the test.

15 years agoPPP
Jan Schneider [Mon, 18 Oct 2010 12:08:14 +0000 (14:08 +0200)]
PPP

15 years agoMake class names autoloadable.
Jan Schneider [Mon, 18 Oct 2010 11:45:26 +0000 (13:45 +0200)]
Make class names autoloadable.

15 years agoUse exceptions.
Jan Schneider [Mon, 18 Oct 2010 11:01:33 +0000 (13:01 +0200)]
Use exceptions.

15 years agoThese require to pass a charset now.
Jan Schneider [Mon, 18 Oct 2010 10:59:44 +0000 (12:59 +0200)]
These require to pass a charset now.

15 years agoFix parse error.
Jan Schneider [Mon, 18 Oct 2010 10:40:37 +0000 (12:40 +0200)]
Fix parse error.

15 years agoMFB: Silence warnings.
Jan Schneider [Mon, 18 Oct 2010 10:23:12 +0000 (12:23 +0200)]
MFB: Silence warnings.

15 years agoCharset is always UTF-8 now
Chuck Hagenbuch [Mon, 18 Oct 2010 01:12:05 +0000 (21:12 -0400)]
Charset is always UTF-8 now

15 years agoSlightly better error message when a repository slug isn't found. Still need to catch...
Chuck Hagenbuch [Mon, 18 Oct 2010 00:55:17 +0000 (20:55 -0400)]
Slightly better error message when a repository slug isn't found. Still need to catch all of these exceptions and wrap them in a nice error page.

15 years agoFix mime types for those that are handled by the source code highlighter.
Michael J. Rubinsky [Sun, 17 Oct 2010 22:36:28 +0000 (18:36 -0400)]
Fix mime types for those that are handled by the source code highlighter.

These need to be application/x-extension-*  and not x-extension/*

15 years agoRequires the translation package.
Gunnar Wrobel [Sun, 17 Oct 2010 21:53:14 +0000 (23:53 +0200)]
Requires the translation package.

15 years agoFix parse error
Michael J. Rubinsky [Sun, 17 Oct 2010 20:27:55 +0000 (16:27 -0400)]
Fix parse error

15 years agoSilence decompression errors
Michael M Slusarz [Fri, 15 Oct 2010 20:01:50 +0000 (14:01 -0600)]
Silence decompression errors

15 years agoHorde_Session does required serialization for us
Michael M Slusarz [Fri, 15 Oct 2010 19:49:24 +0000 (13:49 -0600)]
Horde_Session does required serialization for us

15 years agoMake sure TOS file exists
Michael M Slusarz [Fri, 15 Oct 2010 19:46:01 +0000 (13:46 -0600)]
Make sure TOS file exists

15 years agoPrevent undefined errors
Michael M Slusarz [Fri, 15 Oct 2010 19:11:47 +0000 (13:11 -0600)]
Prevent undefined errors

15 years agoAdd/use Horde_Session based prefs caching driver
Michael M Slusarz [Fri, 15 Oct 2010 19:06:38 +0000 (13:06 -0600)]
Add/use Horde_Session based prefs caching driver

15 years agoSplit prefs caching into separate class.
Michael M Slusarz [Thu, 14 Oct 2010 22:32:03 +0000 (16:32 -0600)]
Split prefs caching into separate class.

15 years agobuffer this output to avoid warnings from creating new session after headers are...
Michael J. Rubinsky [Fri, 15 Oct 2010 18:05:50 +0000 (14:05 -0400)]
buffer this output to avoid warnings from creating new session after headers are sent

15 years agoBreak out Horde/Vcs classes into autoloadable files
Michael J. Rubinsky [Fri, 15 Oct 2010 18:05:02 +0000 (14:05 -0400)]
Break out Horde/Vcs classes into autoloadable files

15 years agoFix unsetting app data in session
Michael M Slusarz [Fri, 15 Oct 2010 16:27:37 +0000 (10:27 -0600)]
Fix unsetting app data in session

15 years agoAllow full classname to be passed to Horde_Prefs
Michael M Slusarz [Thu, 14 Oct 2010 22:37:29 +0000 (16:37 -0600)]
Allow full classname to be passed to Horde_Prefs

15 years agoFix incorrect translation call
Michael M Slusarz [Thu, 14 Oct 2010 22:46:26 +0000 (16:46 -0600)]
Fix incorrect translation call

15 years agoAdd Horde_Core_Prefs_Session and use it as the Horde prefs driver
Michael M Slusarz [Thu, 14 Oct 2010 18:10:57 +0000 (12:10 -0600)]
Add Horde_Core_Prefs_Session and use it as the Horde prefs driver

15 years agophpdoc
Michael M Slusarz [Thu, 14 Oct 2010 17:52:03 +0000 (11:52 -0600)]
phpdoc

15 years agoAdd Notification Storage handler that uses Horde_Session
Michael M Slusarz [Thu, 14 Oct 2010 17:43:02 +0000 (11:43 -0600)]
Add Notification Storage handler that uses Horde_Session

15 years agoNo need to return this value by reference
Michael M Slusarz [Thu, 14 Oct 2010 17:28:56 +0000 (11:28 -0600)]
No need to return this value by reference

15 years agoConfig code converted to Horde_Session
Michael M Slusarz [Thu, 14 Oct 2010 17:23:05 +0000 (11:23 -0600)]
Config code converted to Horde_Session

15 years agoAdd code needed to manually mark session data as dirty
Michael M Slusarz [Thu, 14 Oct 2010 04:31:06 +0000 (22:31 -0600)]
Add code needed to manually mark session data as dirty

Disable by default in Horde for now (will be enabled when all session
access code has been converted to Horde_Session).

15 years agoRemoved _SESSION references in Horde_Tree
Michael M Slusarz [Thu, 14 Oct 2010 03:48:13 +0000 (21:48 -0600)]
Removed _SESSION references in Horde_Tree

15 years agoEscape title.
Jan Schneider [Fri, 15 Oct 2010 12:31:59 +0000 (14:31 +0200)]
Escape title.

15 years agoHotfix to support Horde_Db until we have ported this stuff to there. Blob
Jan Schneider [Fri, 15 Oct 2010 12:28:53 +0000 (14:28 +0200)]
Hotfix to support Horde_Db until we have ported this stuff to there. Blob
handling is still broken.

15 years agoRemove references.
Jan Schneider [Fri, 15 Oct 2010 12:22:26 +0000 (14:22 +0200)]
Remove references.

15 years agoHorde_Db uses Exceptions.
Jan Schneider [Fri, 15 Oct 2010 12:18:45 +0000 (14:18 +0200)]
Horde_Db uses Exceptions.

15 years agoDon't attach hash if there isn't any anchor.
Jan Schneider [Fri, 15 Oct 2010 12:10:24 +0000 (14:10 +0200)]
Don't attach hash if there isn't any anchor.

15 years agoUse global mod_rewrite configuration.
Jan Schneider [Fri, 15 Oct 2010 12:07:33 +0000 (14:07 +0200)]
Use global mod_rewrite configuration.