horde.git
14 years agoUpgrade deprecated function calls
Michael M Slusarz [Thu, 20 Jan 2011 04:11:30 +0000 (21:11 -0700)]
Upgrade deprecated function calls

14 years agoMore correct for IE
Michael M Slusarz [Wed, 19 Jan 2011 20:26:41 +0000 (13:26 -0700)]
More correct for IE

14 years agoBug #9523: Send a full link when sending the email to confirm the identity
Gonçalo Queirós [Tue, 18 Jan 2011 20:52:54 +0000 (20:52 +0000)]
Bug #9523: Send a full link when sending the email to confirm the identity

Signed-off-by: Michael M Slusarz <slusarz@curecanti.org>
14 years agoSimplify
Michael M Slusarz [Wed, 19 Jan 2011 19:04:45 +0000 (12:04 -0700)]
Simplify

14 years agoClean up DimpBase.go() method
Michael M Slusarz [Wed, 19 Jan 2011 00:06:14 +0000 (17:06 -0700)]
Clean up DimpBase.go() method

Separate action and arguments into separate items instead of parsing an
input string.

14 years agoBetter location to set mailbox name in the hash
Michael M Slusarz [Tue, 18 Jan 2011 23:00:47 +0000 (16:00 -0700)]
Better location to set mailbox name in the hash

14 years agoNG share driver.
Jan Schneider [Tue, 18 Jan 2011 23:12:26 +0000 (00:12 +0100)]
NG share driver.

14 years agoAdd migration script for Kronolith.
Jan Schneider [Tue, 18 Jan 2011 23:11:36 +0000 (00:11 +0100)]
Add migration script for Kronolith.

14 years agoRemove unnecessary DISTINCTs.
Jan Schneider [Tue, 18 Jan 2011 23:10:27 +0000 (00:10 +0100)]
Remove unnecessary DISTINCTs.

14 years agoFix DB adapter detection.
Jan Schneider [Tue, 18 Jan 2011 23:09:08 +0000 (00:09 +0100)]
Fix DB adapter detection.

14 years agoFix listing groups, catch empty member lists.
Jan Schneider [Tue, 18 Jan 2011 23:08:40 +0000 (00:08 +0100)]
Fix listing groups, catch empty member lists.

14 years agoNo idea why, but when this exception is an ErrorException, the autoloading is
Jan Schneider [Tue, 18 Jan 2011 22:55:13 +0000 (23:55 +0100)]
No idea why, but when this exception is an ErrorException, the autoloading is
not triggered.

14 years agoUse correct key when creating first share.
Jan Schneider [Tue, 18 Jan 2011 18:26:13 +0000 (19:26 +0100)]
Use correct key when creating first share.

14 years agoLog backtrace if logging an exception.
Jan Schneider [Tue, 18 Jan 2011 18:25:53 +0000 (19:25 +0100)]
Log backtrace if logging an exception.

14 years agoThe behavior is correct, remove outcommented lines.
Jan Schneider [Tue, 18 Jan 2011 17:34:22 +0000 (18:34 +0100)]
The behavior is correct, remove outcommented lines.

14 years agoAllow range to be specified in hash for dimp URL
Michael M Slusarz [Tue, 18 Jan 2011 21:22:23 +0000 (14:22 -0700)]
Allow range to be specified in hash for dimp URL

14 years agoRequest #9432: Better context menu UI for setting/removing flags
Michael M Slusarz [Tue, 18 Jan 2011 19:55:45 +0000 (12:55 -0700)]
Request #9432: Better context menu UI for setting/removing flags

14 years agoBug #9369: Allow a javascript variable name to be used for ckeditor config
Michael M Slusarz [Tue, 18 Jan 2011 18:44:50 +0000 (11:44 -0700)]
Bug #9369: Allow a javascript variable name to be used for ckeditor config

14 years agoBug #9514: Fix importing S/MIME key
Michael M Slusarz [Tue, 18 Jan 2011 08:25:05 +0000 (01:25 -0700)]
Bug #9514: Fix importing S/MIME key

14 years agoAdd _getPartStream()
Michael M Slusarz [Tue, 18 Jan 2011 08:18:35 +0000 (01:18 -0700)]
Add _getPartStream()

14 years agoHandle S/MIME message verify without cert verify as success
Michael M Slusarz [Tue, 18 Jan 2011 08:00:36 +0000 (01:00 -0700)]
Handle S/MIME message verify without cert verify as success

14 years agoTweak verify of S/MIME messages.
Michael M Slusarz [Tue, 18 Jan 2011 07:59:39 +0000 (00:59 -0700)]
Tweak verify of S/MIME messages.

Verify without verify signer's certificate should be a success, not an
exception.

14 years agoCleaner creation of hash fingerprint
Michael M Slusarz [Tue, 18 Jan 2011 07:43:48 +0000 (00:43 -0700)]
Cleaner creation of hash fingerprint

14 years agoFix deleting S/MIME Public keys
Michael M Slusarz [Tue, 18 Jan 2011 07:28:15 +0000 (00:28 -0700)]
Fix deleting S/MIME Public keys

14 years agoAdd form token to generated prefs URL
Michael M Slusarz [Tue, 18 Jan 2011 07:27:59 +0000 (00:27 -0700)]
Add form token to generated prefs URL

14 years agoWhen printing, convert header data to charset of output text
Michael M Slusarz [Tue, 18 Jan 2011 06:44:21 +0000 (23:44 -0700)]
When printing, convert header data to charset of output text

14 years agoBug #9475: ID 0 is a valid MIME ID
Michael M Slusarz [Tue, 18 Jan 2011 06:41:48 +0000 (23:41 -0700)]
Bug #9475: ID 0 is a valid MIME ID

14 years agoFix rendering of text parts in popup windows
Michael M Slusarz [Tue, 18 Jan 2011 06:26:16 +0000 (23:26 -0700)]
Fix rendering of text parts in popup windows

14 years agophpdoc
Michael M Slusarz [Tue, 18 Jan 2011 06:02:38 +0000 (23:02 -0700)]
phpdoc

14 years agoRemove double attaching of the gallery action widget
Michael J. Rubinsky [Mon, 17 Jan 2011 22:16:38 +0000 (17:16 -0500)]
Remove double attaching of the gallery action widget

14 years agoAllow sqln driver to take an array of 'attribute' filters as well
Michael J. Rubinsky [Mon, 17 Jan 2011 21:58:42 +0000 (16:58 -0500)]
Allow sqln driver to take an array of 'attribute' filters as well

14 years agoreduce code duplication - move perms check into Ansel_Storage::getGalleries() and...
Michael J. Rubinsky [Mon, 17 Jan 2011 21:53:34 +0000 (16:53 -0500)]
reduce code duplication - move perms check into Ansel_Storage::getGalleries() and ::getGalleriesBySlugs()

also, improve getting by slugs by having Horde_Share perform the filtering directly.

14 years agoallow the attributes filter to take an array of values to filter on.
Michael J. Rubinsky [Mon, 17 Jan 2011 21:26:36 +0000 (16:26 -0500)]
allow the attributes filter to take an array of values to filter on.

e.g.,
To return shares that have a slug of either $slug1 or $slug2:

$shares->listShares($user, array('attributes' => array('slug' => arary($slug1, $slug2))));

14 years agoImprovements to obtaining galleries by slug
Michael J. Rubinsky [Mon, 17 Jan 2011 21:10:10 +0000 (16:10 -0500)]
Improvements to obtaining galleries by slug

14 years agoStart to reduce coupling between ansel code and share implementation
Michael J. Rubinsky [Mon, 17 Jan 2011 19:16:06 +0000 (14:16 -0500)]
Start to reduce coupling between ansel code and share implementation

use share methods everywhere possible, do not access tables directly

14 years agoAdd Horde_Share_Sql_Hierarchical::_exists()
Michael J. Rubinsky [Mon, 17 Jan 2011 19:15:40 +0000 (14:15 -0500)]
Add Horde_Share_Sql_Hierarchical::_exists()

14 years agouse new assertInternalType(), and avoid deprecated warnings.
Michael J. Rubinsky [Mon, 17 Jan 2011 18:53:50 +0000 (13:53 -0500)]
use new assertInternalType(), and avoid deprecated warnings.

14 years agoDon't fatal, just skip tests, if the database adapter can't be created.
Michael J. Rubinsky [Mon, 17 Jan 2011 18:48:06 +0000 (13:48 -0500)]
Don't fatal, just skip tests, if the database adapter can't be created.

14 years agoSet charset for pgsql.
Jan Schneider [Mon, 17 Jan 2011 17:12:57 +0000 (18:12 +0100)]
Set charset for pgsql.

14 years agoSupport and fix setting the client/connection charset for PostgreSQL with the standar...
Jan Schneider [Mon, 17 Jan 2011 17:12:20 +0000 (18:12 +0100)]
Support and fix setting the client/connection charset for PostgreSQL with the standard 'charset' option.

14 years agofix typo that prevented queries to be loaded by slug
Michael J. Rubinsky [Mon, 17 Jan 2011 16:51:45 +0000 (16:51 +0000)]
fix typo that prevented queries to be loaded by slug

14 years agoFix splitting up names when exporting to N properties of vCards.
Jan Schneider [Mon, 17 Jan 2011 14:13:46 +0000 (15:13 +0100)]
Fix splitting up names when exporting to N properties of vCards.

14 years agoAdd Horde_String::rpos().
Jan Schneider [Mon, 17 Jan 2011 14:12:08 +0000 (15:12 +0100)]
Add Horde_String::rpos().

14 years agoKolab only supports specific application types and there is no "test".
Gunnar Wrobel [Mon, 17 Jan 2011 14:04:14 +0000 (15:04 +0100)]
Kolab only supports specific application types and there is no "test".

14 years agoAllways require the full query class name.
Gunnar Wrobel [Mon, 17 Jan 2011 14:03:29 +0000 (15:03 +0100)]
Allways require the full query class name.

14 years agoSet UTF-8 charset in sqlite tests.
Jan Schneider [Mon, 17 Jan 2011 12:51:05 +0000 (13:51 +0100)]
Set UTF-8 charset in sqlite tests.

14 years agoSupport retrieving shares.
Gunnar Wrobel [Mon, 17 Jan 2011 10:32:31 +0000 (11:32 +0100)]
Support retrieving shares.

14 years agoIt probably does not make sense to use two levels of caching.
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.

14 years agoUse getStorage().
Gunnar Wrobel [Mon, 17 Jan 2011 08:25:31 +0000 (09:25 +0100)]
Use getStorage().

14 years agoBasic share list.
Gunnar Wrobel [Sun, 16 Jan 2011 06:46:28 +0000 (07:46 +0100)]
Basic share list.

14 years agoFolder type support.
Gunnar Wrobel [Sat, 15 Jan 2011 22:46:15 +0000 (23:46 +0100)]
Folder type support.

14 years agoStart with listShares().
Gunnar Wrobel [Fri, 14 Jan 2011 09:03:43 +0000 (10:03 +0100)]
Start with listShares().

14 years agoCharset testing.
Jan Schneider [Mon, 17 Jan 2011 09:54:35 +0000 (10:54 +0100)]
Charset testing.

14 years agoSupport returning basic folder data from the cache.
Gunnar Wrobel [Mon, 17 Jan 2011 09:17:32 +0000 (10:17 +0100)]
Support returning basic folder data from the cache.

14 years agoReturn the folder in the cache decorator.
Gunnar Wrobel [Mon, 17 Jan 2011 09:16:47 +0000 (10:16 +0100)]
Return the folder in the cache decorator.

14 years agoarray style
Chuck Hagenbuch [Sun, 16 Jan 2011 04:31:35 +0000 (23:31 -0500)]
array style

14 years agoMake sure that the sidebar always uses left-aligned text
Chuck Hagenbuch [Sun, 16 Jan 2011 02:07:51 +0000 (21:07 -0500)]
Make sure that the sidebar always uses left-aligned text

14 years agoFix variable name in error message, and redirect away if saving fails
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

14 years agoThrow an Ansel_Exception here so that it's caught as expected
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

14 years agoCheck for $GLOBALS['conf'] AND $GLOBALS['injector']
Chuck Hagenbuch [Sat, 15 Jan 2011 04:29:49 +0000 (23:29 -0500)]
Check for $GLOBALS['conf'] AND $GLOBALS['injector']

14 years agoRevert "What does this flush() do? With it, DIMP whitescreens for me; without it...
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.

14 years agoBug #9514: Pass the mailbox name, not the certificate itself
Michael M Slusarz [Fri, 14 Jan 2011 23:29:23 +0000 (16:29 -0700)]
Bug #9514: Pass the mailbox name, not the certificate itself

14 years agoFix down/Page down behavior in dimp viewport
Michael M Slusarz [Fri, 14 Jan 2011 23:18:37 +0000 (16:18 -0700)]
Fix down/Page down behavior in dimp viewport

14 years agoFix some compose screen resize issues
Michael M Slusarz [Fri, 14 Jan 2011 21:25:52 +0000 (14:25 -0700)]
Fix some compose screen resize issues

14 years agoCreate a generic admin check login task.
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

14 years agoAdd next-generation SQL Share driver.
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.

14 years agoBOOLEAN is integer in SQLite internally, cast booleans to integers.
Jan Schneider [Fri, 14 Jan 2011 21:40:17 +0000 (22:40 +0100)]
BOOLEAN is integer in SQLite internally, cast booleans to integers.

14 years agoMFB: Fix integer overflow in ASN parser.
Jan Schneider [Fri, 14 Jan 2011 15:33:02 +0000 (16:33 +0100)]
MFB: Fix integer overflow in ASN parser.

14 years agoRevert "Move, so that uncommenting actually overwrites the default."
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.

14 years agoUse more sane defaults.
Jan Schneider [Fri, 14 Jan 2011 12:07:49 +0000 (13:07 +0100)]
Use more sane defaults.

14 years agoMove, so that uncommenting actually overwrites the default.
Jan Schneider [Thu, 13 Jan 2011 09:52:03 +0000 (10:52 +0100)]
Move, so that uncommenting actually overwrites the default.

14 years agoBug #9488: Report logger failures
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.

14 years agoBug #9511: Make sure DimpCompose.onDomLoad() has run before doing other actions
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

14 years agoBug #9513: Cast to timestamp for DateTime
Michael M Slusarz [Fri, 14 Jan 2011 18:33:34 +0000 (11:33 -0700)]
Bug #9513: Cast to timestamp for DateTime

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)...