intrigeri [Fri, 16 Jan 2009 00:33:07 +0000 (01:33 +0100)]
po(change): re-render all rendered files in one corner case
All meta titles are first extracted at scan time, i.e. before we turn
PO files back into translated markdown; escaping of double-quotes in
PO files breaks the meta plugin's parsing enough to save ugly titles
to %pagestate at this time.
Then, at render time, every page's passes on row through the Great
Rendering Chain (filter->preprocess->linkify->htmlize), and the meta
plugin's preprocess hook is this time in a position to correctly
extract the titles from slave pages.
This is, unfortunately, too late: if the page A, linking to the page B,
is rendered before B, it will display the wrongly-extracted meta title
as the link text to B.
On the one hand, such a corner case only happens on rebuild: on
refresh, every rendered page is fixed to contain correct meta titles.
On the other hand, it can take some time to get every page fixed.
We therefore re-render every rendered page after a rebuild to fix them
at once. As this more or less doubles the time needed to rebuild the
wiki, we do so only when really needed.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 15 Jan 2009 22:32:55 +0000 (23:32 +0100)]
po.t: fix test suite
(translatable files now have to exist in srcdir)
)
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 15 Jan 2009 22:06:11 +0000 (23:06 +0100)]
po(todo): more test results
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 15 Jan 2009 22:04:57 +0000 (23:04 +0100)]
po: pages in underlay dirs are not translatable
Fixes build break due to read-only underlay dirs, e.g. basewiki.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 15 Jan 2009 21:45:45 +0000 (22:45 +0100)]
po(_istranslation): fix unitialized value
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 15 Jan 2009 20:49:32 +0000 (21:49 +0100)]
po: fix broken links from slave pages
... by overriding cgiurl.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 15 Jan 2009 20:32:22 +0000 (21:32 +0100)]
po/todo: some testing results
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Thu, 15 Jan 2009 19:04:31 +0000 (20:04 +0100)]
Merge commit 'upstream/master' into prv/po
Conflicts:
debian/control
intrigeri [Thu, 15 Jan 2009 19:01:54 +0000 (20:01 +0100)]
po: more security-related reports
Signed-off-by: intrigeri <intrigeri@boum.org>
http://deliank.myopenid.com/ [Wed, 14 Jan 2009 23:31:51 +0000 (18:31 -0500)]
Jon Dowland [Wed, 14 Jan 2009 13:49:30 +0000 (13:49 +0000)]
pingback support todo item
intrigeri [Tue, 13 Jan 2009 12:00:07 +0000 (13:00 +0100)]
po: do not add translation status to parentlinks
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Tue, 13 Jan 2009 11:26:43 +0000 (12:26 +0100)]
Merge commit 'upstream/master' into prv/po
Joey Hess [Tue, 13 Jan 2009 01:04:01 +0000 (20:04 -0500)]
remove hardlink settings from auto.setup files
This can cause complications when moving directories around, and is
just an optimisation. There's no good reason to force it on here.
Joey Hess [Tue, 13 Jan 2009 01:01:03 +0000 (20:01 -0500)]
combine two pages
Joey Hess [Tue, 13 Jan 2009 00:28:33 +0000 (19:28 -0500)]
formatting, again
Joey Hess [Tue, 13 Jan 2009 00:26:10 +0000 (19:26 -0500)]
formatting try again
Joey Hess [Tue, 13 Jan 2009 00:24:48 +0000 (19:24 -0500)]
formatting
Joey Hess [Tue, 13 Jan 2009 00:17:05 +0000 (19:17 -0500)]
update
Joey Hess [Tue, 13 Jan 2009 00:16:12 +0000 (19:16 -0500)]
update
Joey Hess [Tue, 13 Jan 2009 00:10:47 +0000 (19:10 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 13 Jan 2009 00:09:29 +0000 (19:09 -0500)]
add byhand document, containing the old setup document
Joey Hess [Tue, 13 Jan 2009 00:04:24 +0000 (19:04 -0500)]
Add auto-blog.setup
It will set up an ikiwiki instance tuned for use in blogging.
As part of this change, move the example sites into /usr/share/ikiwiki so
they are available even if docs are not installed.
Joey Hess [Tue, 13 Jan 2009 00:03:41 +0000 (19:03 -0500)]
update, formatting
Joey Hess [Mon, 12 Jan 2009 23:55:56 +0000 (18:55 -0500)]
export installdir
For use by Setup/Automator
Joey Hess [Mon, 12 Jan 2009 23:42:05 +0000 (18:42 -0500)]
update
Joey Hess [Mon, 12 Jan 2009 23:41:38 +0000 (18:41 -0500)]
remove meta title
When at toplevel, the default is ok.
Joey Hess [Mon, 12 Jan 2009 23:41:21 +0000 (18:41 -0500)]
update path
Joey Hess [Mon, 12 Jan 2009 22:16:01 +0000 (17:16 -0500)]
rewrote
This rewritten setup page starts with auto.setup and explains
basic customisation and use after that has set up a wiki. It's much easier
to follow than the old method, with less things to learn. (Downside: Less
it learned.)
Joey Hess [Mon, 12 Jan 2009 21:52:34 +0000 (16:52 -0500)]
Recommend libterm-readline-gnu-perl
since that makes auto.setup behave better.
tobias_verbeke [Sun, 11 Jan 2009 21:04:32 +0000 (16:04 -0500)]
Joey Hess [Sun, 11 Jan 2009 19:31:06 +0000 (14:31 -0500)]
update with a bit more info
Joey Hess [Sun, 11 Jan 2009 19:28:25 +0000 (14:28 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 11 Jan 2009 19:27:27 +0000 (14:27 -0500)]
pinger: Get whole url, don't just head.
Asking for only the head worked in my tests, but I've found a site where it
didn't -- apparently ikiwiki didn't get a chance to do or finish the
refresh when HEADed. Getting the whole url, waiting for ikiwiki to finish,
avoided the update problem.
http://evacuee.myid.net/ [Sun, 11 Jan 2009 09:37:32 +0000 (04:37 -0500)]
Joey Hess [Sat, 10 Jan 2009 19:36:03 +0000 (14:36 -0500)]
Consistently allow use of relative paths in all PageSpecs that take a page name parameter. Previously, match_created_before(), match_created_after(), match_sourcepage(), and match_destpage() did not support that, and the docs were not clear.
Joey Hess [Sat, 10 Jan 2009 19:24:21 +0000 (14:24 -0500)]
refactor pagespec derelevitisation code
Joey Hess [Sat, 10 Jan 2009 19:17:27 +0000 (14:17 -0500)]
comments: Add support for removing comments via web interface. (smcv)
Joey Hess [Sat, 10 Jan 2009 19:15:47 +0000 (14:15 -0500)]
Merge commit 'smcv/comments'
Simon McVittie [Sat, 10 Jan 2009 11:41:41 +0000 (11:41 +0000)]
Request review for my comments branch
Partially addresses [[todo/comments]]
Simon McVittie [Sat, 10 Jan 2009 11:31:24 +0000 (11:31 +0000)]
comments: if the remove plugin is enabled, append a "Remove comment" link
Simon McVittie [Sat, 10 Jan 2009 11:29:56 +0000 (11:29 +0000)]
comments: only try to insert commentuser etc. into templates if the page contained [[!_comment]]
Joey Hess [Sat, 10 Jan 2009 00:28:43 +0000 (19:28 -0500)]
remove questions
ikiwiki has some pretty distinct fingerprints even when it's used
in unusual ways on sites that don't make it obvious it's being used:
* tova: a) rss and atom feed buttons
b) use of toc plugin on some pages
c) usual page.tmpl droppings
d) (I know the tova guys :)
* awesome: a) usual page.tmpl droppings
b) ikiwiki/ page and rest of basewiki pages exist
* UK software patents: used to use ikiwiki based on similar
fingerprints, but not now. Removed
Joey Hess [Sat, 10 Jan 2009 00:26:26 +0000 (19:26 -0500)]
remove clutter
testaroo [Fri, 9 Jan 2009 16:47:39 +0000 (11:47 -0500)]
testaroo [Fri, 9 Jan 2009 16:47:25 +0000 (11:47 -0500)]
https://launchpad.net/~gnprice [Fri, 9 Jan 2009 03:15:47 +0000 (22:15 -0500)]
https://launchpad.net/~gnprice [Fri, 9 Jan 2009 02:19:31 +0000 (21:19 -0500)]
http://foobak.myopenid.com/ [Thu, 8 Jan 2009 19:37:40 +0000 (14:37 -0500)]
foobak bak foo
http://foobak.myopenid.com/ [Thu, 8 Jan 2009 19:35:56 +0000 (14:35 -0500)]
Joey Hess [Thu, 8 Jan 2009 18:21:44 +0000 (13:21 -0500)]
new feature
http://tylerrick.com/ [Wed, 7 Jan 2009 22:45:14 +0000 (17:45 -0500)]
Joey Hess [Wed, 7 Jan 2009 21:09:12 +0000 (16:09 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 7 Jan 2009 20:48:07 +0000 (15:48 -0500)]
repolist: New plugin to support the rel=vcs-* microformat.
* repolist: New plugin to support the rel=vcs-* microformat.
* goodstuff: Include repolist by default. (But it does nothing until
configured with the repository locations.)
Joey Hess [Wed, 7 Jan 2009 20:01:43 +0000 (15:01 -0500)]
increment interface version
jwalzer [Wed, 7 Jan 2009 19:50:52 +0000 (14:50 -0500)]
Joey Hess [Wed, 7 Jan 2009 17:29:37 +0000 (12:29 -0500)]
remove clutter
Joey Hess [Wed, 7 Jan 2009 17:29:18 +0000 (12:29 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 7 Jan 2009 16:12:32 +0000 (11:12 -0500)]
comments: Fix cache avoidance hack.
The ?updated needs to come before the #anchor or browsers will not follow
the anchor.
http://evacuee.myid.net/ [Wed, 7 Jan 2009 13:08:23 +0000 (08:08 -0500)]
http://evacuee.myid.net/ [Wed, 7 Jan 2009 13:06:17 +0000 (08:06 -0500)]
http://evacuee.myid.net/ [Wed, 7 Jan 2009 12:53:35 +0000 (07:53 -0500)]
http://evacuee.myid.net/ [Wed, 7 Jan 2009 12:50:31 +0000 (07:50 -0500)]
test [Wed, 7 Jan 2009 09:49:12 +0000 (04:49 -0500)]
Joey Hess [Wed, 7 Jan 2009 00:30:22 +0000 (19:30 -0500)]
update
Joey Hess [Tue, 6 Jan 2009 22:29:12 +0000 (17:29 -0500)]
rename: Show full names of affected pages.
Joey Hess [Tue, 6 Jan 2009 22:28:26 +0000 (17:28 -0500)]
refactor
Joey Hess [Tue, 6 Jan 2009 20:40:50 +0000 (15:40 -0500)]
formatting
Joey Hess [Tue, 6 Jan 2009 20:35:53 +0000 (15:35 -0500)]
table: Find links in external files in scan pass.
Joey Hess [Tue, 6 Jan 2009 20:26:46 +0000 (15:26 -0500)]
typo
Joey Hess [Tue, 6 Jan 2009 20:05:09 +0000 (15:05 -0500)]
table: Fix misparsed links in external files
linkify data from external files at the same time as data from an inlined
table would be linkified.
Joey Hess [Tue, 6 Jan 2009 20:02:05 +0000 (15:02 -0500)]
analysis, found another bug
Joey Hess [Tue, 6 Jan 2009 02:27:50 +0000 (21:27 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 6 Jan 2009 02:26:47 +0000 (21:26 -0500)]
new gitweb url form fixes some bugs too
http://puck42.myopenid.com/ [Tue, 6 Jan 2009 02:03:42 +0000 (21:03 -0500)]
http://puck42.myopenid.com/ [Tue, 6 Jan 2009 02:02:43 +0000 (21:02 -0500)]
Joey Hess [Tue, 6 Jan 2009 00:09:43 +0000 (19:09 -0500)]
formatting
Joey Hess [Tue, 6 Jan 2009 00:07:40 +0000 (19:07 -0500)]
formatting
Joey Hess [Tue, 6 Jan 2009 00:05:43 +0000 (19:05 -0500)]
add news item for ikiwiki 3.01
Joey Hess [Tue, 6 Jan 2009 00:04:03 +0000 (19:04 -0500)]
releasing version 3.01
Joey Hess [Mon, 5 Jan 2009 23:52:58 +0000 (18:52 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 5 Jan 2009 23:26:09 +0000 (18:26 -0500)]
A recent change to gitweb removed support for the form of diffurl that many ikiwiki setups use. Document how to use the new url form.
http://hendry.iki.fi/ [Mon, 5 Jan 2009 21:31:50 +0000 (16:31 -0500)]
http://ptecza.myopenid.com/ [Mon, 5 Jan 2009 21:21:35 +0000 (16:21 -0500)]
* Switched to Text::Markdown. Thanks a lot!
Joey Hess [Mon, 5 Jan 2009 21:15:46 +0000 (16:15 -0500)]
analysis
Joey Hess [Mon, 5 Jan 2009 21:00:19 +0000 (16:00 -0500)]
markdown bug
http://ptecza.myopenid.com/ [Mon, 5 Jan 2009 16:20:35 +0000 (11:20 -0500)]
* Problem with URLs with parentheses
http://hendry.iki.fi/ [Mon, 5 Jan 2009 08:39:46 +0000 (03:39 -0500)]
openid bug?
Joey Hess [Sat, 3 Jan 2009 17:52:47 +0000 (12:52 -0500)]
yesno: Always accept English even when localised.
It seems to be a failing of i18n in unix that the translation stops at the
commands and the parameters to them, and ikiwiki is no exception with its
currently untranslated directives. So the little bit that's translated sticks
out like a sore thumb. It also breaks building of wikis if a different locale
happens to be set.
I suppose the best thing to do is either give up on the localisation of this
part completly, or make it recognise English in addition to the locale. I've
tenatively chosen the latter.
(Also accept 1 and 0 as input.)
Joey Hess [Sat, 3 Jan 2009 17:40:22 +0000 (12:40 -0500)]
Fix documentation about git hook to use right name. Closes: #510393
Joey Hess [Sat, 3 Jan 2009 17:35:26 +0000 (12:35 -0500)]
it falls back to using install
Joey Hess [Sat, 3 Jan 2009 17:31:48 +0000 (12:31 -0500)]
Revert "Add actual result for the example"
This reverts commit
be67d10a813ae37512daacbbab9815eecd5e94ef.
We don't demo directives on directive doc pages, to avoid doing unnecessary
work at build time (not a big deal here) and to avoid broken directives if
the plugin is not enabled.
This fact could probably be documented better, but I don't want to mention
it on every page..
Joey Hess [Fri, 2 Jan 2009 19:16:13 +0000 (14:16 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 2 Jan 2009 19:15:47 +0000 (14:15 -0500)]
ikiwiki-makerepo: Fix injecting of empty mercurial and bzr repositories. Closes: #510518
Joey Hess [Fri, 2 Jan 2009 19:11:41 +0000 (14:11 -0500)]
update
intrigeri [Fri, 2 Jan 2009 17:59:07 +0000 (18:59 +0100)]
po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 17:57:50 +0000 (18:57 +0100)]
po(isvalidpo): more meaningful error message
... explaining how to go on with edit.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 17:51:32 +0000 (18:51 +0100)]
po: back to the cansave hook, as the form validation is not sufficient
Form validation works, but after trying to save invalid PO content, the user is
brought back to the page he/she was editing, without any single clue to explain
why it was not saved. The dedicated cansave hook is thus necessary.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 16:51:17 +0000 (17:51 +0100)]
po: first attempt to replace cansave hook with form validate tweaks
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Fri, 2 Jan 2009 16:25:54 +0000 (17:25 +0100)]
po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>