summaryrefslogtreecommitdiff
path: root/plugins/OpenID
AgeCommit message (Collapse)Author
2010-10-18Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-16Use common case instead of WARNING in all caps.Siebrand Mazeland
Spotted by The Evil IP address.
2010-10-09Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-10-08Merge branch 'fatals' into 0.9.xBrion Vibber
2010-10-08Normalize execution guards in OpenID plugin files; avoids annoying fatal ↵Brion Vibber
errors when .php files get spidered.
2010-10-03Localisation updates from http://translatewiki.netSiebrand Mazeland
2010-10-01Localisation updates from http://translatewiki.net.Siebrand Mazeland
2010-09-30Fix for OpenID-only private sites: we were removing the 'login' and ↵Brion Vibber
'register' actions from the routing system entirely, which meant that login links & redirects from unauthenticated views on private sites (as well as various re-auth situations even on non-private sites) would break and send to the main page instead. Changed it to leave the 'login' and 'register' actions in the system; we're already taking them over and redirecting them to the OpenID login page, so they won't be reached by accident; but now those redirects can be reached on purpose. ;) Better long-term fix may be to allow some aliasing, so we can have common_local_url('login') actually send us straight to the OpenID login page instead of having to go through an intermediate redirect, but this'll do.
2010-09-28Localisation updates from http://translatewiki.netSiebrand Mazeland
* adding the fuzzy messages back now that translatewiki.net processes them properly again.
2010-09-28Localisation updates from http://translatewiki.netSiebrand Mazeland
* first export of L10n for languages other than English. Could use some testing/QA.
2010-09-23Update POT files for plugins.Siebrand Mazeland
2010-09-19Update pot files for plugins.Siebrand Mazeland
2010-09-15Update/add pot files for plugins.Siebrand Mazeland
2010-09-07Quick fix for #2659: unable to login with Livejournal OpenIDBrion Vibber
The Net::OpenID::Server perl module that LJ uses appears to be very picky about input, and rejects most request types unless the data comes in as GET parameters (apparently following OpenID 1.1 rules, rather than OpenID 2.0 rules which permit any request to be POSTed but requires that if so, the data must all be in the POST body). Apparently something got updated on LJ at some point that's either added that behavior or (more likely) added the OpenID 2.0 namespace info to discovery, which tells the Janrain-based OpenID libraries that they should go ahead and do POST requests instead of redirects to GET requests... thus breaking everything. ;) GET should be just fine for both 1.1 and 2.0 though, and also saves having to sit through that lame autosubmit page. Switched the authentication submission from checking whether it should redirect to GET or do a form POST, to simply always doing the redirect to GET. Tested against providers: * LiveJournal * Google * LaunchPad * identi.ca
2010-06-16Merge branch 'testing' into 0.9.xBrion Vibber
Conflicts: plugins/OpenID/openidserver.php
2010-06-16Switch OpenID server's redirects from 307 to 303 to avoid prompt for form ↵Brion Vibber
data resubmission if we were sent here from a POST request, such as when verifying the site for the first time doing an OpenID login from Drupal.
2010-06-07Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: plugins/OpenID/openid.php
2010-05-28OpenID: add option to enable asking for a username to append to the trusted ↵Brion Vibber
provider's base URL. Good for hooking up with sites like WikiHow, where usernames are appended to a base URL to get a profile URL which is used as the provider. $config['openid']['append_username'] = true; or check 'Append a username to base URL' in OpenID admin panel.
2010-05-27Assigning my copyrights to the Free Software FoundationCraig Andrews
2010-05-27Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: lib/language.php plugins/OpenID/finishaddopenid.php
2010-05-27Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-05-25WikiHowProfile plugin; pulls avatar from WikiHow profile pages when ↵Brion Vibber
registering or adding account with OpenID. (Full name, location, homepage, and bio are also on the profile page but not marked up in a way they can be easily retrieved yet.) OpenID plugin: Added events at OpenID account creation and update time to allow additional customizations for particular sites.
2010-05-19Merge branch 'testing' into 0.9.xBrion Vibber
Conflicts: plugins/OpenID/openidlogin.php
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-05-03Pull localization updates from 0.9.x branch0.9.2Brion Vibber
2010-04-30Update translator documentation for OpenID plugin.Siebrand Mazeland
2010-04-30Update Dutch translation for OpenID plugin.Siebrand Mazeland
2010-04-30Re-add OpenID/locale/nl/LC_MESSAGES/OpenID.po which was accidentally removed ↵Siebrand Mazeland
in Commit:d811f14bedc260adcfdd0eb8216eba06e9610144 Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-30Remove .po source files. Using pot files.Siebrand Mazeland
2010-04-30Update gettext localisation files.Siebrand Mazeland
2010-04-29Pull localization updates from 0.9.xBrion Vibber
2010-04-29Merge branch 'testing' into 0.9.xBrion Vibber
Conflicts: index.php
2010-04-23Merge branch 'master' into testingBrion Vibber
2010-04-23Ticket #93: pretty up the auto-submit for OpenID logins a bit.Brion Vibber
* throwing in our spinner * cleanup of texts * "If this doesn't go through click the button" instead of just a mystery button * slightly faster submission: immediate at end of page rather than waiting for jQuery to confirm document setup completion
2010-04-12Adding Dutch translation for OpenID plugin.Siebrand Mazeland
2010-04-09i18n cleanup: fix bad string breakdown in license agreement checkbox on ↵Brion Vibber
registration form. Note that much of that form is duplicated several times for Twitter, Facebook, and OpenID registrations -- these need to be refactored to avoid having multiple out-of-sync copies of code and messages.
2010-04-09i18n cleanup: fix bad string breakdown in license agreement checkbox on ↵Brion Vibber
registration form. Note that much of that form is duplicated several times for Twitter, Facebook, and OpenID registrations -- these need to be refactored to avoid having multiple out-of-sync copies of code and messages.
2010-04-08Redirect using HTTP 303 so that form POST data is not re-submitted to the ↵Craig Andrews
destination page
2010-04-05Some localization cleanup and doc to aid in customization:Brion Vibber
* added locale/en/LC_MESSAGES/statusnet.po to make it easier to start customizing English texts * added notes to locale/README about customizing and how to disable languages you haven't customized * renamed PO templates from *.po to *.pot to match general conventions and reduce confusion for people trying to find which file they're supposed to edit
2010-03-25add whitelist and blacklist for openid URLsEvan Prodromou
2010-03-25remove debugging callsEvan Prodromou
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-03-12OpenID fixes:Brion Vibber
- avoid notice spew when checking sreg items that weren't provided - fix keys spec for user_openid, clears up problems with removing openid associations - fix keys spec for user_openid_trustroot
2010-03-08On the OpenID settings page, allow users to remove trustroots.Craig Andrews
2010-03-08Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-05OpenID fix:Brion Vibber
- avoid notice on insert (missing sequenceKeys()) - avoid cache corruption on delete (user_id was missing from keys list, cache not cleared for user_id lookups)
2010-03-04Pull latest .po files from 0.9.x to testingBrion Vibber
2010-03-01Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: db/08to09.sql locale/statusnet.po scripts/update_po_templates.php