summaryrefslogtreecommitdiff
path: root/modules/user
AgeCommit message (Collapse)Author
2010-01-28Localize edit form error messages.Bharat Mediratta
2010-01-27Convert back to using ORM::factory(..., $id) instead of calling where().Bharat Mediratta
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-25Make some exceptions for guests:Bharat Mediratta
1) They don't require email 2) Guest users aren't in the everybody group.
2010-01-23Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/tests/xss_data.txt
2010-01-22Remove the g-right class on groups element on the manage user/groups page. ↵Tim Almdal
fixes ticket #911
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-22Don't try to access ORM::$changed externally; it's protected.Bharat Mediratta
2010-01-21Simplify the test using the test helper.Bharat Mediratta
2010-01-20Stop using MY_ORM::original()Bharat Mediratta
2010-01-20Fix typo: edit_user -> add_user.Bharat Mediratta
2010-01-20Stop using MY_ORM::original().Bharat Mediratta
2010-01-19Extend Gallery_Unit_Test_Case instead of Unit_Test_Case.Bharat Mediratta
2010-01-17Change IdentityProvider::create_user() to take $email as well, since that's ↵Bharat Mediratta
a required parameter for the Gallery driver.
2010-01-17Switch to model based validation approach.Bharat Mediratta
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-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.