summaryrefslogtreecommitdiff
path: root/modules/organize/js
AgeCommit message (Collapse)Author
2009-12-27Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/organize/js/organize.js
2009-12-26Fix the scrollbar in the organize panel by restricting drag-to-select to ↵Bharat Mediratta
#g-organize-microthumb-grid.
2009-12-26Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/gallery/controllers/albums.php modules/gallery/controllers/movies.php modules/gallery/controllers/photos.php
2009-12-25Fix over-targetting in CSSBharat Mediratta
2009-11-20Correct the reference so selections are handled properly when dragging the lassoTim Almdal
2009-11-20Use ui-state-highlight to display selected images.Tim Almdal
2009-11-20Remove all style from the organize.css file and make use of the themeroller ↵Tim Almdal
styles as much as possible.
2009-11-15Fix outstanding issues in the organize dialog. Tighten up the layout a bit ↵Chad Kieffer
so that more microthumbs will display.
2009-11-15Fixed indenting.Chad Kieffer
2009-10-28Removed YUI grids. Added g- prefix to selected class. Layout almost ↵Chad Kieffer
completely restored, still need to fix action-status message box
2009-10-04Renamed more CSS selectors from gName to g-name.Chad Kieffer
2009-10-04Renamed most, if not all css selectors from gName to g-name. Moved a few ↵Chad Kieffer
shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-09-30Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's ↵Chad Kieffer
and classes in the login/reset password dialog.
2009-09-13Set the AlbumTreeContainer instead of the height. This fixes ticket #755Tim Almdal
2009-09-12Update the organize module to use the release version of jquery Selectable. ↵Tim Almdal
Unfortunately this does not have the functionality to select additional thumbnails using the ctrl or alt-keys, it is preferable to forking the Selectable component. This functionality should arrive with ui.jquery 1.8.x
2009-09-10Reset the margins when the mouse is over a thumbnail when dragging. When the ↵Tim Almdal
border is displayed then adjust the margin to account for the border. Just hidding the border causes things to move.
2009-09-10If the current drop target is not defined, in that we have moved out of the ↵Tim Almdal
range of the current li elements, then assume the drop is occurring at the end of the list items. Fixes #742
2009-08-30Minor refactoring.Bharat Mediratta
2009-08-30CSS rename: gMicroThumbXxx -> gOrganizeMicroThumbXxx to make it clearBharat Mediratta
that this is organize only.
2009-08-30Rename gAlbumText to gOrganizeAlbumText for consistency since this isBharat Mediratta
an organize-only construct.
2009-08-29Change the organize tree to expand/collapse. It doesn't properly openBharat Mediratta
up to the album that you're viewing, and if you move a photo to a different album it'll reload the entire album tree.
2009-08-29Get rid of the task infrastructure. The multiple requests greatlyBharat Mediratta
slow down simple operations. We may run into problems with more complex operations, but let's only add tasks into the mix when it's clear that we need them.
2009-08-29Major refactor of organize:Bharat Mediratta
* Clean up naming conventions for variables in the controller so that we specifically refer to albums with $album_id, etc. * Move complexity for drawing tree out of the controller and into the view. * Simplify task definitions to get rid of extraneous text * Change __PLACEHOLDERS__ to clearly define which is the album and which is the item that we're moving before/after * Remove as many CSS ids as we can from the tree view to keep things simple
2009-08-28Display the sort order in the Organize dialog, and allow users toBharat Mediratta
change the sort order on the fly.
2009-08-28Minor style fixes.Bharat Mediratta
2009-08-17This patch adds some security to the organize dialog.Tim Almdal
1) If images are dragged from the content pane and dropped on a branch in the tree that the user only has view priviledges, then the drop is cancelled and the images are reverted. 2) The user cannot click on a branch, to which they only have view priviledges, the content pane does not change to the new album
2009-08-17The rearrange functionality works. but it is slower than shit. I've left ↵Tim Almdal
the debug statements in until we can solve this issue.
2009-08-16The progress bar appears during a move. Still having an issue with unable to ↵Tim Almdal
do a single select after a drop operation. I think its related to needing to destroy the existing selectable before creating the new one. The error I get is "this._selection[i].data("selectabe-item") is undefined."
2009-08-16In this patch, drag now works to the album tree, but the progress bar is notTim Almdal
showing. As well fixed a problem where selectable single clink no longer worked when the album was reloaded.
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-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-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-06Leverage the gallery.dialog/js functionality in order to reduce duplicate codeTim Almdal
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-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-05Remove the resize dialog on window resize functionalityTim Almdal
2009-08-05Change the content pane based on the selection in the album treeTim Almdal
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.