Simon McVittie
31c89db246
httpauth: If REMOTE_USER is empty, behave as though it was unset
...
A frequently cut-and-pasted HTTP basic authentication configuration
for nginx sets it to the empty string when not authenticated, which
is not useful.
2017-05-14 15:37:45 +01:00
Joey Hess
93bda514ba
httpauth: When it's the only auth method, avoid a pointless and confusing signin form, and just right to the httpauthurl.
2012-04-04 12:58:36 -04:00
Joey Hess
f55c7d1396
httpauth: Avoid redirecting the user to the cgiauthurl if they already have a login session.
2010-08-30 18:33:00 -04:00
Joey Hess
8135d2a9eb
remove dead code
2010-08-30 17:38:00 -04:00
Joey Hess
a63929f6cc
Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file.
2010-02-11 22:24:15 -05:00
Joey Hess
6f1d623618
partially fix httpauth canedit hook
...
My logic was right before. Cleaned up some code.
(Page creation is still a problem.)
Also, I removed the Edit url munging, because that is not
necessary with the canedit hook, since canedit will handle
redirection through cgiauthurl if necessary.
2010-02-11 19:54:40 -05:00
Joey Hess
e6678275a9
fix logic error
2010-02-11 18:32:07 -05:00
Joey Hess
e11876b700
httpauth: Add httpauth_pagespec setting that can be used to limit pages to only being edited via users authed with httpauth.
2010-02-11 18:25:10 -05:00
Joey Hess
046095552a
httpauth: When cgiauthurl is configured, httpauth can now be used alongside 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-11 17:26:09 -05:00
Joey Hess
f2d6d4f6b2
patch so far
2010-02-11 16:36:19 -05:00
Joey Hess
1af8db763b
revert accidental code change
2010-02-05 23:06:29 -05:00
Joey Hess
5541b06de4
response
2010-02-05 15:22:02 -05:00
Joey Hess
8ec53967c1
typo
2009-11-10 00:53:34 -05:00
Joey Hess
92a6f2e5e8
httpauth: Add cgiauthurl setting that can be used to do http basic auth only when ikiwiki needs authentication, rather than for any access to the cgi/wiki.
2009-11-10 00:50:59 -05:00
Joey Hess
678d467a40
finalise version 3.00 of the plugin api
2008-12-23 16:34:19 -05:00
Joey Hess
bb93fccf06
Coding style change: Remove explcit vim folding markers.
2008-12-17 15:22:16 -05:00
Joey Hess
903213e63f
add plugin safe/rebuild info (part 1 of 2)
...
too many plugins.. brain exploding..
2008-08-03 16:40:12 -04:00
joey
ee1ad53c4c
* pagespec_match() has changed to take named parameters, to better allow
...
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-04-27 02:55:52 +00:00
joey
e43cd269d2
* Add openidsignup config option.
...
* 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 09:40:09 +00:00
joey
54cf5a62ca
* Make auth methods pluggable.
...
* Move httpauth support to a plugin.
* Add an openid plugin to support logging in using OpenID.
2006-11-20 01:52:18 +00:00