summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
AgeCommit message (Collapse)Author
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
2009-10-21Change this files to use the API instead of referencing the group tables ↵Tim Almdal
directly
2009-10-21Merge branch 'master' into talmdal_devTim Almdal
2009-10-21Correct phpDocTim Almdal
2009-10-20Add a groups api method on the Identity provider and change ↵Tim Almdal
access_Core::_get_all_groups() to use this to get the defined groups.
2009-10-20Changes to Identity interface to allow for multiple Identity providers. ↵Tim Almdal
What I've tested to this point, is you can install a new provider, switch to it, login as administrator, uninstall the default user module, reinstall the user module, switch back to the user module and login.
2009-10-19Simplify the user interface by moving the password reset functionality into ↵Tim Almdal
the user module Bagging the User_Definition and Group_Definition abstract classes and replacing them with interfaces with the same names. Make sure all the unit tests work.
2009-10-18Resolve merge conflict.Chad Kieffer
2009-10-18Merge branch 'master' into talmdal_devTim Almdal
Conflicts: lib/gallery.common.css themes/admin_wind/views/admin.html.php themes/night_wind/views/sidebar.html.php themes/wind/views/sidebar.html.php
2009-10-18Optimize the get method to retrieve the module information from the loaded ↵Tim Almdal
modules. In addition add a method "info" to return the module information contained in the module.info file
2009-10-18Add a menu item to manage the Identity drivers if there is more than one ↵Tim Almdal
installed
2009-10-18Move the default identity config into the users module and change the ↵Tim Almdal
Identity constructor to look in module::get_var(gallery, identity_provider) for the current identity driver. In addition, don't just arbitrarily lock the use module. Only lock gallery and the module that is referenced by "user_driver_module" variable.
2009-10-16Remove all non Identity API methods from Identity.php. Created an ↵Tim Almdal
MY_Session class to provide the user state changes in the session and a login.php helper that has the login form.
2009-10-16Cleanup merge of user/group helpers into Identity interface. Reduce ↵Tim Almdal
redundant code in the user module and remove references to the Identity helper from the user module as the user module should be able to access things directly. Simplify the get_user_list api method to just accept an array of ids to return user objects for.
2009-10-16Start simplifying the interface by moving the static methods from user.php ↵Tim Almdal
and group.php. Tried creating a identity helper, but the helper identity.php was confused with the library Identity.php. So got around this by making the methods on Identity static and calling the instance within the static methods. Also temporarily moved the user.php and group.php back into the user module.