summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/openid.pm
AgeCommit message (Collapse)Author
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
2006-11-20* Add "last" parameter to hook function. Very basic ordering, and hopefullyjoey
nothing more spohisticated will be needed. * Add formbuilder_setup and formbuilder hooks. * Split out a passwordauth module, that holds all the traditional password based authentication etc code. It's enabled by default, but can be disabled if you want only openid or some other auth method.
2006-11-20* Add openidsignup config option.joey
* Make the openid plugin support the callbacks from myopenid.com via its affiliate program. * Change how post signin actions are propigated through the signin process; they're now stored in the session.
2006-11-20* Make auth methods pluggable.joey
* Move httpauth support to a plugin. * Add an openid plugin to support logging in using OpenID.