Commit Graph

6828 Commits (1c2da36274b6dba4e8bb25b71a102c0a72a2a562)

Author SHA1 Message Date
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 c256a53fcb Replace blank OpenID placeholder logo with an unofficial OpenID logo developed by Anna Hess. The official logo does not seem destined to be free. 2008-12-28 16:19:47 -05:00
Joey Hess 17b2afe721 Merge branch 'master' into next
Conflicts:

	debian/changelog
	po/ikiwiki.pot
2008-12-28 15:12:11 -05:00
Joey Hess 82d94d4d4a add news item for ikiwiki 2.72 2008-12-28 15:05:33 -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 733c7592b7 update 2008-12-26 15:29:04 -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 914c839ceb Merge branch 'master' into next
Conflicts:

	IkiWiki/Plugin/googlecalendar.pm
2008-12-25 16:36:16 -05:00
Joey Hess 5f55ee0b78 more 3.0 docs, changelog 2008-12-24 19:55:43 -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 7ba65e7f4b remove deprecated admin prefs
A new ikiwiki-transition moveprefs subcommand can pull the old data out of
the userdb and inject it into the setup file.

Note that it leaves the old values behind in the userdb too. I did this
because I didn't want to lose data if it fails writing the setup file for
some reason, and the old data in the userdb will only use a small amount of
space. Running the command multiple times will mostly not change anything.
2008-12-24 16:16:03 -05:00
Joey Hess c58f0eaa70 typo 2008-12-24 15:26:50 -05:00
Joey Hess e3b7d18929 close 2008-12-23 20:08:01 -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 3f3ff3f812 update 2008-12-23 17:36:57 -05:00
Joey Hess 149fbf97d6 update 2008-12-23 17:14:47 -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 488ec9d88d update 2008-12-23 16:52:46 -05:00
Joey Hess 678d467a40 finalise version 3.00 of the plugin api 2008-12-23 16:34:19 -05:00
Joey Hess 7e7739bdd9 update 2008-12-23 16:29:31 -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 db7983c846 beginning docs for 3.0 2008-12-23 16:20:37 -05:00
Joey Hess 14a9e704c1 enable aggregate_internal by default 2008-12-23 16:08:21 -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 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
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 4b66a8d00a openid branch merged 2008-12-21 13:14:31 -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 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
http://smcv.pseudorandom.co.uk/ bd376db3a8 Mention a patch to improve OpenID display 2008-12-21 11:43:43 -05:00
Simon McVittie 7bdeee2032 Record another couple of pending bugfixes 2008-12-21 15:39:40 +00:00
Simon McVittie bd80ca37d5 todo/comments: Properly escape inline HTML 2008-12-21 10:17:23 +00:00
Simon McVittie 2884d20950 todo/comments: reorganise by status 2008-12-21 10:11:48 +00:00
Simon McVittie ee24feece0 comments: note fixed things and recommend merging origin/comments 2008-12-21 10:08:53 +00:00
http://smcv.pseudorandom.co.uk/ c85e7c1bf4 fix markdown 2008-12-21 04:31:49 -05:00
Joey Hess c84fcdd32a meta: Process meta date during scan pass so that the date will always affect sorting in inlines. 2008-12-21 01:52:08 -05:00
Joey Hess da947bea4b analysis 2008-12-21 01:41:00 -05:00
Joey Hess 5c669ab226 comment layout change
I saw a layout similar to this on blogger, and I sorta like it

The dash avoids parens sitting next to each other in some cases.
2008-12-21 01:04:19 -05:00
Joey Hess 7304d6bd72 Merge branch 'master' into comments 2008-12-21 01:04:03 -05:00
http://dtrt.org/ fc077f6956 Response; added shell code and html formating to reproduction steps 2008-12-20 22:28:20 -05:00
Joey Hess 155ebc3dbd response 2008-12-20 20:27:42 -05:00
http://dtrt.org/ faa01bd432 Sort paramater not a problem; Revised steps to reprodce 2008-12-20 19:36:15 -05:00
Joey Hess 6042e607f3 alternate idea 2008-12-20 18:51:09 -05:00
Joey Hess f8cc87e8ee remove signin icons, use title 2008-12-20 18:46:56 -05:00
Joey Hess 8dbb30d346 my try at improving comment styling
Makes it look more like a blog, but not enough to be confusing, and with
nothing as large as in a blog. Removal of the vertical line under the
subject imho makes it easier to scan through comments as each box is a new
one. Bolding the subject seems to make it stand out enough, especially as
its a link now. (Also considered increasing its font size to 110%.)
2008-12-20 18:30:14 -05:00
Joey Hess 7bf121889b note new bug 2008-12-20 18:18:19 -05:00
Joey Hess 1c918a4ec6 response 2008-12-20 18:14:49 -05:00
Joey Hess 5d5732d673 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-20 18:07:45 -05:00
http://dtrt.org/ dd4dff0350 Workaround and possible cause 2008-12-20 18:06:21 -05:00
Joey Hess 0f03af3816 Merge commit 'smcv/comments' 2008-12-20 17:58:56 -05:00
Joey Hess 92b48bab99 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-20 17:58:01 -05:00
http://smcv.pseudorandom.co.uk/ 4b3d3f519d 2008-12-20 13:03:44 -05:00
Simon McVittie f94665800c comment.tmpl: make anon/OpenID/signed-in icons independent of smileys 2008-12-20 17:39:55 +00:00
Joey Hess ce58338e3d haskell 2008-12-20 11:30:48 -05:00
Joey Hess 6828cd84a1 note 2008-12-20 11:04:45 -05:00
brush 4176c3483d minor edits 2008-12-20 05:58:00 -05:00
brush 39e5de4e33 added details on cgi wrapper creation 2008-12-20 05:56:04 -05:00
http://weakish.int.eu.org/ 80884d33e0 initial page 2008-12-20 04:20:58 -05:00
http://weakish.int.eu.org/ 3d7d29791e vimperator can do this, too. 2008-12-20 04:18:56 -05:00
Joey Hess 301733ba13 fix comment permalink to always point to comment parent page 2008-12-19 17:33:40 -05:00
Joey Hess 0b002b79b7 update 2008-12-19 17:26:41 -05:00
Joey Hess 4ed092c05b typos 2008-12-19 17:07:54 -05:00
Joey Hess 091c7fd25b add link from comment subject to its permalink 2008-12-19 14:20:07 -05:00
Joey Hess 29cb9027f4 fiddle with comment css classes 2008-12-19 14:14:20 -05:00
Joey Hess 79a787a466 rename comments_form to editcomment 2008-12-19 14:07:22 -05:00
Joey Hess ddabb010b2 rename comments_display to comment 2008-12-19 14:03:26 -05:00
Joey Hess 7521dd6c75 jump to comment after posting
Jumping to the just posted comment was the imputus, but I killed a number
of birds here.

Added a INLINEPAGE template variable, which can be used to add anchors to
any inline template.

To keep that sufficiently general, it is the full page name, so the
comment anchors and links changed form.

Got rid of the FIXMEd hardcoded html anchor div.

More importantly, the anchor is now to the very top of the comment, not the
text below. So you can see the title, and how it attributes you.

Avoid changing the permalink of pages that are not really comments, but
happen to contain the _comment directive. I think that behavior was a bug,
though not a likely one to occur since _comment should only really be used
on comment pages.
2008-12-18 20:58:16 -05:00
Joey Hess d7855474fd document how to make a global comments feed 2008-12-18 20:20:42 -05:00
Joey Hess 1d82ac40d4 responses 2008-12-18 20:10:42 -05:00
smcv@ a115ff254d Update todo/comments with today's fixes, and thoughts about the remaining items 2008-12-18 21:10:08 +00:00
justin 8414a62e7f 2008-12-18 14:20:59 -05:00
Joey Hess b2439a3e51 pagespec thoughts 2008-12-18 12:53:47 -05:00
Joey Hess 835801a6ff note about comments feed 2008-12-18 12:32:23 -05:00
Joey Hess 385123006e close 2008-12-17 21:17:42 -05:00
Joey Hess 1074d38f0d deletion 2008-12-17 20:40:46 -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