Commit Graph

11962 Commits (ce8bb219586332032110da8835fde8dd5f0ed91f)

Author SHA1 Message Date
nil ce8bb21958 whishlist 2010-02-16 18:42:11 +00:00
nil 8df6055f4c import 2010-02-16 18:36:36 +00:00
nil 1ae028d4fa fix 2010-02-16 18:33:11 +00:00
nil b12f65d4dc redirect 2010-02-16 18:32:39 +00:00
http://mem.myopenid.com/ bf33edc573 2010-02-15 22:38:06 +00:00
aghitza 079377427f 2010-02-15 10:58:40 +00:00
nil 427720a21f + ipol.im 2010-02-15 02:10:23 +00:00
Joey Hess 8805d6fff2 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-02-14 19:11:35 -05:00
Joey Hess c21eb47e62 comments: Display number of comments in comment action link.
This was not doable before, but when I added transitive dependency handling
in the big dependency rewrite, it became possible to include a comment
count when inlining.

This also improves the action link when a page has no comments. It will
link direct to the cgi to allow posting the first comment. And if the page
is locked to prevent posting new comments, the link is no longer shown.
2010-02-14 19:11:18 -05:00
Joey Hess 9a0b9bdc88 minor refactor/optimisation 2010-02-14 18:09:28 -05:00
Joey Hess f1183cbf0c add ngettext support & optimize gettext handling
As I was adding ngettext support, I realized I could optimize the gettext
functions by memoizing the creation of the gettext object. Note that
the object creation is still deferred until a gettext function is called,
to avoid unnecessary startup penalties on code paths that do not need
gettext.

A side benefit is that separate stub functions are no longer needed to
handle the C language case.
2010-02-14 18:09:12 -05:00
jwalzer 693fb3b186 2010-02-14 14:50:51 +00:00
jwalzer 5107530344 Update - trying to debug it 2010-02-14 14:21:55 +00:00
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