summaryrefslogtreecommitdiff
path: root/modules/organize/js
AgeCommit message (Collapse)Author
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.
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-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-07-27Allow a theme to override the page refresh mechanism. Create a newTim Almdal
javascript lib (gallery.reload.js) which defines the functions gallery_reload() and gallery_location(new_location). They just do a window.location.reload() and window.location = new_location. This change breaks the assumption that all themes will handle page reloads the same and allows the theme to customize the page refresh.
2009-07-04Rename the get_url function in organize.js so that it doesn't collide with theTim Almdal
one in server_add
2009-05-22Set a minimum distance (10px) that the cursor has to move inorder forTim Almdal
the draggable functionality to be activated
2009-05-21Provide delete confirmations in quick pane and organize features. IfTim Almdal
I've missed any spots let me know.
2009-05-211) This provides the editting functionality for albums and photos in theTim Almdal
organize feature. 2) Remove the tag functionality at this point 3) Added a callback to handle validating conflicting names (only used by organize at this point. 4) Closes #231
2009-05-18This takes us the next step closer to providing bulk edit. We stillTim Almdal
can't edit, but we are getting closer :-). This change sets up a framework for modules to contribute edit panels to the organize drawer. Currently implemented General (albums and photos), Sort Order (albums only) and Manage Tags
2009-05-07Create a thumbnail stack of selected thumbnails for the organizeTim Almdal
drawer
2009-05-071) Leave an object selected if its clicked.Tim Almdal
2) And a 1em left margin to provide more spacing, so the lasso is less inclusive
2009-05-07Improve the selection/drag handling so that drag of a single itemTim Almdal
doesn't have to be selected first
2009-05-061) Improved selection processing.Tim Almdal
2) Drawer closes if no images or albums are selected
2009-05-02Add missing return statementTim Almdal
2009-05-02Move the drawer to the bottom of the page and compress the thumb gridTim Almdal
when the drawer opens. This way the drawer is never scrolled.
2009-05-01Set organize messages to use existing gMessage, added album cover message.Chad Kieffer
2009-04-29Change album cover functionality addedTim Almdal
2009-04-29The delete button now deletes the selected itemsTim Almdal
2009-04-281) Refactor the ajax calls so that the code is reused across multiplTim Almdal
request types. 2) Enable/Disable the drawer handle buttons depending on the number of items selcted 3) Image rotation works.
2009-04-27Another iteration of the organize module:Tim Almdal
Rearrange the layout as per discussion with thumb, start the drawer functionality. Still to do... 1) Add the processing behind the buttons on the drawer handle 2) Enable the drawer buttons when something is selected 3) Create a copy of the thumbs for the drawer 4) Add the bulk editting functionality to the drawer
2009-04-231) Move the progress bar to a dialogTim Almdal
2) Provide status and error messages back to the user
2009-04-23Implement a cancel button so that if an organize task is paused, itTim Almdal
can be cancelled.
2009-04-221) Fix index overflow issue.Tim Almdal
2) Fix where the microthumb was removed even if the move was cancelled
2009-04-22Dragging from the thumbgrid to an album in the tree now works.Tim Almdal
Refactored the javascript to minimize duplication.
2009-04-211) Disable drag when the rearrange task is runningTim Almdal
2) Add the album name to the task name
2009-04-21The pause button now works.Tim Almdal
2009-04-21Added progress bar and pause and continue functionality to rearrangeTim Almdal
2009-04-201) Add rearrange processing as a taskTim Almdal
2) Improved drop location determination 3) Add a revert if dropped on an invalid target 4) Add a popup dialog to display ajax errors Still to do progress bar, pause/continue and status messages
2009-04-19Simplify the handling of moves to the beginning or end of the albumTim Almdal
2009-04-19Continue javascript code cleanupTim Almdal
2009-04-19Restructure the java script code (i.e. separate complex callbacks orTim Almdal
objects into variables)
2009-04-19- Improve the movement of the placeholderTim Almdal
- Make sure the thumbgrid will utoscroll when dragging - And an ordinal attribute to the thumbnail when generated, based on the current sort order of the album.
2009-04-17Change how mutiple requests for micro thumbnails is handler.Tim Almdal
handle the edge cases where the draggable is dropped on the micro thumbnail panel
2009-04-17Another iteration in the quest for the perfect organize module. AtTim Almdal
this point you can select microthumbs, by clicking on them, ctrl-click will add to the selection. You can select by drawing a lasso around images. Holding the ctrl will add the lassoed thumbs to the selection. Once slected, thumbs can be dragged and dropped within the current At this point no background processing takes place