summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-09-30First round of CSS refactor updates. Added calls to gallery.common.css from ↵Chad Kieffer
wind and admin_wind. Replaced basic text align and block float classes. Removed section #2 from both themes screen styles.
2009-09-29Set available graphics block heights with gallery.equal_heights().Chad Kieffer
2009-09-29change the block_manager api so that the theme is passed into the get ↵Tim Almdal
method. convert info to the new sidebar block approach
2009-09-29Refactor sidebar_blocks into a separate function and then call ↵Tim Almdal
block_manager::get_html(site.sidebar). Convert image_block to use block management instead of theme::sidebar_blocks
2009-09-29Extend block_manager to handle sidebar blocks. get_available has become ↵Tim Almdal
get_available_admin_blocks, get_list becomes get_admin_list. Create new functions get_available_site_blocks which will look for gallery_block get_available_site_blocks
2009-09-29Remove a debugging log statementTim Almdal
2009-09-29Remove the @todo and optimize the gallery_event call for 3 and 4 ↵Tim Almdal
arguments... context menu events have 4 arguments.
2009-09-29* Remove the @todo in module event and always try to call ↵Tim Almdal
gallery_event::$function first * Refactor gallery.php to move site_menu, admin_menu, and context_menu to gallery_event.php * Change Theme_View and Admin_view to call module::event("site_menu|admin_menu|context_menu"...)
2009-09-28Create and throw the exception, instead of logging. The theory behindBharat Mediratta
exceptions is that they only need to be logged if they can't be caught and handled. If we don't throw it, then the error gets swallowed and the code that errored out just blithely continues.
2009-09-28Do a pass on the gallery::find_file and Gallery_View::{script,css} PHPdoc.Bharat Mediratta
2009-09-28Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-09-28Update the PHPDoc for gallery::find_file and convert ↵Tim Almdal
Gallery_View::script/css to use gallery::find_file
2009-09-28Clean up upgrader for version 14. Put {} around table name,Bharat Mediratta
capitalize reserved words, use single quotes in the query to avoid escaping the double quotes, remove table alias.
2009-09-27Clean up the task initialization for rebuild thumbs and resizes.Tim Almdal
2009-09-27Change gallery installer to do a direct update to the database, preppending ↵Tim Almdal
gallery_graphics:: to each of the defined rules operations
2009-09-27This path requires the upgrader to be run and applies the following changes:Tim Almdal
* moves the composite method back into core * requires that the operation be fully qualified i.e. gallery_graphics::resize * caches the graphics rules on each request
2009-09-27Fix some whitespace issues.Bharat Mediratta
2009-09-27Fix one more place in the installer where we referring to the old defaultBharat Mediratta
theme names. Update installer.sql
2009-09-26minor improvements to simple uploaderjhilden
* removed CSS from the view to wind/css/screen.css * started changing CSS classes/IDs to new prefix "g-" * and more
2009-09-26Merge branch 'master' of git@github.com:gallery/gallery3jhilden
2009-09-26first try at improving the upload user experience with the file selection buttonjhilden
2009-09-24Refactor the graphic rules processing to accomplish 2 goals: First separate ↵Tim Almdal
the grapics library from module supplied rules and secondly, allow for modules to provide new processing rules callbacks. graphics::generate will now look for <module_name>_graphics::<rule> methods.
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-22Updated to Exifer r4477. Fixes ticket #763.Tim Almdal
2009-09-22Implement the updated version of gallery3-vendor/exifer which has gettext ↵Tim Almdal
replaced with calls to the gallery t method to provide translation. Fixes ticket 672.
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-22Change the link on the "Be first to comment" link to do a request to the ↵Tim Almdal
server to get the comment add form. Fixes ticket #699.
2009-09-22Revert "Change the exif module to respond to the gallery_ready event and ↵Tim Almdal
check to 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" This reverts commit 33690a32bcf132e5ab470ff77ba23c073ac26271.
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.