shadlaws
9b9f1a7b07
#2031 - Add class_exists() before method_exists() if class existence is unknown.
...
- 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-03-02 13:25:10 +01:00
Bharat Mediratta
d45a737779
Update copyright to 2013. Fixes #1953 .
2013-01-21 01:22:01 -05:00
Bharat Mediratta
a23fed4ce1
Improve IdentityProvider switching code, patch thanks to Reklov
...
Nesalk. Fixes #1834 .
2012-05-07 12:04:43 -07:00
Bharat Mediratta
bf2bb3e1ea
Update copyright to 2012. #1822
2012-02-27 09:48:23 -08:00
Tim Almdal
7f8056b593
fix for ticket #1759 . correct parameter names to match usage.
2011-08-04 19:44:19 -07:00
Bharat Mediratta
423daa52d5
Update copyright to 2011.
2011-01-21 23:01:06 -08:00
Bharat Mediratta
2c717b18d3
Don't concatenate two strings together as an argument for t() or t2();
...
the l10n_scanner cannot parse it properly and drops those from the
localization list. Fixes ticket #1284 .
2010-08-29 20:04:02 -07:00
Bharat Mediratta
adeea49e0a
Catch any exceptions thrown when we try to restore the original
...
identity provider after we fail to set up a new one.
2010-07-21 11:43:51 -07:00
Bharat Mediratta
c3c2b45280
Update the copyright to 2010. It's only 3 months into the year :-)
2010-03-03 10:15:34 -08:00
Andy Staudacher
30dcaaa236
Need to allow access to ::change_provider for CLI, to make packager work.
2010-02-14 18:33:10 -08:00
Andy Staudacher
74471df777
Minor security tightening of IdentityProvider::change_provider().
2010-02-14 16:12:18 -08:00
Bharat Mediratta
9908f37eef
Use identity::set_active_user() instead of auth::login() when we
...
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-28 21:33:41 -08:00
Bharat Mediratta
804614711a
Make only one attempt to restore the old identity provider in case of
...
failure. Else, we can get into an infinite recursion.
2010-01-25 19:49:52 -08:00
Bharat Mediratta
fecac4a859
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
...
Conflicts:
modules/gallery/tests/xss_data.txt
2010-01-23 16:29:10 -08:00
Tim Almdal
eabeeeb126
Trap any errors that may occur when trying to install a new identity provider and then reinstall the current one.
2010-01-22 13:38:05 -08:00
Tim Almdal
ae568b6182
Refactor the identity provider installation in to a common helper method (change_provider) with an initialization callback.
2010-01-22 12:09:11 -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
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
8db2406c00
Added a config parameter to the IdentityProvider to specifiy the configuration. This allows the ldap installer to instantiate the ldap Identity provider to use in the install and uninstall methods
2009-10-31 14:11:06 -07: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
0bb2b7659f
Add the admin_user api function to the identity helper and the IdentityProvider interface.
2009-10-29 11:12:55 -07:00
Bharat Mediratta
73a01d475b
Minor style tweaks.
2009-10-24 10:55:22 -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