summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-06Remove the complicated calculation to determine the height of theTim Almdal
micro thumb grid, by setting all the parent elements to 100% in the css and then subtract the height of the button bar
2009-08-06Don't show the ajaxy login link in the top right corner if we're on the ↵Bharat Mediratta
login page itself.
2009-08-06Cleanup the javascript for enabling dialog or panel links.Tim Almdal
1) We don't need to loop over the elements to bind the event handler. 2) Just include gallery.panel.js for all the admin pages.
2009-08-06Revert "Revert "Revert "Allow a theme to override the page refresh ↵Tim Almdal
mechanism. Create a new""" This reverts commit 7b1cca168cb9b29fcccdcdce9e32efb190e4575e. Basically remove it and Bharat and I will fight it out in SF for a resolution :-)
2009-08-06Tighten up the code by loading all the albums in the tree at once, removingTim Almdal
the events to populate the button bar.
2009-08-06Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-05Remove the resize dialog on window resize functionalityTim Almdal
2009-08-05Chain some jQuery calls together to reduce lines of code.Bharat Mediratta
2009-08-05Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-05Fix up formatting of items in thumbgridTim Almdal
2009-08-05Change the content pane based on the selection in the album treeTim Almdal
2009-08-05Change to use the new children and children_count APITim Almdal
2009-08-05Fix the default $orderby to be an associative array in descendants() and ↵Bharat Mediratta
children(), thanks Tim!
2009-08-05Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-05Change the children and descendants APIs to be more consistent and toBharat Mediratta
remove Gallery3 concepts from ORM_MPTT. The following API methods: ORM_MPTT::children ORM_MPTT::children_count ORM_MPTT::descendants ORM_MPTT::descendants_count All now take a $where clause that allow you to pass through additional field parameters. old API: $album->children(10, 0, "photos") $album->children_count("photos") new API: $album->children(10, 0, array("type" => "photos")) $album->children_count(array("type" => "photos")) This gives us a more flexible API and simplifies the code. While I was in there, I changed the way we deal with default orderby values so that we just assign the default value in the function definition, which allows us to get rid of all conditionals in the implementation which results in simpler code.
2009-08-05Revert "Revert "Enable the expand/collapse of branches by clicking on the ↵Tim Almdal
plus/minus"" This reverts commit e37526f94df74a52a9cf36f0a5a5e641958ebbb3.
2009-08-05Revert "Revert "Checkpoint the organize module rewrite. At this point, it ↵Tim Almdal
doesn't really do"" This reverts commit 397468c47b8fc3fefeb54ff19a73980ed1dd8c20.
2009-08-05Revert "Revert "Allow a theme to override the page refresh mechanism. ↵Tim Almdal
Create a new"" This reverts commit 9f396178cedc96abb282e72ff0e843e255c8225a.
2009-08-05Revert "Allow a theme to override the page refresh mechanism. Create a new"Tim Almdal
This reverts commit 1f014aae6c16bbda62d8f5937180f11ccb0eb1b1.
2009-08-05Revert "Checkpoint the organize module rewrite. At this point, it doesn't ↵Tim Almdal
really do" This reverts commit a25f08d433d504a53763feb358a1aa7f5f798de6.
2009-08-05Revert "Enable the expand/collapse of branches by clicking on the plus/minus"Tim Almdal
This reverts commit 869c3de9612a598dae0ce400991bdbe173a2decc.
2009-08-05Enable the expand/collapse of branches by clicking on the plus/minusTim Almdal
icons. Branches with no albums, will not have an icon.
2009-08-05Remove tabs as whitespaceTim Almdal
2009-08-05Remove the trigger definition codeTim Almdal
2009-08-05Change the children methods on Item_Core and ORM_MPTT in order toTim Almdal
specify a type parameter, so tht we can filter the children based on type (i.e. album, photo, etc). In addition, expose the sort order, so that we can specify the order we want to return the children.
2009-08-05Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-08-04Skip empty files, since we know they're broken. Fixes ticket #610.Bharat Mediratta
2009-08-04Dump any exceptions into the standard Kohana log as well as the taskBharat Mediratta
log for maximum exposure.
2009-08-04Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-08-04Check for the SimpleXML module, thanks to geekonek.Bharat Mediratta
Fixes ticket #599.
2009-08-05Fix l10n message for akismet, extracting URLs from the messageAndy Staudacher
Signed-off-by: Andy Staudacher <andy.st@gmail.com>
2009-08-03Checkpoint the organize module rewrite. At this point, it doesn't really doTim Almdal
anything, but get the dialog up, populate the album tree and intelligently populate the micro thumb grid. Still to do: 1) get the microthumbs laided out ptoperly 2) expand and collapse functionality in the album tree 3) use the album tree to change the content of the micro thumb grid 4) Actually add some functionality At the moment, it supports a callback "" to allow modules to add icons to the organize drawer label. The close button is added outside of this framework as it will always be last.
2009-08-03Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-08-02Change the API for getting to the original state of an ORM.Bharat Mediratta
Old API: $obj->original("field_name") New API: $obj->original()->field_name This allows us to revert the varous xxx_updated events back to passing an original ORM as well as the the updated one. This makes for a cleaner event API. Old API: comment_updated($comment) { $comment->original("field_name") } Old API: comment_updated($old, $new) { $old->field_name }
2009-07-31Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-31Add new events:Bharat Mediratta
graphics_resize graphics_resize_completed graphics_rotate graphics_rotate_completed graphics_composite graphics_composite_completed
2009-07-31Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-31Simplify getViewportSize function to use the jQuery height and width functionsTim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-31Move the getViewportSize method to gallery.common.jsTim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-31Simplify getViewportSize function to use the jQuery height and width functionsTim Almdal
2009-07-30Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-30Remove debug statementsBharat Mediratta
2009-07-30Update golden fileBharat Mediratta
2009-07-30Fix a static function declaration.Bharat Mediratta
2009-07-30Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-30Add some code to guard the weight calculation against zero rows whenBharat Mediratta
we're doing an initial install.
2009-07-30Move the getViewportSize method to gallery.common.jsTim Almdal
2009-07-30Remove try statement w/o catchTim Almdal
2009-07-30Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
Conflicts: modules/gallery/models/item.php
2009-07-29Clean up user form events. Thanks to Ben Smith (glooper).Bharat Mediratta