summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-08-27Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-08-27Make the info block display 'File name', instead of 'Folder name' when ↵Chad Kieffer
showing a photo. Fixes #631
2009-08-27Convert tabs to spaces.Bharat Mediratta
2009-08-25Workaround to make G3 work with Turkish locale.Andy Staudacher
Thanks to katpatuka for providing the fix.
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-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-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-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-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-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-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>
2009-08-08Don't show the ajaxy login link in the top right corner if we're on the ↵Bharat Mediratta
login page itself. Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-08-06Merge branch 'master' of git@github.com:bharat/gallery3 into bharat_branchBharat Mediratta
2009-08-06Cleanup the javascript for enabling dialog or panel links.Tim Almdal
1) We don't need to loop over the elements to bind the event handler. 2) Just include gallery.panel.js for all the admin pages. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-05Chain some jQuery calls together to reduce lines of code.Bharat Mediratta
2009-08-05Fix the default $orderby to be an associative array in descendants() and ↵Bharat Mediratta
children(), thanks Tim!
2009-08-05Change the children and descendants APIs to be more consistent and toBharat Mediratta
remove Gallery3 concepts from ORM_MPTT. The following API methods: ORM_MPTT::children ORM_MPTT::children_count ORM_MPTT::descendants ORM_MPTT::descendants_count All now take a $where clause that allow you to pass through additional field parameters. old API: $album->children(10, 0, "photos") $album->children_count("photos") new API: $album->children(10, 0, array("type" => "photos")) $album->children_count(array("type" => "photos")) This gives us a more flexible API and simplifies the code. While I was in there, I changed the way we deal with default orderby values so that we just assign the default value in the function definition, which allows us to get rid of all conditionals in the implementation which results in simpler code.
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-05Remove tabs as whitespaceTim Almdal
2009-08-05Remove the trigger definition codeTim Almdal
2009-08-05Change the children methods on Item_Core and ORM_MPTT in order toTim Almdal
specify a type parameter, so tht we can filter the children based on type (i.e. album, photo, etc). In addition, expose the sort order, so that we can specify the order we want to return the children.
2009-08-05Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-08-04Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-08-04Skip empty files, since we know they're broken. Fixes ticket #610.Bharat Mediratta
2009-08-04Dump any exceptions into the standard Kohana log as well as the taskBharat Mediratta
log for maximum exposure.
2009-08-05Fix l10n message for akismet, extracting URLs from the messageAndy Staudacher
Signed-off-by: Andy Staudacher <andy.st@gmail.com>