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.
Jan Schneider [Tue, 12 Oct 2010 23:11:52 +0000 (01:11 +0200)]
Add support for managing component translations.
Jan Schneider [Tue, 12 Oct 2010 22:52:15 +0000 (00:52 +0200)]
One more test.
Jan Schneider [Tue, 12 Oct 2010 22:16:35 +0000 (00:16 +0200)]
Fix paths.
Jan Schneider [Tue, 12 Oct 2010 22:16:20 +0000 (00:16 +0200)]
Add unit test.
Jan Schneider [Tue, 12 Oct 2010 21:59:26 +0000 (23:59 +0200)]
This call got lost somewhere.
Jan Schneider [Tue, 12 Oct 2010 21:34:54 +0000 (23:34 +0200)]
Call parent ctor.
Jan Schneider [Tue, 12 Oct 2010 21:28:06 +0000 (23:28 +0200)]
Ignore compendium file.
Jan Schneider [Tue, 12 Oct 2010 21:16:43 +0000 (23:16 +0200)]
Add ngettext().
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.
Jan Schneider [Tue, 12 Oct 2010 17:00:07 +0000 (19:00 +0200)]
Use Horde_Translation to provide translations for framework packages.
Jan Schneider [Mon, 11 Oct 2010 14:20:52 +0000 (16:20 +0200)]
Tweak
Jan Schneider [Mon, 11 Oct 2010 13:36:24 +0000 (15:36 +0200)]
Throw exception if locale path not found, to easier spot typos.
Jan Schneider [Mon, 11 Oct 2010 13:23:20 +0000 (15:23 +0200)]
Add n().
Jan Schneider [Tue, 5 Oct 2010 11:14:56 +0000 (13:14 +0200)]
Add Translation package.
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
Michael M Slusarz [Tue, 12 Oct 2010 22:06:08 +0000 (16:06 -0600)]
Fix VFS call - this was not supposed to be committed
Michael M Slusarz [Tue, 12 Oct 2010 22:00:16 +0000 (16:00 -0600)]
Fix typo
Michael M Slusarz [Tue, 12 Oct 2010 21:35:52 +0000 (15:35 -0600)]
changelog from CVS HEAD
Gonçalo Queirós [Mon, 11 Oct 2010 19:43:26 +0000 (20:43 +0100)]
Correct class name to Imp_Imap_Tree
Bug #9302
Signed-off-by: Michael M Slusarz <slusarz@curecanti.org>
Michael M Slusarz [Tue, 12 Oct 2010 20:43:47 +0000 (14:43 -0600)]
Convert horde/Group to using Horde_Session
Michael M Slusarz [Tue, 12 Oct 2010 20:14:26 +0000 (14:14 -0600)]
Partial revert of
1948e4f501a18c5856cbe45caf09267c0020e036
No idea why this was removed. Broke session parsing.
Michael M Slusarz [Tue, 12 Oct 2010 20:12:54 +0000 (14:12 -0600)]
Remove explicit reference to _SESSION in SessionHandler object
Michael M Slusarz [Tue, 12 Oct 2010 03:28:51 +0000 (21:28 -0600)]
Convert Kronolith to using Horde_Session
Michael M Slusarz [Mon, 11 Oct 2010 05:38:33 +0000 (23:38 -0600)]
Convert Turba to using Horde_Session
Michael M Slusarz [Mon, 11 Oct 2010 05:18:45 +0000 (23:18 -0600)]
Horde: Horde_Session conversions
Michael M Slusarz [Mon, 11 Oct 2010 04:51:58 +0000 (22:51 -0600)]
Add ArrayAccess implementation for Horde_Prefs
Michael M Slusarz [Mon, 11 Oct 2010 04:46:15 +0000 (22:46 -0600)]
Convert horde_language session variable to Horde_Session usage
Michael M Slusarz [Mon, 11 Oct 2010 04:15:27 +0000 (22:15 -0600)]
Convert Horde auth session code to Horde_Session