summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-08-13Added javascript portion of the drop functionality. At this point you can ↵Tim Almdal
drag selected images and drop them on the micro thumb grid in a different position or onto a branch in the gallery tree. No ajax call is made, it just writes the generated url and post data to the console, so it only works in ff right now.
2009-08-13Add a visual indicator of the insertion pointTim Almdal
2009-08-13Vertical scrolling of the thumb grid seems to work better now. Wasn't able ↵Tim Almdal
to get the draggable autoscrolling working, so this is a poor replacemment.
2009-08-12Implement the first part of drag functionality. Having trouble getting ↵Tim Almdal
visual feedback of the drop position between thumbnails, so this commit provides a checkpoint for trying various options
2009-08-09Enable microthumbnail selectionTim Almdal
2009-08-09Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-09Require a valid url for users. Fixes ticket #612.Bharat Mediratta
2009-08-08Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-08Fix the after_install loader to immediately open the "Welcome toBharat Mediratta
Gallery 3!" dialog, but not immediately open the "change your password" dialog.
2009-08-08Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-08Improve the graphics toolkit detection code so that properlyBharat Mediratta
identifies situations where its restricted by open_basedir. We now track more informatoin about the toolkit including the version and any errors we encountered while doing the detection so that we can provide more info downstream. This makes graphics::detect_toolkits() a little heavier, but that's ok because it should not be called very often. In the process, refactor the controller and view hierarchy so that it's a little more straightforward in the code. Fixes ticket #616.
2009-08-08Fix the problem where the login page and edit permission pages wereTim Almdal
supersized based on ly last commit.
2009-08-08Forgot to save this one before committing the last two times... duh. ↵Tim Almdal
Completes the conversion from using 1 to true for the immediate paramter to gallery_dialog
2009-08-08Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-08Forgot to save this file when i changed the value from 1 to trueTim Almdal
2009-08-08Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-08Create an new option 'immediate' and if set to true then don't try to set up ↵Tim Almdal
click events, but just show the dialog. Also remove the destroy method and put all the cleanup into the dialog close handler
2009-08-08Update tags module to notify modules when items related to a tag areBharat Mediratta
affected. Practically speaking this means that we'll reindex items when tags are added or removed from them. API change: Remove item_related_updated_batch event. Rationale: While this is an efficient event, it requires module developers to support two event APIs for staying up to date and increases the likelihood that they'll forget one and have data corruption. Force them all through the slower but more reliable pipe, for now. We can always try to improve efficiency by using the batch_start and batch_stop events.
2009-08-07Enhance how the organize dialog degrades if the browser window is not optimalTim Almdal
2009-08-07Make the organize dialog open properly in IE8, Chrome and FF. For some ↵Tim Almdal
reason (probably a timing thing) the height of the contents was not being set correctly in FF. So we just hard code an estimate of the size of the Draw handle, and message areas.
2009-08-07Rename gallery.common.js functions to conform to our naming standardsBharat Mediratta
and have some basic namespacing: showMessage --> gallery_show_message vAlign --> gallery_valign showLoading --> gallery_show_loading Convert gallery.show_full_size.js to be a jQuery function and give it a namespace: show_full_size --> gallery_show_full_size
2009-08-08Change galleryPanel and galleryDialog widgets to gallery_panel and ↵Tim Almdal
gallery_dialog respectively Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-08-08Refactor the gallery dialog into a jQuery widgetTim Almdal
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-08-07Change galleryPanel and galleryDialog widgets to gallery_panel and ↵Tim Almdal
gallery_dialog respectively
2009-08-08Don't show the ajaxy login link in the top right corner if we're on the ↵Bharat Mediratta
login page itself. Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-08-07Refactor the gallery dialog into a jQuery widgetTim Almdal
2009-08-06Further streamline the code.Bharat Mediratta
Organize_Controller: * Remove unnecessary constants * Rename index() to dialog() * Simplify _get_micro_thumb_grid organize.js: * Move sizing code in here from organize_dialog.html.php organize_dialog.html.php: * Move CSS and JS links in here so that we only load them when we need them. * Move sizing code into organize.js organize_thumb_grid.html.php: * Move pagination logic in here, since it's view centric * Collapse the css class determination code and inline it
2009-08-06* Rename setContents -> show_album to be consistent style wise (no camelBharat Mediratta
caps) and more explicit about what it's doing. * use toggleClass() to simplify the +/- css management.
2009-08-06Fix indentation.Bharat Mediratta
2009-08-06Merge branch 'master' of git@github.com:talmdal/gallery3 into talmdal_branchBharat Mediratta
2009-08-06Leverage the gallery.dialog/js functionality in order to reduce duplicate codeTim Almdal
2009-08-06Merge branch 'master' of git://github.com/talmdal/gallery3 into talmdal_branchBharat Mediratta
2009-08-06Remove 6 more lines by removing the generalization of the close dialog ↵Tim Almdal
processing
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-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. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
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-05Don't show the ajaxy login link in the top right corner if we're on the ↵Bharat Mediratta
login page itself.
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.