horde.git
14 years agoStart extracting the list cache.
Gunnar Wrobel [Mon, 3 Jan 2011 16:22:43 +0000 (17:22 +0100)]
Start extracting the list cache.

14 years agoActually add the files.
Gunnar Wrobel [Mon, 3 Jan 2011 16:13:25 +0000 (17:13 +0100)]
Actually add the files.

14 years agoAdd the synchronize() method to queries. Add the cached list query.
Gunnar Wrobel [Mon, 3 Jan 2011 16:13:01 +0000 (17:13 +0100)]
Add the synchronize() method to queries. Add the cached list query.

14 years agoSupport the synchronize() call in the list API.
Gunnar Wrobel [Mon, 3 Jan 2011 13:41:35 +0000 (14:41 +0100)]
Support the synchronize() call in the list API.

14 years agoAdd time stamp and version to the cache.
Gunnar Wrobel [Mon, 3 Jan 2011 13:38:19 +0000 (14:38 +0100)]
Add time stamp and version to the cache.

14 years agoCache the folder types.
Gunnar Wrobel [Mon, 3 Jan 2011 13:06:35 +0000 (14:06 +0100)]
Cache the folder types.

14 years agoRemove the query creation from the list handler. Keep only the most basic data retrie...
Gunnar Wrobel [Mon, 3 Jan 2011 12:48:17 +0000 (13:48 +0100)]
Remove the query creation from the list handler. Keep only the most basic data retrieval in the list handler and move everything else in the base query.

14 years agoCreate list queries in the factory.
Gunnar Wrobel [Mon, 3 Jan 2011 12:46:15 +0000 (13:46 +0100)]
Create list queries in the factory.

14 years agoSupport caching the folder list.
Gunnar Wrobel [Mon, 3 Jan 2011 09:41:19 +0000 (10:41 +0100)]
Support caching the folder list.

14 years agoAdd testing for getId().
Gunnar Wrobel [Mon, 3 Jan 2011 06:57:26 +0000 (07:57 +0100)]
Add testing for getId().

14 years agoFix class name.
Gunnar Wrobel [Mon, 3 Jan 2011 06:57:10 +0000 (07:57 +0100)]
Fix class name.

14 years agoAdd the getId method here too.
Gunnar Wrobel [Mon, 3 Jan 2011 06:56:53 +0000 (07:56 +0100)]
Add the getId method here too.

14 years agoSupport retrieving a connection ID.
Gunnar Wrobel [Mon, 3 Jan 2011 06:54:35 +0000 (07:54 +0100)]
Support retrieving a connection ID.

14 years agoMove test suite to the unit tests.
Gunnar Wrobel [Mon, 3 Jan 2011 06:36:36 +0000 (07:36 +0100)]
Move test suite to the unit tests.

14 years agoAllow to cache list data.
Gunnar Wrobel [Mon, 3 Jan 2011 06:32:02 +0000 (07:32 +0100)]
Allow to cache list data.

14 years agoFix copy error.
Gunnar Wrobel [Sun, 2 Jan 2011 06:41:07 +0000 (07:41 +0100)]
Fix copy error.

14 years agoStart the caching layer.
Gunnar Wrobel [Sun, 2 Jan 2011 06:40:46 +0000 (07:40 +0100)]
Start the caching layer.

14 years agoFix typo.
Gunnar Wrobel [Sun, 2 Jan 2011 06:40:06 +0000 (07:40 +0100)]
Fix typo.

14 years agoFix logging.
Gunnar Wrobel [Thu, 30 Dec 2010 10:48:44 +0000 (11:48 +0100)]
Fix logging.

14 years agoBail out if the imap_getannotation function is missing.
Gunnar Wrobel [Thu, 30 Dec 2010 10:48:06 +0000 (11:48 +0100)]
Bail out if the imap_getannotation function is missing.

14 years agoRename the 'folders' action to 'list'. Add 'type' subaction (lists all folders of...
Gunnar Wrobel [Wed, 29 Dec 2010 10:03:58 +0000 (11:03 +0100)]
Rename the 'folders' action to 'list'. Add 'type' subaction (lists all folders of a specific type).

14 years agoAdd the query infrastructure.
Gunnar Wrobel [Wed, 29 Dec 2010 09:39:08 +0000 (10:39 +0100)]
Add the query infrastructure.

14 years agoAdd mocks.
Gunnar Wrobel [Mon, 27 Dec 2010 21:13:01 +0000 (22:13 +0100)]
Add mocks.

14 years agoTest listing folder types.
Gunnar Wrobel [Mon, 27 Dec 2010 21:12:35 +0000 (22:12 +0100)]
Test listing folder types.

14 years agoSupport listing folder types.
Gunnar Wrobel [Mon, 27 Dec 2010 21:11:53 +0000 (22:11 +0100)]
Support listing folder types.

14 years agoAdd quick debug lines.
Gunnar Wrobel [Mon, 27 Dec 2010 21:11:02 +0000 (22:11 +0100)]
Add quick debug lines.

14 years agoAdd support for listing annotations.
Gunnar Wrobel [Mon, 27 Dec 2010 21:10:23 +0000 (22:10 +0100)]
Add support for listing annotations.

14 years agoTypo.
Gunnar Wrobel [Mon, 27 Dec 2010 20:45:57 +0000 (21:45 +0100)]
Typo.

14 years agoLog request times.
Gunnar Wrobel [Wed, 22 Dec 2010 14:03:54 +0000 (15:03 +0100)]
Log request times.

14 years agoAdd a log decorator and a stop watch decorator.
Gunnar Wrobel [Wed, 22 Dec 2010 14:03:40 +0000 (15:03 +0100)]
Add a log decorator and a stop watch decorator.

14 years agoReuse the existing option.
Gunnar Wrobel [Tue, 21 Dec 2010 21:30:32 +0000 (22:30 +0100)]
Reuse the existing option.

14 years agoActually transport the log setting to Kolab_Storage.
Gunnar Wrobel [Tue, 21 Dec 2010 21:23:56 +0000 (22:23 +0100)]
Actually transport the log setting to Kolab_Storage.

14 years agoAllow to activate logging.
Gunnar Wrobel [Tue, 21 Dec 2010 21:21:54 +0000 (22:21 +0100)]
Allow to activate logging.

14 years agoAllow decorating the storage handler with logging in the factory.
Gunnar Wrobel [Tue, 21 Dec 2010 20:38:07 +0000 (21:38 +0100)]
Allow decorating the storage handler with logging in the factory.

14 years agoTesting for the mailbox list.
Gunnar Wrobel [Tue, 21 Dec 2010 20:08:40 +0000 (21:08 +0100)]
Testing for the mailbox list.

14 years agoStart a log decorator for the list handler.
Gunnar Wrobel [Tue, 21 Dec 2010 20:08:13 +0000 (21:08 +0100)]
Start a log decorator for the list handler.

14 years agoSupress errors for problematic backends.
Gunnar Wrobel [Tue, 21 Dec 2010 06:24:47 +0000 (07:24 +0100)]
Supress errors for problematic backends.

14 years agoFlesh out the first cli actions.
Gunnar Wrobel [Mon, 20 Dec 2010 21:06:16 +0000 (22:06 +0100)]
Flesh out the first cli actions.

14 years agoAllow measuring the time spent running the script.
Gunnar Wrobel [Mon, 20 Dec 2010 21:05:54 +0000 (22:05 +0100)]
Allow measuring the time spent running the script.

14 years agoCache the namespace handler.
Gunnar Wrobel [Fri, 17 Dec 2010 22:04:40 +0000 (23:04 +0100)]
Cache the namespace handler.

14 years agoClean up the namespace handling and fix generating an IMAP name according to the...
Gunnar Wrobel [Fri, 17 Dec 2010 22:03:59 +0000 (23:03 +0100)]
Clean up the namespace handling and fix generating an IMAP name according to the folder title.

14 years agoCreate namespace handlers in the factory.
Gunnar Wrobel [Thu, 16 Dec 2010 20:00:39 +0000 (21:00 +0100)]
Create namespace handlers in the factory.

14 years agoRelocate namespace test.
Gunnar Wrobel [Thu, 16 Dec 2010 16:29:00 +0000 (17:29 +0100)]
Relocate namespace test.

14 years agoMove from Driver to Folder hierarchy as the namespace is folder specific.
Gunnar Wrobel [Thu, 16 Dec 2010 16:16:56 +0000 (17:16 +0100)]
Move from Driver to Folder hierarchy as the namespace is folder specific.

14 years agouse the mobile style for the keyImage also
Michael J. Rubinsky [Tue, 4 Jan 2011 01:38:25 +0000 (20:38 -0500)]
use the mobile style for the keyImage also

14 years agopass the img height and width to the mobile view
Michael J. Rubinsky [Tue, 4 Jan 2011 01:26:43 +0000 (20:26 -0500)]
pass the img height and width to the mobile view

14 years agoFix generation of mobile thumbnails when not using vfs-direct.
Michael J. Rubinsky [Tue, 4 Jan 2011 01:11:52 +0000 (20:11 -0500)]
Fix generation of mobile thumbnails when not using vfs-direct.

Also, add a config switch for tinySrc.mobi support. Mostly to ease
testing while using locahost ;)

14 years agoRequires Horde_Test.
Jan Schneider [Mon, 3 Jan 2011 21:53:14 +0000 (22:53 +0100)]
Requires Horde_Test.

14 years agoAdd test case variations for any Horde_Db driver that we support.
Jan Schneider [Mon, 3 Jan 2011 21:15:38 +0000 (22:15 +0100)]
Add test case variations for any Horde_Db driver that we support.

14 years agoReturn associative keys only.
Jan Schneider [Mon, 3 Jan 2011 21:12:03 +0000 (22:12 +0100)]
Return associative keys only.

14 years agocenter the screen image
Michael J. Rubinsky [Mon, 3 Jan 2011 19:50:51 +0000 (14:50 -0500)]
center the screen image

14 years agoFirst stab at showing mobile sized "screen" images.
Michael J. Rubinsky [Mon, 3 Jan 2011 19:40:30 +0000 (14:40 -0500)]
First stab at showing mobile sized "screen" images.

Uses tinySrc.mobi when able to, otherwise, shows full size screen image for now.
Eventually will resize the screen image to some standard mobile size.

14 years agoalways send an imgs array, even if it's empty
Michael J Rubinsky [Mon, 3 Jan 2011 18:56:29 +0000 (13:56 -0500)]
always send an imgs array, even if it's empty

14 years agofix navigation when more then one level of subgalleries
Michael J. Rubinsky [Mon, 3 Jan 2011 18:30:45 +0000 (13:30 -0500)]
fix navigation when more then one level of subgalleries

14 years agoAdd back navigation for subgalleries.
Michael J. Rubinsky [Mon, 3 Jan 2011 18:24:00 +0000 (13:24 -0500)]
Add back navigation for subgalleries.

Now we correctly go back to the gallery's parent, if applicable,
otherwise to the gallerylist

14 years agoreturn the gallery's parent id too
Michael J. Rubinsky [Mon, 3 Jan 2011 17:18:42 +0000 (12:18 -0500)]
return the gallery's parent id too

14 years agobetter way of handling subgallery ul placement
Michael J. Rubinsky [Mon, 3 Jan 2011 17:11:51 +0000 (12:11 -0500)]
better way of handling subgallery ul placement

14 years agoSubgallery navigation, other misc stuff:
Michael J. Rubinsky [Mon, 3 Jan 2011 16:28:42 +0000 (11:28 -0500)]
Subgallery navigation, other misc stuff:

Add initial subgallery navigation, layout tweaks, start experimenting
with a custom jquerymobile data-theme ('h' for horde) basically just
to get a dark background for the thumbnails while maintaining the rest
of the horde-wide usage of data-theme 'a'.

14 years agoremove unnecessary css class
Michael J. Rubinsky [Mon, 3 Jan 2011 00:06:34 +0000 (19:06 -0500)]
remove unnecessary css class

14 years agoAdd unit test for hierarchical driver.
Jan Schneider [Mon, 3 Jan 2011 16:33:04 +0000 (17:33 +0100)]
Add unit test for hierarchical driver.

14 years agoFix _getShares() in hierarchical driver, remove duplicate code.
Jan Schneider [Mon, 3 Jan 2011 16:32:11 +0000 (17:32 +0100)]
Fix _getShares() in hierarchical driver, remove duplicate code.

14 years agoFix setting the share driver in the share objects. Remove redundant setter.
Jan Schneider [Mon, 3 Jan 2011 16:31:39 +0000 (17:31 +0100)]
Fix setting the share driver in the share objects. Remove redundant setter.

14 years agoMove backend independent tests to a base class.
Jan Schneider [Mon, 3 Jan 2011 14:20:41 +0000 (15:20 +0100)]
Move backend independent tests to a base class.

14 years agoMake method compatible with base class (Bug #9486).
Jan Schneider [Mon, 3 Jan 2011 13:48:35 +0000 (14:48 +0100)]
Make method compatible with base class (Bug #9486).

14 years agoAdd a common method for configuration loading.
Jan Schneider [Mon, 3 Jan 2011 12:39:27 +0000 (13:39 +0100)]
Add a common method for configuration loading.

14 years agoRename Horde_Array::array_merge_recursive_overwrite() to Horde_Array::replaceRecursive().
Jan Schneider [Mon, 3 Jan 2011 12:05:20 +0000 (13:05 +0100)]
Rename Horde_Array::array_merge_recursive_overwrite() to Horde_Array::replaceRecursive().

14 years agoAdd reminder to remove in the future.
Jan Schneider [Mon, 3 Jan 2011 11:57:32 +0000 (12:57 +0100)]
Add reminder to remove in the future.

14 years agoUse array_replace_recursive() if available.
Jan Schneider [Mon, 3 Jan 2011 11:56:30 +0000 (12:56 +0100)]
Use array_replace_recursive() if available.

14 years agophpdoc
Jan Schneider [Sun, 2 Jan 2011 23:50:11 +0000 (00:50 +0100)]
phpdoc

14 years agoCS
Jan Schneider [Sun, 2 Jan 2011 23:44:36 +0000 (00:44 +0100)]
CS

14 years agoBe more relaxed about the id length until bug #9484 is fixed.
Jan Schneider [Sun, 2 Jan 2011 23:28:37 +0000 (00:28 +0100)]
Be more relaxed about the id length until bug #9484 is fixed.

14 years agoAdd more tests.
Jan Schneider [Sun, 2 Jan 2011 23:15:29 +0000 (00:15 +0100)]
Add more tests.

14 years agoFix array_shift() usage.
Jan Schneider [Sun, 2 Jan 2011 23:15:13 +0000 (00:15 +0100)]
Fix array_shift() usage.

14 years agoAdd new tests.
Jan Schneider [Sun, 2 Jan 2011 23:05:59 +0000 (00:05 +0100)]
Add new tests.

14 years agoFix tests.
Jan Schneider [Sun, 2 Jan 2011 23:05:49 +0000 (00:05 +0100)]
Fix tests.

14 years agoAdd Stack test.
Jan Schneider [Sun, 2 Jan 2011 22:59:42 +0000 (23:59 +0100)]
Add Stack test.

14 years agoAdd more tests.
Jan Schneider [Sun, 2 Jan 2011 22:59:28 +0000 (23:59 +0100)]
Add more tests.

14 years agoAdd Guid test.
Jan Schneider [Sun, 2 Jan 2011 22:42:51 +0000 (23:42 +0100)]
Add Guid test.

14 years agoFix running weekly task if last run was in the year before the next run.
Jan Schneider [Sat, 1 Jan 2011 22:18:01 +0000 (23:18 +0100)]
Fix running weekly task if last run was in the year before the next run.

14 years agoTypo
Jan Schneider [Sat, 1 Jan 2011 22:03:59 +0000 (23:03 +0100)]
Typo

14 years agoFix autoloader.
Jan Schneider [Sat, 1 Jan 2011 21:59:29 +0000 (22:59 +0100)]
Fix autoloader.

14 years agoFix indent.
Jan Schneider [Sat, 1 Jan 2011 21:41:39 +0000 (22:41 +0100)]
Fix indent.

14 years agoSet CSS class, remove unused ID attribute.
Jan Schneider [Sat, 1 Jan 2011 21:41:01 +0000 (22:41 +0100)]
Set CSS class, remove unused ID attribute.

14 years agoUse sprintf().
Jan Schneider [Sat, 1 Jan 2011 21:38:26 +0000 (22:38 +0100)]
Use sprintf().

14 years agoDon't reload the same gallery if requested twice in a row, clear the thumbs container
Michael J. Rubinsky [Sat, 1 Jan 2011 21:40:08 +0000 (16:40 -0500)]
Don't reload the same gallery if requested twice in a row, clear the thumbs container

14 years agouse SquareThumb by default for the mobile thumbnails
Michael J. Rubinsky [Sat, 1 Jan 2011 21:32:00 +0000 (16:32 -0500)]
use SquareThumb by default for the mobile thumbnails

allow styles to specify width and height in certain cases as well

14 years agoremove debug alert()
Michael J. Rubinsky [Sat, 1 Jan 2011 21:14:37 +0000 (16:14 -0500)]
remove debug alert()

14 years agobuild up the gallery mobile view
Michael J. Rubinsky [Sat, 1 Jan 2011 21:13:16 +0000 (16:13 -0500)]
build up the gallery mobile view

Add initial mobile.css, and gallery template, load it with
thumbnails.

14 years agofix getting style definition
Michael J. Rubinsky [Sat, 1 Jan 2011 20:37:57 +0000 (15:37 -0500)]
fix getting style definition

14 years agotypehint
Michael J. Rubinsky [Sat, 1 Jan 2011 20:37:43 +0000 (15:37 -0500)]
typehint

14 years agocatch errors and send back false
Michael J. Rubinsky [Sat, 1 Jan 2011 20:36:04 +0000 (15:36 -0500)]
catch errors and send back false

14 years agoadd option to the ansel.php cli script for reseting all stacks and/or views
Michael J. Rubinsky [Sat, 1 Jan 2011 20:15:44 +0000 (15:15 -0500)]
add option to the ansel.php cli script for reseting all stacks and/or views

Use judiciously, this will cause all generated images to need to be recreated.

14 years agocs
Michael J. Rubinsky [Sat, 1 Jan 2011 20:15:32 +0000 (15:15 -0500)]
cs

14 years agoAllow for cases where we have no where clause.
Michael J. Rubinsky [Sat, 1 Jan 2011 19:28:20 +0000 (14:28 -0500)]
Allow for cases where we have no where clause.

Fixes listing ALL galleries, regardless of permissions.

14 years agoAdd new config switches:
Michael J. Rubinsky [Sat, 1 Jan 2011 16:36:01 +0000 (11:36 -0500)]
Add new config switches:

Use sqare thumbnails vs older legacy mini thumbs (on by default)
Use a smart crop algorithm for generating square thumbnails (off by default)

14 years agoFix usage of listlimt setting in blocks
Michael J. Rubinsky [Sat, 1 Jan 2011 16:16:02 +0000 (11:16 -0500)]
Fix usage of listlimt setting in blocks

14 years agoremove old comments, correctly get the $viewHash
Michael J. Rubinsky [Fri, 31 Dec 2010 17:15:28 +0000 (12:15 -0500)]
remove old comments, correctly get the $viewHash

14 years agopass the style attribute along
Michael J. Rubinsky [Fri, 31 Dec 2010 17:14:47 +0000 (12:14 -0500)]
pass the style attribute along

14 years agows, make CI happy
Michael J. Rubinsky [Fri, 31 Dec 2010 16:14:35 +0000 (11:14 -0500)]
ws, make CI happy

14 years agows
Michael J. Rubinsky [Fri, 31 Dec 2010 16:12:17 +0000 (11:12 -0500)]
ws