Joey Hess [Sat, 8 May 2010 06:15:04 +0000 (02:15 -0400)]
avoid setting cookie for promptless buttons
I think it is clearer to not have such a button appear pre-selected
when entering the signin page, because that may suggest to the user
they don't need to click on it, and yet they do.
Joey Hess [Sat, 8 May 2010 04:18:58 +0000 (00:18 -0400)]
gardening openid provider list
- fix url to flickr profile
- remove blogger; google property and uses their openid system;
wants to sign user up for a blogger blog
- remove technorati, which dropped openid provider support
- AOL seems to call it a username, not a screenname
Joey Hess [Sat, 8 May 2010 01:21:04 +0000 (21:21 -0400)]
adapt to ikiwiki
Upstream ships a collection of icons, but the licences of them are very
unclear, since most seem to be taken from the various openid provider
websites. That can't be included in ikiwiki. So, instead hotlink to
favicons of sites, and for large display, include the site name.
Removed vidoop.com, which is gone.
If an url is passed to init as the second parameter, add a "Local Login"
provider, which just links to do=signin.
Joey Hess [Sat, 8 May 2010 00:14:25 +0000 (20:14 -0400)]
pretty openid login
* 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.
Joey Hess [Fri, 7 May 2010 21:11:23 +0000 (17:11 -0400)]
avoid linking directly to ikiwiki.cgi?do=signin
Instead, add a custom do=commentsignin, that calls cgi_signin.
This allows a plugin to inject a custom cgi_signin, that uses a different
do= parameter, and have it be used consitently. (This was the only
place to hardcode a link to do=signin.)
Joey Hess [Fri, 7 May 2010 02:27:12 +0000 (22:27 -0400)]
simplify formbuilder stylesheet specification
Since all forms are wrapped in a template that defines the actual
stylesheets, formbuilder just has to be told to turn on stylesheet mode,
not what file is the style sheet.
Joey Hess [Thu, 6 May 2010 23:19:51 +0000 (19:19 -0400)]
moved comments pending moderation
* comments: Comments pending moderation are now stored in the srcdir
alongside accepted comments, but with a `._comment_pending` extension.
* This allows easier byhand moderation, as the "_pending" need
only be stripped off and the comment be committed to version control.
* The `comment_pending()` pagespec can be used to match such unmoderated
comments, which makes it easy to add a feed of them, or a counter
indicating how many there are.
* Belatedly added a `comment()` pagespec.
Joey Hess [Wed, 5 May 2010 22:43:49 +0000 (18:43 -0400)]
remove misc.tmpl checking
Turns out that users with a modified page.tmpl need to modify it on
upgrade, at least to add the FORCEBASEURL (so edit preview works),
so there is no point in trying to retain compatability.
Joey Hess [Wed, 5 May 2010 22:22:47 +0000 (18:22 -0400)]
no more misc.tmpl
* Removed misc.tmpl. Now to theme ikiwiki, you only need to customise
a single template, page.tmpl.
* misc.tmpl will, however, still be read if a locally modified version
exists. This is to avoid forcing users to update page.tmpl right now.