summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/IdentityProvider.php
AgeCommit message (Collapse)Author
2013-03-02#2031 - Add class_exists() before method_exists() if class existence is unknown.shadlaws
- fixed all instances of this in core code - deleted previous Zend Guard Loader workaround in MY_Kohana.php - updated Bootstrap.php to reflect deleted MY_Kohana.php
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-08-04fix for ticket #1759. correct parameter names to match usage.Tim Almdal
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-08-29Don't concatenate two strings together as an argument for t() or t2();Bharat Mediratta
the l10n_scanner cannot parse it properly and drops those from the localization list. Fixes ticket #1284.
2010-07-21Catch any exceptions thrown when we try to restore the originalBharat Mediratta
identity provider after we fail to set up a new one.
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-14Need to allow access to ::change_provider for CLI, to make packager work.Andy Staudacher
2010-02-14Minor security tightening of IdentityProvider::change_provider().Andy Staudacher
2010-01-28Use identity::set_active_user() instead of auth::login() when weBharat Mediratta
change providers otherwise the user_installer code is going to be calling auth::login() which causes all kinds of unexpected weirdness, like it triggers the handler in gallery_event which detects graphics toolkits, and that's only supposed to run on the first admin login.
2010-01-25Make only one attempt to restore the old identity provider in case ofBharat Mediratta
failure. Else, we can get into an infinite recursion.
2010-01-23Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_devBharat Mediratta
Conflicts: modules/gallery/tests/xss_data.txt
2010-01-22Trap any errors that may occur when trying to install a new identity ↵Tim Almdal
provider and then reinstall the current one.
2010-01-22Refactor the identity provider installation in to a common helper method ↵Tim Almdal
(change_provider) with an initialization callback.
2010-01-17Change IdentityProvider::create_user() to take $email as well, since that's ↵Bharat Mediratta
a required parameter for the Gallery driver.
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-31Added a config parameter to the IdentityProvider to specifiy the ↵Tim Almdal
configuration. This allows the ldap installer to instantiate the ldap Identity provider to use in the install and uninstall methods
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-29Correct the issues that identity::registered_users was calling the backend ↵Tim Almdal
provider everybody method
2009-10-29Add the admin_user api function to the identity helper and the ↵Tim Almdal
IdentityProvider interface.
2009-10-24Minor style tweaks.Bharat Mediratta
2009-10-22Change Identity adminstration to use the uninstall/install methods when ↵Tim Almdal
changing providers.
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