Commit Graph

946 Commits (e1e1d37753d357acc6e1128594ea8704777658ff)

Author SHA1 Message Date
intrigeri ba47fe4246 po: added note about now implemented feature
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 16:05:27 +01:00
intrigeri 0bf9ea723a meta branch merge required
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 16:05:27 +01:00
Joey Hess 484cb2ddcf formatting 2008-12-31 15:28:03 -05:00
Joey Hess c4f3d0554a Merge branch 'master' into next 2008-12-26 16:11:13 -05:00
Joey Hess 7da319efc6 inline: Run format hook first
inline has a format hook that is an optimisation hack. Until this hook
runs, the inlined content is not present on the page. This can prevent
other format hooks, that process that content, from acting on inlined
content. In bug ##509710, we discovered this happened commonly for the
embed plugin, but it could in theory happen for many other plugins (color,
cutpaste, etc) that use format to fill in special html after sanitization.

The ordering was essentially random (hash key order). That's kinda a good
thing, because hooks should be independent of other hooks and able to run
in any order. But for things like inline, that just doesn't work.

To fix the immediate problem, let's make hooks able to be registered as
running "first". There was already the ability to make them run "last".

Now, this simple first/middle/last ordering is obviously not going to work
if a lot of things need to run first, or last, since then we'll be back to
being unable to specify ordering inside those sets. But before worrying about
that too much, and considering dependency ordering, etc, observe how few
plugins use last ordering: Exactly one needs it. And, so far, exactly one
needs first ordering. So for now, KISS.

Another implementation note: I could have sorted the plugins with
first/last/middle as the primary key, and plugin name secondary, to get a
guaranteed stable order. Instead, I chose to preserve hash order. Two
opposing things pulled me toward that decision:

1. Since has order is randomish, it will ensure that no accidental
   ordering assumptions are made.
2. Assume for a minute that ordering matters a lot more than expected.
   Drastically changing the order a particular configuration uses could
   result in a lot of subtle bugs cropping up. (I hope this assumption is
   false, partly due to #1, but can't rule it out.)
2008-12-26 16:09:23 -05:00
Joey Hess c2d2ff0199 deprecate embed plugin too
I see that this plugin's lists of safe content are already well out of
date, and htmlscrubber_skip offers a non whitelist based approach, so let's
deprecate this plugin for 3.0.
2008-12-26 15:27:49 -05:00
Joey Hess dbd95c67bc add link to untrusted git push 2008-12-26 15:06:00 -05:00
Joey Hess 04f064e78a make ikiwiki-transition prefix_directives take a setup file
This is easier to remeber, and less error-prone than passing it all the
pages in the wiki.
2008-12-24 19:48:42 -05:00
Joey Hess 3fbe2569ff remove deprecated googlecalendar plugin 2008-12-24 16:22:35 -05:00
Joey Hess c07a95ed8e remove globlist support
No transition code implemented, but I will probably make a 2.x release that
warns about found globlists.
2008-12-23 17:11:04 -05:00
Joey Hess 678d467a40 finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
Joey Hess 6e4f34b0b8 Merge branch 'master' into next 2008-12-23 16:27:02 -05:00
Joey Hess ecf2408bf6 fix a few directives using the old syntax
I'm turning on prefix_directives for the live wiki now.
2008-12-23 16:25:52 -05:00
Joey Hess 14a9e704c1 enable aggregate_internal by default 2008-12-23 16:08:21 -05:00
intrigeri 298c16eda9 po: make the dev timing clearer 2008-12-23 11:08:00 +01:00
Joey Hess d70f3d6271 unify pagespecs 2008-12-21 16:50:50 -05:00
Joey Hess 3e2f75af6b fix 2008-12-17 20:19:12 -05:00
Joey Hess d647ca286a simplify pagespec 2008-12-17 20:10:22 -05:00
Joey Hess 140c0bacba change around comments pagespecs
I think it is clearer to have one pagespec that controls all pages with
comments, and a separate pagespec that can be used to close new comments on
a subset of those pages.
2008-12-17 18:50:04 -05:00
Joey Hess 60142db48e clarification 2008-12-17 15:29:22 -05:00
Joey Hess bb93fccf06 Coding style change: Remove explcit vim folding markers. 2008-12-17 15:22:16 -05:00
Joey Hess fdd994fb73 more comments doc updates
Moved todo items to a todo page, mark the old todo item about comments as
done, etc.
2008-12-17 14:15:52 -05:00
Joey Hess e9797ee086 improve documentation of postcomment 2008-12-12 15:02:40 -05:00
Joey Hess 9d5075ab52 first pass through comments documentation
Moved documentation out of contrib.

Mostly tweaked some wording. Moved documentation of various bits to other
pages (pagespec, etc), and linked to those.

Documented the new templates in wikitemplates.

Small quantities of documentation were removed. Particularly the list of
template variables, which I think is fairly obvious when editing the
template.
2008-12-12 14:52:05 -05:00
http://smcv.pseudorandom.co.uk/ 5625be3bcd Another TODO item 2008-12-12 06:34:51 -05:00
http://smcv.pseudorandom.co.uk/ b8c1670500 update with some more code improvements 2008-12-12 06:29:02 -05:00
tschwinge 574640b069 Fix cut'n'past-o. 2008-12-11 19:36:36 -05:00
Joey Hess b67632cdcd inline: Support feedfile option to change the filename of the feed generated. 2008-12-11 15:01:26 -05:00
http://smcv.pseudorandom.co.uk/ 50ae0dcd8c some issues joeyh reported on IRC 2008-12-11 06:07:37 -05:00
http://smcv.pseudorandom.co.uk/ 52bd18aafc Link to sandbox on my demo of the plugin 2008-12-10 22:12:11 -05:00
http://smcv.pseudorandom.co.uk/ 59c29b532e multiple formats now supported 2008-12-10 21:50:15 -05:00
http://smcv.pseudorandom.co.uk/ d6b87bd25e Update with today's changes 2008-12-10 21:44:50 -05:00
http://john.choffee.co.uk/ a6b9fadc9a Fixed the pagespec link 2008-12-09 08:27:59 -05:00
http://alcopop.org/me/openid/ b8fb77b093 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:47 -05:00
http://smcv.pseudorandom.co.uk/ e69095504c 2008-11-27 05:56:36 -05:00
http://smcv.pseudorandom.co.uk/ ec03c89f3e Move some more discussion here 2008-11-27 05:42:07 -05:00
http://smcv.pseudorandom.co.uk/ 92efb9c000 Move some discussion to discussion/ 2008-11-27 05:39:16 -05:00
http://smcv.pseudorandom.co.uk/ 7a7f4a3cb6 Move some discussion from comments page to here 2008-11-27 05:38:37 -05:00
http://yam655.livejournal.com/ 0a15052262 2008-11-26 11:42:10 -05:00
http://yam655.livejournal.com/ da7cc0408d Relative previous months? 2008-11-26 11:41:27 -05:00
http://smcv.pseudorandom.co.uk/ bf808c2f52 2008-11-23 13:53:18 -05:00
Joey Hess 17659599f3 response 2008-11-20 12:44:23 -05:00
http://schmonz.livejournal.com/ a10533fe7c does change to ikiwiki.cgi locking help? 2008-11-19 22:52:36 -05:00
http://smcv.pseudorandom.co.uk/ 4dc7143b5a wishlist from IRC 2008-11-19 05:39:23 -05:00
http://smcv.pseudorandom.co.uk/ 1ecb72160b respond to joey, some more suggestions 2008-11-19 05:30:27 -05:00
Joey Hess 23f5874a56 another thought 2008-11-18 14:12:52 -05:00
Joey Hess 9b1be757dd responses 2008-11-18 14:03:44 -05:00
http://smcv.pseudorandom.co.uk/ 28ffff1030 2008-11-18 07:07:25 -05:00
http://smcv.pseudorandom.co.uk/ c5a7d98b54 Raw HTML now allowed, joeyh convinced me :-) 2008-11-18 06:14:08 -05:00
http://smcv.pseudorandom.co.uk/ c66a3f9ca7 Fix link to htmlbalance 2008-11-18 05:40:23 -05:00