summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/openid.pm
AgeCommit message (Collapse)Author
2011-01-05use cgitemplate, remove misctemplateJoey Hess
2010-12-25use CGI->url to get current absolute cgi url for openid login processJoey Hess
2010-12-25revert cgiurl change that broke openid loginJoey Hess
2010-11-23Use local paths for the CGI URLSimon McVittie
2010-11-23Use local paths for redirection where possibleSimon McVittie
2010-07-11openid: Fix handling of utf-8 nicknames.Joey Hess
2010-07-04move nickname sanitization outJoey Hess
Probably best to store it unsanitized and sanitize as needed on use. And it already was for comments, leaving only the need to sanitize the nickname when git committing, to ensure the email address is legal.
2010-07-04further sanitize nickname charactersJoey Hess
2010-06-23finializing openid nickname supportJoey Hess
Renamed usershort => nickname. Note that this means existing user login sessions will not have the nickname recorded, and so it won't be used for those.
2010-06-23take username from email address as fallbackJoey Hess
2010-06-11realm is an url patternJoey Hess
2010-06-11openid: Add openid_realm and openid_cgiurl configuration options, useful in ↵Joey Hess
a few edge case setups.
2010-05-08moved non-openid signin form into same page as openid selector; show/hide as ↵Joey Hess
buttons are pressed
2010-05-07scale display form to match openid sizeJoey Hess
2010-05-07Removed the openidsignup option.Joey Hess
2010-05-07bugfixJoey Hess
Always load IkiWiki::CGI so its cgi_signin is present, so we replace it.
2010-05-07bugfixJoey Hess
2010-05-07remove loginlabel, not usedJoey Hess
2010-05-07pretty openid loginJoey Hess
* openid: Incorporated a fancy openid-selector signin form. (http://code.google.com/p/openid-selector/) * openid: Use "openid_identifier" as the form field, as required by OpenID Authentication v2.0 spec.
2010-05-07patch hidden field setting codeJoey Hess
Fixes http://code.google.com/p/openid-selector/issues/detail?id=11#c3
2010-03-24fix back-compat with old Net::OpenIDJoey Hess
Debian stable's Net::OpenID does not support getting extension fields.
2010-03-13openid: Use Openid Simple Registration or OpenID Attribute Exchange to get ↵Joey Hess
the user's email address and username. The info is stored in the session database, not the user database. There should be no reason to need it when a user is not logged in. Also, hide the email field in the preferences page for openid users. Note that the email and username are not yet actually used for anything. The email will be useful for gravatar, while the username might be used for a more pretty display of the openid.
2010-02-11Group related plugins into sections in the setup file, and drop unused rcs ↵Joey Hess
plugins from the setup file.
2010-02-11httpauth: When cgiauthurl is configured, httpauth can now be used alongside ↵Joey Hess
other authentication methods (like openid or anonok). Rather than always redirect to the cgiauthurl for authentication, there is now a button on the login form to use it.
2010-02-04Improve display of openid in preferences page.Joey Hess
Now that openiduser is in IkiWiki core, it's ok to have passwordauth check for it, and avoid displaying useless password fields when showing preferences for an openid. Also improved the styling of the display of the openid in the preferneces page.
2009-07-10Move OpenID pretty-printing from openid plugin to coreSimon McVittie
On various sites I have two IkiWiki instances running from the same repository: one accessible via http and only accepting openid logins, and one accessible via authenticated https and only accepting httpauth. The https version should still pretty-print OpenIDs seen in git history, even though it does not itself accept OpenID logins.
2009-07-07Update IkiWiki::openiduser to work with Net::OpenID 2.xSimon McVittie
openiduser previously used a constructor that no longer works in 2.x. However, all we actually want is the (undocumented) DisplayOfURL function that is invoked by the display method, so try to use that. (cherry picked from commit c3dd0ff5c7c10743107f203a5b456fdcd1b171df)
2008-12-23finalise version 3.00 of the plugin apiJoey Hess
2008-12-21openid: in &openiduser, allow subdirectory-style providers to end with '/'Simon McVittie
This improves the display of OpenIDs like 'http://id.mayfirst.org/jamie/' (taking an example from the IkiWiki commit log).
2008-12-21openid: in &openiduser, let domain-style providers have arbitrarily many ↵Simon McVittie
subdomains This leads to better display for OpenIDs like smcv.pseudorandom.co.uk and thm.id.fedoraproject.org (to take a couple of examples from the IkiWiki commit history).
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-09-23include perl error in warning about openidJoey Hess
it may be some other module missing, this way you can tell by reading the log
2008-08-03add plugin safe/rebuild info (part 2 of 3)Joey Hess
(brain.. melting..)
2008-07-26remove default values in getsetupJoey Hess
They were a bit confusing, since they did not actually set the default, and example values are sufficient.
2008-07-25added getsetup hooks for all plugins up to recentchangesJoey Hess
2008-03-19optimisation, only load openid module when signing inJoey Hess
This makes the CGI about .2 seconds faster when editing pages etc.
2008-01-30move openiduser function to the openid pluginJoey Hess
2007-12-08MAJOR basewiki reorgJoey Hess
Including redir pages for the moved basewiki pages. These will be removed in a future release.
2007-04-30 * If Net::OpenID::Consumer is not available, the openid module will quietlyjoey
disable itself, this avoids needing a hard dependency on the perl module.
2007-04-30actually, let's not use a fieldset label at all here, and use thejoey
"login with openid" as the input field label
2007-04-30put back OpenID label since we cannot rely on the label displayjoey
2007-04-29layout improvementjoey
2007-04-29* Use a fieldset to set off the openid entry from the rest of the loginjoey
form.
2007-04-29* Use fieldsets in the preferences form to group related options together.joey
Especially cleans up the ordering of the admin's preferences form.
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.
2007-02-20* Changed calling convention for httmllink slightly. The first threejoey
parameters remain the same, but additional options are now passed in using named parameters. * Change plugin interface version to 1.02 to reflect this change. * Add a new anchor option to htmllink. Thanks Ben for the idea. * Support anchors in wikilinks. * Add a "more" plugin based on one contributed by Ben to allow implementing those dreaded "Read more" links in blogs.
2007-02-02* Add canedit hook, allowing arbitrary controls over when a page can bejoey
edited. * Move code forcing signing before edit to a new "signinedit" plugin, and code checking for locked pages into a new "lockedit" plugin. Both are enabled by default. * Remove the anonok config setting. This is now implemented by a new "anonok" plugin. Anyone with a wiki allowing anonymous edits should change their configs to enable this new plugin. * Add an opendiscussion plugin that allows anonymous users to edit discussion pages, on a wiki that is otherwise wouldn't allow it. * Lots of CGI code reorg and cleanup.
2007-01-30* Fix openid signin secret generation code. This fixes the bug that madejoey
all openid signins fail the first time, and then succeed the second time.
2006-12-29* Initial work on internationalization of the program code. po/ikiwiki.potjoey
is available for translation. * Export gettext() from IkiWiki module.
2006-11-21formattingjoey