aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/openid.pm
Commit message (Collapse)AuthorAge
* fix back-compat with old Net::OpenIDJoey Hess2010-03-24
| | | | Debian stable's Net::OpenID does not support getting extension fields.
* openid: Use Openid Simple Registration or OpenID Attribute Exchange to get ↵Joey Hess2010-03-13
| | | | | | | | | | | | | 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.
* Group related plugins into sections in the setup file, and drop unused rcs ↵Joey Hess2010-02-11
| | | | plugins from the setup file.
* httpauth: When cgiauthurl is configured, httpauth can now be used alongside ↵Joey Hess2010-02-11
| | | | 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.
* Improve display of openid in preferences page.Joey Hess2010-02-04
| | | | | | | | | 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.
* Move OpenID pretty-printing from openid plugin to coreSimon McVittie2009-07-10
| | | | | | | | 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.
* Update IkiWiki::openiduser to work with Net::OpenID 2.xSimon McVittie2009-07-07
| | | | | | | 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)
* finalise version 3.00 of the plugin apiJoey Hess2008-12-23
|
* openid: in &openiduser, allow subdirectory-style providers to end with '/'Simon McVittie2008-12-21
| | | | | This improves the display of OpenIDs like 'http://id.mayfirst.org/jamie/' (taking an example from the IkiWiki commit log).
* openid: in &openiduser, let domain-style providers have arbitrarily many ↵Simon McVittie2008-12-21
| | | | | | | | 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).
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
|
* include perl error in warning about openidJoey Hess2008-09-23
| | | | | it may be some other module missing, this way you can tell by reading the log
* add plugin safe/rebuild info (part 2 of 3)Joey Hess2008-08-03
| | | | (brain.. melting..)
* remove default values in getsetupJoey Hess2008-07-26
| | | | | They were a bit confusing, since they did not actually set the default, and example values are sufficient.
* added getsetup hooks for all plugins up to recentchangesJoey Hess2008-07-25
|
* optimisation, only load openid module when signing inJoey Hess2008-03-19
| | | | This makes the CGI about .2 seconds faster when editing pages etc.
* move openiduser function to the openid pluginJoey Hess2008-01-30
|
* MAJOR basewiki reorgJoey Hess2007-12-08
| | | | | Including redir pages for the moved basewiki pages. These will be removed in a future release.
* * If Net::OpenID::Consumer is not available, the openid module will quietlyjoey2007-04-30
| | | | | disable itself, this avoids needing a hard dependency on the perl module.
* actually, let's not use a fieldset label at all here, and use thejoey2007-04-30
| | | | | "login with openid" as the input field label
* put back OpenID label since we cannot rely on the label displayjoey2007-04-30
|
* layout improvementjoey2007-04-29
|
* * Use a fieldset to set off the openid entry from the rest of the loginjoey2007-04-29
| | | | form.
* * Use fieldsets in the preferences form to group related options together.joey2007-04-29
| | | | Especially cleans up the ordering of the admin's preferences form.
* * pagespec_match() has changed to take named parameters, to better allowjoey2007-04-27
| | | | | | | | | 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.
* * Changed calling convention for httmllink slightly. The first threejoey2007-02-20
| | | | | | | | | | 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.
* * Add canedit hook, allowing arbitrary controls over when a page can bejoey2007-02-02
| | | | | | | | | | | | | 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.
* * Fix openid signin secret generation code. This fixes the bug that madejoey2007-01-30
| | | | | all openid signins fail the first time, and then succeed the second time.
* * Initial work on internationalization of the program code. po/ikiwiki.potjoey2006-12-29
| | | | | is available for translation. * Export gettext() from IkiWiki module.
* formattingjoey2006-11-21
|
* * Add "last" parameter to hook function. Very basic ordering, and hopefullyjoey2006-11-20
| | | | | | | | 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.
* * Add openidsignup config option.joey2006-11-20
| | | | | | | * 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.
* * Make auth methods pluggable.joey2006-11-20
* Move httpauth support to a plugin. * Add an openid plugin to support logging in using OpenID.