summaryrefslogtreecommitdiff
path: root/modules/user
AgeCommit message (Collapse)Author
2010-01-17Adjust installers to work with model based validation.Bharat Mediratta
2010-01-17Move model rules down into their validate() function for consistency.Bharat Mediratta
Change "in_use" error to "conflict" for consistency.
2010-01-16Use "(string) $form" instead of "$form->__toString()"Bharat Mediratta
2010-01-16Convert Users_Controller to 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().
2010-01-16Whitespace.Bharat Mediratta
2010-01-16Whitespace.Bharat Mediratta
2010-01-16Don't pass MY_ORM::original() to update event handlers, since afterBharat Mediratta
parent::save() it'll be reset. Clone it first. This is an alternate fix for #978.
2010-01-06Convert ORM::in() to ORM::where(.., "IN", ..) for K24 compatibility.Bharat Mediratta
2010-01-02Stop checking the exact nature of all grups after install. It doesn't add ↵Bharat Mediratta
any value.
2009-12-23Convert a bunch of leftover kohana::show_404 calls to throwBharat Mediratta
Kohana_404_Exception instead. These are the ones where we used a lower-case 'k' so my previous filter didn't catch it.
2009-12-23ORM relations now require you to do find_all() or count_all() to get the ↵Bharat Mediratta
results.
2009-12-18Convert html::specialchars() to html::chars()Bharat Mediratta
2009-12-17In Kohana 2.4, ORM no longer does the find_all() call for us when weBharat Mediratta
retrieve related ORMs. If we tack a find_all() on the end, it breaks the User_Definition interface so create User_Model::groups() and Groups_Model::users() as glue.
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-26ORM::$rules now has a special meaning. Use $form_rules for ourBharat Mediratta
internal rules code.
2009-11-25ORM::orderby -> ORM::order_byBharat Mediratta
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-11-21Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-11-21Make email a required field. We're using the Kohana default errorBharat Mediratta
messages when this fails, not the Gallery translation system so this is not a great solution. However, it's the same as the other model-based rules we have currently so it's no worse. Fixes ticket #897.
2009-11-21Correct inconsistent captialization. Fixes #906Tim Almdal
2009-11-17Redesign the way that we consider page types to create buckets of pageBharat Mediratta
types, and a subtype for specifics. Currently the top level bucket collection, item, other Here are the core subtypes so far: collection: album, search, tag item: movie, photo other: login, reset, comment-fragment, comment It's legal to create new page_subtypes whenever you want. Use the appropriate page_type to get the coarse grain behavior that you want.
2009-11-14Remove g-dialog-link from special groups delete button (registered users, ↵Chad Kieffer
everybody), it's supposed to be disabled. Updated wording of headings and instructions.
2009-11-14A few more g- prefix updates for the user module, this should be it.Chad Kieffer
2009-11-14Added comments to user.cssChad Kieffer
2009-11-14Fix floated group rows when more than one row exists. Attach g- before all ↵Chad Kieffer
css ids and classes for consistency. Other minor layout adjustments.
2009-11-14Move the password strength image out of css and into an images folder.Chad Kieffer
2009-11-08Remove g-actions, it doesn't serve any real purpose in styling or JavaScript.Chad Kieffer
2009-11-06Remove width class from add group form, it sizes the form's elements, not ↵Chad Kieffer
the form itself.
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