summaryrefslogtreecommitdiff
path: root/modules/user/helpers
AgeCommit message (Collapse)Author
2013-01-31Drop the requirement to have the install() function set the moduleBharat Mediratta
version. It's redundant. Fixes #1985.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-05-07Improve IdentityProvider switching code, patch thanks to ReklovBharat Mediratta
Nesalk. Fixes #1834.
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-04-23Further cleanup for minimum_password_length -- updateBharat Mediratta
user_installer::initialize() with the right module version number for the user module and fix the misspelling there then rebuild the installer.sql. #1694.
2011-04-23Fix ticket #1694 (continued). Reset the corrected user module variable to ↵Tim Almdal
the value of the incorrect spelling (don't assume that the original value was still 5.
2011-04-23Fix ticket #1694. Correct Spelling of mininum_password_length to ↵Tim Almdal
minimum_password_length
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-15Fix all the head() and admin_head() theme callbacks to return theBharat Mediratta
results of the $theme->css() and $theme->script() calls. This handles the case where combining scripts/css returns HTML instead of putting it in the queue for combination. Fixes #1611.
2010-09-11Implement IdentityProvider_Gallery_Driver::admin_user() properly suchBharat Mediratta
that it's not hardcoded to return the user with id 2. Create user::admin_user() which finds an appropriate admin and returns it. Fixes #1358.
2010-09-06Fix some broken identity APIs:Bharat Mediratta
- add_user_to_group and remove_user_from_group should take Group_Definition instances to be consistent - add_user_to_group and remove_user_from_group in drivers/IdentityProvider.php should not be static
2010-04-17Change the key for invalid passwords from "invalid" toBharat Mediratta
"invalid_password" to remove ambiguity.
2010-04-17Add user::valid_username() as a validation helper.Bharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-18Revert "Fix for ticket #491: Make user and group names translatable."Bharat Mediratta
This reverts commit 409121942590e12692eaf4e6e9e8b71bfe5ed60c.
2010-02-18Revert "Never assign a SafeString instance to a Model member (or hell will ↵Bharat Mediratta
break loose)." This reverts commit dcddc68f58dac2f0fe71f5a00ea4af32618efa13.
2010-02-15Never assign a SafeString instance to a Model member (or hell will break loose).Andy Staudacher
2010-02-14Fix for ticket #491: Make user and group names translatable.Andy Staudacher
Also fixed a UI bug: No longer showing the edit user buttons to admins in the profile view (to be consistent with the requirements in the controller).
2010-02-02Require the current password to change your password.Bharat Mediratta
Fixes ticket #585. Separate out the password change form from the regular edit user form. Require the old password to enter a new one. While I'm at it, roll the password strength javascript into a Form_Script element so that we can get rid of the old view (which incidentally fixes a bug where the password strength meter would go away on form errors).
2010-01-31Force all non-guest users to have an email address since that'sBharat Mediratta
required in model validation. Without this, any save on a user without email will fail which means that you can't log in. Bump user module to version 3.
2010-01-25Use ORM to create the users since now our validation can handle doingBharat Mediratta
it the right way. Set a default email address for admins.
2010-01-23Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/tests/xss_data.txt
2010-01-22Change the check_environment method in the module helper and the module ↵Tim Almdal
installers to can_activate to reflect that it is doing more than just checking the environment.
2010-01-22Refactor the identity provider installation in to a common helper method ↵Tim Almdal
(change_provider) with an initialization callback.
2010-01-22Treat identity providers just like other modules and use the admin_module toTim Almdal
install and switch to a different identity provider.
2010-01-17Use an empty password for the guest user.Bharat Mediratta
2010-01-17Adjust installers to work with model based validation.Bharat Mediratta
2010-01-16Convert Admin_Users_Controller, User_Model and Group_Model to useBharat Mediratta
model based validation.
2010-01-16Convert Admin_Users::add_user() to use model based validation. GetBharat Mediratta
the rules and business logic out of the form and user::create(), and move it into User_Model::save().
2009-12-18Convert html::specialchars() to html::chars()Bharat Mediratta
2009-11-26Convert all DB where() calls to take 3 arguments.Bharat Mediratta
Convert all open_paren() calls to and_open() or or_open() as appropriate.
2009-11-25Preliminary work to cut over to Kohana 2.4Bharat Mediratta
- Kohana::log() -> Kohana_Log::add() - Kohana::config_XXX -> Kohana_Config::instance()->XXX - Implement View::set_global in MY_View - Updated Cache_Database_Driver to latest APIs - ORM::$loaded -> ORM::loaded() - Updated item::viewable() to use K2.4 parenthesization
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-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-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-28Add a static modifier to the private methodTim 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-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-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-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.