summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-08-19Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-18Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-08-18Merge branch 'master' of git://github.com/gallery/gallery3Tim Almdal
2009-08-18Don't call dirname() on the toolkit dir, it's already a directory! (Thanks ↵Bharat Mediratta
Kaare)
2009-08-18Change the setting of page type from "item" to "photo". Thre is no page typeTim Almdal
of item. All other references use photo for non album and non dynamic pages.
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-18Refactor the get maximum weight functionality into a method in the item ↵Tim Almdal
helper, so that we can use it else where (i.e. the new organize module) Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-18Fix for ticket #590. The gallery.dialog.js looks for an element "#dialog ↵Tim Almdal
#gProgress" and if it finds it assumes that it is a progress dialog and removes the title. This pathc changes the name of the div containing the progress bar to gServerAddProgress and avoids the issue. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-17Fix for ticket #590. The gallery.dialog.js looks for an element "#dialog ↵Tim Almdal
#gProgress" and if it finds it assumes that it is a progress dialog and removes the title. This pathc changes the name of the div containing the progress bar to gServerAddProgress and avoids the issue.
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-17Refactor the get maximum weight functionality into a method in the item ↵Tim Almdal
helper, so that we can use it else where (i.e. the new organize module)
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-10Create the concept of an "ajax link" and use it for thumbnail rotationBharat Mediratta
and album covers in the context menu. Notes: - This requires context_menu() to have a CSS selector that refers to the <img> that we're operating on, otherwise we don't know how to find the thumbnail, etc. - Create Menu_Element_Ajax_Link which has an ajax_handler attribute that contains a snippet of JS that we're going to run when the ajax call returns. - Add $.gallery_replace_image in gallery.common.js - Add lib/gallery.ajax.js which can be used to ajaxify any link, and have ui.init.js in the themes call that on all .gAjaxLink elements.
2009-08-10Fix indentation.Bharat Mediratta
2009-08-09Fix up context menus a bit.Bharat Mediratta
- Update digibug_event::context_menu() to take the actual item - Change gallery::context_menu() to not require the page_type as an argument
2009-08-09Fixed caseChad Kieffer
2009-08-09Add jquery ui print icon class to menuChad Kieffer
2009-08-09Update photo_menu() and context_menu() to work with recent menu changes.Bharat Mediratta
2009-08-09Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_branchBharat Mediratta
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-08Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_branchBharat Mediratta
Conflicts: modules/gallery/js/quick.js
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-08Merge branch 'master' of git@github.com:bharat/gallery3Chad Kieffer
2009-08-08Added basic context menu affects and styles. Simplified some of the action ↵Chad Kieffer
labels in the menu.
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-07Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_branchBharat Mediratta
Conflicts: themes/default/js/ui.init.js
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>