summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
2009-09-24Refactored the rebuild_dirty_images handler to simplify the counting and end ↵Tim Almdal
processing. It was getting all confused with trying to figure out the completed and remaining. Now on initiation it sets the total images that are dirty and then counts the completed until it equals the total, then exits. Fixes ticket #771
2009-09-24Fix unit tests by updating the xss golden file and declaring ↵Tim Almdal
gallery_error::error_handler as static
2009-09-24Fix Admin_View to look for the the variable active_admin_theme instead of ↵Tim Almdal
active_site_theme. In addition check for the existence of THEMEPATH . instead of theme/
2009-09-24Hopefully the last 2 errant occurrences of default as it relates to theme namesTim Almdal
2009-09-24Forgot to change the defaults theme names on initial install... DuhTim Almdal
2009-09-24Oops, forgot to change the install version number to match the upgrade ↵Tim Almdal
version number
2009-09-23Change the simple uploader dialog to use the new gallery::find_file api method.Tim Almdal
2009-09-23Add a new api method gallery::find_file. This wraps the Kohana::find_file ↵Tim Almdal
function, but allows the extension to supplied as part of the filename. Changed the Edit permission dialog to use the new api method to locate the icons from the active theme.
2009-09-23set the version number to 13, so we will update the default themes in the ↵Tim Almdal
gallery vars
2009-09-23Rename the default themes to wind and admin_wind. Change xss_data.txt file ↵Tim Almdal
to reflect this move. Not completely moved yet, but the git st is rather large so lets commit this now as a base for the cleanup.
2009-09-23Correct indentationTim Almdal
2009-09-23Fix a typoTim Almdal
2009-09-23Clone the photo::get_edit_form to the movies helper and use it to generate ↵Tim Almdal
the movie edit form. Fixes ticket #726.
2009-09-23Correct whitespaceTim Almdal
2009-09-23Remove a commented line I forgot to take outTim Almdal
2009-09-22Simplify the "unchanged" status message.Bharat Mediratta
2009-09-22Create a gallery error handler that traps php errors and rethrows them as ↵Tim Almdal
Exceptions. This fixes ticket #763
2009-09-22Wrap the login form with a view in order to include a forgot password link. ↵Tim Almdal
Fixes ticket #620
2009-09-22Issue an information message if the user clicks "Save Settings" indicating ↵Tim Almdal
that the key was not changed as it as identical. This addresses the obscure issue raised in ticket #756
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-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-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-17- Add theme->movie_menu() to whitelisted methods.Andy Staudacher
- xss_data checkpoint
2009-09-17Arg, fixing the "Sharing your Translations" text, thanks engineer@gmcAndy Staudacher
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-15Also check for rss feeds in controller auth checkAndy Staudacher
2009-09-15Controller auth / CSRF fixesAndy 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-15Improve language preference (Acccept-Language header matching): Boost ↵Andy Staudacher
same-language match over exact locale match for lower qvalue.
2009-09-13Set the version to "3.0 git (pre-RC1)"Bharat Mediratta
2009-09-13Merge branch 'master' of git@github.com:gallery/gallery3 into beta3_stagingBharat Mediratta
2009-09-13Remove raw HTML that's wrapped around the name of the fileKevin Nehls
to create if not logged in as admin
2009-09-13Merge branch 'master' of git@github.com:gallery/gallery3 into beta3_stagingBharat Mediratta
2009-09-13If there's a show= param and we can't find the given id in the currentBharat Mediratta
album, just ignore the parameter.
2009-09-12Update version to "3.0 beta 3"Bharat Mediratta
2009-09-12Updated for url format changes applied in ↵Bharat Mediratta
2aad580f53dbc06bb170c710467b47a5a532c6c8.