Commit Graph

12049 Commits (f259f33a0ad4858ce33f458148f1733351b91d92)

Author SHA1 Message Date
jwalzer 0cc5ed592d new thread 2010-02-14 12:40:03 +00:00
Joey Hess 6fc25c8df7 clarify 2010-02-13 14:13:30 -05:00
Joey Hess 407dff979c Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-02-13 14:08:06 -05:00
Joey Hess a38418a8a3 close 2010-02-13 14:07:56 -05:00
http://seeitcoming.myopenid.com/ 172dfa9f64 Added information about python implementation for reference 2010-02-13 15:16:09 +00:00
Joey Hess 6e8fd3890e add news item for ikiwiki 3.20100212 2010-02-12 17:09:40 -05:00
Joey Hess 0b9b3f3e0a releasing version 3.20100212 2010-02-12 17:07:54 -05:00
Joey Hess f4c517110e formatting 2010-02-12 15:53:50 -05:00
Joey Hess 7b07286a6f layout 2010-02-12 15:41:19 -05:00
Joey Hess 4a7558539c add highlevel view of when hooks are called during compile and cgi phases 2010-02-12 15:38:07 -05:00
Joey Hess 60410369da add variable value examples 2010-02-12 14:48:22 -05:00
Joey Hess ba19f940bd move note to sidebox 2010-02-12 14:44:26 -05:00
Joey Hess b1c47b4065 heading tweaks 2010-02-12 14:41:28 -05:00
Joey Hess 5d566d8b32 reorg and expand docs of some variables 2010-02-12 14:38:43 -05:00
Joey Hess 34fff64e7b setup file ordering 2010-02-12 06:35:52 -05:00
Joey Hess 20ba12802b add section information 2010-02-12 04:22:15 -05:00
Joey Hess a7eb434afd another (last?) tag change 2010-02-12 04:10:11 -05:00
Joey Hess 805b3afff7 formatting sillyness 2010-02-12 04:09:57 -05:00
Joey Hess 73242f0890 remove unnecessary IkiWiki:: 2010-02-12 04:01:04 -05:00
Joey Hess 1db0dd855a one more 2010-02-12 03:56:56 -05:00
Joey Hess 21b4f11cbb more tag reorg 2010-02-12 03:51:47 -05:00
Joey Hess 3ce8030daf more tag reorg 2010-02-12 03:43:01 -05:00
Joey Hess 04a99c8440 plugin tag reorg 2010-02-12 03:38:00 -05:00
Joey Hess 2d4b84e45f borders 2010-02-12 01:16:20 -05:00
Joey Hess 9cee2962e0 format plugin categorization 2010-02-12 01:10:36 -05:00
Joey Hess 0ea2f0936b add plugin section, and show which plugins need no configuration 2010-02-12 01:10:27 -05:00
Joey Hess 5b76fc824c reword 2010-02-12 00:22:00 -05:00
Joey Hess 18394f6ba9 improve websetup fieldset display
to handle sections
2010-02-12 00:21:12 -05:00
Joey Hess 8fdc238c8c fix websetup display of unsafe arrays in expert mode 2010-02-11 22:55:35 -05:00
Joey Hess 6f3641f16c add some openid matching tests 2010-02-11 22:42:24 -05:00
Joey Hess e091fab0e7 fix openid pagespec example 2010-02-11 22:42:10 -05: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 c923e0ba33 Allow globs to be used in user() pagespecs. 2010-02-11 20:39:10 -05:00
Joey Hess 7af18f2a1e reorder canedit checks during page creation to have best_loc first
When creating a page, multiple locations are tested to see if they can be
edited. If all fail, one of the failure subs is called, to log the user in
to allow them to proceed with the edit. So far so good.

But, what if some pages fail for one reason, and some for another? This
occurs when httpauth_pagespec is used in conjunction with signinedit (and
openid or something). When the user is not signed in at all
The former will fail to edit a page because the user was not httpauthed.
The latter will fail to edit a different page, because the user was not
signed in. One of their failure methods gets to run first.

The page creation code always ran the failure method corresponding to the
topmost page location. So, when editing a foo/Discussion page, and with
httpauth_pagespec => "*!/Discussion", it ran the httpauth failure method,
which was exactly the wrong thing to do.

I fixed this by making it instead run the failure method for the *best*
page location. In the above example, that's foo/Discussion, so signinedit
runs, as desired, and we get the signin page.

This seems like it will be the right choice, or at least an acceptable
choice. If a user wants to use httpauth they can always choose it on the
signin page.
2010-02-11 20:13:30 -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 c47712b340 clarify 2010-02-11 16:35:55 -05:00
Joey Hess ac8f03aa06 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-02-11 16:29:38 -05:00
Joey Hess 26c68a0c7a refresh patch; remaining problem 2010-02-11 16:28:22 -05:00
https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI 8e0c0214bb 2010-02-10 23:30:11 +00:00
Joey Hess e91e88d68a response 2010-02-10 15:09:08 -05:00
https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI 08b335638c reply, and suggestion 2010-02-10 19:59:35 +00:00
Joey Hess 8e75bcd2dc fix 2010-02-10 12:55:46 -05:00
Joey Hess 99f32638fa question 2010-02-10 12:52:04 -05:00
Joey Hess 5b55237ab1 add a link to another vim plugin 2010-02-10 12:51:11 -05:00
Joey Hess 246ca5ab0a Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-02-09 16:25:45 -05:00
Joey Hess a4ec579d1a amazon_s3: Fix to support the EU S3 datacenter, which is more picky about attempts to create already existing buckets. 2010-02-09 16:24:14 -05:00