horde.git
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.

15 years agoUse Horde_Url, fixes HTML escaping.
Jan Schneider [Fri, 15 Oct 2010 12:07:16 +0000 (14:07 +0200)]
Use Horde_Url, fixes HTML escaping.

15 years agoAdd tests for link().
Jan Schneider [Fri, 15 Oct 2010 11:12:30 +0000 (13:12 +0200)]
Add tests for link().

15 years agoURLs in href attributes must always be htmlencoded.
Jan Schneider [Fri, 15 Oct 2010 11:08:32 +0000 (13:08 +0200)]
URLs in href attributes must always be htmlencoded.

15 years agophpdoc
Jan Schneider [Fri, 15 Oct 2010 11:05:51 +0000 (13:05 +0200)]
phpdoc

15 years agoUse Horde_Url, fix double encoding.
Jan Schneider [Fri, 15 Oct 2010 11:00:09 +0000 (13:00 +0200)]
Use Horde_Url, fix double encoding.

15 years agophpdoc
Jan Schneider [Fri, 15 Oct 2010 10:51:48 +0000 (12:51 +0200)]
phpdoc

15 years agoUse Horde_String.
Jan Schneider [Fri, 15 Oct 2010 10:47:58 +0000 (12:47 +0200)]
Use Horde_String.

15 years agoAdd test for broken Outlook/Funambol rules.
Jan Schneider [Thu, 14 Oct 2010 14:13:12 +0000 (16:13 +0200)]
Add test for broken Outlook/Funambol rules.

15 years agoFix logic.
Jan Schneider [Thu, 14 Oct 2010 14:12:41 +0000 (16:12 +0200)]
Fix logic.

15 years agoUse consistent shebang #!/usr/bin/env php
Jan Schneider [Wed, 13 Oct 2010 10:46:20 +0000 (12:46 +0200)]
Use consistent shebang #!/usr/bin/env php

15 years agoEnsure the Horde_Vcs_Log object is initialized before checking revision validity.
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.

15 years agoAdd the packaging tool.
Gunnar Wrobel [Wed, 13 Oct 2010 21:54:11 +0000 (23:54 +0200)]
Add the packaging tool.

15 years agoAdd translations for Mime_Viewer.
Jan Schneider [Wed, 13 Oct 2010 21:03:43 +0000 (23:03 +0200)]
Add translations for Mime_Viewer.

15 years agoAdd a dependency list module.
Gunnar Wrobel [Wed, 13 Oct 2010 19:02:52 +0000 (21:02 +0200)]
Add a dependency list module.

15 years agoExtract the tree handling into a separate helper that should later also allow to...
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.

15 years agoExtract parts of the installer into the PEAR module.
Gunnar Wrobel [Wed, 13 Oct 2010 08:47:44 +0000 (10:47 +0200)]
Extract parts of the installer into the PEAR module.

15 years agoCentralize creation of PEAR instances in the factory.
Gunnar Wrobel [Wed, 13 Oct 2010 07:02:54 +0000 (09:02 +0200)]
Centralize creation of PEAR instances in the factory.

15 years agoUpdate package.xml.
Gunnar Wrobel [Tue, 12 Oct 2010 20:18:22 +0000 (22:18 +0200)]
Update package.xml.

15 years agoAdded more testing for the package.xml update module. Fixed install location for...
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.

15 years agoAllow keeping "replace" tasks in the content section of the package.xml.
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 :)

15 years agoExtract the PEAR specific parts of the package.xml update process into the Pear wrappers.
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.

15 years agoStarted refactoring the PearPackageXml handler. Refactored how PEAR element handlers...
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.

15 years agoUpdate TODO.
Gunnar Wrobel [Tue, 12 Oct 2010 07:15:33 +0000 (09:15 +0200)]
Update TODO.

15 years agoFix commiting without specific language.
Jan Schneider [Wed, 13 Oct 2010 01:09:37 +0000 (03:09 +0200)]
Fix commiting without specific language.

15 years agoUpdate translation.
Jan Schneider [Wed, 13 Oct 2010 01:08:55 +0000 (03:08 +0200)]
Update translation.

15 years agoShortcut to allow bootstrapping if the Translation package is not available yet.
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.

15 years agoPass dictionary from init().
Jan Schneider [Wed, 13 Oct 2010 00:47:47 +0000 (02:47 +0200)]
Pass dictionary from init().

15 years agoAdd framework translations.
Jan Schneider [Wed, 13 Oct 2010 00:39:18 +0000 (02:39 +0200)]
Add framework translations.

15 years agoTranslation updates.
Jan Schneider [Tue, 12 Oct 2010 23:58:48 +0000 (01:58 +0200)]
Translation updates.

15 years agoAdd support for managing component translations.
Jan Schneider [Tue, 12 Oct 2010 23:11:52 +0000 (01:11 +0200)]
Add support for managing component translations.

15 years agoOne more test.
Jan Schneider [Tue, 12 Oct 2010 22:52:15 +0000 (00:52 +0200)]
One more test.

15 years agoFix paths.
Jan Schneider [Tue, 12 Oct 2010 22:16:35 +0000 (00:16 +0200)]
Fix paths.

15 years agoAdd unit test.
Jan Schneider [Tue, 12 Oct 2010 22:16:20 +0000 (00:16 +0200)]
Add unit test.

15 years agoThis call got lost somewhere.
Jan Schneider [Tue, 12 Oct 2010 21:59:26 +0000 (23:59 +0200)]
This call got lost somewhere.

15 years agoCall parent ctor.
Jan Schneider [Tue, 12 Oct 2010 21:34:54 +0000 (23:34 +0200)]
Call parent ctor.

15 years agoIgnore compendium file.
Jan Schneider [Tue, 12 Oct 2010 21:28:06 +0000 (23:28 +0200)]
Ignore compendium file.

15 years agoAdd ngettext().
Jan Schneider [Tue, 12 Oct 2010 21:16:43 +0000 (23:16 +0200)]
Add ngettext().

15 years agoWe need to use ngettext() for the method name, otherwise the gettext tools don't...
Jan Schneider [Tue, 12 Oct 2010 21:15:31 +0000 (23:15 +0200)]
We need to use ngettext() for the method name, otherwise the gettext tools don't handle this as plural form gettext.

15 years agoUse Horde_Translation to provide translations for framework packages.
Jan Schneider [Tue, 12 Oct 2010 17:00:07 +0000 (19:00 +0200)]
Use Horde_Translation to provide translations for framework packages.

15 years agoTweak
Jan Schneider [Mon, 11 Oct 2010 14:20:52 +0000 (16:20 +0200)]
Tweak

15 years agoThrow exception if locale path not found, to easier spot typos.
Jan Schneider [Mon, 11 Oct 2010 13:36:24 +0000 (15:36 +0200)]
Throw exception if locale path not found, to easier spot typos.

15 years agoAdd n().
Jan Schneider [Mon, 11 Oct 2010 13:23:20 +0000 (15:23 +0200)]
Add n().

15 years agoAdd Translation package.
Jan Schneider [Tue, 5 Oct 2010 11:14:56 +0000 (13:14 +0200)]
Add Translation package.

15 years agoInitialization code can't be run in const'r, none of the setters have been called yet
Michael J. Rubinsky [Wed, 13 Oct 2010 00:12:37 +0000 (20:12 -0400)]
Initialization code can't be run in const'r, none of the setters have been called yet

Things are still very broken for CVS, but this at least gets things a little further

15 years agoFix VFS call - this was not supposed to be committed
Michael M Slusarz [Tue, 12 Oct 2010 22:06:08 +0000 (16:06 -0600)]
Fix VFS call - this was not supposed to be committed