summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
AgeCommit message (Collapse)Author
2009-11-06Merge branch 'master' into talmdal_devTim Almdal
2009-11-06Create a user_menu for the top of the page. Change the login, edit profile ↵Tim Almdal
and logout portions of the banner to be rendered by the Theme_View::user_menu callback. This fires the user_menu event. Fixes Ticket #871.
2009-11-06Merge branch 'master' into talmdal_devTim Almdal
2009-11-05Clean up problem with cancelling the inplace edit left a whole bunch of css ↵Tim Almdal
artifacts.
2009-11-03Merge branch 'master' into talmdal_devTim Almdal
2009-11-03Respect the "theme" variable if we're an admin. This requires us toBharat Mediratta
change the order of operations in gallery_event::gallery_ready() so that we load users before themes. Fixes ticket #836.
2009-11-02Merge branch 'master' into talmdal_devTim Almdal
2009-11-02remove a debugging statementTim Almdal
2009-11-01Try an new approach to extending forms. Create an extend_form event. For ↵Tim Almdal
the first attempt replace the comment_add_form and item_add_form events.
2009-11-01Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-11-01Convert the event handlers for the "identity provider changed" and ↵Tim Almdal
"user_deleted" events to use ORM or the Kohana query builder to build the database update calls instead of coding the sql directly.
2009-11-01Replace split() with explode() since split is deprecated in PHP 5.3Bharat Mediratta
Fixes ticket #865
2009-10-31Include the gallery_toolkit_path in the path when determining the location ↵Tim Almdal
of ffmpeg.
2009-10-31Move the identity provider menu item under the settings menu and make the ↵Tim Almdal
User/Groups administration a first level menu item. As discussed via -devel mailing list.
2009-10-31Add identity_change handlers to resolve the ownership issues of comments, ↵Tim Almdal
subscription, items and tasks.
2009-10-31Don't specify the default identity provider in the gallery installer. Let ↵Tim Almdal
the user module use that as a trigger to set ownership of the root album to the administrator.
2009-10-30Patch to clean up loose ends when a user is deleted.Tim Almdal
* For items and tasks the owner id is set to admin * For notification subscriptions, the subscription is deleted * For comments, I've extracted the user name, email and url and set the guest_name, guest_email and guest_url columns while setting the author_id to identity::guest()->id Fix for ticket #777.
2009-10-30Include the graphics_toolkit_path from the advanced settings in the path ↵Tim Almdal
when searching for the graphics toolkits directories. Fixes ticket #639
2009-10-30Rename the login helper to auth. Create a login and logout helper function ↵Tim Almdal
to allow for programmically login in and out.
2009-10-29Add the add_user_to_group and remove_user_from_group api method calls. If ↵Tim Almdal
the identity provider isn't writable, the method implementations should throw an Invalid Operation exception.
2009-10-29Correct the issues that identity::registered_users was calling the backend ↵Tim Almdal
provider everybody method
2009-10-29Missed a couple of inconsistent capitalizationsTim Almdal
2009-10-29Use the identity interface admin_user to retreive the admin user.Tim Almdal
2009-10-29Add the admin_user api function to the identity helper and the ↵Tim Almdal
IdentityProvider interface.
2009-10-29Just show the Identity admin menu item all the time. This gives a place to ↵Tim Almdal
hang other user related module administartion menu links.
2009-10-28Normalize capitalization ticket #596Tim Almdal
2009-10-27Add a flag in the module.info (no_module_admin) to indicate that this module ↵Tim Almdal
shouldn't be managed by the default module administration screen. This module will always be locked on that screen.
2009-10-27Switch instances of first to g-first.Chad Kieffer
2009-10-27When rebuilding dirty images, start a batch on initialization and stop it ↵Tim Almdal
when the task is complete. Fixes ticket #670
2009-10-26Upgrade the gallery module to version 16 to reflect the refactoring of the ↵Tim Almdal
user module into an identity provider. Change how we determine if there are available groups that we need to export
2009-10-26Change the upgrader so that it never deactivactes the gallery nor the ↵Tim Almdal
current identity provider modules. Call module::deactive to truly deactivate the module.
2009-10-26Merge branch 'master' into talmdal_devTim Almdal
2009-10-25Make "move item in photo view" comment a todo.Chad Kieffer
2009-10-25Created gallery.css file, moved simple uploader, move, and permissions CSS ↵Chad Kieffer
there. Removed relocated styles from theme css.
2009-10-25Undo the merge from master because it is actually identity not user in this ↵Tim Almdal
branch.
2009-10-25Merge branch 'master' into talmdal_devTim Almdal
2009-10-25Replace reference to identity with the reference to user. Dangers of ↵Tim Almdal
flipping back and forth between branches.
2009-10-24Remove a redundant comment, change the name of the identity change event to ↵Tim Almdal
'identity_before_change' and change the name of 'login::get_login_form()' to 'login::get_form()'
2009-10-24Update themes::load_theme() to work with mod_rewrite's short urls.Bharat Mediratta
Conflicts: modules/gallery/helpers/gallery_event.php
2009-10-24Update themes::load_theme() to work with mod_rewrite's short urls.Bharat Mediratta
2009-10-24Re-enable the redirect to the root album if we can't load the active user ↵Tim Almdal
from the session. This will most likely occur if the administrator has switch identity providers while a user was logged in.
2009-10-23This is the one i should have checked in last timeTim Almdal
2009-10-23Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/gallery/helpers/gallery_event.php
2009-10-23Allow themes to override event handlers. In gallery::ready() grab the serverTim Almdal
PATH_INFO and pass it to the theme::load_themes method. If it starts with \"/admin\", then set the theme to the active admin theme, otherwise set it to the active site theme. Fixes ticket #841: Themes cannot overload event classes."
2009-10-23move controllers and views to the user module to make the Identity Provider ↵Tim Almdal
refactor smaller
2009-10-23Minor changes to more closely align this branch with masterTim Almdal
2009-10-22Poor man's merge. Note to self, git pull before working. Next pound the ↵Chad Kieffer
steps to merge into your head.
2009-10-22Change Identity adminstration to use the uninstall/install methods when ↵Tim Almdal
changing providers.
2009-10-22When uninstalling a module call graphics:remove_rules instead of graphics ↵Tim Almdal
remove_rule.
2009-10-22Change the name of identity library from Identity to IdentityProvider. ↵Tim Almdal
Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class