summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-23Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-08-23Cut down on jittering of the context menu on open on resize view.Chad Kieffer
2009-08-21Refactor the _auto_fit method in gallery.show_full_size to a common method ↵Tim Almdal
in gallery.common.js Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-20Fix the setting of the mime type header. as perTim Almdal
http://gallery.menalto.com/node/90306 Thanks rWatcher Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-19Update docblocks and todosChad Kieffer
2009-08-20Modified the conversion of the margin-top and margin-bottom css values. TheTim Almdal
problem arises because $(selector).css("margin-top) does not return a string and therefore the replace function is undefined. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-19Correct indentationTim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-19Change 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. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-18Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-08-18Don't call dirname() on the toolkit dir, it's already a directory! (Thanks ↵Bharat Mediratta
Kaare)
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-13Use the jquery-ui library that contains a prerelease version of the ↵Tim Almdal
slectable component Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-11Move context menu to gallery.common, forgot to include in prior commitChad Kieffer
2009-08-11Move context menu to gallery.commonChad Kieffer
2009-08-11Make each context menu button clickable from side-to-sideChad Kieffer
2009-08-11Replace tabs w/ spaces.Chad Kieffer
2009-08-11Merge branch 'master' of git@github.com:bharat/gallery3Chad Kieffer
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-10Return .each() to work with more than an individual photo.Chad Kieffer
2009-08-10Add missing semicolons.Bharat Mediratta
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-09Forgot to commit the css for the resize photo view context menu.Chad Kieffer
2009-08-09First stab at context menu for resize. It's quirky and needs work.Chad Kieffer
2009-08-09Rename fit_image to fit_photo for consistency.Chad Kieffer
2009-08-09Move hover effect to a function.Chad Kieffer
2009-08-09Move the get photo filter out to it's own function for re-use. Docblock cleanup.Chad Kieffer
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:bharat/gallery3Chad Kieffer
2009-08-09Keep image placement from shifting on hover, set gHoverItem height properly.Chad Kieffer
2009-08-09Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_branchBharat Mediratta
2009-08-09Explicitly use gValign class rather than first child.Chad Kieffer
2009-08-09Rename resizeImage gallery_fit_image to follow convention. Move the function ↵Chad Kieffer
to gallery.common.js.
2009-08-09Merge branch 'master' of git@github.com:bharat/gallery3Chad Kieffer
2009-08-09Require a valid url for users. Fixes ticket #612.Bharat Mediratta
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/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-08Fixed typo. Dialog links still broken. Now, wiht more speling!Chad Kieffer
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-08Forgot to save this file when i changed the value from 1 to trueTim Almdal
2009-08-08remove a debug statement left over from previous commitTim 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-08Use the same pager layout as we do in photo.html.php.Bharat Mediratta
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-08Cleanup context menu styles a bitChad Kieffer