Michael M Slusarz [Tue, 19 Oct 2010 21:44:50 +0000 (15:44 -0600)]
Fix undefined index error
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.
Michael J. Rubinsky [Wed, 20 Oct 2010 16:06:51 +0000 (12:06 -0400)]
scope
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.
Michael J. Rubinsky [Wed, 20 Oct 2010 15:25:36 +0000 (11:25 -0400)]
fix parse error
Jan Schneider [Tue, 19 Oct 2010 19:34:17 +0000 (21:34 +0200)]
Fix log level name.
Jan Schneider [Tue, 19 Oct 2010 17:24:05 +0000 (19:24 +0200)]
Fix session initialization again.
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.
Michael M Slusarz [Tue, 19 Oct 2010 19:00:59 +0000 (13:00 -0600)]
Fix opening new compose message with to address
Michael M Slusarz [Tue, 19 Oct 2010 18:35:43 +0000 (12:35 -0600)]
Simplify
Michael M Slusarz [Tue, 19 Oct 2010 18:35:27 +0000 (12:35 -0600)]
Fix typo
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>
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.
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.
Michael M Slusarz [Mon, 18 Oct 2010 23:48:33 +0000 (17:48 -0600)]
Fixes for charset changes - make Cleanhtml work properly again
Michael M Slusarz [Mon, 18 Oct 2010 21:31:50 +0000 (15:31 -0600)]
Remove unneeded space
Michael M Slusarz [Mon, 18 Oct 2010 21:27:33 +0000 (15:27 -0600)]
Bug #9315: Fix setting session_cache_limiter value
Michael M Slusarz [Mon, 18 Oct 2010 18:10:01 +0000 (12:10 -0600)]
Merge from CVS HEAD
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
Jan Schneider [Tue, 19 Oct 2010 16:33:42 +0000 (18:33 +0200)]
Update to new session initialization (Bug #9314).
Michael J. Rubinsky [Tue, 19 Oct 2010 03:44:26 +0000 (23:44 -0400)]
Missed this field when upgrade scripts refactored to migrations.
Jan Schneider [Mon, 18 Oct 2010 23:31:42 +0000 (01:31 +0200)]
Update package.xml.
Jan Schneider [Mon, 18 Oct 2010 23:27:13 +0000 (01:27 +0200)]
Fix method call.
Reset attributes and components.
Jan Schneider [Mon, 18 Oct 2010 23:26:26 +0000 (01:26 +0200)]
Fix charset.
Jan Schneider [Mon, 18 Oct 2010 23:10:55 +0000 (01:10 +0200)]
MFB: Fix importing recurrence exceptions from vCalendar 1.0.
Jan Schneider [Mon, 18 Oct 2010 22:59:35 +0000 (00:59 +0200)]
MFB: Fix test.
Jan Schneider [Mon, 18 Oct 2010 22:55:31 +0000 (00:55 +0200)]
MFB: Add import test.
Gunnar Wrobel [Mon, 18 Oct 2010 15:06:59 +0000 (17:06 +0200)]
Catch empty sources dir.
Gunnar Wrobel [Mon, 18 Oct 2010 14:59:00 +0000 (16:59 +0200)]
Catch output.
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.
Gunnar Wrobel [Mon, 18 Oct 2010 13:22:45 +0000 (15:22 +0200)]
Improved error handling.
Gunnar Wrobel [Mon, 18 Oct 2010 12:47:36 +0000 (14:47 +0200)]
It is no longer required to provide a dummy value here.
Gunnar Wrobel [Mon, 18 Oct 2010 12:47:11 +0000 (14:47 +0200)]
Install files from the 'locale' directory.
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.
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.
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.
Jan Schneider [Mon, 18 Oct 2010 12:08:14 +0000 (14:08 +0200)]
PPP
Jan Schneider [Mon, 18 Oct 2010 11:45:26 +0000 (13:45 +0200)]
Make class names autoloadable.
Jan Schneider [Mon, 18 Oct 2010 11:01:33 +0000 (13:01 +0200)]
Use exceptions.
Jan Schneider [Mon, 18 Oct 2010 10:59:44 +0000 (12:59 +0200)]
These require to pass a charset now.
Jan Schneider [Mon, 18 Oct 2010 10:40:37 +0000 (12:40 +0200)]
Fix parse error.
Jan Schneider [Mon, 18 Oct 2010 10:23:12 +0000 (12:23 +0200)]
MFB: Silence warnings.
Chuck Hagenbuch [Mon, 18 Oct 2010 01:12:05 +0000 (21:12 -0400)]
Charset is always UTF-8 now
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.
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/*
Gunnar Wrobel [Sun, 17 Oct 2010 21:53:14 +0000 (23:53 +0200)]
Requires the translation package.
Michael J. Rubinsky [Sun, 17 Oct 2010 20:27:55 +0000 (16:27 -0400)]
Fix parse error
Michael M Slusarz [Fri, 15 Oct 2010 20:01:50 +0000 (14:01 -0600)]
Silence decompression errors
Michael M Slusarz [Fri, 15 Oct 2010 19:49:24 +0000 (13:49 -0600)]
Horde_Session does required serialization for us
Michael M Slusarz [Fri, 15 Oct 2010 19:46:01 +0000 (13:46 -0600)]
Make sure TOS file exists
Michael M Slusarz [Fri, 15 Oct 2010 19:11:47 +0000 (13:11 -0600)]
Prevent undefined errors
Michael M Slusarz [Fri, 15 Oct 2010 19:06:38 +0000 (13:06 -0600)]
Add/use Horde_Session based prefs caching driver
Michael M Slusarz [Thu, 14 Oct 2010 22:32:03 +0000 (16:32 -0600)]
Split prefs caching into separate class.
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
Michael J. Rubinsky [Fri, 15 Oct 2010 18:05:02 +0000 (14:05 -0400)]
Break out Horde/Vcs classes into autoloadable files
Michael M Slusarz [Fri, 15 Oct 2010 16:27:37 +0000 (10:27 -0600)]
Fix unsetting app data in session
Michael M Slusarz [Thu, 14 Oct 2010 22:37:29 +0000 (16:37 -0600)]
Allow full classname to be passed to Horde_Prefs
Michael M Slusarz [Thu, 14 Oct 2010 22:46:26 +0000 (16:46 -0600)]
Fix incorrect translation call
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
Michael M Slusarz [Thu, 14 Oct 2010 17:52:03 +0000 (11:52 -0600)]
phpdoc
Michael M Slusarz [Thu, 14 Oct 2010 17:43:02 +0000 (11:43 -0600)]
Add Notification Storage handler that uses Horde_Session
Michael M Slusarz [Thu, 14 Oct 2010 17:28:56 +0000 (11:28 -0600)]
No need to return this value by reference
Michael M Slusarz [Thu, 14 Oct 2010 17:23:05 +0000 (11:23 -0600)]
Config code converted to Horde_Session
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).
Michael M Slusarz [Thu, 14 Oct 2010 03:48:13 +0000 (21:48 -0600)]
Removed _SESSION references in Horde_Tree
Jan Schneider [Fri, 15 Oct 2010 12:31:59 +0000 (14:31 +0200)]
Escape title.
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.
Jan Schneider [Fri, 15 Oct 2010 12:22:26 +0000 (14:22 +0200)]
Remove references.
Jan Schneider [Fri, 15 Oct 2010 12:18:45 +0000 (14:18 +0200)]
Horde_Db uses Exceptions.
Jan Schneider [Fri, 15 Oct 2010 12:10:24 +0000 (14:10 +0200)]
Don't attach hash if there isn't any anchor.
Jan Schneider [Fri, 15 Oct 2010 12:07:33 +0000 (14:07 +0200)]
Use global mod_rewrite configuration.
Jan Schneider [Fri, 15 Oct 2010 12:07:16 +0000 (14:07 +0200)]
Use Horde_Url, fixes HTML escaping.
Jan Schneider [Fri, 15 Oct 2010 11:12:30 +0000 (13:12 +0200)]
Add tests for link().
Jan Schneider [Fri, 15 Oct 2010 11:08:32 +0000 (13:08 +0200)]
URLs in href attributes must always be htmlencoded.
Jan Schneider [Fri, 15 Oct 2010 11:05:51 +0000 (13:05 +0200)]
phpdoc
Jan Schneider [Fri, 15 Oct 2010 11:00:09 +0000 (13:00 +0200)]
Use Horde_Url, fix double encoding.
Jan Schneider [Fri, 15 Oct 2010 10:51:48 +0000 (12:51 +0200)]
phpdoc
Jan Schneider [Fri, 15 Oct 2010 10:47:58 +0000 (12:47 +0200)]
Use Horde_String.
Jan Schneider [Thu, 14 Oct 2010 14:13:12 +0000 (16:13 +0200)]
Add test for broken Outlook/Funambol rules.
Jan Schneider [Thu, 14 Oct 2010 14:12:41 +0000 (16:12 +0200)]
Fix logic.
Jan Schneider [Wed, 13 Oct 2010 10:46:20 +0000 (12:46 +0200)]
Use consistent shebang #!/usr/bin/env php
Michael J. Rubinsky [Wed, 13 Oct 2010 23:04:42 +0000 (19:04 -0400)]
Ensure the Horde_Vcs_Log object is initialized before checking revision validity.
Gunnar Wrobel [Wed, 13 Oct 2010 21:54:11 +0000 (23:54 +0200)]
Add the packaging tool.
Jan Schneider [Wed, 13 Oct 2010 21:03:43 +0000 (23:03 +0200)]
Add translations for Mime_Viewer.
Gunnar Wrobel [Wed, 13 Oct 2010 19:02:52 +0000 (21:02 +0200)]
Add a dependency list module.
Gunnar Wrobel [Wed, 13 Oct 2010 14:11:22 +0000 (16:11 +0200)]
Extract the tree handling into a separate helper that should later also allow to get a quick overview on package dependencies.
Gunnar Wrobel [Wed, 13 Oct 2010 08:47:44 +0000 (10:47 +0200)]
Extract parts of the installer into the PEAR module.
Gunnar Wrobel [Wed, 13 Oct 2010 07:02:54 +0000 (09:02 +0200)]
Centralize creation of PEAR instances in the factory.
Gunnar Wrobel [Tue, 12 Oct 2010 20:18:22 +0000 (22:18 +0200)]
Update package.xml.
Gunnar Wrobel [Tue, 12 Oct 2010 20:15:42 +0000 (22:15 +0200)]
Added more testing for the package.xml update module. Fixed install location for scripts.
Gunnar Wrobel [Tue, 12 Oct 2010 18:32:30 +0000 (20:32 +0200)]
Allow keeping "replace" tasks in the content section of the package.xml.
Great, no more manual fixing after the update :)
Gunnar Wrobel [Tue, 12 Oct 2010 08:06:05 +0000 (10:06 +0200)]
Extract the PEAR specific parts of the package.xml update process into the Pear wrappers.
Gunnar Wrobel [Tue, 12 Oct 2010 07:16:42 +0000 (09:16 +0200)]
Started refactoring the PearPackageXml handler. Refactored how PEAR element handlers are generated. Adapted testing.
Gunnar Wrobel [Tue, 12 Oct 2010 07:15:33 +0000 (09:15 +0200)]
Update TODO.
Jan Schneider [Wed, 13 Oct 2010 01:09:37 +0000 (03:09 +0200)]
Fix commiting without specific language.
Jan Schneider [Wed, 13 Oct 2010 01:08:55 +0000 (03:08 +0200)]
Update translation.
Jan Schneider [Wed, 13 Oct 2010 00:48:22 +0000 (02:48 +0200)]
Shortcut to allow bootstrapping if the Translation package is not available yet.
Jan Schneider [Wed, 13 Oct 2010 00:47:47 +0000 (02:47 +0200)]
Pass dictionary from init().
Jan Schneider [Wed, 13 Oct 2010 00:39:18 +0000 (02:39 +0200)]
Add framework translations.
Jan Schneider [Tue, 12 Oct 2010 23:58:48 +0000 (01:58 +0200)]
Translation updates.