summaryrefslogtreecommitdiff
path: root/modules/user
AgeCommit message (Collapse)Author
2009-10-31Revert "Use an event 'check_user_name_exists' to validate the input name is ↵Tim Almdal
already in use. The parameter is a standard class with the name and an exists flag. Any event handler should or their result with the exists flag." This reverts commit 04bf50bfb4241f7c814782c516732d927ff1f457.
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-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-30Caught a few more incorrect capitalizations.Tim Almdal
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-29Use an event 'check_user_name_exists' to validate the input name is already ↵Tim Almdal
in use. The parameter is a standard class with the name and an exists flag. Any event handler should or their result with the exists flag.
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-28Make the user name a required field. Fixes ticket #852Tim Almdal
2009-10-28Normalize capitalization ticket #596Tim Almdal
2009-10-28Add a static modifier to the private methodTim Almdal
2009-10-27Check the minimum length when adding or modifying users via the admin screen.Tim Almdal
2009-10-27Fire the logon_event when the user logs on. Cleanup some old code from the ↵Tim Almdal
user/helpers/user.php file."
2009-10-27Add a password strength meter.Tim Almdal
2009-10-27Set the minimum password length to 5. The gallery owner can change this in ↵Tim Almdal
the advance settings.
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-27When we are changing the password using the change password from as part of ↵Tim Almdal
the password reset, the input value is in the post[hash] variable as opposed to the get(key) value. This should fix ticket #850.
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-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-24Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/server_add/helpers/server_add_theme.php
2009-10-23Moved remaining user and group admin css into the new user.css style sheet.Chad Kieffer
2009-10-23Created user.css. Moved user-related form css to the new sheet.Chad Kieffer
2009-10-23Standardize the use of the lookup methodsTim Almdal
2009-10-23Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/gallery/tests/Albums_Controller_Test.php modules/user/helpers/user.php
2009-10-23move controllers and views to the user module to make the Identity Provider ↵Tim Almdal
refactor smaller
2009-10-23synchronize with the master branchTim Almdal
2009-10-23Move the filters that the File_Structure_Test use into a seperate file so ↵Tim Almdal
other tests. can use them. Add a No_Direct_ORM_Access_Test to find all places that the user or group table are accessed outside of the user module. This test will fail at this point, as it in preparation for the IdentityProvider refactor.
2009-10-23Minor changes to more closely align this branch with masterTim Almdal
2009-10-23Change the Admin_Identity_Controller to not destroy the session until after ↵Tim Almdal
the new provider is installed.
2009-10-22Change Identity adminstration to use the uninstall/install methods when ↵Tim Almdal
changing providers.
2009-10-22move the direct orm test to the users module.Tim Almdal
2009-10-22Change the modifier on activate and deactivate methods to static as they are ↵Tim Almdal
in a helper class.
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-21Make sure we set the active identity provider when the user module is ↵Tim Almdal
installed. This is mostly for the unit_tests as when the gallery3 installer is used, the user module is activated by default.
2009-10-21re-add the lookup_group_by_name API Method.Tim Almdal
2009-10-21When activating the user module set all items to be owned by the ↵Tim Almdal
administrator user.
2009-10-20Only show the user/group administration screen if the active idenity ↵Tim Almdal
provider is the user module.
2009-10-20Add lookup_group Identity provider API and change the permissions controller ↵Tim Almdal
to use it to get the group it is modifying
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-19Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/user/views/admin_users.html.php
2009-10-18Wrap all admin views in g-block and g-block content. This provides the means ↵Chad Kieffer
to visually separate the view's title and description from everything else. Primary admin view title should always be h1, and only one h1 per view. Removed some unused admin CSS id's.
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-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-17Drop our g-clearfix in favor of using jQuery UI's ui-helper-clearfix.Chad Kieffer
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.