summaryrefslogtreecommitdiff
path: root/modules/organize/js
AgeCommit message (Collapse)Author
2010-03-27Convert the old organize to the new flex based organizeTim Almdal
2010-02-26Merge branch 'master' into talmdal_devTim Almdal
2010-02-22Fix typo in selector expression. The handling of view-only albums is still ↵Andy Staudacher
not great, but at least the code is closer to doing what it's supposed to.
2010-02-09Current state of organize. works for all browsers except IE. IE no longer ↵Tim Almdal
implodes, but dragging doesn't work. Selecting works fine, either by using the lasso or clicking. Ctrl-Click adds to the selection. The problem is that when a drag is attempted, the selection gets lost and things start falling apart.
2010-02-08Fix the missing object problem in ie7. Fixes ticket: 1003. There is still ↵Tim Almdal
issues with selectables and draggables working together in IEx
2010-02-07remove debudding statement and if no target is found then assume the insert ↵Tim Almdal
position is after the last element.
2010-02-07The drop target marker appears in the correct spot whether we are in ltr or ↵Tim Almdal
rtl mode.
2010-02-06Cleanup the position of the drop marker.Tim Almdal
2010-02-051) Manually added the .selectee class on subsequent downloads. fixes ticket #970Tim Almdal
2) Reworked the calculated of the drop target marker to account for scrolling.
2010-02-05Merge branch 'master' into talmdal_devTim Almdal
2010-02-05continuing cleaninup organize javascript especially the drag and drop ↵Tim Almdal
functionality.
2010-02-05Fix an issue where the dragged item was always inserted after the target image.Tim Almdal
2010-02-05Add busy animation when doing the drop.Tim Almdal
2010-02-05Improve the handling of the drop target marker when dragging items within theTim Almdal
grid. Originally the borders disappeared not they don't. A single element is used to contain the drop target marker. This element contains all the position information for the drop handler to determine where the item should be positioned. In addition, the drop target marker is removed when the drag extends outside the grid and is re shown, when the cursor re-enters the thumbnail grid.
2010-02-041) Simplify the layout of the organize dialog content.Tim Almdal
2) Use CSS to layout the thmbnail grid to the full dialog size. Fixes ticker #848. 3) Separate css that can be themed into organize_theme.css. This isolates the themed components into a separate file for easy of overriding by a theme.
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