Joey Hess [Fri, 27 Mar 2009 19:21:21 +0000 (15:21 -0400)]
move dedup code into function, simplify
Joey Hess [Fri, 27 Mar 2009 19:12:18 +0000 (15:12 -0400)]
mark done in this branch
Joey Hess [Fri, 27 Mar 2009 19:09:41 +0000 (15:09 -0400)]
Merge branch 'master' into po
Conflicts:
debian/control
Joey Hess [Fri, 27 Mar 2009 18:54:36 +0000 (14:54 -0400)]
response
Joey Hess [Fri, 27 Mar 2009 17:45:54 +0000 (13:45 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 27 Mar 2009 17:44:31 +0000 (13:44 -0400)]
use md5sum for page_to_id
The munged ids were looking pretty nasty, and were not completly guaranteed
to be unique. So a md5sum seems like a better approach. (Would have used
sha1, but md5 is in perl core.)
simonraven [Fri, 27 Mar 2009 00:37:49 +0000 (20:37 -0400)]
typo
Joey Hess [Thu, 26 Mar 2009 20:45:53 +0000 (16:45 -0400)]
comments: Fix anchor ids to be legal xhtml. Closes: #521339
Well, that was a PITA.
Luckily, this doesn't break guids to comments in rss feeds,
though it does change the links.
I haven't put in a warning about needing to rebuild to get
this fix. It's probably good enough for new comments to get the
fix, without a lot of mass rebuilding.
Joey Hess [Thu, 26 Mar 2009 18:12:55 +0000 (14:12 -0400)]
response
Joey Hess [Thu, 26 Mar 2009 18:11:51 +0000 (14:11 -0400)]
update zack.css from gitweb and repoint link to it
Joey Hess [Thu, 26 Mar 2009 18:08:14 +0000 (14:08 -0400)]
fix link truncation
Joey Hess [Thu, 26 Mar 2009 18:04:42 +0000 (14:04 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Thu, 26 Mar 2009 18:04:28 +0000 (14:04 -0400)]
comments: Fix too loose test for comments pages that matched normal pages with "comment_" in their name. Closes: #521322
http://stefano.zacchiroli.myopenid.com/ [Thu, 26 Mar 2009 17:30:34 +0000 (13:30 -0400)]
http://stefano.zacchiroli.myopenid.com/ [Thu, 26 Mar 2009 17:21:03 +0000 (13:21 -0400)]
simonraven [Thu, 26 Mar 2009 17:18:24 +0000 (13:18 -0400)]
http://stefano.zacchiroli.myopenid.com/ [Thu, 26 Mar 2009 17:18:02 +0000 (13:18 -0400)]
http://haruschi.myopenid.com/ [Thu, 26 Mar 2009 15:55:47 +0000 (11:55 -0400)]
simonraven [Thu, 26 Mar 2009 05:43:43 +0000 (01:43 -0400)]
Joey Hess [Wed, 25 Mar 2009 22:04:45 +0000 (18:04 -0400)]
css: Add clear: both to inlinefooter.
If an inlined page contains a floating element, this ensures
that the footer appears beneath it, and prevents the floating element from
possibly leaking down to the next inlined page.
Joey Hess [Wed, 25 Mar 2009 20:25:02 +0000 (16:25 -0400)]
response
simonraven [Wed, 25 Mar 2009 18:34:25 +0000 (14:34 -0400)]
http://fredofromstart.myopenid.com/ [Wed, 25 Mar 2009 07:16:39 +0000 (03:16 -0400)]
chrysn [Tue, 24 Mar 2009 22:23:44 +0000 (18:23 -0400)]
inline autotitles: open issue
Joey Hess [Tue, 24 Mar 2009 19:52:37 +0000 (15:52 -0400)]
Updated French translation (Jean-Luc Coulon). Closes: #521072
chrysn [Tue, 24 Mar 2009 17:26:23 +0000 (13:26 -0400)]
create link from todo lists to structured page data
http://jmtd.net/ [Tue, 24 Mar 2009 17:00:34 +0000 (13:00 -0400)]
thanks for the tip
http://jmtd.net/ [Tue, 24 Mar 2009 16:34:00 +0000 (12:34 -0400)]
+test
chrysn [Tue, 24 Mar 2009 09:55:27 +0000 (10:55 +0100)]
inline autotitles: additional patch
chrysn [Tue, 24 Mar 2009 08:20:18 +0000 (09:20 +0100)]
(corrected bug in inline autotitle description)
chrysn [Tue, 24 Mar 2009 07:25:35 +0000 (08:25 +0100)]
(urls for inline autotitle)
chrysn [Tue, 24 Mar 2009 07:21:22 +0000 (08:21 +0100)]
wishlist, patch: inline autotitles
salamonv [Mon, 23 Mar 2009 18:54:29 +0000 (14:54 -0400)]
salamonv [Mon, 23 Mar 2009 18:53:45 +0000 (14:53 -0400)]
Joey Hess [Fri, 20 Mar 2009 20:36:51 +0000 (16:36 -0400)]
git, mercurial: Fix --getctime to return file creation time, not last commit time.
Joey Hess [Fri, 20 Mar 2009 20:34:49 +0000 (16:34 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 20 Mar 2009 20:32:37 +0000 (16:32 -0400)]
fix rcs_getctime to return first, not last, change time
This was being buggy and returning the file's last change time, not its
creation time.
(I checked all the others (except tla) and they're ok.)
Joey Hess [Fri, 20 Mar 2009 20:24:19 +0000 (16:24 -0400)]
fix rcs_getctime to return first, not last, change time
This was being buggy and returning the file's last change time, not its
creation time.
chrysn [Fri, 20 Mar 2009 09:30:28 +0000 (05:30 -0400)]
(replace github link with ikwiki gitweb link so that github branch can go away)
tschwinge [Thu, 19 Mar 2009 21:31:53 +0000 (17:31 -0400)]
ikiwiki's notion of time
Joey Hess [Thu, 19 Mar 2009 20:17:09 +0000 (16:17 -0400)]
response
Joey Hess [Thu, 19 Mar 2009 20:14:14 +0000 (16:14 -0400)]
add Sort::Naturally to suggests and use cpan link
Joey Hess [Thu, 19 Mar 2009 20:11:19 +0000 (16:11 -0400)]
remove biometrische-ausweise.ch, no evidence this site uses ikiwiki
I apologize if I'm mistaken, but I can find no evidence this site
uses ikiwiki at all. If you are using ikiwiki somehow, I'd be interested to
know how.
Joey Hess [Thu, 19 Mar 2009 20:07:33 +0000 (16:07 -0400)]
comment
Joey Hess [Thu, 19 Mar 2009 20:01:23 +0000 (16:01 -0400)]
inline: Fix urls to feed when feedfile is used on an index page.
It would be better to use urlto() here, but will_render
has not yet been called on the feed files at this point, so
it won't work. (And reorganizing so it can be is tricky.)
Joey Hess [Thu, 19 Mar 2009 19:36:31 +0000 (15:36 -0400)]
title_natural patch merged
Joey Hess [Thu, 19 Mar 2009 19:35:57 +0000 (15:35 -0400)]
avoid crashing if Sort::Naturally is not installed
chrysn [Tue, 17 Mar 2009 19:19:11 +0000 (20:19 +0100)]
implement sort=title_natural for inline
adds a new sorting order, title_natural, that uses Sort::Naturally's
ncmp function to provide better sorting for inlines
Joey Hess [Thu, 19 Mar 2009 18:03:38 +0000 (14:03 -0400)]
github error and comment
134.226.112.43 [Thu, 19 Mar 2009 10:50:28 +0000 (06:50 -0400)]
poll vote (Accept only OpenID for logins)
http://realid.csie.org/adam [Wed, 18 Mar 2009 06:17:30 +0000 (02:17 -0400)]
poll vote (Accept both)
http://realid.csie.org/adam [Wed, 18 Mar 2009 05:55:10 +0000 (01:55 -0400)]
chrysn [Tue, 17 Mar 2009 20:22:26 +0000 (21:22 +0100)]
new wishlist item, patch included
IanRomanick [Tue, 17 Mar 2009 08:17:44 +0000 (04:17 -0400)]
IanRomanick [Tue, 17 Mar 2009 08:16:13 +0000 (04:16 -0400)]
removed
IanRomanick [Tue, 17 Mar 2009 08:15:35 +0000 (04:15 -0400)]
IanRomanick [Tue, 17 Mar 2009 08:13:36 +0000 (04:13 -0400)]
Jon Dowland [Mon, 16 Mar 2009 11:05:56 +0000 (11:05 +0000)]
further thoughts
Joey Hess [Sun, 15 Mar 2009 22:25:52 +0000 (18:25 -0400)]
add news item for ikiwiki 3.08
Joey Hess [Sun, 15 Mar 2009 22:24:57 +0000 (18:24 -0400)]
releasing version 3.08
Joey Hess [Sun, 15 Mar 2009 21:40:37 +0000 (17:40 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 15 Mar 2009 21:39:14 +0000 (17:39 -0400)]
Fix bug that caused weird things to appear as page types.
The problem was introduced by the recent noextension patches.
Object autovivification caused junk to get into %htmlize,
and all keys of that showed up as page types.
Jon Dowland [Sun, 15 Mar 2009 19:33:16 +0000 (19:33 +0000)]
managing todo lists: useful?
Joey Hess [Fri, 13 Mar 2009 20:31:27 +0000 (16:31 -0400)]
add missing parameters
Joey Hess [Fri, 13 Mar 2009 20:27:24 +0000 (16:27 -0400)]
unknown option wording tweak
Because getopt::long is used in passthrough mode, if a known
option like --wikiname that needs a parameter is specified w/o
the parameter, it will not be processed, and passed on through.
So in this case the "unknown option" message is innaccurate.
Make it slightly better by noting that the problem can be a missing
parameter.
http://people.ee.ethz.ch/~andrmuel/openid/ [Fri, 13 Mar 2009 13:00:41 +0000 (09:00 -0400)]
added biometrische-ausweise.ch
intrigeri [Wed, 11 Mar 2009 10:27:41 +0000 (06:27 -0400)]
formatting
intrigeri [Wed, 11 Mar 2009 10:26:25 +0000 (06:26 -0400)]
apache vs. passwordauth: done a bit more research
Joey Hess [Mon, 9 Mar 2009 18:30:27 +0000 (14:30 -0400)]
fixed
Joey Hess [Mon, 9 Mar 2009 18:29:06 +0000 (14:29 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 9 Mar 2009 18:18:55 +0000 (14:18 -0400)]
git: Manually decode git output from utf-8, avoids warning messages on invalidly encoded output.
Joey Hess [Mon, 9 Mar 2009 18:01:40 +0000 (14:01 -0400)]
git: Fix utf-8 encoding of author names.
I guess what's happening here is that since the name
is passed to git via an environment variable, perl's normal
utf-8 IO layer stuff doesn't work. So we have to explicitly
decode the string from perl's internal representation into
utf-8.
Joey Hess [Mon, 9 Mar 2009 17:52:51 +0000 (13:52 -0400)]
avoid uninitialized value warnings
mädduck [Mon, 9 Mar 2009 17:50:49 +0000 (13:50 -0400)]
http://madduck.net/ [Mon, 9 Mar 2009 15:22:26 +0000 (11:22 -0400)]
actually use utf-8
http://madduck.net/ [Mon, 9 Mar 2009 15:21:36 +0000 (11:21 -0400)]
http://www.cse.unsw.edu.au/~willu/ [Mon, 9 Mar 2009 12:39:42 +0000 (08:39 -0400)]
Update the javascript - this now turns things on and off based on the type. It still has some display issues.
http://www.cse.unsw.edu.au/~willu/ [Sun, 8 Mar 2009 23:40:47 +0000 (19:40 -0400)]
Dump untested updates so that others can have a look (I wont have time for a few weeks).
intrigeri [Sun, 8 Mar 2009 23:32:10 +0000 (00:32 +0100)]
Merge commit 'upstream/master' into prv/po
intrigeri [Sun, 8 Mar 2009 23:30:19 +0000 (00:30 +0100)]
po: fixed last unaddressed item from Joey's review, please have a look
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 8 Mar 2009 23:16:39 +0000 (00:16 +0100)]
revert exposing of %backlinks and $backlinks_calculated
This change was introduced in
85f865b5d98e0122934d11e3f3eb6703e4f4c620 and
c3af3840a295780e0f32df398f2dc7d34653e75e ; it may be necessary for the meta-po
integration, but the po branch alone is supposed to work without it.
Signed-off-by: intrigeri <intrigeri@boum.org>
Joey Hess [Sun, 8 Mar 2009 23:06:38 +0000 (19:06 -0400)]
add news item for ikiwiki 3.07
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:12:43 +0000 (16:12 +0100)]
po doc: po4a 0.35 has been released, eventually
intrigeri [Sun, 8 Mar 2009 15:05:47 +0000 (11:05 -0400)]
details
intrigeri [Sun, 8 Mar 2009 15:02:10 +0000 (16:02 +0100)]
brought back checkcontent hook full-content compat.
This modification was initially done in editpage, in commit
a3726968bc13f19f458c372cbd7cf92ae4c6fce5, but was then lost while merging
upstream/master branch.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 8 Mar 2009 14:50:48 +0000 (15:50 +0100)]
implemented Joey's solution
intrigeri [Sun, 8 Mar 2009 14:47:50 +0000 (15:47 +0100)]
rename: remove duplicates that hook functions may have added to @torename
Signed-off-by: intrigeri <intrigeri@boum.org>
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.
intrigeri [Sun, 8 Mar 2009 11:52:49 +0000 (12:52 +0100)]
rename: moved subpages addition to a rename hook
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 8 Mar 2009 10:44:00 +0000 (11:44 +0100)]
rename hook: run once per file to be renamed
... as Joey suggested on todo/need_global_renamepage_hook
This hook is applied recursively to returned additional rename
hashes, so that it handles the case where two plugins use the hook:
plugin A would see when plugin B adds a new file to be renamed.
The full set of rename hashes can no longer be changed by hook functions, that
are only allowed to return any additional rename hashes it wants to add.
Rationale: the correct behavior of the recursion would be hard, if not
impossible, to define, if already considered pages were changing on the run.
Signed-off-by: intrigeri <intrigeri@boum.org>
intrigeri [Sun, 8 Mar 2009 08:50:27 +0000 (09:50 +0100)]
Merge commit 'upstream/master' into prv/po
Conflicts:
IkiWiki/Plugin/editpage.pm
debian/control
debian/copyright
doc/todo/need_global_renamepage_hook.mdwn
Signed-off-by: intrigeri <intrigeri@boum.org>
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