Jan Schneider [Mon, 17 Jan 2011 14:12:08 +0000 (15:12 +0100)]
Add Horde_String::rpos().
Gunnar Wrobel [Mon, 17 Jan 2011 14:04:14 +0000 (15:04 +0100)]
Kolab only supports specific application types and there is no "test".
Gunnar Wrobel [Mon, 17 Jan 2011 14:03:29 +0000 (15:03 +0100)]
Allways require the full query class name.
Jan Schneider [Mon, 17 Jan 2011 12:51:05 +0000 (13:51 +0100)]
Set UTF-8 charset in sqlite tests.
Gunnar Wrobel [Mon, 17 Jan 2011 10:32:31 +0000 (11:32 +0100)]
Support retrieving shares.
Gunnar Wrobel [Mon, 17 Jan 2011 09:45:04 +0000 (10:45 +0100)]
It probably does not make sense to use two levels of caching.
Gunnar Wrobel [Mon, 17 Jan 2011 08:25:31 +0000 (09:25 +0100)]
Use getStorage().
Gunnar Wrobel [Sun, 16 Jan 2011 06:46:28 +0000 (07:46 +0100)]
Basic share list.
Gunnar Wrobel [Sat, 15 Jan 2011 22:46:15 +0000 (23:46 +0100)]
Folder type support.
Gunnar Wrobel [Fri, 14 Jan 2011 09:03:43 +0000 (10:03 +0100)]
Start with listShares().
Jan Schneider [Mon, 17 Jan 2011 09:54:35 +0000 (10:54 +0100)]
Charset testing.
Gunnar Wrobel [Mon, 17 Jan 2011 09:17:32 +0000 (10:17 +0100)]
Support returning basic folder data from the cache.
Gunnar Wrobel [Mon, 17 Jan 2011 09:16:47 +0000 (10:16 +0100)]
Return the folder in the cache decorator.
Chuck Hagenbuch [Sun, 16 Jan 2011 04:31:35 +0000 (23:31 -0500)]
array style
Chuck Hagenbuch [Sun, 16 Jan 2011 02:07:51 +0000 (21:07 -0500)]
Make sure that the sidebar always uses left-aligned text
Chuck Hagenbuch [Sat, 15 Jan 2011 15:40:55 +0000 (10:40 -0500)]
Fix variable name in error message, and redirect away if saving fails
Chuck Hagenbuch [Sat, 15 Jan 2011 15:38:18 +0000 (10:38 -0500)]
Throw an Ansel_Exception here so that it's caught as expected
Chuck Hagenbuch [Sat, 15 Jan 2011 04:29:49 +0000 (23:29 -0500)]
Check for $GLOBALS['conf'] AND $GLOBALS['injector']
Chuck Hagenbuch [Sat, 15 Jan 2011 04:29:14 +0000 (23:29 -0500)]
Revert "What does this flush() do? With it, DIMP whitescreens for me; without it, it seems to work fine."
This reverts commit
a8e51349c3fdc229031b6adc0d9427cddb74f58a.
Michael M Slusarz [Fri, 14 Jan 2011 23:29:23 +0000 (16:29 -0700)]
Bug #9514: Pass the mailbox name, not the certificate itself
Michael M Slusarz [Fri, 14 Jan 2011 23:18:37 +0000 (16:18 -0700)]
Fix down/Page down behavior in dimp viewport
Michael M Slusarz [Fri, 14 Jan 2011 21:25:52 +0000 (14:25 -0700)]
Fix some compose screen resize issues
Michael M Slusarz [Fri, 14 Jan 2011 19:27:47 +0000 (12:27 -0700)]
Create a generic admin check login task.
Disable this login task if not an admin
Move logger check into login task
Jan Schneider [Fri, 14 Jan 2011 22:16:47 +0000 (23:16 +0100)]
Add next-generation SQL Share driver.
It doesn't use any bitmasks anymore that can't be indexed in MySQL. Each
permission is a boolean column instead. User and group permissions are
no longer retrieved with a LEFT JOIN but in separate queries. This is by
far outweighed by the performance improvement which is about factor 25
for MySQL and PostgreSQL using the stress test scenario.
Jan Schneider [Fri, 14 Jan 2011 21:40:17 +0000 (22:40 +0100)]
BOOLEAN is integer in SQLite internally, cast booleans to integers.
Jan Schneider [Fri, 14 Jan 2011 15:33:02 +0000 (16:33 +0100)]
MFB: Fix integer overflow in ASN parser.
Jan Schneider [Fri, 14 Jan 2011 12:51:10 +0000 (13:51 +0100)]
Revert "Move, so that uncommenting actually overwrites the default."
This reverts commit
f26b24db04738a41084bf90a7ea9d70c98278acb.
Jan Schneider [Fri, 14 Jan 2011 12:07:49 +0000 (13:07 +0100)]
Use more sane defaults.
Jan Schneider [Thu, 13 Jan 2011 09:52:03 +0000 (10:52 +0100)]
Move, so that uncommenting actually overwrites the default.
Michael M Slusarz [Fri, 14 Jan 2011 19:16:58 +0000 (12:16 -0700)]
Bug #9488: Report logger failures
Logger failure will be reported to an admin on login. Alternatively,
the bin/check_logger script can be run.
Michael M Slusarz [Fri, 14 Jan 2011 18:47:55 +0000 (11:47 -0700)]
Bug #9511: Make sure DimpCompose.onDomLoad() has run before doing other actions
Michael M Slusarz [Fri, 14 Jan 2011 18:33:34 +0000 (11:33 -0700)]
Bug #9513: Cast to timestamp for DateTime
Michael M Slusarz [Fri, 14 Jan 2011 18:15:32 +0000 (11:15 -0700)]
Move all initialization for IMP_Imap_Tree into init()
Gunnar Wrobel [Fri, 14 Jan 2011 15:09:45 +0000 (16:09 +0100)]
Switch to PHP templates only.
Gunnar Wrobel [Fri, 14 Jan 2011 14:23:05 +0000 (15:23 +0100)]
Stray file.
Gunnar Wrobel [Fri, 14 Jan 2011 14:20:37 +0000 (15:20 +0100)]
Change the distribution module to using a template directory.
Gunnar Wrobel [Fri, 14 Jan 2011 14:18:48 +0000 (15:18 +0100)]
Allow modifications to the target location within the template.
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.
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
Michael M Slusarz [Thu, 13 Jan 2011 19:05:41 +0000 (12:05 -0700)]
Ticket #9507: Clarify changeLanguage() behavior
Michael M Slusarz [Thu, 13 Jan 2011 19:03:16 +0000 (12:03 -0700)]
Bug #9509: Don't sanitize raw header text
Michael M Slusarz [Thu, 13 Jan 2011 18:58:36 +0000 (11:58 -0700)]
Optimize header parsing when raw data is available
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.
Michael M Slusarz [Thu, 13 Jan 2011 18:12:04 +0000 (11:12 -0700)]
Use ini_restore().
Michael M Slusarz [Thu, 13 Jan 2011 17:08:20 +0000 (10:08 -0700)]
Inject DB object into Turba_Driver_Sql
Michael M Slusarz [Thu, 13 Jan 2011 17:07:59 +0000 (10:07 -0700)]
add update documentation for changed config value
Michael M Slusarz [Thu, 13 Jan 2011 17:07:39 +0000 (10:07 -0700)]
I find this array format easier to read - less whitespace
Michael J Rubinsky [Thu, 13 Jan 2011 17:28:43 +0000 (12:28 -0500)]
H4 style filename
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
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.
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.
Gunnar Wrobel [Thu, 13 Jan 2011 15:39:23 +0000 (16:39 +0100)]
Test get/setStorage.
Gunnar Wrobel [Thu, 13 Jan 2011 15:38:21 +0000 (16:38 +0100)]
Optional dependency on Kolab_Storage.
Gunnar Wrobel [Thu, 13 Jan 2011 15:25:11 +0000 (16:25 +0100)]
Stubs for the Kolab tests.
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.
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.
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.
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)...
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.
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.
Michael J. Rubinsky [Thu, 13 Jan 2011 06:05:13 +0000 (01:05 -0500)]
throw exceptions
Michael J. Rubinsky [Thu, 13 Jan 2011 06:00:49 +0000 (01:00 -0500)]
Use Horde/Http_Client for retrieving fb info over http
Michael J. Rubinsky [Thu, 13 Jan 2011 05:41:19 +0000 (00:41 -0500)]
remove unused code, ws
Michael J. Rubinsky [Thu, 13 Jan 2011 05:36:18 +0000 (00:36 -0500)]
Kronolith_Geo drivers now use Horde_Db and DI
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
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.
Michael J. Rubinsky [Thu, 13 Jan 2011 01:34:15 +0000 (20:34 -0500)]
Fix fb generation for resources
Michael J. Rubinsky [Thu, 13 Jan 2011 01:30:41 +0000 (20:30 -0500)]
Fix generating fb info in certain cases
Michael J. Rubinsky [Wed, 12 Jan 2011 22:45:50 +0000 (17:45 -0500)]
Kronolith_Resources to use Horde_Db
Michael J. Rubinsky [Wed, 12 Jan 2011 21:23:54 +0000 (16:23 -0500)]
PEAR::DB -> Horde_Db for Kronlith_Driver_Sql, Dependency Injection
Michael J. Rubinsky [Wed, 12 Jan 2011 21:22:08 +0000 (16:22 -0500)]
Fix removeUserData in kronolith
Kronolith::listEventIds() no longer exists.
Michael J. Rubinsky [Wed, 12 Jan 2011 20:17:10 +0000 (15:17 -0500)]
use the DbBase factory here
Michael M Slusarz [Wed, 12 Jan 2011 20:17:13 +0000 (13:17 -0700)]
Don't store allow_folders value in $conf array
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.
Michael M Slusarz [Wed, 12 Jan 2011 19:34:47 +0000 (12:34 -0700)]
sanity check
Michael J. Rubinsky [Wed, 12 Jan 2011 19:53:34 +0000 (14:53 -0500)]
Use Horde 4 style class/file names
Michael J. Rubinsky [Wed, 12 Jan 2011 19:52:19 +0000 (14:52 -0500)]
remove accidently commited files
Michael J. Rubinsky [Wed, 12 Jan 2011 19:44:50 +0000 (14:44 -0500)]
Log the query when throwing this error
Michael J. Rubinsky [Wed, 12 Jan 2011 19:44:25 +0000 (14:44 -0500)]
Fix object updating
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
Michael J. Rubinsky [Wed, 12 Jan 2011 15:56:46 +0000 (10:56 -0500)]
declare $_instances member, phpdoc
Michael M Slusarz [Wed, 12 Jan 2011 19:25:33 +0000 (12:25 -0700)]
Bug #9504: Mask might render all available options unavailable
Michael M Slusarz [Wed, 12 Jan 2011 19:03:44 +0000 (12:03 -0700)]
Bug #9507: Only do language change callback to authenticated apps
Michael M Slusarz [Wed, 12 Jan 2011 19:03:17 +0000 (12:03 -0700)]
phpdoc
Michael M Slusarz [Wed, 12 Jan 2011 18:46:44 +0000 (11:46 -0700)]
Cleaner/faster way of toggling RTE
Do text conversion asychronously.
Jan Schneider [Wed, 12 Jan 2011 18:41:42 +0000 (19:41 +0100)]
Implement quoteString().
Jan Schneider [Wed, 12 Jan 2011 18:38:32 +0000 (19:38 +0100)]
Update to use Horde_Db.
Jan Schneider [Wed, 12 Jan 2011 18:24:43 +0000 (19:24 +0100)]
Iterator interface is the lowest common denominator.
Jan Schneider [Wed, 12 Jan 2011 18:15:50 +0000 (19:15 +0100)]
Add quoteString() to interface.
Michael M Slusarz [Wed, 12 Jan 2011 17:19:14 +0000 (10:19 -0700)]
Fix annoying Db build error
Michael M Slusarz [Wed, 12 Jan 2011 17:00:26 +0000 (10:00 -0700)]
Fix deprecated assertType() usage
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.
Jan Schneider [Wed, 12 Jan 2011 11:31:33 +0000 (12:31 +0100)]
Fix splitread database usage in VFS (Bug #9467).
Gunnar Wrobel [Wed, 12 Jan 2011 11:05:45 +0000 (12:05 +0100)]
Rough component documentation is possible now.
Gunnar Wrobel [Wed, 12 Jan 2011 10:36:25 +0000 (11:36 +0100)]
Bail out if the input is not okay.
Gunnar Wrobel [Wed, 12 Jan 2011 09:30:47 +0000 (10:30 +0100)]
Support template directories.
Michael M Slusarz [Wed, 12 Jan 2011 09:10:09 +0000 (02:10 -0700)]
Bug #9484: Ensure we always get 23 character string
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.
Michael M Slusarz [Wed, 12 Jan 2011 08:04:38 +0000 (01:04 -0700)]
Silence undefined index errors
Michael M Slusarz [Wed, 12 Jan 2011 06:36:11 +0000 (23:36 -0700)]
Turba doc updates