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
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.
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
Chuck Hagenbuch [Tue, 1 Jun 2010 02:56:42 +0000 (22:56 -0400)]
Better handling of NULL default values for columns
Chuck Hagenbuch [Tue, 1 Jun 2010 02:56:11 +0000 (22:56 -0400)]
Add shortcuts for accessing columns in the Table, similar to TableDefinition
Chuck Hagenbuch [Tue, 1 Jun 2010 02:55:27 +0000 (22:55 -0400)]
remove commented-out code
Chuck Hagenbuch [Tue, 1 Jun 2010 01:14:42 +0000 (21:14 -0400)]
Correct interface name
Chuck Hagenbuch [Tue, 1 Jun 2010 01:13:58 +0000 (21:13 -0400)]
Update field name in doc comment
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
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
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
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.
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
Jan Schneider [Mon, 31 May 2010 17:41:30 +0000 (19:41 +0200)]
Use full image name, not just directory.
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.
Michael J. Rubinsky [Mon, 31 May 2010 17:18:35 +0000 (13:18 -0400)]
fix logic
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.
Jan Schneider [Mon, 31 May 2010 16:36:40 +0000 (18:36 +0200)]
Remove superfluous description.
Jan Schneider [Mon, 31 May 2010 16:35:14 +0000 (18:35 +0200)]
indent
Jan Schneider [Mon, 31 May 2010 16:35:00 +0000 (18:35 +0200)]
Remove superfluous description.
Michael J. Rubinsky [Mon, 31 May 2010 16:36:46 +0000 (12:36 -0400)]
Remove mention of DataTree from Nag INSTALL, replace with Shares
Jan [Mon, 31 May 2010 16:08:09 +0000 (17:08 +0100)]
Add DIVs.
Jan [Mon, 31 May 2010 16:08:08 +0000 (17:08 +0100)]
Add button class.
Jan [Mon, 31 May 2010 16:08:07 +0000 (17:08 +0100)]
Let advanced permission scroll, if necessary.
Jan [Mon, 31 May 2010 16:08:06 +0000 (17:08 +0100)]
Tweak services area.
Jan [Mon, 31 May 2010 16:08:05 +0000 (17:08 +0100)]
Tweak attendee list.
Jan [Mon, 31 May 2010 16:08:04 +0000 (17:08 +0100)]
Move subscription URLs to separate tab.
Jan [Mon, 31 May 2010 16:08:03 +0000 (17:08 +0100)]
Encode URL.
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.
Jan [Mon, 31 May 2010 16:08:01 +0000 (17:08 +0100)]
Fix no overflow in growlers and keep room for close button.
Jan Schneider [Mon, 31 May 2010 15:32:02 +0000 (17:32 +0200)]
Stop event after closing popup.
Jan Schneider [Mon, 31 May 2010 15:24:03 +0000 (17:24 +0200)]
Fix logging out after session timeout.
Jan Schneider [Mon, 31 May 2010 15:02:46 +0000 (17:02 +0200)]
Use setRaw() instead of str_replace hack.
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.
Jan Schneider [Mon, 31 May 2010 13:10:25 +0000 (15:10 +0200)]
Group:: is not autoloadable yet.
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.
Michael J. Rubinsky [Mon, 31 May 2010 16:09:43 +0000 (12:09 -0400)]
MDB2 probably still needs this
Michael J. Rubinsky [Mon, 31 May 2010 15:23:37 +0000 (11:23 -0400)]
fix typo
Michael J. Rubinsky [Mon, 31 May 2010 14:55:29 +0000 (10:55 -0400)]
Fix Horde_Db_Adapter_Base binder name
Michael J. Rubinsky [Mon, 31 May 2010 14:40:20 +0000 (10:40 -0400)]
remove option for deprecated/non-existant opencv php extension
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
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.
Chuck Hagenbuch [Mon, 31 May 2010 01:30:14 +0000 (21:30 -0400)]
Mark dependency setters as such
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.
Chuck Hagenbuch [Mon, 31 May 2010 00:50:59 +0000 (20:50 -0400)]
Fix specifying test configs in an environment variable
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.
Michael J. Rubinsky [Mon, 31 May 2010 00:51:34 +0000 (20:51 -0400)]
fix typo
Michael J. Rubinsky [Mon, 31 May 2010 00:50:23 +0000 (20:50 -0400)]
fix class name
Michael J. Rubinsky [Mon, 31 May 2010 00:46:41 +0000 (20:46 -0400)]
Fix case for file names
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
Michael J. Rubinsky [Mon, 31 May 2010 00:05:39 +0000 (20:05 -0400)]
use Horde::startBuffer() Horde::endBuffer()
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...
Chuck Hagenbuch [Sun, 30 May 2010 19:37:01 +0000 (15:37 -0400)]
Simple Scribe usage example
Chuck Hagenbuch [Sun, 30 May 2010 19:33:51 +0000 (15:33 -0400)]
Add a Horde_Log_Handler for Scribe
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
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.
Chuck Hagenbuch [Sun, 30 May 2010 16:19:59 +0000 (12:19 -0400)]
Fix Horde_Scribe to use the thrift_root directory
Chuck Hagenbuch [Sun, 30 May 2010 16:12:53 +0000 (12:12 -0400)]
Initial Horde scribe wrapper using Horde_Thrift
Chuck Hagenbuch [Sun, 30 May 2010 14:06:50 +0000 (10:06 -0400)]
Fix unit tests after cache changes.
Chuck Hagenbuch [Sun, 30 May 2010 14:06:05 +0000 (10:06 -0400)]
Fix addLock() function signature
Chuck Hagenbuch [Sun, 30 May 2010 02:20:45 +0000 (22:20 -0400)]
Fix parse error
Chuck Hagenbuch [Sun, 30 May 2010 02:20:30 +0000 (22:20 -0400)]
Add Horde_Db_Adapter interface
Chuck Hagenbuch [Sun, 30 May 2010 02:17:11 +0000 (22:17 -0400)]
Fix parse errors
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
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.
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.
Jan Schneider [Sat, 29 May 2010 09:06:56 +0000 (11:06 +0200)]
The formatters are implementing the formatter interface.
Jan Schneider [Fri, 28 May 2010 14:16:09 +0000 (16:16 +0200)]
Import/export geolocation to/from iCalendar.
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.
Jan Schneider [Thu, 27 May 2010 14:42:41 +0000 (16:42 +0200)]
Log exceptions and PEAR_Errors with ERR level by default.
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.
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.
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.
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.
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.
Michael J. Rubinsky [Fri, 28 May 2010 16:43:59 +0000 (12:43 -0400)]
fix parse error
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)
Michael M Slusarz [Fri, 28 May 2010 16:18:04 +0000 (10:18 -0600)]
Rename Horde_Db_Base back to Horde_Db_Adapter_Base
Michael M Slusarz [Fri, 28 May 2010 16:16:18 +0000 (10:16 -0600)]
ws
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
Michael J. Rubinsky [Thu, 27 May 2010 22:12:56 +0000 (18:12 -0400)]
get rid of the cache global in ansel, use injector instead.
Michael J. Rubinsky [Thu, 27 May 2010 21:50:50 +0000 (17:50 -0400)]
Use the type_id since we already have it, avoid unnecessary db hits.
Michael M Slusarz [Thu, 27 May 2010 16:59:26 +0000 (10:59 -0600)]
Add BYTEA conversion utilities to Postgresql driver.
Still not used anyplace though.
Michael M Slusarz [Thu, 27 May 2010 16:56:48 +0000 (10:56 -0600)]
Bug #9060: Global LDAP configuration can be empty
Michael M Slusarz [Thu, 27 May 2010 16:44:43 +0000 (10:44 -0600)]
Bug #9061: Growler log doesn't exist in popup windows
Michael M Slusarz [Wed, 26 May 2010 22:11:00 +0000 (16:11 -0600)]
Postgres DB fixes
Michael M Slusarz [Wed, 26 May 2010 20:55:47 +0000 (14:55 -0600)]
phpdoc
Michael M Slusarz [Wed, 26 May 2010 20:13:45 +0000 (14:13 -0600)]
Convert prefs sql driver to use new Horde_Db binder
Unfortunately, Horde_Db is horribly broken when it comes to PostgreSQL
and BLOB (a/k/a BYTEA) data. Sigh. Been playing around with this for
several hours now, and I am no closer to figuring out how to fix this.
Michael M Slusarz [Wed, 26 May 2010 19:51:18 +0000 (13:51 -0600)]
Needed, for now
Michael M Slusarz [Wed, 26 May 2010 19:35:43 +0000 (13:35 -0600)]
Removed support for dBase, Frontbase, and mSQL database servers.
At a minimum, none of these are supported by PDO drivers.
Michael M Slusarz [Wed, 26 May 2010 17:34:06 +0000 (11:34 -0600)]
Refactor Horde_Db injectors.
Forgot that individual subsystems could potentially define a custom SQL
configuration. Therefore, we need a Horde_Db injector with a
factory/singleton to override the base DB for these subsystems (and
reuse the base DB object if no custom config is given).
Rename Horde_Db_Adapter_Base to Horde_Db_Base and change to a shortcut
to return the base Horde DB object.
Jan Schneider [Thu, 27 May 2010 14:26:52 +0000 (16:26 +0200)]
Unless I'm missing something, we don't want to require Horde authentication on
the login screen. If we do, and authentication fails, e.g. because we are
redirected here from some other page because of session timeouts, IP changes
etc., we would end up with an incomplete Horde session.
Jan Schneider [Thu, 27 May 2010 12:57:37 +0000 (14:57 +0200)]
$prefs might not be instantiated here. For whatever reason.
Jan Schneider [Thu, 27 May 2010 12:56:54 +0000 (14:56 +0200)]
We need to set up autoloading rules for apps before checking permissions,
because the code handling permission failures might still need app-specific
handling, e.g. for session timeouts from ajax requests.
Jan Schneider [Thu, 27 May 2010 12:25:33 +0000 (14:25 +0200)]
Add option to notify users about calendar permission changes.
I'm not sure about which text, information and links to include with the
message by default, any ideas are welcome.
Michael J. Rubinsky [Wed, 26 May 2010 20:12:25 +0000 (16:12 -0400)]
some ansel tagging fixes
Michael J. Rubinsky [Wed, 26 May 2010 19:38:31 +0000 (15:38 -0400)]
fix parse error
Michael J. Rubinsky [Wed, 26 May 2010 18:21:40 +0000 (14:21 -0400)]
fix parse error
Michael J. Rubinsky [Wed, 26 May 2010 18:13:17 +0000 (14:13 -0400)]
fix operator order
Michael M Slusarz [Wed, 26 May 2010 17:00:26 +0000 (11:00 -0600)]
Add Horde_Ldap stub binder