]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/openid_no_longer_pretty-prints_OpenIDs.mdwn
response
[git.ikiwiki.info.git] / doc / bugs / openid_no_longer_pretty-prints_OpenIDs.mdwn
1 The git commit (in my `openid` branch) says it all:
3     Update IkiWiki::openiduser to work with Net::OpenID 2.x
4     
5     openiduser previously used a constructor that no longer works in 2.x.
6     However, all we actually want is the (undocumented) DisplayOfURL function
7     that is invoked by the display method, so try to use that.
9 This bug affects ikiwiki.info (my commits show up in [[RecentChanges]] as http://smcv.pseudorandom.co.uk/ rather than smcv [pseudorandom.co.uk]).
11 > Cherry picked, thanks. --[[Joey]] 
13 Relatedly, the other commit on the same branch would be nice to have:
15     Allow the openid plugin to be loaded but disabled, for its side-effect of defining IkiWiki::openiduser
16     
17     On various sites I have two IkiWiki instances running from the same
18     repository: one accessible via http and only accepting openid logins,
19     and one accessible via authenticated https and only accepting httpauth.
20     Ideally, the https version should still pretty-print OpenIDs seen in
21     git history.
23 --[[smcv]]
25 > I wonder if an option is the best approach. Maybe it would be better to
26 > simply move `openiduser` into `userlink`, and thus always support openid
27 > usernames whether the plugin is enabled or not. --[[Joey]] 
29 [[!tag patch]]