horde.git
14 years agoMove all initialization for IMP_Imap_Tree into init()
Michael M Slusarz [Fri, 14 Jan 2011 18:15:32 +0000 (11:15 -0700)]
Move all initialization for IMP_Imap_Tree into init()

14 years agoSwitch to PHP templates only.
Gunnar Wrobel [Fri, 14 Jan 2011 15:09:45 +0000 (16:09 +0100)]
Switch to PHP templates only.

14 years agoStray file.
Gunnar Wrobel [Fri, 14 Jan 2011 14:23:05 +0000 (15:23 +0100)]
Stray file.

14 years agoChange the distribution module to using a template directory.
Gunnar Wrobel [Fri, 14 Jan 2011 14:20:37 +0000 (15:20 +0100)]
Change the distribution module to using a template directory.

14 years agoAllow modifications to the target location within the template.
Gunnar Wrobel [Fri, 14 Jan 2011 14:18:48 +0000 (15:18 +0100)]
Allow modifications to the target location within the template.

14 years agoOnly provide dummy data if it has not been set in the parameters.
Gunnar Wrobel [Fri, 14 Jan 2011 09:04:31 +0000 (10:04 +0100)]
Only provide dummy data if it has not been set in the parameters.

14 years agoBug #9455: Add ability to get full URL from Horde_Themes_Element object
Michael M Slusarz [Thu, 13 Jan 2011 21:17:05 +0000 (14:17 -0700)]
Bug #9455: Add ability to get full URL from Horde_Themes_Element object

14 years agoTicket #9507: Clarify changeLanguage() behavior
Michael M Slusarz [Thu, 13 Jan 2011 19:05:41 +0000 (12:05 -0700)]
Ticket #9507: Clarify changeLanguage() behavior

14 years agoBug #9509: Don't sanitize raw header text
Michael M Slusarz [Thu, 13 Jan 2011 19:03:16 +0000 (12:03 -0700)]
Bug #9509: Don't sanitize raw header text

14 years agoOptimize header parsing when raw data is available
Michael M Slusarz [Thu, 13 Jan 2011 18:58:36 +0000 (11:58 -0700)]
Optimize header parsing when raw data is available

14 years agoFix error handler for '@'-prefixed calls.
Michael M Slusarz [Thu, 13 Jan 2011 18:12:15 +0000 (11:12 -0700)]
Fix error handler for '@'-prefixed calls.

Fixes, e.g., detecting bad character conversion of a string.

14 years agoUse ini_restore().
Michael M Slusarz [Thu, 13 Jan 2011 18:12:04 +0000 (11:12 -0700)]
Use ini_restore().

14 years agoInject DB object into Turba_Driver_Sql
Michael M Slusarz [Thu, 13 Jan 2011 17:08:20 +0000 (10:08 -0700)]
Inject DB object into Turba_Driver_Sql

14 years agoadd update documentation for changed config value
Michael M Slusarz [Thu, 13 Jan 2011 17:07:59 +0000 (10:07 -0700)]
add update documentation for changed config value

14 years agoI find this array format easier to read - less whitespace
Michael M Slusarz [Thu, 13 Jan 2011 17:07:39 +0000 (10:07 -0700)]
I find this array format easier to read - less whitespace

14 years agoH4 style filename
Michael J Rubinsky [Thu, 13 Jan 2011 17:28:43 +0000 (12:28 -0500)]
H4 style filename

14 years agoCatch exceptions, get rid of last bit of PEAR_Error checks
Michael J. Rubinsky [Thu, 13 Jan 2011 17:23:35 +0000 (12:23 -0500)]
Catch exceptions, get rid of last bit of PEAR_Error checks

14 years agoMove Turba_Driver::factory() functionality to the injector factory.
Michael J. Rubinsky [Thu, 13 Jan 2011 16:40:40 +0000 (11:40 -0500)]
Move Turba_Driver::factory() functionality to the injector factory.

All code should be using the injector to get the driver anyway, no
need for extra factory method.

Remove _init() methods from driver subclasses, move functionality into
the const'r instead.

14 years agoDon't serialze the params array for the _instance key.
Michael J. Rubinsky [Thu, 13 Jan 2011 16:28:36 +0000 (11:28 -0500)]
Don't serialze the params array for the _instance key.

It's not necessary, and it causes problems with some drivers.

14 years agoTest get/setStorage.
Gunnar Wrobel [Thu, 13 Jan 2011 15:39:23 +0000 (16:39 +0100)]
Test get/setStorage.

14 years agoOptional dependency on Kolab_Storage.
Gunnar Wrobel [Thu, 13 Jan 2011 15:38:21 +0000 (16:38 +0100)]
Optional dependency on Kolab_Storage.

14 years agoStubs for the Kolab tests.
Gunnar Wrobel [Thu, 13 Jan 2011 15:25:11 +0000 (16:25 +0100)]
Stubs for the Kolab tests.

14 years agoPut the stub into a separate "Stub" directory as it is useful even if not extending...
Gunnar Wrobel [Thu, 13 Jan 2011 15:24:11 +0000 (16:24 +0100)]
Put the stub into a separate "Stub" directory as it is useful even if not extending from the Base test in this directory.

14 years agoAdd the phpunit.xml to get just the code coverage for the Share module when running...
Gunnar Wrobel [Thu, 13 Jan 2011 15:22:39 +0000 (16:22 +0100)]
Add the phpunit.xml to get just the code coverage for the Share module when running the AllTests.php in this directory.

14 years agoThis should be a configuration array, not a Horde_Db_Adapter object.
Michael J. Rubinsky [Thu, 13 Jan 2011 06:39:43 +0000 (01:39 -0500)]
This should be a configuration array, not a Horde_Db_Adapter object.

We shouldn't expect administrators to know how to create a custom Horde_Db_Adapter object.
Just pass the configuration array, the factory will do the rest.

14 years agoWe have a factory bound to 'Horde_Db_Adapter' for the default horde db.
Michael J. Rubinsky [Thu, 13 Jan 2011 06:23:29 +0000 (01:23 -0500)]
We have a factory bound to 'Horde_Db_Adapter' for the default horde db.

Still need to inject the adapter into the driver(s)...

14 years agoNo need for this binder, call the factory directly. Standardize on using create(...
Michael J. Rubinsky [Thu, 13 Jan 2011 06:20:52 +0000 (01:20 -0500)]
No need for this binder, call the factory directly. Standardize on using create() as the factory method.

14 years agoLast of the pear error checks in krono that are in our control...
Michael J. Rubinsky [Thu, 13 Jan 2011 06:09:20 +0000 (01:09 -0500)]
Last of the pear error checks in krono that are in our control...

Still have checks in places like the Holiday driver, where we can't
get around that due to PEAR_Holidays using them.

14 years agothrow exceptions
Michael J. Rubinsky [Thu, 13 Jan 2011 06:05:13 +0000 (01:05 -0500)]
throw exceptions

14 years agoUse Horde/Http_Client for retrieving fb info over http
Michael J. Rubinsky [Thu, 13 Jan 2011 06:00:49 +0000 (01:00 -0500)]
Use Horde/Http_Client for retrieving fb info over http

14 years agoremove unused code, ws
Michael J. Rubinsky [Thu, 13 Jan 2011 05:41:19 +0000 (00:41 -0500)]
remove unused code, ws

14 years agoKronolith_Geo drivers now use Horde_Db and DI
Michael J. Rubinsky [Thu, 13 Jan 2011 05:36:18 +0000 (00:36 -0500)]
Kronolith_Geo drivers now use Horde_Db and DI

14 years agoThe injector knows about this factory, just request the Horde_Db_Adapter
Michael J. Rubinsky [Thu, 13 Jan 2011 05:25:42 +0000 (00:25 -0500)]
The injector knows about this factory, just request the Horde_Db_Adapter

14 years agothis code will never be reached
Michael J. Rubinsky [Thu, 13 Jan 2011 01:37:42 +0000 (20:37 -0500)]
this code will never be reached

Since the conditional was added to test for 'internal_' calendars,
this could *never* be a resource calendar. Not sure this block even
ever made sense anyway...remove it.

14 years agoFix fb generation for resources
Michael J. Rubinsky [Thu, 13 Jan 2011 01:34:15 +0000 (20:34 -0500)]
Fix fb generation for resources

14 years agoFix generating fb info in certain cases
Michael J. Rubinsky [Thu, 13 Jan 2011 01:30:41 +0000 (20:30 -0500)]
Fix generating fb info in certain cases

14 years agoKronolith_Resources to use Horde_Db
Michael J. Rubinsky [Wed, 12 Jan 2011 22:45:50 +0000 (17:45 -0500)]
Kronolith_Resources to use Horde_Db

14 years agoPEAR::DB -> Horde_Db for Kronlith_Driver_Sql, Dependency Injection
Michael J. Rubinsky [Wed, 12 Jan 2011 21:23:54 +0000 (16:23 -0500)]
PEAR::DB -> Horde_Db for Kronlith_Driver_Sql, Dependency Injection

14 years agoFix removeUserData in kronolith
Michael J. Rubinsky [Wed, 12 Jan 2011 21:22:08 +0000 (16:22 -0500)]
Fix removeUserData in kronolith

Kronolith::listEventIds() no longer exists.

14 years agouse the DbBase factory here
Michael J. Rubinsky [Wed, 12 Jan 2011 20:17:10 +0000 (15:17 -0500)]
use the DbBase factory here

14 years agoDon't store allow_folders value in $conf array
Michael M Slusarz [Wed, 12 Jan 2011 20:17:13 +0000 (13:17 -0700)]
Don't store allow_folders value in $conf array

14 years agoDon't directly alter $conf array; use $chora_conf instead
Michael M Slusarz [Wed, 12 Jan 2011 19:56:02 +0000 (12:56 -0700)]
Don't directly alter $conf array; use $chora_conf instead

$conf can be overwritten at any time by an application push, so there is
no guarantee the data will remain in there.

14 years agosanity check
Michael M Slusarz [Wed, 12 Jan 2011 19:34:47 +0000 (12:34 -0700)]
sanity check

14 years agoUse Horde 4 style class/file names
Michael J. Rubinsky [Wed, 12 Jan 2011 19:53:34 +0000 (14:53 -0500)]
Use Horde 4 style class/file names

14 years agoremove accidently commited files
Michael J. Rubinsky [Wed, 12 Jan 2011 19:52:19 +0000 (14:52 -0500)]
remove accidently commited files

14 years agoLog the query when throwing this error
Michael J. Rubinsky [Wed, 12 Jan 2011 19:44:50 +0000 (14:44 -0500)]
Log the query when throwing this error

14 years agoFix object updating
Michael J. Rubinsky [Wed, 12 Jan 2011 19:44:25 +0000 (14:44 -0500)]
Fix object updating

14 years agoStart removing PEAR::DB from kronolith, refactor for H4
Michael J. Rubinsky [Wed, 12 Jan 2011 17:25:18 +0000 (12:25 -0500)]
Start removing PEAR::DB from kronolith, refactor for H4

This commit:
  * Refactor Kronolith_Storage to use dependency injection
  * Replace PEAR::DB usage with Horde_Db_Adapter in Kronolith_Storage

Kolab storage driver wasn't touched, as I'm not familiar enough with this code,
though the code should still work, it just wasn't refactored for DI

14 years agodeclare $_instances member, phpdoc
Michael J. Rubinsky [Wed, 12 Jan 2011 15:56:46 +0000 (10:56 -0500)]
declare $_instances member, phpdoc

14 years agoBug #9504: Mask might render all available options unavailable
Michael M Slusarz [Wed, 12 Jan 2011 19:25:33 +0000 (12:25 -0700)]
Bug #9504: Mask might render all available options unavailable

14 years agoBug #9507: Only do language change callback to authenticated apps
Michael M Slusarz [Wed, 12 Jan 2011 19:03:44 +0000 (12:03 -0700)]
Bug #9507: Only do language change callback to authenticated apps

14 years agophpdoc
Michael M Slusarz [Wed, 12 Jan 2011 19:03:17 +0000 (12:03 -0700)]
phpdoc

14 years agoCleaner/faster way of toggling RTE
Michael M Slusarz [Wed, 12 Jan 2011 18:46:44 +0000 (11:46 -0700)]
Cleaner/faster way of toggling RTE

Do text conversion asychronously.

14 years agoImplement quoteString().
Jan Schneider [Wed, 12 Jan 2011 18:41:42 +0000 (19:41 +0100)]
Implement quoteString().

14 years agoUpdate to use Horde_Db.
Jan Schneider [Wed, 12 Jan 2011 18:38:32 +0000 (19:38 +0100)]
Update to use Horde_Db.

14 years agoIterator interface is the lowest common denominator.
Jan Schneider [Wed, 12 Jan 2011 18:24:43 +0000 (19:24 +0100)]
Iterator interface is the lowest common denominator.

14 years agoAdd quoteString() to interface.
Jan Schneider [Wed, 12 Jan 2011 18:15:50 +0000 (19:15 +0100)]
Add quoteString() to interface.

14 years agoFix annoying Db build error
Michael M Slusarz [Wed, 12 Jan 2011 17:19:14 +0000 (10:19 -0700)]
Fix annoying Db build error

14 years agoFix deprecated assertType() usage
Michael M Slusarz [Wed, 12 Jan 2011 17:00:26 +0000 (10:00 -0700)]
Fix deprecated assertType() usage

14 years agoThanks to no LSB, we need to keep seperate handlers for each domain.
Jan Schneider [Wed, 12 Jan 2011 12:09:52 +0000 (13:09 +0100)]
Thanks to no LSB, we need to keep seperate handlers for each domain.

14 years agoFix splitread database usage in VFS (Bug #9467).
Jan Schneider [Wed, 12 Jan 2011 11:31:33 +0000 (12:31 +0100)]
Fix splitread database usage in VFS (Bug #9467).

14 years agoRough component documentation is possible now.
Gunnar Wrobel [Wed, 12 Jan 2011 11:05:45 +0000 (12:05 +0100)]
Rough component documentation is possible now.

14 years agoBail out if the input is not okay.
Gunnar Wrobel [Wed, 12 Jan 2011 10:36:25 +0000 (11:36 +0100)]
Bail out if the input is not okay.

14 years agoSupport template directories.
Gunnar Wrobel [Wed, 12 Jan 2011 09:30:47 +0000 (10:30 +0100)]
Support template directories.

14 years agoBug #9484: Ensure we always get 23 character string
Michael M Slusarz [Wed, 12 Jan 2011 09:10:09 +0000 (02:10 -0700)]
Bug #9484: Ensure we always get 23 character string

14 years agoConvert Turba_Driver_Sql to using Horde_Db
Michael M Slusarz [Wed, 12 Jan 2011 08:05:44 +0000 (01:05 -0700)]
Convert Turba_Driver_Sql to using Horde_Db

Config file has changed - if non-Horde SQL DB used, it must be created
and passed into the 'sql' params value. By default, the Horde SQL DB is
used.

14 years agoSilence undefined index errors
Michael M Slusarz [Wed, 12 Jan 2011 08:04:38 +0000 (01:04 -0700)]
Silence undefined index errors

14 years agoTurba doc updates
Michael M Slusarz [Wed, 12 Jan 2011 06:36:11 +0000 (23:36 -0700)]
Turba doc updates

14 years agoAdd Horde_Domhtml::getHead()
Michael M Slusarz [Fri, 7 Jan 2011 20:05:27 +0000 (13:05 -0700)]
Add Horde_Domhtml::getHead()

14 years agoMFB: Add same test as on CVS though for the git version there is no code fix necessar...
Gunnar Wrobel [Tue, 11 Jan 2011 20:28:21 +0000 (21:28 +0100)]
MFB: Add same test as on CVS though for the git version there is no code fix necessary. The library is already utf8 only.

14 years agoFix Drafts translation (Bug #9503).
Jan Schneider [Tue, 11 Jan 2011 20:22:19 +0000 (21:22 +0100)]
Fix Drafts translation (Bug #9503).

14 years agoAdd stress test script for benchmarking share drivers.
Jan Schneider [Tue, 11 Jan 2011 16:41:32 +0000 (17:41 +0100)]
Add stress test script for benchmarking share drivers.

14 years agoSplit out test migrations.
Jan Schneider [Tue, 11 Jan 2011 15:07:34 +0000 (16:07 +0100)]
Split out test migrations.

14 years agoAdd dependency on the Exception package.
Gunnar Wrobel [Tue, 11 Jan 2011 19:51:19 +0000 (20:51 +0100)]
Add dependency on the Exception package.

14 years agoRevert "Revert "Horde_Injector_DependencyFinder uses the concept of previous exceptio...
Gunnar Wrobel [Tue, 11 Jan 2011 19:50:02 +0000 (20:50 +0100)]
Revert "Revert "Horde_Injector_DependencyFinder uses the concept of previous exceptions without extending from Horde_Exception (>=5.3 only).""

This reverts commit 94ddb48060d4ebc9a94c26d0a564055266eba8d3.

14 years agoRevert "Do not use a previous exception here."
Gunnar Wrobel [Tue, 11 Jan 2011 19:49:49 +0000 (20:49 +0100)]
Revert "Do not use a previous exception here."

This reverts commit c40cb561e1dbe6ebc936891af616ef2569aacf00.

14 years agoRevert "Correct error string."
Gunnar Wrobel [Tue, 11 Jan 2011 19:49:33 +0000 (20:49 +0100)]
Revert "Correct error string."

This reverts commit d9acc583a739fa3153257d39b2a98305573f2fca.

14 years agoShow recurring events in daily agenda.
Jan Schneider [Tue, 11 Jan 2011 14:30:54 +0000 (15:30 +0100)]
Show recurring events in daily agenda.

14 years agoWe only need the calendar ids.
Jan Schneider [Tue, 11 Jan 2011 14:30:29 +0000 (15:30 +0100)]
We only need the calendar ids.

14 years agoAdd ucwords().
Jan Schneider [Thu, 6 Jan 2011 19:04:30 +0000 (20:04 +0100)]
Add ucwords().

14 years agoComplete the template machinery for the existing code.
Gunnar Wrobel [Tue, 11 Jan 2011 10:31:16 +0000 (11:31 +0100)]
Complete the template machinery for the existing code.

14 years agoAllow to differentiate between a template directory and a single template file.
Gunnar Wrobel [Tue, 11 Jan 2011 05:59:01 +0000 (06:59 +0100)]
Allow to differentiate between a template directory and a single template file.

14 years agoReplace template rewriting with the template helper.
Gunnar Wrobel [Tue, 11 Jan 2011 05:28:17 +0000 (06:28 +0100)]
Replace template rewriting with the template helper.

14 years agoComplete printf templating.
Gunnar Wrobel [Tue, 11 Jan 2011 05:27:41 +0000 (06:27 +0100)]
Complete printf templating.

14 years agoStart the templates helper.
Gunnar Wrobel [Tue, 11 Jan 2011 04:45:35 +0000 (05:45 +0100)]
Start the templates helper.

14 years agoConvert to Cli_Modular.
Gunnar Wrobel [Mon, 10 Jan 2011 22:24:37 +0000 (23:24 +0100)]
Convert to Cli_Modular.

14 years agoProvide the dependency handler if set.
Gunnar Wrobel [Mon, 10 Jan 2011 22:23:07 +0000 (23:23 +0100)]
Provide the dependency handler if set.

14 years agoCorrect error string.
Gunnar Wrobel [Mon, 10 Jan 2011 20:16:18 +0000 (21:16 +0100)]
Correct error string.

14 years agoDo not use a previous exception here.
Gunnar Wrobel [Mon, 10 Jan 2011 20:13:30 +0000 (21:13 +0100)]
Do not use a previous exception here.

14 years agoRevert "Horde_Injector_DependencyFinder uses the concept of previous exceptions witho...
Gunnar Wrobel [Mon, 10 Jan 2011 20:11:17 +0000 (21:11 +0100)]
Revert "Horde_Injector_DependencyFinder uses the concept of previous exceptions without extending from Horde_Exception (>=5.3 only)."

This reverts commit a2e65967b70b0257d998ecab7cc3d4505fe78614.

14 years agoWhat does this flush() do? With it, DIMP whitescreens for me; without it, it seems...
Chuck Hagenbuch [Mon, 10 Jan 2011 15:18:51 +0000 (10:18 -0500)]
What does this flush() do? With it, DIMP whitescreens for me; without it, it seems to work fine.

14 years agoAllow to use the output handler as PEAR logger.
Gunnar Wrobel [Mon, 10 Jan 2011 13:16:51 +0000 (14:16 +0100)]
Allow to use the output handler as PEAR logger.

14 years agoStart the documentation module.
Gunnar Wrobel [Mon, 10 Jan 2011 13:16:28 +0000 (14:16 +0100)]
Start the documentation module.

14 years agoFix typo.
Gunnar Wrobel [Mon, 10 Jan 2011 13:15:55 +0000 (14:15 +0100)]
Fix typo.

14 years agoUpdate TODO.
Gunnar Wrobel [Mon, 10 Jan 2011 13:15:38 +0000 (14:15 +0100)]
Update TODO.

14 years agoHorde_Injector_DependencyFinder uses the concept of previous exceptions without exten...
Gunnar Wrobel [Mon, 10 Jan 2011 12:58:14 +0000 (13:58 +0100)]
Horde_Injector_DependencyFinder uses the concept of previous exceptions without extending from Horde_Exception (>=5.3 only).

14 years agoFix package name.
Gunnar Wrobel [Mon, 10 Jan 2011 10:04:02 +0000 (11:04 +0100)]
Fix package name.

14 years agoFaster, github-like revision log viewer for files.
Chuck Hagenbuch [Mon, 10 Jan 2011 01:49:16 +0000 (20:49 -0500)]
Faster, github-like revision log viewer for files.

This definitely gives up a bit of functionality - and I'd like to find a way to
get the arbitrary diff links back - but I think on balance it's better. Faster,
too, though there's work to do there still.

14 years agoThese methods take an Ansel_Style object now
Michael J. Rubinsky [Mon, 10 Jan 2011 00:30:00 +0000 (19:30 -0500)]
These methods take an Ansel_Style object now

14 years agoUpdate to the controller base class for the new MVC system
Chuck Hagenbuch [Sun, 9 Jan 2011 21:47:53 +0000 (16:47 -0500)]
Update to the controller base class for the new MVC system