summaryrefslogtreecommitdiff
path: root/plugins/OpenID/OpenIDPlugin.php
AgeCommit message (Collapse)Author
2010-05-18OpenID access control options: trusted provider URL, Launchpad team ↵Brion Vibber
restrictions. Added an admin panel for setting these and OpenID-only mode, off by default. To enable the admin panel: $config['admin']['panels'][] = 'openid'; Or to set them manually: $config['openid']['trusted_provider'] = 'https://login.ubuntu.net/'; $config['openid']['required_team'] = 'my-project-cabal'; $config['site']['openidonly'] = true; OpenID-only mode can still be set from addPlugin() parameters as well for backwards compatibility. Note: if it's set there, that value will override the setting from the database or config.php. Note that team restrictions are only really meaningful if a trusted provider is set; otherwise, any OpenID server could report back that users are members of the given team. Restrictions are checked only at OpenID authentication time and will not kick off people currently with a session open; existing remembered logins may also survive these changes. Using code for Launchpad team support provided by Canonical under AGPLv3, pulled from r27 of WordPress teams integration plugin: https://code.edge.launchpad.net/~canonical-isd-hackers/wordpress-teams-integration/trunk
2010-03-23prevent password login actions in OpenID-only modeEvan Prodromou
2010-03-23start making OpenID-only mode workEvan Prodromou
2010-03-23reformat OpenIDPlugin for PHPCSEvan Prodromou
2010-02-20Fixed incorrect link on registration successful pageEric Helgeson
2010-01-07add version info to OpenID pluginEvan Prodromou
2009-12-08New _m() gettext wrapper with smart detection of plugin domains. Plugin base ↵Brion Vibber
class registers your gettext files if present at initialization. update_pot.sh replaced with update_po_templates.php which can do core, plugins, or all (default). Top-level Makefile added to build .mo files for plugins as well as core. As described on list: http://lists.status.net/pipermail/statusnet-dev/2009-December/002869.html
2009-11-26OpenID plugin should set 'user_openid.display' as unique keyZach Copley
2009-11-25Revert "Allow plugin DB_DataObject classes to not have to use the .ini file ↵Zach Copley
by overriding keys(), table(), and sequenceKey() for them" This reverts commit a373d07ae00b878f47970f2e4a7d86c6ec3a65cf. Conflicts: classes/statusnet.ini lib/schema.php plugins/Authentication/AuthenticationPlugin.php plugins/OpenID/OpenIDPlugin.php plugins/UserFlag/UserFlagPlugin.php
2009-11-16Fix for PHP spewing notices from commit a373d07ae00b878f47970f2e4a7d86c6ec3a65cfBrion Vibber
Please test with error_reporting set to E_ALL! Classnames and function names aren't first-class objects in PHP and need to be referenced as strings here. :(
2009-11-16Allow plugin DB_DataObject classes to not have to use the .ini file by ↵Craig Andrews
overriding keys(), table(), and sequenceKey() for them
2009-11-12Also delete the OpenID provider data when a user is deletedCraig Andrews
2009-11-08Fix bug 1962: deleteuser.php regression when OpenID plugin not enabledBrion Vibber
The User_openid data object was explicitly listed as a related field to delete from in User::delete(); this class doesn't exist anymore by default since OpenID was broken out to a plugin. Added UserDeleteRelated event for plugins to add related tables to delete from at user delete time.
2009-10-30made openidserver a login action so it can be seen when the site is in ↵Craig Andrews
"private" mode
2009-10-30Added an "Verify Your Identity" page to the OpenID providerCraig Andrews
2009-10-29Moved the public XRDS from the OpenID plugin to coreCraig Andrews
Added 4 new events involved in XRDS: StartUserXRDS, EndUserXRDS, StartPublicXRDS, EndPublicXRDS Added OpenID provider functionality (no delegation support [yet])
2009-10-29Warning cleanup: drop reference on router parameter to RouterInitialized ↵Brion Vibber
event handlers. We don't (and don't need to) pass a reference here, and the mix can trigger warnings.
2009-10-28correctly output public XRDS <meta>Evan Prodromou
2009-10-01change DB so OpenIDPlugin manages OpenID tablesEvan Prodromou
2009-09-15statusize OpenID pluginEvan Prodromou
2009-08-21add OpenID doc menu item and doc pageEvan Prodromou
2009-08-04move openid instructions to OpenIDPluginEvan Prodromou
2009-08-04move redirect-to-openid code to OpenID pluginEvan Prodromou
2009-08-04move XRDS code from public action to OpenIDPluginEvan Prodromou
2009-08-04say that it's OK to do OpenID login in private modeEvan Prodromou
2009-08-04incorrectly moved user xrds to OpenID plugin; fixingEvan Prodromou
2009-08-04move check for SSL from util.php to OpenIDPluginEvan Prodromou
2009-08-04OpenIDPlugin autoloads class filesEvan Prodromou
2009-08-04add account settings menu item for OpenIDEvan Prodromou
2009-08-04show OpenID action in login navEvan Prodromou
2009-08-04OpenIDPlugin sets up actions for routerEvan Prodromou