Commit Graph

8725 Commits (8c571160cf32be6e9c2698d1a02f95d7bdf073b1)

Author SHA1 Message Date
http://smcv.pseudorandom.co.uk/ 8c571160cf planning a future plugin 2008-12-29 17:25:12 -05:00
Joey Hess 82e6902a67 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-29 14:59:48 -05:00
Joey Hess ee598e42f6 some initial instructions for publishing wikis on github 2008-12-29 14:58:54 -05:00
http://blog.mithis.net/ 3032909090 2008-12-29 02:01:49 -05:00
http://blog.mithis.net/ 1ac4637d4f 2008-12-29 01:26:34 -05:00
Joey Hess 00e55ed171 1st comment spam 2008-12-28 22:31:22 -05:00
Joey Hess f982a620f2 formatting 2008-12-28 22:23:15 -05:00
Joey Hess d8f16c4d95 clarify cgiurl setting 2008-12-28 22:03:34 -05:00
Joey Hess 82d94d4d4a add news item for ikiwiki 2.72 2008-12-28 15:05:33 -05:00
Joey Hess ec14786c90 releasing version 2.72 2008-12-28 15:05:05 -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 9db06329c9 comments: Deal with users entering unqualified or partial urls.
People seem to be able to expect to enter www.foo.com and get away with it.
The resulting my.wiki/www.foo.com link was not ideal.

To fix it, use URI::Heuristic to expand such things into a real url. It
even looks up hostnames in the DNS if necessary.
2008-12-26 14:07:19 -05:00
Joey Hess 0d406010ff googlecalendar: Add runtime deprecation warning. 2008-12-25 16:31:58 -05:00
Joey Hess e3b7d18929 close 2008-12-23 20:08:01 -05:00
Joey Hess c9e65fded1 camelcase: Add camelcase_ignore setting. 2008-12-23 19:11:03 -05:00
http://puck.openid.org/ 20731f761f 2008-12-23 18:05:38 -05:00
http://puck.openid.org/ 4d1d4db927 2008-12-23 17:48:05 -05:00
Joey Hess f65311bddb hack to avoid globlist deprecaton message false positive 2008-12-23 17:19:27 -05:00
Joey Hess c8cde4858e Add deprecation warning for GlobLists, which will stop working in 3.0. 2008-12-23 17:13:57 -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 276798fbca response 2008-12-23 13:27:16 -05:00
Joey Hess 29c8db4c7f fix popcon graph link 2008-12-23 13:19:47 -05:00
http://hendry.iki.fi/ f1f6c5601f Any other schools? 2008-12-23 09:29:02 -05:00
intrigeri 298c16eda9 po: make the dev timing clearer 2008-12-23 11:08:00 +01:00
intrigeri e81c59748e httpauth_feature_parity_with_passwordauth: a bit more thinking
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-23 11:08:00 +01:00
http://puck.openid.org/ 02da7ec599 2008-12-22 23:14:15 -05:00
Joey Hess 8dc052a1ce merge recentchanges comments fix 2008-12-22 19:04:02 -05:00
Joey Hess aa603888d2 Merge commit 'smcv/recentchanges' 2008-12-22 19:02:03 -05:00
Joey Hess 62c0ba3619 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-22 19:00:38 -05:00
http://smcv.pseudorandom.co.uk/ 143c437106 reference my recentchanges branch 2008-12-22 18:09:15 -05:00
Simon McVittie 05bb65fc68 recentchanges_link CGI: If the linked page is internal, use its permalink
This fixes a bug, that comments appear in recentchanges as broken links.
2008-12-22 23:02:08 +00:00
Joey Hess 09af90e775 update 2008-12-22 16:41:29 -05:00
Joey Hess 7f1992cbe1 add news item for ikiwiki 2.71 2008-12-22 00:03:15 -05:00
Joey Hess d70f3d6271 unify pagespecs 2008-12-21 16:50:50 -05:00
Joey Hess 63b919b230 fix links 2008-12-21 16:48:15 -05:00
Joey Hess 836bf625c9 formatting 2008-12-21 16:45:59 -05:00
Joey Hess a0eee761f7 mention comments plugin 2008-12-21 16:44:02 -05:00
Joey Hess 13d77c369e avoid an uninitialized value warning 2008-12-21 13:46:00 -05:00
Joey Hess 4b66a8d00a openid branch merged 2008-12-21 13:14:31 -05:00
Joey Hess 79d2d44db2 Merge commit 'smcv/openid' 2008-12-21 13:13:28 -05:00
Joey Hess 041f8e3774 more reorg 2008-12-21 13:08:26 -05:00
Joey Hess f3512450fd close merged bugs 2008-12-21 13:00:03 -05:00
Joey Hess 5b67c54b22 add another test 2008-12-21 12:59:11 -05:00
Joey Hess 9bee6db8c6 Merge commit 'smcv/comments' 2008-12-21 12:50:30 -05:00
Joey Hess b2842b8838 Merge branch 'comments' 2008-12-21 12:48:14 -05:00
http://smcv.pseudorandom.co.uk/ 3b0aa2fcba Another fixed bug in beautify_urlpath 2008-12-21 12:25:55 -05:00
http://smcv.pseudorandom.co.uk/ 94cdf076ed trivial bug with patch 2008-12-21 12:23:34 -05:00
Simon McVittie ca1437c9e1 Another comments improvement 2008-12-21 17:18:43 +00:00
Simon McVittie 9e5f504e1a rssitem.tmpl: include comments URL (HTML only) 2008-12-21 17:16:24 +00:00
Simon McVittie 3feebe31b6 atomitem.tmpl: include comments URLs (HTML and Atom versions) 2008-12-21 17:16:12 +00:00