[Tickets #6101] Remove gallery attributes out of datatree

bugs at horde.org bugs at horde.org
Thu Jan 10 23:15:24 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://dev.horde.org/horde/whups/ticket/?id=6101
-----------------------------------------------------------------------
 Ticket             | 6101
 Created By         | Michael Rubinsky <mrubinsk at horde.org>
 Summary            | Remove gallery attributes out of datatree
 Queue              | Ansel
 Type               | Enhancement
 State              | Feedback
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
+New Attachment     | BigAnselPatch.diff
-----------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2008-01-10 18:15) wrote:

Alright, here goes.  First patch for removing gallery attributes from DT. 

In a nutshell, Horde_Share is still used for permissions and for gallery
hierarchy.
New class Ansel_Storage contains most DB related code (still some
sprinkled around Ansel.php and Tags.php) and is resposible for creating a
properly scoped Ansel_Share object.  Also contains all get/list type
methods that client code interacts with.  The existing
Ansel_Gallery class has been renamed to Ansel_Gallery_Share and a new
Ansel_Gallery object has been added...all client code interacts with the
Ansel_Gallery object and if needed, it delegates to the Ansel_Gallery_Share
object..

Probably more confusing to try to explain it...so attached are the various
patches.

Just a not about the upgrade script - it does add one new attribute to
existing datatree gallery structure, but does not delete any of the data
that has been moved to the new structure....I'll probably put that into
another upgrade script that should be run after the first upgrade has been
successful to ease in rolling back if needed.



More information about the bugs mailing list