ikiwiki
15 years agoMerge branch 'master' into po
Joey Hess [Fri, 27 Mar 2009 19:09:41 +0000 (15:09 -0400)] 
Merge branch 'master' into po

Conflicts:
debian/control

15 years agoresponse
Joey Hess [Fri, 27 Mar 2009 18:54:36 +0000 (14:54 -0400)] 
response

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

15 years agouse md5sum for page_to_id
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.)

15 years agotypo
simonraven [Fri, 27 Mar 2009 00:37:49 +0000 (20:37 -0400)] 
typo

15 years agocomments: Fix anchor ids to be legal xhtml. Closes: #521339
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.

15 years agoresponse
Joey Hess [Thu, 26 Mar 2009 18:12:55 +0000 (14:12 -0400)] 
response

15 years agoupdate zack.css from gitweb and repoint link to it
Joey Hess [Thu, 26 Mar 2009 18:11:51 +0000 (14:11 -0400)] 
update zack.css from gitweb and repoint link to it

15 years agofix link truncation
Joey Hess [Thu, 26 Mar 2009 18:08:14 +0000 (14:08 -0400)] 
fix link truncation

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

15 years agocomments: Fix too loose test for comments pages that matched normal pages with "comme...
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

15 years ago(no commit message)
http://stefano.zacchiroli.myopenid.com/ [Thu, 26 Mar 2009 17:30:34 +0000 (13:30 -0400)] 

15 years ago(no commit message)
http://stefano.zacchiroli.myopenid.com/ [Thu, 26 Mar 2009 17:21:03 +0000 (13:21 -0400)] 

15 years ago(no commit message)
simonraven [Thu, 26 Mar 2009 17:18:24 +0000 (13:18 -0400)] 

15 years ago(no commit message)
http://stefano.zacchiroli.myopenid.com/ [Thu, 26 Mar 2009 17:18:02 +0000 (13:18 -0400)] 

15 years ago(no commit message)
http://haruschi.myopenid.com/ [Thu, 26 Mar 2009 15:55:47 +0000 (11:55 -0400)] 

15 years ago(no commit message)
simonraven [Thu, 26 Mar 2009 05:43:43 +0000 (01:43 -0400)] 

15 years agocss: Add clear: both to inlinefooter.
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.

15 years agoresponse
Joey Hess [Wed, 25 Mar 2009 20:25:02 +0000 (16:25 -0400)] 
response

15 years ago(no commit message)
simonraven [Wed, 25 Mar 2009 18:34:25 +0000 (14:34 -0400)] 

15 years ago(no commit message)
http://fredofromstart.myopenid.com/ [Wed, 25 Mar 2009 07:16:39 +0000 (03:16 -0400)] 

15 years agoinline autotitles: open issue
chrysn [Tue, 24 Mar 2009 22:23:44 +0000 (18:23 -0400)] 
inline autotitles: open issue

15 years agoUpdated French translation (Jean-Luc Coulon). Closes: #521072
Joey Hess [Tue, 24 Mar 2009 19:52:37 +0000 (15:52 -0400)] 
Updated French translation (Jean-Luc Coulon). Closes: #521072

15 years agocreate link from todo lists to structured page data
chrysn [Tue, 24 Mar 2009 17:26:23 +0000 (13:26 -0400)] 
create link from todo lists to structured page data

15 years agothanks for the tip
http://jmtd.net/ [Tue, 24 Mar 2009 17:00:34 +0000 (13:00 -0400)] 
thanks for the tip

15 years ago+test
http://jmtd.net/ [Tue, 24 Mar 2009 16:34:00 +0000 (12:34 -0400)] 
+test

15 years agoinline autotitles: additional patch
chrysn [Tue, 24 Mar 2009 09:55:27 +0000 (10:55 +0100)] 
inline autotitles: additional patch

15 years ago(corrected bug in inline autotitle description)
chrysn [Tue, 24 Mar 2009 08:20:18 +0000 (09:20 +0100)] 
(corrected bug in inline autotitle description)

15 years ago(urls for inline autotitle)
chrysn [Tue, 24 Mar 2009 07:25:35 +0000 (08:25 +0100)] 
(urls for inline autotitle)

15 years agowishlist, patch: inline autotitles
chrysn [Tue, 24 Mar 2009 07:21:22 +0000 (08:21 +0100)] 
wishlist, patch: inline autotitles

15 years ago(no commit message)
salamonv [Mon, 23 Mar 2009 18:54:29 +0000 (14:54 -0400)] 

15 years ago(no commit message)
salamonv [Mon, 23 Mar 2009 18:53:45 +0000 (14:53 -0400)] 

15 years agogit, mercurial: Fix --getctime to return file creation time, not last commit time.
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.

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

15 years agofix rcs_getctime to return first, not last, change time
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.)

15 years agofix rcs_getctime to return first, not last, change time
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.

15 years ago(replace github link with ikwiki gitweb link so that github branch can go away)
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)

15 years agoikiwiki's notion of time
tschwinge [Thu, 19 Mar 2009 21:31:53 +0000 (17:31 -0400)] 
ikiwiki's notion of time

15 years agoresponse
Joey Hess [Thu, 19 Mar 2009 20:17:09 +0000 (16:17 -0400)] 
response

15 years agoadd Sort::Naturally to suggests and use cpan link
Joey Hess [Thu, 19 Mar 2009 20:14:14 +0000 (16:14 -0400)] 
add Sort::Naturally to suggests and use cpan link

15 years agoremove biometrische-ausweise.ch, no evidence this site uses ikiwiki
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.

15 years agocomment
Joey Hess [Thu, 19 Mar 2009 20:07:33 +0000 (16:07 -0400)] 
comment

15 years agoinline: Fix urls to feed when feedfile is used on an index page.
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.)

15 years agotitle_natural patch merged
Joey Hess [Thu, 19 Mar 2009 19:36:31 +0000 (15:36 -0400)] 
title_natural patch merged

15 years agoavoid crashing if Sort::Naturally is not installed
Joey Hess [Thu, 19 Mar 2009 19:35:57 +0000 (15:35 -0400)] 
avoid crashing if Sort::Naturally is not installed

15 years agoimplement sort=title_natural for inline
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

15 years agogithub error and comment
Joey Hess [Thu, 19 Mar 2009 18:03:38 +0000 (14:03 -0400)] 
github error and comment

15 years agopoll vote (Accept only OpenID for logins)
134.226.112.43 [Thu, 19 Mar 2009 10:50:28 +0000 (06:50 -0400)] 
poll vote (Accept only OpenID for logins)

15 years agopoll vote (Accept both)
http://realid.csie.org/adam [Wed, 18 Mar 2009 06:17:30 +0000 (02:17 -0400)] 
poll vote (Accept both)

15 years ago(no commit message)
http://realid.csie.org/adam [Wed, 18 Mar 2009 05:55:10 +0000 (01:55 -0400)] 

15 years agonew wishlist item, patch included
chrysn [Tue, 17 Mar 2009 20:22:26 +0000 (21:22 +0100)] 
new wishlist item, patch included

15 years ago(no commit message)
IanRomanick [Tue, 17 Mar 2009 08:17:44 +0000 (04:17 -0400)] 

15 years agoremoved
IanRomanick [Tue, 17 Mar 2009 08:16:13 +0000 (04:16 -0400)] 
removed

15 years ago(no commit message)
IanRomanick [Tue, 17 Mar 2009 08:15:35 +0000 (04:15 -0400)] 

15 years ago(no commit message)
IanRomanick [Tue, 17 Mar 2009 08:13:36 +0000 (04:13 -0400)] 

15 years agofurther thoughts
Jon Dowland [Mon, 16 Mar 2009 11:05:56 +0000 (11:05 +0000)] 
further thoughts

15 years agoadd news item for ikiwiki 3.08
Joey Hess [Sun, 15 Mar 2009 22:25:52 +0000 (18:25 -0400)] 
add news item for ikiwiki 3.08

15 years agoreleasing version 3.08
Joey Hess [Sun, 15 Mar 2009 22:24:57 +0000 (18:24 -0400)] 
releasing version 3.08

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

15 years agoFix bug that caused weird things to appear as page types.
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.

15 years agomanaging todo lists: useful?
Jon Dowland [Sun, 15 Mar 2009 19:33:16 +0000 (19:33 +0000)] 
managing todo lists: useful?

15 years agoadd missing parameters
Joey Hess [Fri, 13 Mar 2009 20:31:27 +0000 (16:31 -0400)] 
add missing parameters

15 years agounknown option wording tweak
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.

15 years agoadded biometrische-ausweise.ch
http://people.ee.ethz.ch/~andrmuel/openid/ [Fri, 13 Mar 2009 13:00:41 +0000 (09:00 -0400)] 
added biometrische-ausweise.ch

15 years agoformatting
intrigeri [Wed, 11 Mar 2009 10:27:41 +0000 (06:27 -0400)] 
formatting

15 years agoapache vs. passwordauth: done a bit more research
intrigeri [Wed, 11 Mar 2009 10:26:25 +0000 (06:26 -0400)] 
apache vs. passwordauth: done a bit more research

15 years agofixed
Joey Hess [Mon, 9 Mar 2009 18:30:27 +0000 (14:30 -0400)] 
fixed

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

15 years agogit: Manually decode git output from utf-8, avoids warning messages on invalidly...
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.

15 years agogit: Fix utf-8 encoding of author names.
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.

15 years agoavoid uninitialized value warnings
Joey Hess [Mon, 9 Mar 2009 17:52:51 +0000 (13:52 -0400)] 
avoid uninitialized value warnings

15 years ago(no commit message)
mädduck [Mon, 9 Mar 2009 17:50:49 +0000 (13:50 -0400)] 

15 years agoactually use utf-8
http://madduck.net/ [Mon, 9 Mar 2009 15:22:26 +0000 (11:22 -0400)] 
actually use utf-8

15 years ago(no commit message)
http://madduck.net/ [Mon, 9 Mar 2009 15:21:36 +0000 (11:21 -0400)] 

15 years agoUpdate the javascript - this now turns things on and off based on the type. It still...
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.

15 years agoDump untested updates so that others can have a look (I wont have time for a few...
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).

15 years agoMerge commit 'upstream/master' into prv/po
intrigeri [Sun, 8 Mar 2009 23:32:10 +0000 (00:32 +0100)] 
Merge commit 'upstream/master' into prv/po

15 years agopo: fixed last unaddressed item from Joey's review, please have a look
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>
15 years agorevert exposing of %backlinks and $backlinks_calculated
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>
15 years agoadd news item for ikiwiki 3.07
Joey Hess [Sun, 8 Mar 2009 23:06:38 +0000 (19:06 -0400)] 
add news item for ikiwiki 3.07

15 years agoreleasing version 3.07
Joey Hess [Sun, 8 Mar 2009 23:05:59 +0000 (19:05 -0400)] 
releasing version 3.07

15 years agoWhen loading a template in scan mode, let preprocess know it only needs to scan.
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.

15 years agoavoid potential infinite loop in smiley expansion
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.

15 years agofix doc, prefix directives have been default for a while
Joey Hess [Sun, 8 Mar 2009 21:07:12 +0000 (17:07 -0400)] 
fix doc, prefix directives have been default for a while

15 years agoconfigure wmd to leave text in markdown
Joey Hess [Sun, 8 Mar 2009 17:11:26 +0000 (13:11 -0400)] 
configure wmd to leave text in markdown

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

15 years agopo doc: po4a 0.35 has been released, eventually
intrigeri [Sun, 8 Mar 2009 15:12:43 +0000 (16:12 +0100)] 
po doc: po4a 0.35 has been released, eventually

15 years agodetails
intrigeri [Sun, 8 Mar 2009 15:05:47 +0000 (11:05 -0400)] 
details

15 years agobrought back checkcontent hook full-content compat.
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>
15 years agoimplemented Joey's solution
intrigeri [Sun, 8 Mar 2009 14:50:48 +0000 (15:50 +0100)] 
implemented Joey's solution

15 years agorename: remove duplicates that hook functions may have added to @torename
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>
15 years agoLicense grant for my code. And note that I'll look at a more advanced version when...
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.

15 years agorename: moved subpages addition to a rename hook
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>
15 years agorename hook: run once per file to be renamed
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>
15 years agoMerge commit 'upstream/master' into prv/po
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>
15 years agobug
Joey Hess [Sun, 8 Mar 2009 00:30:01 +0000 (19:30 -0500)] 
bug

15 years agoanother thought
Joey Hess [Sun, 8 Mar 2009 00:26:46 +0000 (19:26 -0500)] 
another thought

15 years agoremove patch, and more comments
Joey Hess [Sun, 8 Mar 2009 00:23:46 +0000 (19:23 -0500)] 
remove patch, and more comments

15 years agolook for wmd/wmd.js
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.

15 years agoupdate, add some examples
Joey Hess [Sun, 8 Mar 2009 00:11:34 +0000 (19:11 -0500)] 
update, add some examples