horde.git
15 years agotypo
Michael J. Rubinsky [Mon, 31 May 2010 19:50:10 +0000 (15:50 -0400)]
typo

15 years agodon't show "find similar" link if we don't have the libpuzzle extension loaded.
Michael J. Rubinsky [Mon, 31 May 2010 19:48:49 +0000 (15:48 -0400)]
don't show "find similar" link if we don't have the libpuzzle extension loaded.

15 years agoBug #9069: Fix toggling nav_poll in DIMP
Michael M Slusarz [Wed, 2 Jun 2010 03:56:32 +0000 (21:56 -0600)]
Bug #9069: Fix toggling nav_poll in DIMP

15 years agoConvert Group to H4 conventions
Michael M Slusarz [Tue, 1 Jun 2010 08:46:27 +0000 (02:46 -0600)]
Convert Group to H4 conventions

Still needs a bunch of work, but now it should at least autoload.
Also, switch to Horde_Db usage for the Sql driver.

15 years agoMove convertUsername() from horde/Auth to horde/Core
Michael M Slusarz [Tue, 1 Jun 2010 20:29:33 +0000 (14:29 -0600)]
Move convertUsername() from horde/Auth to horde/Core

15 years agoMove authenticateFailure() and getLogoutUrl() from horde/Auth to horde/Core
Michael M Slusarz [Tue, 1 Jun 2010 19:11:26 +0000 (13:11 -0600)]
Move authenticateFailure() and getLogoutUrl() from horde/Auth to horde/Core

15 years agoMove clearAuth() from horde/Auth to horde/Core
Michael M Slusarz [Tue, 1 Jun 2010 18:55:42 +0000 (12:55 -0600)]
Move clearAuth() from horde/Auth to horde/Core

15 years agoMoved isAuthenticated() from horde/Auth to horde/Core
Michael M Slusarz [Tue, 1 Jun 2010 09:04:04 +0000 (03:04 -0600)]
Moved isAuthenticated() from horde/Auth to horde/Core

15 years agoMove requireAuth() from horde/Auth to horde/Core
Michael M Slusarz [Tue, 1 Jun 2010 08:51:25 +0000 (02:51 -0600)]
Move requireAuth() from horde/Auth to horde/Core

15 years agoThrow Exceptions; PEAR_Error removal
Michael M Slusarz [Tue, 1 Jun 2010 08:34:41 +0000 (02:34 -0600)]
Throw Exceptions; PEAR_Error removal

15 years agoMove isAdmin() from horde/Auth to horde/Core
Michael M Slusarz [Tue, 1 Jun 2010 07:05:01 +0000 (01:05 -0600)]
Move isAdmin() from horde/Auth to horde/Core

15 years agoMove readSessionData() to horde/Core from horde/Auth
Michael M Slusarz [Tue, 1 Jun 2010 05:50:53 +0000 (23:50 -0600)]
Move readSessionData() to horde/Core from horde/Auth

15 years agoMove application auth driver to horde/Core
Michael M Slusarz [Tue, 1 Jun 2010 04:34:35 +0000 (22:34 -0600)]
Move application auth driver to horde/Core

15 years agoLdap sessionhandler driver now uses Horde_Ldap
Michael M Slusarz [Mon, 31 May 2010 23:40:02 +0000 (17:40 -0600)]
Ldap sessionhandler driver now uses Horde_Ldap

15 years agoHorde_Auth binder usage
Michael M Slusarz [Mon, 31 May 2010 23:47:37 +0000 (17:47 -0600)]
Horde_Auth binder usage

Use Horde_Db and Horde_Ldap where appropriate.

15 years agoRemoved Krb5 auth driver
Michael M Slusarz [Mon, 31 May 2010 21:43:58 +0000 (15:43 -0600)]
Removed Krb5 auth driver

15 years agoRound to the nearest half hour when clicking in day/week views to create new events..
Jan Schneider [Tue, 1 Jun 2010 17:06:45 +0000 (19:06 +0200)]
Round to the nearest half hour when clicking in day/week views to create new events..

15 years agoHide subscription tab if creating new calendars.
Jan Schneider [Tue, 1 Jun 2010 16:56:32 +0000 (18:56 +0200)]
Hide subscription tab if creating new calendars.

15 years agoMFB
Jan Schneider [Tue, 1 Jun 2010 15:01:43 +0000 (17:01 +0200)]
MFB

15 years agoHigh z-index for KNL.
Jan Schneider [Mon, 31 May 2010 17:49:01 +0000 (19:49 +0200)]
High z-index for KNL.

15 years agoHave the default controller scan be closer to Horde's default logic
Chuck Hagenbuch [Tue, 1 Jun 2010 15:15:09 +0000 (11:15 -0400)]
Have the default controller scan be closer to Horde's default logic

15 years agoAllow the Implementation binder to create its own DependencyFinder if one isn't passe...
Chuck Hagenbuch [Tue, 1 Jun 2010 14:15:58 +0000 (10:15 -0400)]
Allow the Implementation binder to create its own DependencyFinder if one isn't passed in.

This isn't "pure", but it still lets the DependencyFinder be injected, and it
also makes bindImplementation() work again without any other hacks or extra
arguments.

15 years agoRewrite Migration tests to use Table/Column objects rather than relying on magical...
Chuck Hagenbuch [Tue, 1 Jun 2010 02:57:14 +0000 (22:57 -0400)]
Rewrite Migration tests to use Table/Column objects rather than relying on magical defaults-pulling entities

15 years agoBetter handling of NULL default values for columns
Chuck Hagenbuch [Tue, 1 Jun 2010 02:56:42 +0000 (22:56 -0400)]
Better handling of NULL default values for columns

15 years agoAdd shortcuts for accessing columns in the Table, similar to TableDefinition
Chuck Hagenbuch [Tue, 1 Jun 2010 02:56:11 +0000 (22:56 -0400)]
Add shortcuts for accessing columns in the Table, similar to TableDefinition

15 years agoremove commented-out code
Chuck Hagenbuch [Tue, 1 Jun 2010 02:55:27 +0000 (22:55 -0400)]
remove commented-out code

15 years agoCorrect interface name
Chuck Hagenbuch [Tue, 1 Jun 2010 01:14:42 +0000 (21:14 -0400)]
Correct interface name

15 years agoUpdate field name in doc comment
Chuck Hagenbuch [Tue, 1 Jun 2010 01:13:58 +0000 (21:13 -0400)]
Update field name in doc comment

15 years agoShorthand for adding foreign key references to a table
Chuck Hagenbuch [Mon, 31 May 2010 19:45:06 +0000 (15:45 -0400)]
Shorthand for adding foreign key references to a table

Credit to http://github.com/maintainable/framework/commit/1b2f572c510ebfac71e9681ed9e453e7e86f2314

15 years agoAdd shorthand for adding created_at/updated_at to a table.
Chuck Hagenbuch [Mon, 31 May 2010 19:40:13 +0000 (15:40 -0400)]
Add shorthand for adding created_at/updated_at to a table.

Credit to http://github.com/maintainable/framework/commit/2875fa7ccd8d6cb8176097bf2c2c00a756326649
Also change Rdo to use created_at/updated_at instead of created/updated

15 years agoAdd shorthand column creation methods
Chuck Hagenbuch [Mon, 31 May 2010 19:34:25 +0000 (15:34 -0400)]
Add shorthand column creation methods

Credit to http://github.com/maintainable/framework/commit/7709643d3b88cff39cec717d4c6248ebd373a480

15 years agoPass the Horde_Db_Adapter that Mappers use in the constructor, to make it injectable.
Chuck Hagenbuch [Mon, 31 May 2010 19:26:44 +0000 (15:26 -0400)]
Pass the Horde_Db_Adapter that Mappers use in the constructor, to make it injectable.

15 years agosome faces cleanup.
Michael J. Rubinsky [Mon, 31 May 2010 19:20:22 +0000 (15:20 -0400)]
some faces cleanup.

this code is still a complete mess and needs to be completely rewritten for H4

15 years agoUse full image name, not just directory.
Jan Schneider [Mon, 31 May 2010 17:41:30 +0000 (19:41 +0200)]
Use full image name, not just directory.

15 years agofix display of icons - we should be using Hodre::img, not Horde_Themes::img
Michael J. Rubinsky [Mon, 31 May 2010 17:30:56 +0000 (13:30 -0400)]
fix display of icons - we should be using Hodre::img, not Horde_Themes::img
in these cases.

15 years agofix logic
Michael J. Rubinsky [Mon, 31 May 2010 17:18:35 +0000 (13:18 -0400)]
fix logic

15 years agoAdd parameter to show only the first character of the weekday in calendar popups.
Jan Schneider [Mon, 31 May 2010 17:23:17 +0000 (19:23 +0200)]
Add parameter to show only the first character of the weekday in calendar popups.

15 years agoRemove superfluous description.
Jan Schneider [Mon, 31 May 2010 16:36:40 +0000 (18:36 +0200)]
Remove superfluous description.

15 years agoindent
Jan Schneider [Mon, 31 May 2010 16:35:14 +0000 (18:35 +0200)]
indent

15 years agoRemove superfluous description.
Jan Schneider [Mon, 31 May 2010 16:35:00 +0000 (18:35 +0200)]
Remove superfluous description.

15 years agoRemove mention of DataTree from Nag INSTALL, replace with Shares
Michael J. Rubinsky [Mon, 31 May 2010 16:36:46 +0000 (12:36 -0400)]
Remove mention of DataTree from Nag INSTALL, replace with Shares

15 years agoAdd DIVs.
Jan [Mon, 31 May 2010 16:08:09 +0000 (17:08 +0100)]
Add DIVs.

15 years agoAdd button class.
Jan [Mon, 31 May 2010 16:08:08 +0000 (17:08 +0100)]
Add button class.

15 years agoLet advanced permission scroll, if necessary.
Jan [Mon, 31 May 2010 16:08:07 +0000 (17:08 +0100)]
Let advanced permission scroll, if necessary.

15 years agoTweak services area.
Jan [Mon, 31 May 2010 16:08:06 +0000 (17:08 +0100)]
Tweak services area.

15 years agoTweak attendee list.
Jan [Mon, 31 May 2010 16:08:05 +0000 (17:08 +0100)]
Tweak attendee list.

15 years agoMove subscription URLs to separate tab.
Jan [Mon, 31 May 2010 16:08:04 +0000 (17:08 +0100)]
Move subscription URLs to separate tab.

15 years agoEncode URL.
Jan [Mon, 31 May 2010 16:08:03 +0000 (17:08 +0100)]
Encode URL.

15 years agoRe-add check that got lost somehow and allowed guest access to all applications.
Jan [Mon, 31 May 2010 16:08:02 +0000 (17:08 +0100)]
Re-add check that got lost somehow and allowed guest access to all applications.

15 years agoFix no overflow in growlers and keep room for close button.
Jan [Mon, 31 May 2010 16:08:01 +0000 (17:08 +0100)]
Fix no overflow in growlers and keep room for close button.

15 years agoStop event after closing popup.
Jan Schneider [Mon, 31 May 2010 15:32:02 +0000 (17:32 +0200)]
Stop event after closing popup.

15 years agoFix logging out after session timeout.
Jan Schneider [Mon, 31 May 2010 15:24:03 +0000 (17:24 +0200)]
Fix logging out after session timeout.

15 years agoUse setRaw() instead of str_replace hack.
Jan Schneider [Mon, 31 May 2010 15:02:46 +0000 (17:02 +0200)]
Use setRaw() instead of str_replace hack.

15 years agoCheck earlier whether we need to load calendar information from the backend.
Jan Schneider [Mon, 31 May 2010 13:56:21 +0000 (15:56 +0200)]
Check earlier whether we need to load calendar information from the backend.

15 years agoGroup:: is not autoloadable yet.
Jan Schneider [Mon, 31 May 2010 13:10:25 +0000 (15:10 +0200)]
Group:: is not autoloadable yet.

15 years agoRemove 'read' and 'write_db' from DSN. We should probably better use separate
Jan Schneider [Mon, 31 May 2010 12:20:51 +0000 (14:20 +0200)]
Remove 'read' and 'write_db' from DSN. We should probably better use separate
properties for parameters and other optional objects/arrays.

15 years agoMDB2 probably still needs this
Michael J. Rubinsky [Mon, 31 May 2010 16:09:43 +0000 (12:09 -0400)]
MDB2 probably still needs this

15 years agofix typo
Michael J. Rubinsky [Mon, 31 May 2010 15:23:37 +0000 (11:23 -0400)]
fix typo

15 years agoFix Horde_Db_Adapter_Base binder name
Michael J. Rubinsky [Mon, 31 May 2010 14:55:29 +0000 (10:55 -0400)]
Fix Horde_Db_Adapter_Base binder name

15 years agoremove option for deprecated/non-existant opencv php extension
Michael J. Rubinsky [Mon, 31 May 2010 14:40:20 +0000 (10:40 -0400)]
remove option for deprecated/non-existant opencv php extension

15 years agoMake a note of the url for the setup screen, in case the admin menu is not visible
Michael J. Rubinsky [Mon, 31 May 2010 14:38:12 +0000 (10:38 -0400)]
Make a note of the url for the setup screen, in case the admin menu is not visible

15 years agoEver since setting the Cache was moved out of the constructor, accessing it was broke...
Chuck Hagenbuch [Mon, 31 May 2010 02:01:45 +0000 (22:01 -0400)]
Ever since setting the Cache was moved out of the constructor, accessing it was broken from the Schema objects. Fix that.

We need to delegate back up to the Adapter now, which also means adding getter
methods for the Cache and Logger.

15 years agoMark dependency setters as such
Chuck Hagenbuch [Mon, 31 May 2010 01:30:14 +0000 (21:30 -0400)]
Mark dependency setters as such

15 years agoRe-add check for stringToBinary on $column, since it was causing a fatal error in...
Chuck Hagenbuch [Mon, 31 May 2010 01:21:05 +0000 (21:21 -0400)]
Re-add check for stringToBinary on $column, since it was causing a fatal error in the unit tests.

15 years agoFix specifying test configs in an environment variable
Chuck Hagenbuch [Mon, 31 May 2010 00:50:59 +0000 (20:50 -0400)]
Fix specifying test configs in an environment variable

15 years agoReplace componentFactory() with individual factories that can be overridden.
Chuck Hagenbuch [Sun, 30 May 2010 19:54:31 +0000 (15:54 -0400)]
Replace componentFactory() with individual factories that can be overridden.

This removes the use of reflection, which gets rid of some overhead, and also
means that Horde_Db isn't reliant on a class-loading mechanism that's tolerant
of classes that aren't there.

15 years agofix typo
Michael J. Rubinsky [Mon, 31 May 2010 00:51:34 +0000 (20:51 -0400)]
fix typo

15 years agofix class name
Michael J. Rubinsky [Mon, 31 May 2010 00:50:23 +0000 (20:50 -0400)]
fix class name

15 years agoFix case for file names
Michael J. Rubinsky [Mon, 31 May 2010 00:46:41 +0000 (20:46 -0400)]
Fix case for file names

15 years agoAdd a binder for the ansel face driver, some cleanup while I was poking
Michael J. Rubinsky [Mon, 31 May 2010 00:44:33 +0000 (20:44 -0400)]
Add a binder for the ansel face driver, some cleanup while I was poking

15 years agouse Horde::startBuffer() Horde::endBuffer()
Michael J. Rubinsky [Mon, 31 May 2010 00:05:39 +0000 (20:05 -0400)]
use Horde::startBuffer() Horde::endBuffer()

15 years agoUse injector, get rid of more $GLOBALS.
Michael J. Rubinsky [Sun, 30 May 2010 22:06:18 +0000 (18:06 -0400)]
Use injector, get rid of more $GLOBALS.

Use injector for vfs, and for style config.  Added a binder and factory for
Ansel_Storage, but still need to work out the need to be able to support
different scopes. Will probably need to be passing the scope string around
everywhere...

15 years agoSimple Scribe usage example
Chuck Hagenbuch [Sun, 30 May 2010 19:37:01 +0000 (15:37 -0400)]
Simple Scribe usage example

15 years agoAdd a Horde_Log_Handler for Scribe
Chuck Hagenbuch [Sun, 30 May 2010 19:33:51 +0000 (15:33 -0400)]
Add a Horde_Log_Handler for Scribe

15 years agoSimple Scribe client that wraps all of the internal thrift objects up in a simple API
Chuck Hagenbuch [Sun, 30 May 2010 19:13:28 +0000 (15:13 -0400)]
Simple Scribe client that wraps all of the internal thrift objects up in a simple API

15 years agoUse interfaces instead of inheritences to autoload Thrift, to avoid restricting class...
Chuck Hagenbuch [Sun, 30 May 2010 19:01:58 +0000 (15:01 -0400)]
Use interfaces instead of inheritences to autoload Thrift, to avoid restricting class design as much.

15 years agoFix Horde_Scribe to use the thrift_root directory
Chuck Hagenbuch [Sun, 30 May 2010 16:19:59 +0000 (12:19 -0400)]
Fix Horde_Scribe to use the thrift_root directory

15 years agoInitial Horde scribe wrapper using Horde_Thrift
Chuck Hagenbuch [Sun, 30 May 2010 16:12:53 +0000 (12:12 -0400)]
Initial Horde scribe wrapper using Horde_Thrift

15 years agoFix unit tests after cache changes.
Chuck Hagenbuch [Sun, 30 May 2010 14:06:50 +0000 (10:06 -0400)]
Fix unit tests after cache changes.

15 years agoFix addLock() function signature
Chuck Hagenbuch [Sun, 30 May 2010 14:06:05 +0000 (10:06 -0400)]
Fix addLock() function signature

15 years agoFix parse error
Chuck Hagenbuch [Sun, 30 May 2010 02:20:45 +0000 (22:20 -0400)]
Fix parse error

15 years agoAdd Horde_Db_Adapter interface
Chuck Hagenbuch [Sun, 30 May 2010 02:20:30 +0000 (22:20 -0400)]
Add Horde_Db_Adapter interface

15 years agoFix parse errors
Chuck Hagenbuch [Sun, 30 May 2010 02:17:11 +0000 (22:17 -0400)]
Fix parse errors

15 years agoRevert addition of write_db directly to the Horde_Db_Adapter_Base object, along
Chuck Hagenbuch [Sun, 30 May 2010 01:35:41 +0000 (21:35 -0400)]
Revert addition of write_db directly to the Horde_Db_Adapter_Base object, along
with executeWrite() which is unnecessary at this level.

Revert "Add ability to define a write DB for use with split-DB installations"

This reverts commit 0c369fee9b6ef70bdd92f1141635699d5ad9707b.

Conflicts:

framework/Core/lib/Horde/Core/Binder/Db.php
framework/Db/lib/Horde/Db/Adapter/Base.php
framework/Db/package.xml

Revert "Add executeWrite()."

These queries should always go to the write db

This reverts commit 556ca7c259f179d69a1bace18224280720889acc.

Conflicts:

framework/Db/lib/Horde/Db/Adapter/Base.php

remove executeWrite() calls from Oracle schema

15 years agoCache the content_type ids in Horde_Cache.
Michael J. Rubinsky [Sat, 29 May 2010 23:56:22 +0000 (19:56 -0400)]
Cache the content_type ids in Horde_Cache.

These values are the same for every user, and will never change unless the content tables are wiped.

15 years agolazy load the geoLocation data.
Michael J. Rubinsky [Sat, 29 May 2010 23:39:31 +0000 (19:39 -0400)]
lazy load the geoLocation data.

Don't query the geoLocation datastore for every event, only query the datastore
when we actually ask for the data. Also add logging for the geo related queries.

This, along with the previous commits for the way tag queries are done should
significantly improve performance when calling listEvents(), especially for large
datasets.

15 years agoThe formatters are implementing the formatter interface.
Jan Schneider [Sat, 29 May 2010 09:06:56 +0000 (11:06 +0200)]
The formatters are implementing the formatter interface.

15 years agoImport/export geolocation to/from iCalendar.
Jan Schneider [Fri, 28 May 2010 14:16:09 +0000 (16:16 +0200)]
Import/export geolocation to/from iCalendar.

15 years agoMake sure that we have a return URL if using the alternate login screen.
Jan [Fri, 28 May 2010 10:38:18 +0000 (11:38 +0100)]
Make sure that we have a return URL if using the alternate login screen.

15 years agoLog exceptions and PEAR_Errors with ERR level by default.
Jan Schneider [Thu, 27 May 2010 14:42:41 +0000 (16:42 +0200)]
Log exceptions and PEAR_Errors with ERR level by default.

15 years agoImprovments in listing events - do not query tag storage when listing events.
Michael J. Rubinsky [Fri, 28 May 2010 18:58:54 +0000 (14:58 -0400)]
Improvments in listing events - do not query tag storage when listing events.

No need to query tag storage 99% of the time we call listEvents. Do not retrieve tags
unless explicitly requested, and when we do, do it in a single batch query for all events
returned in listEvents.  Also, lazy load the tags on events when accessing the tags property.

Still need to do something similar with the geoLocation stuff.

15 years agoWe might not find *any* tags - return an array of object_ids in this case.
Michael J. Rubinsky [Fri, 28 May 2010 18:57:28 +0000 (14:57 -0400)]
We might not find *any* tags - return an array of object_ids in this case.

15 years agoSimplify - only return the tag_names, we won't need the ids in this case.
Michael J. Rubinsky [Fri, 28 May 2010 18:22:23 +0000 (14:22 -0400)]
Simplify - only return the tag_names, we won't need the ids in this case.

15 years agoNeed to pass 'charset' parameter to alarms
Michael J. Rubinsky [Fri, 28 May 2010 18:20:31 +0000 (14:20 -0400)]
Need to pass 'charset' parameter to alarms

Add a getConfig method to the Core Horde_Db factory for getting the db config
for the specified module, use it to get the charset parameter to pass to alarms.

15 years agoAdd a method for bulk fetching tags for a group of objects.
Michael J. Rubinsky [Fri, 28 May 2010 17:12:33 +0000 (13:12 -0400)]
Add a method for bulk fetching tags for a group of objects.

Implemented as a separate method instead of adding functionality to getTags
to keep that already complicated logic as simple as possible.

15 years agofix parse error
Michael J. Rubinsky [Fri, 28 May 2010 16:43:59 +0000 (12:43 -0400)]
fix parse error

15 years agoFix variable; provide downgrade path (even though it won't work in backend yet)
Michael M Slusarz [Fri, 28 May 2010 16:21:04 +0000 (10:21 -0600)]
Fix variable; provide downgrade path (even though it won't work in backend yet)

15 years agoRename Horde_Db_Base back to Horde_Db_Adapter_Base
Michael M Slusarz [Fri, 28 May 2010 16:18:04 +0000 (10:18 -0600)]
Rename Horde_Db_Base back to Horde_Db_Adapter_Base

15 years agows
Michael M Slusarz [Fri, 28 May 2010 16:16:18 +0000 (10:16 -0600)]
ws

15 years agoFix switched classpath pieces - Horde_Db_Adapter_Base, not Horde_Db_Base_Adapter
Chuck Hagenbuch [Fri, 28 May 2010 04:20:07 +0000 (00:20 -0400)]
Fix switched classpath pieces - Horde_Db_Adapter_Base, not Horde_Db_Base_Adapter