Joey Hess [Sun, 8 Mar 2009 23:05:59 +0000 (19:05 -0400)]
releasing version 3.07
Joey Hess [Sun, 8 Mar 2009 22:57:47 +0000 (18:57 -0400)]
When loading a template in scan mode, let preprocess know it only needs to scan.
This makes wikis such as zack's much faster in the scan pass.
In that pass, when a template contains an inline, there is no reason to
process the entire inline and all its pages. I'd forgotten to pass
along the flag to let preprocess() know it was in scan mode, leading to
much unncessary churning.
Joey Hess [Sun, 8 Mar 2009 22:46:18 +0000 (18:46 -0400)]
avoid potential infinite loop in smiley expansion
- In 3.05, ikiwiki began expanding templates in scan mode,
for annoying, expensive, but ultimatly necessary reasons
of correctness.
- Smiley processing has a bug: It inserts a span for the smiley,
and then continues searching forward in the content for more,
starting at $end_of_smiley+1. Which means it searches for smilies
in the span too! And if it somehow finds one, we get an infinite loop
here.
- This bug can, probably, only be tickled if a htmllink to
show the smiley fails, because the smiley file doesn't exist,
or because ikiwiki doesn't know about it. In that case,
a link will be inserted to _create_ the missing page,
and that link will include the smiley inside the <a></a>.
- When a template is expanded in scan mode, and it contains
an inline, the sanitize hook is run during scan mode,
which never happened before. That causes the smiley processor
to run, before ikiwiki is, necessarily, aware that all
the smiley files exist (depending on scan order). So
it inserts creation links for them, and triggers the bug.
I've put in the simple fix of jumping forward past the inserted
span, and it does fix the problem. I will need to look in a bit
more detail into why an inline nested inside a template is
fully expanded during the scan pass -- that really shouldn't
be necessary, and it makes things much slower than they need
to be.
Joey Hess [Sun, 8 Mar 2009 21:07:12 +0000 (17:07 -0400)]
fix doc, prefix directives have been default for a while
Joey Hess [Sun, 8 Mar 2009 17:11:26 +0000 (13:11 -0400)]
configure wmd to leave text in markdown
Joey Hess [Sun, 8 Mar 2009 16:50:24 +0000 (12:50 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Conflicts:
doc/todo/mdwn_preview.mdwn
intrigeri [Sun, 8 Mar 2009 15:05:47 +0000 (11:05 -0400)]
details
intrigeri [Sun, 8 Mar 2009 14:50:48 +0000 (15:50 +0100)]
implemented Joey's solution
http://www.cse.unsw.edu.au/~willu/ [Sun, 8 Mar 2009 14:39:07 +0000 (10:39 -0400)]
License grant for my code. And note that I'll look at a more advanced version when I get time.
Joey Hess [Sun, 8 Mar 2009 00:30:01 +0000 (19:30 -0500)]
bug
Joey Hess [Sun, 8 Mar 2009 00:26:46 +0000 (19:26 -0500)]
another thought
Joey Hess [Sun, 8 Mar 2009 00:23:46 +0000 (19:23 -0500)]
remove patch, and more comments
Joey Hess [Sun, 8 Mar 2009 00:22:27 +0000 (19:22 -0500)]
look for wmd/wmd.js
This means that the underlay needs to have a wmd/wmd/wmd.js,
which is a trifle weird, but it isolates all the wmd stuff in a
single wmd subdirectory of the built wiki. The wmd/images creating
a toplevel images directory was particularly bad.
Joey Hess [Sun, 8 Mar 2009 00:11:34 +0000 (19:11 -0500)]
update, add some examples
Joey Hess [Sat, 7 Mar 2009 23:57:06 +0000 (18:57 -0500)]
wmd stuff
Joey Hess [Sat, 7 Mar 2009 23:54:26 +0000 (18:54 -0500)]
make wmd comment support comment editing (I think)
Joey Hess [Sat, 7 Mar 2009 23:52:14 +0000 (18:52 -0500)]
forgot to add wmd tag here
Joey Hess [Sat, 7 Mar 2009 23:45:55 +0000 (18:45 -0500)]
wmd copyright?
Joey Hess [Sat, 7 Mar 2009 22:48:17 +0000 (17:48 -0500)]
question
Joey Hess [Sat, 7 Mar 2009 19:42:16 +0000 (14:42 -0500)]
note that a wmd plugin has appeared
Joey Hess [Sat, 7 Mar 2009 19:40:49 +0000 (14:40 -0500)]
point at wmd plugin
Joey Hess [Sat, 7 Mar 2009 19:38:48 +0000 (14:38 -0500)]
comments
Joey Hess [Sat, 7 Mar 2009 19:34:31 +0000 (14:34 -0500)]
rebuild not needed
This plugin only affects the page edit, not the compiled wiki.
Joey Hess [Sat, 7 Mar 2009 19:33:11 +0000 (14:33 -0500)]
wmd plugin from willu
Joey Hess [Fri, 6 Mar 2009 18:36:44 +0000 (13:36 -0500)]
Updated French translation (Jean-Luc Coulon). Closes: #518510
http://www.cse.unsw.edu.au/~willu/ [Fri, 6 Mar 2009 08:47:08 +0000 (03:47 -0500)]
Note another issue with the basic plugin.
http://www.cse.unsw.edu.au/~willu/ [Fri, 6 Mar 2009 08:40:50 +0000 (03:40 -0500)]
Add patch for WMD plugin. This new plugin adds live preview and text controls to ikiwiki edit pages.
https://launchpad.net/~jelmer [Thu, 5 Mar 2009 21:16:54 +0000 (16:16 -0500)]
Joey Hess [Thu, 5 Mar 2009 20:44:11 +0000 (15:44 -0500)]
Updated German translation (Kai Wasserbäch). Closes: #518377
http://www.cse.unsw.edu.au/~willu/ [Wed, 4 Mar 2009 22:30:11 +0000 (17:30 -0500)]
Notes that the wikiwyg plugin link is broken, and more.
Joey Hess [Wed, 4 Mar 2009 18:58:20 +0000 (13:58 -0500)]
response
Joey Hess [Wed, 4 Mar 2009 18:53:34 +0000 (13:53 -0500)]
that's wikiwyg
close as dup todo
Joey Hess [Wed, 4 Mar 2009 18:51:55 +0000 (13:51 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
http://liw.fi/ [Wed, 4 Mar 2009 15:19:09 +0000 (10:19 -0500)]
PaulePanter [Wed, 4 Mar 2009 10:48:18 +0000 (05:48 -0500)]
typo and typography
http://sarin.myopenid.com/ [Wed, 4 Mar 2009 02:52:36 +0000 (21:52 -0500)]
Víctor Moral [Tue, 3 Mar 2009 09:53:09 +0000 (10:53 +0100)]
updated spanish translation
http://electropo.mp/ [Mon, 2 Mar 2009 23:39:02 +0000 (18:39 -0500)]
Joey Hess [Sun, 1 Mar 2009 20:11:40 +0000 (15:11 -0500)]
add news item for ikiwiki 3.06
Joey Hess [Sun, 1 Mar 2009 20:11:11 +0000 (15:11 -0500)]
releasing version 3.06
Joey Hess [Sun, 1 Mar 2009 20:07:14 +0000 (15:07 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 1 Mar 2009 20:01:08 +0000 (15:01 -0500)]
Setup automator: Fix bug in password comparison. Closes: #517654
bzed [Sun, 1 Mar 2009 02:34:04 +0000 (21:34 -0500)]
Adding bzed.de to ikiwikiusers
http://per.bothner.myopenid.com/ [Sat, 28 Feb 2009 19:16:57 +0000 (14:16 -0500)]
Add my blog.
http://zwol.livejournal.com/ [Fri, 27 Feb 2009 23:57:48 +0000 (18:57 -0500)]
http://zwol.livejournal.com/ [Fri, 27 Feb 2009 23:56:25 +0000 (18:56 -0500)]
Joey Hess [Fri, 27 Feb 2009 20:55:34 +0000 (15:55 -0500)]
add news item for ikiwiki 3.05
Joey Hess [Fri, 27 Feb 2009 20:54:52 +0000 (15:54 -0500)]
releasing version 3.05
Joey Hess [Fri, 27 Feb 2009 20:40:42 +0000 (15:40 -0500)]
lintian fixes
Joey Hess [Fri, 27 Feb 2009 20:35:40 +0000 (15:35 -0500)]
fix clean on clean tree
Joey Hess [Fri, 27 Feb 2009 20:33:50 +0000 (15:33 -0500)]
lower debhelper build-dep
debhelper 7.0.50 will support everything needed, and will
be backported to stable
Joey Hess [Fri, 27 Feb 2009 18:21:29 +0000 (13:21 -0500)]
goto: Fix typo that broke recentchanges_link compatability.
Joey Hess [Thu, 26 Feb 2009 19:16:13 +0000 (14:16 -0500)]
mercurial and tla are missing implementations of several things
Joey Hess [Thu, 26 Feb 2009 19:09:26 +0000 (14:09 -0500)]
bzr: Add missing rcs_diff. (liw)
http://liw.fi/ [Thu, 26 Feb 2009 08:07:29 +0000 (03:07 -0500)]
Joey Hess [Thu, 26 Feb 2009 07:31:24 +0000 (02:31 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Thu, 26 Feb 2009 07:31:13 +0000 (02:31 -0500)]
comments: Avoid showing comment moderation button in prefs to non-admins.
http://liw.fi/ [Thu, 26 Feb 2009 07:10:15 +0000 (02:10 -0500)]
Joey Hess [Thu, 26 Feb 2009 06:59:05 +0000 (01:59 -0500)]
detect sslcookie set and no https
This is likely a misconfiguration and can cause login to fail as the
browser refuses the send the session cookie back over http.
Not entirely happy with putting the check where I did, since users have to
try to log in, and fail, to see the misconfiguration explained. But I could
not find a better place to put the check.
Joey Hess [Wed, 25 Feb 2009 22:15:25 +0000 (17:15 -0500)]
response
Joey Hess [Wed, 25 Feb 2009 21:56:40 +0000 (16:56 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 25 Feb 2009 21:56:02 +0000 (16:56 -0500)]
bzr: Add missing stub rcs_diff.
http://liw.fi/ [Wed, 25 Feb 2009 12:19:39 +0000 (07:19 -0500)]
Joey Hess [Tue, 24 Feb 2009 21:30:39 +0000 (16:30 -0500)]
Setup automator: Prompt for password twice. Closes: #516973
http://ypoocs.livejournal.com/ [Mon, 23 Feb 2009 20:36:44 +0000 (15:36 -0500)]
Joey Hess [Mon, 23 Feb 2009 18:44:32 +0000 (13:44 -0500)]
Updated German translation (Kai Wasserbäch). Closes: #516770
intrigeri [Mon, 23 Feb 2009 12:02:34 +0000 (07:02 -0500)]
link to other todo item, personal opinions
http://smcv.pseudorandom.co.uk/ [Fri, 20 Feb 2009 16:05:05 +0000 (11:05 -0500)]
Some more thoughts on this...
http://smcv.pseudorandom.co.uk/ [Fri, 20 Feb 2009 15:25:47 +0000 (10:25 -0500)]
Link my version
http://taozhyn.myopenid.com/ [Fri, 20 Feb 2009 10:05:57 +0000 (05:05 -0500)]
Fix wikilink to correct todo page
http://taozhyn.myopenid.com/ [Fri, 20 Feb 2009 10:00:42 +0000 (05:00 -0500)]
Moved to patch to todo/auto-create
http://taozhyn.myopenid.com/ [Fri, 20 Feb 2009 09:58:52 +0000 (04:58 -0500)]
Adding patch, moved from plugins/tag/discussion
http://people.ee.ethz.ch/~andrmuel/openid/ [Fri, 20 Feb 2009 07:44:01 +0000 (02:44 -0500)]
added cosin
Joey Hess [Thu, 19 Feb 2009 23:58:46 +0000 (18:58 -0500)]
comments
Joey Hess [Thu, 19 Feb 2009 23:54:25 +0000 (18:54 -0500)]
rename tag() to tagged(); add docs
Joey Hess [Thu, 19 Feb 2009 23:49:30 +0000 (18:49 -0500)]
add tag() pagespec
patch from jon
Joey Hess [Thu, 19 Feb 2009 23:38:45 +0000 (18:38 -0500)]
Add noextension parameter to htmlize hooks to support, eg, Makefile.
Joey Hess [Thu, 19 Feb 2009 23:31:57 +0000 (18:31 -0500)]
add keepextension tests
Joey Hess [Thu, 19 Feb 2009 23:28:43 +0000 (18:28 -0500)]
fix pagename, pagetype tests
Put tests in right file.
Set internal variable to hash, the functions expect that.
Joey Hess [Thu, 19 Feb 2009 23:22:51 +0000 (18:22 -0500)]
fix pagetype test
File had wrong name, and made wrong assumption about what pagetype does for
bare files.
Joey Hess [Thu, 19 Feb 2009 22:50:43 +0000 (17:50 -0500)]
response
http://www.cse.unsw.edu.au/~willu/ [Thu, 19 Feb 2009 11:45:40 +0000 (06:45 -0500)]
Yes, the patch is complete.
http://josephturian.blogspot.com/ [Wed, 18 Feb 2009 23:24:21 +0000 (18:24 -0500)]
Joey Hess [Wed, 18 Feb 2009 03:51:03 +0000 (22:51 -0500)]
formatting
Joey Hess [Wed, 18 Feb 2009 03:37:20 +0000 (22:37 -0500)]
is this patch complete?
Joey Hess [Wed, 18 Feb 2009 03:26:33 +0000 (22:26 -0500)]
response
Joey Hess [Wed, 18 Feb 2009 03:19:33 +0000 (22:19 -0500)]
move to forum, as this is a question
Joey Hess [Wed, 18 Feb 2009 03:17:59 +0000 (22:17 -0500)]
revert addition of several blank lines
Joey Hess [Wed, 18 Feb 2009 03:16:51 +0000 (22:16 -0500)]
add hendy's git repo
Joey Hess [Wed, 18 Feb 2009 03:16:34 +0000 (22:16 -0500)]
hint
Joey Hess [Wed, 18 Feb 2009 00:37:49 +0000 (19:37 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 18 Feb 2009 00:37:36 +0000 (19:37 -0500)]
typo
Joey Hess [Wed, 18 Feb 2009 00:36:58 +0000 (19:36 -0500)]
goto: Fix redirect to comments.
http://arpitjain11.myopenid.com/ [Tue, 17 Feb 2009 23:53:56 +0000 (18:53 -0500)]
http://arpitjain11.myopenid.com/ [Tue, 17 Feb 2009 23:47:47 +0000 (18:47 -0500)]
NicolasLimare [Tue, 17 Feb 2009 21:04:31 +0000 (16:04 -0500)]
easy access to the userdb for apache auth?
Joey Hess [Tue, 17 Feb 2009 18:30:07 +0000 (13:30 -0500)]
template: Load templates in scan mode
This is potentially expensive, but is necessary so that meta and tag
directives, and other links on templates affect the page using the template
reliably.
Joey Hess [Tue, 17 Feb 2009 18:29:37 +0000 (13:29 -0500)]
re-add actual comments
Joey Hess [Tue, 17 Feb 2009 18:29:08 +0000 (13:29 -0500)]
Revert "comments" (stupid commit)
This reverts commit
bb8b8787ef9477c027b9e5d8b7b5e1addfd1ca32.
Joey Hess [Tue, 17 Feb 2009 18:25:06 +0000 (13:25 -0500)]
comments