horde.git
15 years agoForgot to add these fixture files in my last commit.
Gunnar Wrobel [Tue, 21 Sep 2010 08:42:49 +0000 (10:42 +0200)]
Forgot to add these fixture files in my last commit.

15 years agoSend correct Content-Type when PUTing events (Bug #9206).
Jan Schneider [Tue, 21 Sep 2010 15:32:27 +0000 (17:32 +0200)]
Send correct Content-Type when PUTing events (Bug #9206).

15 years agoThere may be several DAV headers (Bug #9251).
Jan Schneider [Tue, 21 Sep 2010 15:25:25 +0000 (17:25 +0200)]
There may be several DAV headers (Bug #9251).

15 years agosearch_sources pref is json encoded (Bug #9252).
Jan Schneider [Tue, 21 Sep 2010 14:41:04 +0000 (16:41 +0200)]
search_sources pref is json encoded (Bug #9252).

15 years agoUnset options that Horde_Db doesn't know here.
Jan Schneider [Tue, 21 Sep 2010 14:05:26 +0000 (16:05 +0200)]
Unset options that Horde_Db doesn't know here.

15 years agoRevert "Remove 'read' and 'write_db' from DSN. We should probably better use separate"
Jan Schneider [Tue, 21 Sep 2010 14:02:15 +0000 (16:02 +0200)]
Revert "Remove 'read' and 'write_db' from DSN. We should probably better use separate"

This reverts commit e4bda381d8b4ee972a9427dac535c79af1aa797a.

Conflicts:

crumb/locale

15 years agoUse Horde_Cache.
Jan Schneider [Mon, 20 Sep 2010 22:36:50 +0000 (00:36 +0200)]
Use Horde_Cache.

15 years agogetEntry() is throwing Horde_Exception_NotFound now.
Jan Schneider [Mon, 20 Sep 2010 22:35:03 +0000 (00:35 +0200)]
getEntry() is throwing Horde_Exception_NotFound now.

15 years agoAllow other objectclass combination operators than 'and'.
Jan Schneider [Mon, 20 Sep 2010 22:03:07 +0000 (00:03 +0200)]
Allow other objectclass combination operators than 'and'.

15 years agoAllow to specify comparison operators.
Jan Schneider [Mon, 20 Sep 2010 21:59:26 +0000 (23:59 +0200)]
Allow to specify comparison operators.

15 years agoThis constant does not exist
Michael M Slusarz [Mon, 20 Sep 2010 17:44:52 +0000 (11:44 -0600)]
This constant does not exist

15 years agoNo need for getSearchMailboxes()
Michael M Slusarz [Mon, 20 Sep 2010 06:38:03 +0000 (00:38 -0600)]
No need for getSearchMailboxes()

15 years agoUse getValue() (Bug #9196).
Jan Schneider [Mon, 20 Sep 2010 16:58:40 +0000 (18:58 +0200)]
Use getValue() (Bug #9196).

15 years agoSimplify
Jan Schneider [Mon, 20 Sep 2010 16:58:11 +0000 (18:58 +0200)]
Simplify

15 years agoUse Horde_String.
Jan Schneider [Mon, 20 Sep 2010 16:46:00 +0000 (18:46 +0200)]
Use Horde_String.

15 years agoWe still may need bind credentials for searching the user's DN, when re-binding
Jan Schneider [Mon, 20 Sep 2010 16:40:03 +0000 (18:40 +0200)]
We still may need bind credentials for searching the user's DN, when re-binding
as the current user.

15 years agoBC catch.
Jan Schneider [Mon, 20 Sep 2010 16:39:22 +0000 (18:39 +0200)]
BC catch.

15 years agoRe-bind as user if requested.
Jan Schneider [Mon, 20 Sep 2010 16:35:59 +0000 (18:35 +0200)]
Re-bind as user if requested.

15 years agoConfigure bind type, binddn and scope in configldap, but only put the bind type into...
Jan Schneider [Mon, 20 Sep 2010 16:29:05 +0000 (18:29 +0200)]
Configure bind type, binddn and scope in configldap, but only put the bind type into the global LDAP configuration.

15 years agoRename methods.
Jan Schneider [Mon, 20 Sep 2010 13:29:42 +0000 (15:29 +0200)]
Rename methods.

15 years agoMove code to find user DNs to Horde_Ldap.
Jan Schneider [Mon, 20 Sep 2010 13:21:52 +0000 (15:21 +0200)]
Move code to find user DNs to Horde_Ldap.

15 years agotodo
Jan Schneider [Mon, 20 Sep 2010 13:21:23 +0000 (15:21 +0200)]
todo

15 years agoAdd Horde_Ldap_Filter::build() to create filters from common configuration values.
Jan Schneider [Mon, 20 Sep 2010 12:49:06 +0000 (14:49 +0200)]
Add Horde_Ldap_Filter::build() to create filters from common configuration values.

15 years agoFix setting auth and documentation.
Jan Schneider [Mon, 20 Sep 2010 10:30:11 +0000 (12:30 +0200)]
Fix setting auth and documentation.

15 years agoDon't hide errors when accessing the GC file, and don't try to do
Jan Schneider [Mon, 20 Sep 2010 10:17:56 +0000 (12:17 +0200)]
Don't hide errors when accessing the GC file, and don't try to do
further operations on it if we failed opening it.

15 years agoProperly catch and re-throw bind errors from Horde_Ldap.
Jan Schneider [Mon, 20 Sep 2010 09:22:35 +0000 (11:22 +0200)]
Properly catch and re-throw bind errors from Horde_Ldap.

15 years agoAllow authentication drivers to explicity throw a REASON_MESSAGE exception.
Jan Schneider [Mon, 20 Sep 2010 09:21:48 +0000 (11:21 +0200)]
Allow authentication drivers to explicity throw a REASON_MESSAGE exception.

15 years agoGet authentication error after failed authentication.
Jan Schneider [Mon, 20 Sep 2010 09:11:43 +0000 (11:11 +0200)]
Get authentication error after failed authentication.

15 years agoRewrite of IMP search handling.
Michael M Slusarz [Mon, 20 Sep 2010 05:33:16 +0000 (23:33 -0600)]
Rewrite of IMP search handling.

Total rewrite of search system.

Search queries, elements, and virtual folders broken into separate
classes for easier generation and better encapsulation of the data.
Also allows for more complex search types - for example, the "To:"
header search has been replaced by the Recipients search, which searches
all of To/Cc/Bcc. Another example: the bulk search query has been
created (although it is not yet implemented in the UI).

Virtual folder maintenance is now handled within a prefs groups to
consolidate duplicate code in both imp and dimp.

Internal storage of virtual folders has changed. IMP 4 virtual folders
will be automatically converted, but any virtual folders created using
git code in the last year or so is now invalid and no upgrade path is
available.

Removed the use_vinbox, use_vtrash, vinbox_id, and vtrash_id prefs.

15 years agoNeed to escape these values
Michael M Slusarz [Mon, 20 Sep 2010 05:15:40 +0000 (23:15 -0600)]
Need to escape these values

15 years agoFix warning if no indices exist in object.
Michael M Slusarz [Sat, 18 Sep 2010 06:26:11 +0000 (00:26 -0600)]
Fix warning if no indices exist in object.

15 years agoFix deletion of messages in virtual folders.
Michael M Slusarz [Sat, 18 Sep 2010 05:54:35 +0000 (23:54 -0600)]
Fix deletion of messages in virtual folders.

Can't rely on global IMP_Mailbox instances, since the master mailbox is
instead the search mailbox. Need to explicitly pass in the mailbox
object to be updated.

15 years agoFix syntax errors.
Matt Selsky [Mon, 20 Sep 2010 05:02:08 +0000 (01:02 -0400)]
Fix syntax errors.

15 years agouse filename as default caption when uploading via Ansel's UI
Michael J. Rubinsky [Sun, 19 Sep 2010 19:35:37 +0000 (15:35 -0400)]
use filename as default caption when uploading via Ansel's UI

15 years agoThis method doesn't exist anymore
Michael J. Rubinsky [Sun, 19 Sep 2010 18:41:08 +0000 (14:41 -0400)]
This method doesn't exist anymore

15 years agoFix scope
Michael J. Rubinsky [Sun, 19 Sep 2010 18:33:09 +0000 (14:33 -0400)]
Fix scope

15 years agoRemove addBuiltinHelpers; add Tag and Text helpers in the default factory
Chuck Hagenbuch [Sun, 19 Sep 2010 03:33:13 +0000 (23:33 -0400)]
Remove addBuiltinHelpers; add Tag and Text helpers in the default factory

15 years agoFix authentication failure method name.
Chuck Hagenbuch [Sun, 19 Sep 2010 01:02:23 +0000 (21:02 -0400)]
Fix authentication failure method name.

15 years agoBeatnik: Fix trailing close-paren
Ben Klang [Sat, 18 Sep 2010 22:24:33 +0000 (18:24 -0400)]
Beatnik: Fix trailing close-paren

15 years agoWrap each table creation in the 1_* migration with try/catch blocks.
Michael J. Rubinsky [Sat, 18 Sep 2010 03:04:15 +0000 (23:04 -0400)]
Wrap each table creation in the 1_* migration with try/catch blocks.

Going from FW_3 to H4, these initial migrations will fail due to the tables already existing.
Wrap the initial table creation so we can catch these errors...at least for now, until we come up
with a more formal strategy for bootstraping FW_3 upgrades...

15 years agothis is mostly done
Michael J. Rubinsky [Sat, 18 Sep 2010 02:38:46 +0000 (22:38 -0400)]
this is mostly done

15 years agoMerge branch 'Ansel_Styles'
Michael J. Rubinsky [Sat, 18 Sep 2010 02:18:14 +0000 (22:18 -0400)]
Merge branch 'Ansel_Styles'

15 years agoMore style related refactoring:
Michael J. Rubinsky [Sat, 18 Sep 2010 02:14:33 +0000 (22:14 -0400)]
More style related refactoring:

Ansel now automatically picks up and makes available any new image
generators placed in lib/ImageGenerator. Will look for a matching "Stack"
generator for generating image stacks, if no match found, reverts to standard
thumbnail.  Ditto for gallery view styles placed in lib/View/GalleryRenderer.

Gallery property page now displays and allows changing current gallery style settings.

Some other phpdoc, and cleanup.

15 years agoStyle, use Horde_Exception_NotFound.
Jan Schneider [Fri, 17 Sep 2010 23:17:13 +0000 (01:17 +0200)]
Style, use Horde_Exception_NotFound.

15 years agoUse Horde_Ldap.
Jan Schneider [Fri, 17 Sep 2010 23:16:37 +0000 (01:16 +0200)]
Use Horde_Ldap.

15 years agoFix phpdoc.
Jan Schneider [Fri, 17 Sep 2010 22:03:21 +0000 (00:03 +0200)]
Fix phpdoc.

15 years agoUsing wrong variable here.
Michael M Slusarz [Fri, 17 Sep 2010 21:14:02 +0000 (15:14 -0600)]
Using wrong variable here.

15 years agoThese are a bit better for descriptions
Michael M Slusarz [Thu, 16 Sep 2010 22:11:43 +0000 (16:11 -0600)]
These are a bit better for descriptions

15 years agoFix closing tag
Michael M Slusarz [Thu, 16 Sep 2010 21:46:41 +0000 (15:46 -0600)]
Fix closing tag

15 years agoGive option to disable up/down movement in source select widget
Michael M Slusarz [Thu, 16 Sep 2010 21:07:20 +0000 (15:07 -0600)]
Give option to disable up/down movement in source select widget

15 years agoMake sure truncated text isn't split on a space boundary.
Michael M Slusarz [Wed, 15 Sep 2010 22:08:23 +0000 (16:08 -0600)]
Make sure truncated text isn't split on a space boundary.

15 years agoDon't attempt to get the country name from NLS if we don't have a country entry.
Michael J. Rubinsky [Fri, 17 Sep 2010 18:01:47 +0000 (14:01 -0400)]
Don't attempt to get the country name from NLS if we don't have a country entry.

Horde_Nls::getCountryISO() returns the full array of country codes -> names if an empty
value is passed to it. Also, fix hash key for homeCountry when deleting it from PIM -> Server

15 years agoNeed to convert the workCountry value here also
Michael J. Rubinsky [Fri, 17 Sep 2010 17:46:26 +0000 (13:46 -0400)]
Need to convert the workCountry value here also

15 years agoKeep CRLF.
Jan Schneider [Fri, 17 Sep 2010 17:49:59 +0000 (19:49 +0200)]
Keep CRLF.

15 years agophpdoc
Michael J. Rubinsky [Fri, 17 Sep 2010 17:21:35 +0000 (13:21 -0400)]
phpdoc

15 years agoStyle
Jan Schneider [Fri, 17 Sep 2010 16:48:19 +0000 (18:48 +0200)]
Style

15 years agoDrop different bind DNs. Consumer code is responsible for binding with the correct...
Jan Schneider [Fri, 17 Sep 2010 16:46:40 +0000 (18:46 +0200)]
Drop different bind DNs. Consumer code is responsible for binding with the correct credentials.

15 years agoThese trailing lines are required, did Git strip them?
Jan Schneider [Fri, 17 Sep 2010 16:45:23 +0000 (18:45 +0200)]
These trailing lines are required, did Git strip them?

15 years agoFix url.
Jan Schneider [Fri, 17 Sep 2010 15:32:33 +0000 (17:32 +0200)]
Fix url.

15 years agoUpdate file names.
Jan Schneider [Fri, 17 Sep 2010 12:28:37 +0000 (14:28 +0200)]
Update file names.

15 years agofacsimileTelephoneNumber doesn's have a matching rule for deleting individual attributes.
Jan Schneider [Fri, 17 Sep 2010 12:25:57 +0000 (14:25 +0200)]
facsimileTelephoneNumber doesn's have a matching rule for deleting individual attributes.

15 years agoFix for-call.
Jan Schneider [Fri, 17 Sep 2010 12:25:14 +0000 (14:25 +0200)]
Fix for-call.

15 years agoFix configuration parameter names.
Jan Schneider [Fri, 17 Sep 2010 11:54:14 +0000 (13:54 +0200)]
Fix configuration parameter names.

15 years agoFix typos.
Jan Schneider [Fri, 17 Sep 2010 11:33:06 +0000 (13:33 +0200)]
Fix typos.

15 years agoMatch method names.
Jan Schneider [Fri, 17 Sep 2010 11:31:58 +0000 (13:31 +0200)]
Match method names.

15 years agoUpdate Horde_Ldap_Util method names.
Jan Schneider [Fri, 17 Sep 2010 11:29:59 +0000 (13:29 +0200)]
Update Horde_Ldap_Util method names.

15 years agoCleanup
Jan Schneider [Fri, 17 Sep 2010 11:18:26 +0000 (13:18 +0200)]
Cleanup

15 years agoAdd test suite.
Jan Schneider [Fri, 17 Sep 2010 11:18:01 +0000 (13:18 +0200)]
Add test suite.

15 years agoAdd test stubs to skeleton.
Jan Schneider [Thu, 16 Sep 2010 14:15:26 +0000 (16:15 +0200)]
Add test stubs to skeleton.

15 years agoNet_LDAP2_LDIF -> Horde_Ldap_Ldif
Jan Schneider [Thu, 16 Sep 2010 12:54:02 +0000 (14:54 +0200)]
Net_LDAP2_LDIF -> Horde_Ldap_Ldif

15 years agoCleanup
Jan Schneider [Wed, 15 Sep 2010 12:29:26 +0000 (14:29 +0200)]
Cleanup

15 years agophpdoc
Jan Schneider [Wed, 15 Sep 2010 09:42:08 +0000 (11:42 +0200)]
phpdoc

15 years agoCleanup.
Jan Schneider [Tue, 14 Sep 2010 21:32:55 +0000 (23:32 +0200)]
Cleanup.

15 years agoPass error number.
Jan Schneider [Tue, 14 Sep 2010 21:06:38 +0000 (23:06 +0200)]
Pass error number.

15 years agoTweak method/property names.
Jan Schneider [Tue, 14 Sep 2010 16:51:05 +0000 (18:51 +0200)]
Tweak method/property names.

15 years agoThese are protected methods.
Jan Schneider [Tue, 14 Sep 2010 16:44:41 +0000 (18:44 +0200)]
These are protected methods.

15 years agoRemove unused factory method.
Jan Schneider [Tue, 14 Sep 2010 16:40:30 +0000 (18:40 +0200)]
Remove unused factory method.

15 years agoThis may be called rootDSE() though.
Jan Schneider [Tue, 14 Sep 2010 16:39:12 +0000 (18:39 +0200)]
This may be called rootDSE() though.

15 years agoFix file names.
Jan Schneider [Tue, 14 Sep 2010 16:37:45 +0000 (18:37 +0200)]
Fix file names.

15 years agoOnly disconnect() is left.
Jan Schneider [Tue, 14 Sep 2010 16:36:48 +0000 (18:36 +0200)]
Only disconnect() is left.

15 years agoCleanup
Jan Schneider [Tue, 14 Sep 2010 16:21:20 +0000 (18:21 +0200)]
Cleanup

15 years agoDon't filter out stories with no tags
Chuck Hagenbuch [Fri, 17 Sep 2010 05:40:48 +0000 (01:40 -0400)]
Don't filter out stories with no tags

15 years agoActually, we need to migrate ansel_default as well...an empty style
Michael J. Rubinsky [Thu, 16 Sep 2010 22:46:37 +0000 (18:46 -0400)]
Actually, we need to migrate ansel_default as well...an empty style
means to use the user's default style pref

15 years agoUse ansel_default for any style names that don't currently exist.
Michael J. Rubinsky [Thu, 16 Sep 2010 22:34:02 +0000 (18:34 -0400)]
Use ansel_default for any style names that don't currently exist.

15 years agoremove commented out code, make note of this change.
Michael J. Rubinsky [Thu, 16 Sep 2010 22:18:50 +0000 (18:18 -0400)]
remove commented out code, make note of this change.

15 years agoAdd upgrade/migration script for new style format.
Michael J. Rubinsky [Thu, 16 Sep 2010 22:17:38 +0000 (18:17 -0400)]
Add upgrade/migration script for new style format.

Run this after the db migration is run. Do not remove or change
anything in the config/styles.php before this is run.

15 years agoAdd update script for moving deprecated gallery categories to the tag system
Michael J. Rubinsky [Thu, 16 Sep 2010 21:45:08 +0000 (17:45 -0400)]
Add update script for moving deprecated gallery categories to the tag system

15 years agoremove old sql creation scripts and legacy upgrades
Michael J. Rubinsky [Thu, 16 Sep 2010 21:30:01 +0000 (17:30 -0400)]
remove old sql creation scripts and legacy upgrades

15 years agoAdd DB migrations for Ansel
Michael J. Rubinsky [Thu, 16 Sep 2010 21:27:20 +0000 (17:27 -0400)]
Add DB migrations for Ansel

15 years agows
Michael J. Rubinsky [Thu, 16 Sep 2010 21:26:53 +0000 (17:26 -0400)]
ws

15 years agoFix image cache clearing with new style code.
Michael J. Rubinsky [Thu, 16 Sep 2010 21:25:51 +0000 (17:25 -0400)]
Fix image cache clearing with new style code.

Need to store all style hashes that the server knows about, so we can
be sure to delete all cached thumbnails from the VFS.

15 years agows
Michael J. Rubinsky [Thu, 16 Sep 2010 21:24:08 +0000 (17:24 -0400)]
ws

15 years agoUse default styled key images for this block
Michael J. Rubinsky [Thu, 16 Sep 2010 16:25:12 +0000 (12:25 -0400)]
Use default styled key images for this block

15 years agoDocument the supported style properties, add default widget array
Michael J. Rubinsky [Thu, 16 Sep 2010 16:22:32 +0000 (12:22 -0400)]
Document the supported style properties, add default widget array

15 years agoStandardize on ImageGenerator names, fix mini thumbnail display on owner group view.
Michael J. Rubinsky [Thu, 16 Sep 2010 16:03:56 +0000 (12:03 -0400)]
Standardize on ImageGenerator names, fix mini thumbnail display on owner group view.

To allow for easier theming, ImageGenerator classes for thumbnails are now named as:

  Ansel_ImageGenerator_{type}Thumb

and if there is a matching stack generator, it should be named as:

  Ansel_ImageGenerator_{type}ThumbStack

other types of generators, such as the screen, and mini generators, are named as before:

  Ansel_ImageGenerator_Screen, Ansel_ImageGenerator_Mini etc...

15 years agoImplement Ansel_Style
Michael J. Rubinsky [Thu, 16 Sep 2010 00:00:05 +0000 (20:00 -0400)]
Implement Ansel_Style

Style info is always passed around as an Ansel_Style object now, except when
calling via the API...which will take a named style.  Also, now optionally pass the
thumbbnail type and background color to the img/* scripts since each gallery now
has it's own copy of the style information. Some other misc. changes...basically
a touchstone commit.

15 years agoAdd JOIN for tag filtering
Chuck Hagenbuch [Wed, 15 Sep 2010 18:32:48 +0000 (14:32 -0400)]
Add JOIN for tag filtering
Add WHERE clause for published filtering
Fix missing arguments to getAssoc()

15 years agoRemove duplicate parameter documentation
Chuck Hagenbuch [Wed, 15 Sep 2010 18:31:42 +0000 (14:31 -0400)]
Remove duplicate parameter documentation

15 years agoIf no criteria are passed, set the limit to 10 items (though this isn't currently...
Chuck Hagenbuch [Wed, 15 Sep 2010 13:32:09 +0000 (09:32 -0400)]
If no criteria are passed, set the limit to 10 items (though this isn't currently honored)
Set 'tags' in the criteria array, not tag_id
Only show published posts in RSS feeds

15 years agotypo
Michael J. Rubinsky [Wed, 15 Sep 2010 14:52:43 +0000 (10:52 -0400)]
typo