summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-09-21Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/controllers/albums.php
2009-09-212nd attempt at gracefully dealing with sort columns that containBharat Mediratta
nulls. This time around, do a query to determine whether or not the sort column has nulls in it. If it doesn't, then use our comparators as before. There are NULLs in the sort column, so we can't use MySQL comparators. Fall back to iterating over every child row to get to the current one. This can be wildly inefficient for really large albums, but it should be a rare case that the user is sorting an album with null values in the sort column. Fixes #627
2009-09-21Set children_count to 0, photos have no children.Bharat Mediratta
2009-09-21Update the next/previous item calculations to match what we do in photos.phpBharat Mediratta
Force the children_count to be zero, movies have no children. Rename $photo to $movie everywhere.
2009-09-21Add viewable() protection to children() and children_count() calls.Bharat Mediratta
This is not currently necessary (nor is it a security hole) because we don't constrain permissions at the child level in the core, but it makes our security audits easier and will enable the scenario where somebody writes a module to add per-photo permissions.
2009-09-21Change the exif module to respond to the gallery_ready event and check to ↵Tim Almdal
see if gettext is installed. The 3rd party library used in the exif module expects gettext to be available. Rather than doing all the time use the gallery ready event to only do it when it might be needed. Fixes ticket #672
2009-09-21Fix Item_Model::get_position() so that our sort is stable when the comparisonBharat Mediratta
row has a null value in the sort field. Fix for #627 Note: this changes get_position() to take an Item_Model instead of an id!
2009-09-19Address IE8 hover effect issues. Closes #666. Chad Kieffer
2009-09-19On the edit album form, add dirname and slug asa hidden fields, so that when ↵Tim Almdal
the edits are being validated on input, the fields are found and can be referenced
2009-09-19Change the fix for ticket #775 to always add the Add menu, but not add any ↵Tim Almdal
items if the album directory is not writable.
2009-09-18Don't display the add menu if the underlying operating system directory is ↵Tim Almdal
not writable. THis should fix ticket #775
2009-09-18* Changed the close functionality so the page is reloaded when the dialog is ↵Tim Almdal
closed. * Renamed the ServerAddCloseButton. * Added Pause and Continue buttons. Now when add is clicked, A Pause button is shown, once the adding is complete, the add button is reshown andpause button is hidden. Clicking the pause button will hide it and show a continue button.
2009-09-17Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_devTim Almdal
2009-09-17Refactor the server add javascript into a ui.gallery_server_add widget.Tim Almdal
2009-09-17Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_devTim Almdal
2009-09-17- Add theme->movie_menu() to whitelisted methods.Andy Staudacher
- xss_data checkpoint
2009-09-17Minor style fix: (string) $var, not (string)$var, and move the explicit cast ↵Andy Staudacher
down where it's needed.
2009-09-17use an implicit cast to convert the translated error message to a string as ↵Tim Almdal
it is encoded by the json routines and will be treated as an object otherwise
2009-09-17Remove the update code introduced with 9d7d79. In addition, captialize ↵Tim Almdal
MyISAM correctly.
2009-09-17Cleanup issues with the original fix for #779Tim Almdal
2009-09-17Merge branch 'master' into talmdal_devTim Almdal
2009-09-17Reload the album when server_add dialog is closedTim Almdal
2009-09-17Don't try to creat an album that corresponds to the staging directory. Just ↵Tim Almdal
add the contents of the staging directlyinto the album that server_add was invoked from. Fixes ticket #785
2009-09-17Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-09-17Change the timeout on resubmitting the next task iteration to 25ms instead ↵Tim Almdal
of. This allows the jQuery.ajax method to complete its processing. Otherwise, the browser can spend time thrashing around trying to send the next request.
2009-09-17Merge commit 'upstream/master'Andy Staudacher
2009-09-17Arg, fixing the "Sharing your Translations" text, thanks engineer@gmcAndy Staudacher
2009-09-17Move the check_environment into the installer helper and call it from the ↵Tim Almdal
command line installer as well as the web installer.
2009-09-17Don't show links as part of the auto complete listTim Almdal
2009-09-17Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_devTim Almdal
2009-09-17Fix: Make "Sharing your translations" a localizable stringAndy Staudacher
2009-09-17Mark permission's display name for translationAndy Staudacher
2009-09-16Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-09-16Changed the search module installer to explicitly specify MyISAM as the ↵Tim Almdal
database type. Changed the packager to not remove the engine specification if the table is search_records. Fixes Ticket #774
2009-09-16Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-09-16Add a movie_menu() theme callback, and have the default theme call itBharat Mediratta
in the sidebar on movie page types.
2009-09-16Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_devTim Almdal
2009-09-16When editing tags in place, and there is a validation error, highlight the ↵Tim Almdal
tag with a red border and show a statust message. This fixes ticket: #779
2009-09-16Update the jquery-ui.js with the patched version from vendorTim Almdal
2009-09-16Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_devTim Almdal
2009-09-15Stricter input handling (cast to int)Andy Staudacher
2009-09-15Also check for rss feeds in controller auth checkAndy Staudacher
2009-09-15Controller auth / CSRF fixesAndy Staudacher
2009-09-15Merge commit 'upstream/master'Andy Staudacher
2009-09-15Add exception for REST controllers (no fixes necessary).Andy Staudacher
2009-09-15CSRF / auth fixes, golden data file checkpointAndy Staudacher
2009-09-15First functional version of Controller_Auth_TestAndy Staudacher
2009-09-15Initial skeleton of Controller_Auth code audit test (non functional).Andy Staudacher
2009-09-15Move the code that adds the .gShortForm CSS class out ofBharat Mediratta
gallery.short_forms.js and into the theme, since this is really a theme decision.
2009-09-15Refactor all the short form code to tighten it up, and make it suchBharat Mediratta
that the form button is disabled if we're showing the placeholder text.