David Riebenbauer [Sat, 3 Apr 2010 19:17:20 +0000 (21:17 +0200)]
Revert "Revert the effects of find_del_files() for (re)autoadded files."
This reverts commit
31680111f0062f07727d14fcf291c98978ad5a2f.
David Riebenbauer [Wed, 3 Feb 2010 03:29:10 +0000 (04:29 +0100)]
Check for existence off srcfile in add_autofile
add_autofile has to have checks, whether to create the file, anyway, so this
will make things more consistent.
Correcter check for the result of verify_src_file().
Cosmetic rename of a variable $addfile to $autofile.
David Riebenbauer [Wed, 3 Feb 2010 05:57:20 +0000 (06:57 +0100)]
fix bugs in `find_src_files()`.
Use `_` to avoid superfluous stat.
Check for `defined $file`, instead of just `$file`.
Add spaces after commas.
Change return values of `verify_src_file()` to not return the tainted filename.
Rename `$f` to `$file_untainted in `verify_src_file()`.
$f changes to `$file` in `find_src_files()`.
This attempts to fix commit
f3abeac919c4736429bd3362af6edf51ede8e7fe.
For discussion see
<http://ikiwiki.info/todo/auto-create_tag_pages_according_to_a_template/>
David Riebenbauer [Wed, 3 Feb 2010 01:35:19 +0000 (02:35 +0100)]
Revert "Make srcfile() return undef, if the file isn't there."
This reverts commit
1bde208ec9b915db0187030c33450b5accb4892c.
David Riebenbauer [Tue, 2 Feb 2010 15:29:27 +0000 (16:29 +0100)]
fix typo in autotag.tmpl
David Riebenbauer [Tue, 2 Feb 2010 11:12:23 +0000 (12:12 +0100)]
Export add_autofile() for use in Plugins.
David Riebenbauer [Tue, 2 Feb 2010 10:01:24 +0000 (11:01 +0100)]
Revert the effects of find_del_files() for (re)autoadded files.
This also means that if autoadded files are deleted they will just be
recreated.
David Riebenbauer [Sun, 31 Jan 2010 00:12:20 +0000 (01:12 +0100)]
Use add_autofile() in tag.pm
to make the automatically created tagpages render.
David Riebenbauer [Sun, 31 Jan 2010 01:23:11 +0000 (02:23 +0100)]
Process files from @autofiles in refresh().
To make automatically added files render they have to be added to the $files,
$pages, $new, and $changed variables.
After that scan() is called on them.
David Riebenbauer [Sun, 31 Jan 2010 01:31:12 +0000 (02:31 +0100)]
Add a function add_autofiles().
The objective is to provide a sensible way to let plugins add files during the
"scan stage" of the build.
Currently does a little verification and adds the file to the global array
@add_autofiles.
David Riebenbauer [Sat, 30 Jan 2010 17:22:32 +0000 (18:22 +0100)]
Automatically create tag pages,
if "tag_autocreate=1" is set in the configuration. The pages will be created in
tagbase, if and only if they do not exist in the srcdir yet. Tag pages will be create from
"autotag.tmpl".
At this stage a second refresh is needed for the tag pages to be rendered.
Add autotag.tmpl template.
David Riebenbauer [Sat, 30 Jan 2010 17:12:01 +0000 (18:12 +0100)]
Code deduplication fin find_src_files()
This also has the advantage that I can use the resulting new function
elsewhere.
David Riebenbauer [Sat, 30 Jan 2010 09:25:10 +0000 (10:25 +0100)]
Make srcfile() return undef, if the file isn't there.
This has the advantage that it's now possible to check for the existence of a
sourcefile with that function.
Josh Triplett [Tue, 2 Feb 2010 10:56:06 +0000 (02:56 -0800)]
New todo item for wrapperuser configuration option
Joey Hess [Mon, 1 Feb 2010 21:06:51 +0000 (16:06 -0500)]
thanks schmonz for your kind donation
Joey Hess [Mon, 1 Feb 2010 20:34:10 +0000 (15:34 -0500)]
ready to pull, and thoughts
Joey Hess [Mon, 1 Feb 2010 20:18:53 +0000 (15:18 -0500)]
setup automator: Configure Term::Readline to use bold for prompt, rather than default underline. Closes: #517656
Joey Hess [Mon, 1 Feb 2010 20:17:13 +0000 (15:17 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
http://jmtd.livejournal.com/ [Mon, 1 Feb 2010 11:09:27 +0000 (11:09 +0000)]
also potwiki
Joey Hess [Sun, 31 Jan 2010 19:03:19 +0000 (14:03 -0500)]
document that state variables are not available in the checkconfig hook
Javier Rojas [Sun, 31 Jan 2010 16:35:33 +0000 (11:35 -0500)]
moved discussion to the forum main page
Javier Rojas [Sun, 31 Jan 2010 02:38:47 +0000 (21:38 -0500)]
missing signature
Javier Rojas [Sun, 31 Jan 2010 02:35:12 +0000 (21:35 -0500)]
reply to forum discussion
Javier Rojas [Sun, 31 Jan 2010 02:30:14 +0000 (21:30 -0500)]
testing push
Joey Hess [Fri, 29 Jan 2010 21:05:45 +0000 (16:05 -0500)]
note on filtering
Joey Hess [Fri, 29 Jan 2010 03:43:23 +0000 (22:43 -0500)]
oh, we didn't convert this one yet.
Joey Hess [Fri, 29 Jan 2010 03:41:35 +0000 (22:41 -0500)]
iainmclaren.com not using ikiwiki now
Joey Hess [Fri, 29 Jan 2010 03:41:06 +0000 (22:41 -0500)]
added Anna and Mark's bevvy of websites
Joey Hess [Fri, 29 Jan 2010 02:07:23 +0000 (21:07 -0500)]
img: Fix a bug that could taint @links with undef values.
Joey Hess [Thu, 28 Jan 2010 10:23:28 +0000 (05:23 -0500)]
revert spam
MariaJackson [Thu, 28 Jan 2010 09:58:20 +0000 (09:58 +0000)]
Joey Hess [Thu, 28 Jan 2010 09:35:58 +0000 (04:35 -0500)]
new repo
Joey Hess [Wed, 27 Jan 2010 03:26:50 +0000 (22:26 -0500)]
template: Preprocess parameters before htmlizing.
Consider a template like:
[[!template type=note text="""
[[!inline pages="*foo*"]]
"""]]
The text parameter is htmlized before being passed into the template (in
case the template wraps it in a <span> that prevents markdown from
htmlizing it later).
But, when markdown sees "*foo*", it turns that into <em>foo</em>.
Later, when preprocessing the inline directive, that leads to suprising
results.
To fix this, I made template parameters be preprocessed (and filtered)
before being htmlized.
Note that I left in the preprocessing (and filtering) of the template
output at the end. That's still relevant when the template itself contains
preprocessor directives.
Joey Hess [Mon, 25 Jan 2010 04:32:19 +0000 (23:32 -0500)]
Revert spam
HelenOliver [Mon, 25 Jan 2010 04:21:27 +0000 (04:21 +0000)]
added references
http://kerravonsen.dreamwidth.org/ [Sun, 24 Jan 2010 09:41:44 +0000 (09:41 +0000)]
note new version of getfield
http://kerravonsen.dreamwidth.org/ [Sun, 24 Jan 2010 09:38:40 +0000 (09:38 +0000)]
new release of getfield; can now get values from other pages as well as current page
http://kerravonsen.dreamwidth.org/ [Sun, 24 Jan 2010 03:06:06 +0000 (03:06 +0000)]
link to site
http://kerravonsen.dreamwidth.org/ [Sun, 24 Jan 2010 02:59:11 +0000 (02:59 +0000)]
note that report is now released
http://kerravonsen.dreamwidth.org/ [Sun, 24 Jan 2010 02:52:57 +0000 (02:52 +0000)]
new report plugin
Joey Hess [Sun, 24 Jan 2010 02:13:29 +0000 (21:13 -0500)]
response
http://www.google.com/profiles/gsvick [Sun, 24 Jan 2010 00:03:08 +0000 (00:03 +0000)]
Joey Hess [Sat, 23 Jan 2010 23:33:13 +0000 (18:33 -0500)]
response
http://www.google.com/profiles/gsvick [Sat, 23 Jan 2010 20:46:58 +0000 (20:46 +0000)]
Joey Hess [Sat, 23 Jan 2010 20:26:12 +0000 (15:26 -0500)]
response
http://www.google.com/profiles/gsvick [Sat, 23 Jan 2010 19:55:06 +0000 (19:55 +0000)]
Joey Hess [Sat, 23 Jan 2010 19:34:31 +0000 (14:34 -0500)]
response
Joey Hess [Sat, 23 Jan 2010 19:14:34 +0000 (14:14 -0500)]
response
http://www.google.com/profiles/gsvick [Sat, 23 Jan 2010 19:03:32 +0000 (19:03 +0000)]
update about wiki page navigation
http://kerravonsen.dreamwidth.org/ [Fri, 22 Jan 2010 23:36:17 +0000 (23:36 +0000)]
discovered a wrinkle
http://kerravonsen.dreamwidth.org/ [Fri, 22 Jan 2010 23:24:20 +0000 (23:24 +0000)]
new forum thread - file navigation
Joey Hess [Fri, 22 Jan 2010 21:26:31 +0000 (16:26 -0500)]
add news item for ikiwiki 3.
20100122
Joey Hess [Fri, 22 Jan 2010 21:25:22 +0000 (16:25 -0500)]
releasing version 3.
20100122
Joey Hess [Fri, 22 Jan 2010 20:54:00 +0000 (15:54 -0500)]
response
http://kerravonsen.dreamwidth.org/ [Fri, 22 Jan 2010 07:38:12 +0000 (07:38 +0000)]
formatting
http://kerravonsen.dreamwidth.org/ [Fri, 22 Jan 2010 07:36:24 +0000 (07:36 +0000)]
query, help!
Joey Hess [Thu, 21 Jan 2010 20:23:25 +0000 (15:23 -0500)]
po: avoid crash when page is empty
Note that there is an associated po4a warning when a page is empty:
Use of uninitialized value $file in substitution (s///) at /usr/share/perl5/Locale/Po4a/Text.pm line 205.
I've filed a bug with po4a about that, but the important thing is fixing
the crash here.
Joey Hess [Wed, 20 Jan 2010 04:42:04 +0000 (23:42 -0500)]
handle git-notes breakage
The new git-notes feature in git 1.6.6 changes git log output in a way that
broke ikiwiki's parser if notes are added to commits.
I decided to deal with this by disabling notes when ikiwiki uses git,
by setting GIT_NOTES_REF="". AFAICS, looking up notes when dumping logs
will only waste time, since it does not currently seem to make sense for
ikiwiki to do anything with the notes.
Joey Hess [Tue, 19 Jan 2010 01:41:12 +0000 (20:41 -0500)]
update
Joey Hess [Mon, 18 Jan 2010 23:00:21 +0000 (18:00 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 18 Jan 2010 23:00:10 +0000 (18:00 -0500)]
update
http://www.google.com/profiles/schmonz [Mon, 18 Jan 2010 19:13:00 +0000 (19:13 +0000)]
response
Joey Hess [Mon, 18 Jan 2010 17:38:05 +0000 (12:38 -0500)]
response
Joey Hess [Mon, 18 Jan 2010 17:34:19 +0000 (12:34 -0500)]
brace style and layout
Joey Hess [Mon, 18 Jan 2010 17:33:25 +0000 (12:33 -0500)]
brace style
Joey Hess [Mon, 18 Jan 2010 17:28:54 +0000 (12:28 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
http://apoca.myopenid.com/ [Mon, 18 Jan 2010 17:25:13 +0000 (17:25 +0000)]
Joey Hess [Mon, 18 Jan 2010 17:09:54 +0000 (12:09 -0500)]
clarify error
Joey Hess [Mon, 18 Jan 2010 17:08:26 +0000 (12:08 -0500)]
typos
simonraven [Sun, 17 Jan 2010 17:27:51 +0000 (17:27 +0000)]
http://oblomov.myopenid.com/ [Sun, 17 Jan 2010 09:56:26 +0000 (09:56 +0000)]
Suggest # as page-field separator
http://oblomov.myopenid.com/ [Sun, 17 Jan 2010 09:55:07 +0000 (09:55 +0000)]
simonraven [Sun, 17 Jan 2010 09:31:07 +0000 (09:31 +0000)]
simonraven [Sun, 17 Jan 2010 09:28:07 +0000 (09:28 +0000)]
http://edrex.myopenid.com/ [Sun, 17 Jan 2010 07:24:31 +0000 (07:24 +0000)]
http://edrex.myopenid.com/ [Sun, 17 Jan 2010 07:22:54 +0000 (07:22 +0000)]
http://edrex.myopenid.com/ [Sun, 17 Jan 2010 07:22:03 +0000 (07:22 +0000)]
http://kerravonsen.dreamwidth.org/ [Sun, 17 Jan 2010 00:10:55 +0000 (00:10 +0000)]
respond: markup, not internals
simonraven [Sat, 16 Jan 2010 08:42:56 +0000 (08:42 +0000)]
http://kerravonsen.dreamwidth.org/ [Sat, 16 Jan 2010 08:08:46 +0000 (08:08 +0000)]
responded to discussion
simonraven [Sat, 16 Jan 2010 05:29:53 +0000 (05:29 +0000)]
simonraven [Sat, 16 Jan 2010 05:19:42 +0000 (05:19 +0000)]
the pod bold thingy didn't work, making it a markdown one
Spida [Fri, 15 Jan 2010 00:15:33 +0000 (00:15 +0000)]
Joey Hess [Thu, 14 Jan 2010 23:56:05 +0000 (18:56 -0500)]
mention that lighttpd does support this. Example needed.
Thomas Schwinge [Thu, 14 Jan 2010 15:29:09 +0000 (16:29 +0100)]
parade [Thu, 14 Jan 2010 14:25:56 +0000 (14:25 +0000)]
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:47:59 +0000 (02:47 +0000)]
this is sort of format too
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:45:44 +0000 (02:45 +0000)]
more progress on this approach
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:38:33 +0000 (02:38 +0000)]
correcting link
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:37:27 +0000 (02:37 +0000)]
fixed title
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:36:28 +0000 (02:36 +0000)]
ftemplate: field-aware structured template plugin
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:27:59 +0000 (02:27 +0000)]
getfield: query field (meta-data) values
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:20:34 +0000 (02:20 +0000)]
ymlfront: backend for structured data
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 00:37:56 +0000 (00:37 +0000)]
more options for field configuration, additional pagespec test
Joey Hess [Sun, 10 Jan 2010 04:10:26 +0000 (23:10 -0500)]
linkmap: Simplify and improve browser compatability by using an img, not object tag.
I noticed that chromium was not hyperlinking the areas in the object-based
linkmap, while img works ok. Dunno why, but img based is nicer anyway since
it is allowed right through the htmlscrubber with no workarounds.
Joey Hess [Sun, 10 Jan 2010 02:25:37 +0000 (21:25 -0500)]
response