Bharat Mediratta
3584856afc
Use auth::login() when we initially log in the admin user.
2010-01-28 21:32:50 -08:00
Bharat Mediratta
f20fa2cfed
Change IdentityProvider::create_user() to take $email as well, since that's a required
...
parameter for the Gallery driver.
2010-01-17 20:37:25 -08:00
Bharat Mediratta
0736cf203b
In Kohana 2.4, ORM no longer does the find_all() call for us when we
...
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-12-17 21:32:53 -08:00
Bharat Mediratta
c65cd702fc
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
...
Conflicts:
modules/gallery/helpers/identity.php
2009-12-13 16:52:18 -08:00
Bharat Mediratta
3d1f166fe5
Log the entire stack trace when we catch an exception.
2009-12-10 21:20:18 -08:00
Bharat Mediratta
2e420522ec
Preliminary work to cut over to Kohana 2.4
...
- 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-25 13:22:24 -08:00
Tim Almdal
c6fbd34f28
Add the add_user_to_group and remove_user_from_group api method calls. If the identity provider isn't writable, the method implementations should throw an Invalid Operation exception.
2009-10-29 19:16:08 -07:00
Tim Almdal
392e24e56b
Correct the issues that identity::registered_users was calling the backend provider everybody method
2009-10-29 12:12:22 -07:00
Tim Almdal
749d17ac16
Use the identity interface admin_user to retreive the admin user.
2009-10-29 11:18:35 -07:00
Tim Almdal
0bb2b7659f
Add the admin_user api function to the identity helper and the IdentityProvider interface.
2009-10-29 11:12:55 -07:00
Tim Almdal
7afb4c5c30
Re-enable the redirect to the root album if we can't load the active user from the session. This will most likely occur if the administrator has switch identity providers while a user was logged in.
2009-10-24 08:40:16 -07:00
Tim Almdal
b74b131e25
Change Identity adminstration to use the uninstall/install methods when changing providers.
2009-10-22 22:30:25 -07:00
Tim Almdal
3c936d661a
Change the name of identity library from Identity to IdentityProvider. 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-22 13:11:03 -07:00