horde.git
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

14 years agoalways use Ansel_Style::getHash(), remove duplicate code
Michael J. Rubinsky [Fri, 31 Dec 2010 16:02:39 +0000 (11:02 -0500)]
always use Ansel_Style::getHash(), remove duplicate code

14 years agophpdoc, typehints
Michael J. Rubinsky [Fri, 31 Dec 2010 15:41:43 +0000 (10:41 -0500)]
phpdoc, typehints

14 years agoremove commented out code
Michael J. Rubinsky [Fri, 31 Dec 2010 15:14:43 +0000 (10:14 -0500)]
remove commented out code

14 years agofix path
Michael J Rubinsky [Fri, 31 Dec 2010 15:25:39 +0000 (10:25 -0500)]
fix path

14 years agofix calculating vfs paths when using vfs direct
Michael J. Rubinsky [Fri, 31 Dec 2010 14:49:15 +0000 (09:49 -0500)]
fix calculating vfs paths when using vfs direct

14 years agoAdd the fixed migration script as a new migration for those that have already run
Michael J. Rubinsky [Thu, 30 Dec 2010 21:40:02 +0000 (16:40 -0500)]
Add the fixed migration script as a new migration for those that have already run

14 years agofix style migration.
Michael J. Rubinsky [Thu, 30 Dec 2010 21:38:05 +0000 (16:38 -0500)]
fix style migration.

14 years agocatch error when searching
Michael J. Rubinsky [Thu, 30 Dec 2010 20:37:06 +0000 (15:37 -0500)]
catch error when searching

14 years agofix output of css files in embedded renderer.
Michael J. Rubinsky [Thu, 30 Dec 2010 20:26:32 +0000 (15:26 -0500)]
fix output of css files in embedded renderer.

Still doesn't output full urls, but the css tag is actually written now.

14 years agono more app specific common-header.inc
Michael J. Rubinsky [Thu, 30 Dec 2010 19:46:24 +0000 (14:46 -0500)]
no more app specific common-header.inc

14 years ago'photo_stack' no longer exists, just check the gallery's features.
Michael J. Rubinsky [Thu, 30 Dec 2010 19:38:41 +0000 (14:38 -0500)]
'photo_stack' no longer exists, just check the gallery's features.

14 years agoneed to ensureHash() when creating a new stack too
Michael J. Rubinsky [Thu, 30 Dec 2010 19:38:14 +0000 (14:38 -0500)]
need to ensureHash() when creating a new stack too

14 years agoFix deleting cached images
Michael J. Rubinsky [Thu, 30 Dec 2010 19:16:26 +0000 (14:16 -0500)]
Fix deleting cached images

14 years agoFix fetching known style hashes.
Michael J. Rubinsky [Thu, 30 Dec 2010 19:14:16 +0000 (14:14 -0500)]
Fix fetching known style hashes.

Temp fix until we move to Horde_Db

14 years agoStart cleaning up the "prettythumb" vs "thumb" stuff in Ansel.
Michael J. Rubinsky [Thu, 30 Dec 2010 17:23:34 +0000 (12:23 -0500)]
Start cleaning up the "prettythumb" vs "thumb" stuff in Ansel.

Now that styles have been refactored, we no longer need to differentiate
between a thumb and prettythumb thumbnail type, the style information
does that for us.

Simplifies the calls to all methods needing an image type as well as
allows us to get rid of the extra prettythumb.php image generation script.

Now, supported image types are "full", "screen", "thumb", and "mini". The style
object specifies what image generator to use, if supported.

14 years agomore work towards mobile ansel view:
Michael J. Rubinsky [Thu, 30 Dec 2010 02:42:31 +0000 (21:42 -0500)]
more work towards mobile ansel view:

implement ajax method for obtaining a gallery, start building up
click handler, use SquareThumbs

14 years agoAdd another line break.
Jan Schneider [Thu, 30 Dec 2010 10:41:48 +0000 (11:41 +0100)]
Add another line break.

14 years agoCast to array (Bug #9473).
Jan Schneider [Wed, 29 Dec 2010 15:29:48 +0000 (16:29 +0100)]
Cast to array (Bug #9473).

14 years agoOnly set the encoding parameter for binary data in vCards, if data is not empty ...
Jan Schneider [Tue, 28 Dec 2010 22:34:56 +0000 (23:34 +0100)]
Only set the encoding parameter for binary data in vCards, if data is not empty (Bug #9413).

14 years ago[jan] Fix searching for fields matching an email address if using 'emails'
Jan Schneider [Tue, 28 Dec 2010 17:33:45 +0000 (18:33 +0100)]
[jan] Fix searching for fields matching an email address if using 'emails'
      attribute instead of 'email' (Bug #9472).

14 years agoDon't log an error if the parent of a sidebar entry is inactive.
Jan Schneider [Tue, 28 Dec 2010 17:30:41 +0000 (18:30 +0100)]
Don't log an error if the parent of a sidebar entry is inactive.

14 years agoFix property typo.
Jan Schneider [Tue, 28 Dec 2010 17:02:29 +0000 (18:02 +0100)]
Fix property typo.

14 years agoFix quotes.
Jan Schneider [Tue, 28 Dec 2010 16:56:57 +0000 (17:56 +0100)]
Fix quotes.

14 years agoFix variable name (Bug #9476).
Jan Schneider [Tue, 28 Dec 2010 16:43:33 +0000 (17:43 +0100)]
Fix variable name (Bug #9476).

14 years agoFix closing tag.
Jan Schneider [Tue, 28 Dec 2010 14:18:08 +0000 (15:18 +0100)]
Fix closing tag.

14 years agoFix class names.
Jan Schneider [Tue, 28 Dec 2010 13:34:35 +0000 (14:34 +0100)]
Fix class names.

14 years agoUse expireListCache().
Jan Schneider [Tue, 28 Dec 2010 13:10:12 +0000 (14:10 +0100)]
Use expireListCache().

14 years agoSimplify
Jan Schneider [Tue, 28 Dec 2010 13:09:57 +0000 (14:09 +0100)]
Simplify

14 years agoTypos
Jan Schneider [Tue, 28 Dec 2010 13:03:13 +0000 (14:03 +0100)]
Typos

14 years agoIgnore Desktop notifications.
Jan Schneider [Tue, 28 Dec 2010 12:06:00 +0000 (13:06 +0100)]
Ignore Desktop notifications.

14 years agoFix method signatures.
Jan Schneider [Tue, 28 Dec 2010 12:05:31 +0000 (13:05 +0100)]
Fix method signatures.

14 years agoCast
Jan Schneider [Tue, 28 Dec 2010 12:05:17 +0000 (13:05 +0100)]
Cast

14 years agoIgnore exceptions from individual calendars when generating free/busy
Jan Schneider [Tue, 28 Dec 2010 12:05:05 +0000 (13:05 +0100)]
Ignore exceptions from individual calendars when generating free/busy
information.

14 years agoRevert "API calls should no longer be throwing PEAR_Errors in H4"
Jan Schneider [Tue, 28 Dec 2010 11:55:04 +0000 (12:55 +0100)]
Revert "API calls should no longer be throwing PEAR_Errors in H4"

This reverts commit d48f5b4547eddd1f2014c715b1d70d7dd5303922.

The actually do, until someone goes through all Api.php files and fixes that.

14 years agoCatch fatal error if a task list has been added during the session that doesn't
Jan Schneider [Tue, 28 Dec 2010 10:58:37 +0000 (11:58 +0100)]
Catch fatal error if a task list has been added during the session that doesn't
exist in the cached list yet.

14 years agoFix syntax for IE.
Jan Schneider [Tue, 28 Dec 2010 10:45:32 +0000 (11:45 +0100)]
Fix syntax for IE.