summaryrefslogtreecommitdiff
path: root/modules/organize
AgeCommit message (Collapse)Author
2009-09-10Rename ORM_MPTT::is_descendant() to ORM_MPTT::contains() to make theBharat Mediratta
API a little clearer. Write a test for it, too.
2009-09-10Rename $album to $target in move_to()Bharat Mediratta
2009-09-10A better fix for #741... the original problem was that the source and album ↵Tim Almdal
variables were reversed
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-09-10Changed the check in organize_Controller::move_to:Tim Almdal
1) check that target and source are not the same. 2) check that the source is not already a child of the target (use to be a descendant) Fixes #741.
2009-09-05Change the module installer so that you don't need to provide your ownBharat Mediratta
install() function if all you're going to do is to set the version of the module from module.info into the database. This means that for some simple modules, you don't need an install.php file at all.
2009-09-04Fix the url in the call to get subsequent entries to have the rightBharat Mediratta
url, and to be json. Fixes #719, which I introduced in my refactor.
2009-08-31Add an icon to the context menu option.Bharat Mediratta
2009-08-31Add 'organize album' to the context menu.Bharat Mediratta
2009-08-30Minor refactoring.Bharat Mediratta
2009-08-30Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
2009-08-30Merge commit 'upstream/master'Andy Staudacher
Conflicts: modules/gallery/views/l10n_client.html.php modules/organize/views/organize_tree.html.php modules/server_add/helpers/server_add_event.php
2009-08-30Don't mark colors !important.Bharat Mediratta
2009-08-30Make comments consistent.Bharat Mediratta
2009-08-30Remove extra padding lineBharat Mediratta
2009-08-30Get rid of as much jitter as possible in the organize tree.Bharat Mediratta
2009-08-30Tighten up a class attr.Bharat Mediratta
2009-08-30Make the lasso more prominent and the colors consistent.Bharat Mediratta
2009-08-30Change the higlight/selection behavior so that we don't use opacity toBharat Mediratta
indicate selection state. It's too difficult to tell opacity differences on light colored photos. This approach models what WinXP does.
2009-08-30Simplify over-targetted CSS.Bharat Mediratta
2009-08-30Don't try to move an item into its own descendant hierarchy. Just leave it ↵Bharat Mediratta
out of the move for now.
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-30remove unused #gOrganizeDialogBharat Mediratta
2009-08-30Manage the selection so we don't automatically select an albumBharat Mediratta
whenever we expand a tree.
2009-08-30Precalculate the organize tree based on the selected album and renderBharat Mediratta
it right away while still allowing incremental tree loading.
2009-08-29Update all code to use helper method html::clean(), html::purify(), ... ↵Andy Staudacher
instead of SafeString directly.
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-29L10n fixes for the admin_languages page, and JS/XSS cleanup of the organize ↵Andy Staudacher
views.
2009-08-29Fix a bug where organize doesn't properly generate the tree at the root album.Bharat Mediratta
2009-08-29Remove stray blank line.Bharat Mediratta
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-28Fix a couple of off-by-one errors.Bharat Mediratta
2009-08-28Update help text to eliminate 'edit' since we don't do that yet, and change ↵Bharat Mediratta
"items" to "photos".
2009-08-28Refactor rearrange_task_handler to have a more linear flow.Bharat Mediratta
2009-08-28Indentation fixes.Bharat Mediratta
2009-08-28Clean up in preparation for some refactoring.Bharat Mediratta
2009-08-28Add a @todo to defer loading the script/css to the organize dialog.Bharat Mediratta
2009-08-28Minor style fixes.Bharat Mediratta
2009-08-28Fix whitespace.Bharat Mediratta
2009-08-28Fix indentation.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-17remove the batch start/stop and replace the ORM update of the weight, with a ↵Tim Almdal
direct sql update. This bypasses the gallery3 event mechanism. Fire a album_rearrange event when the rearrangement is complete
2009-08-17Change back to using the ORM to update the child weight, but use the ↵Tim Almdal
batch::start() method so notifications are queued
2009-08-17Fix the performance problem related to setting the child weight, by ↵Tim Almdal
bypassing ORM and generating the sql directly.
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.