]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
14 years agoRevert "Revert the effects of find_del_files() for (re)autoadded files."
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.

14 years agoCheck for existence off srcfile in add_autofile
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.

14 years agofix bugs in `find_src_files()`.
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/>

14 years agoRevert "Make srcfile() return undef, if the file isn't there."
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.

14 years agofix typo in autotag.tmpl
David Riebenbauer [Tue, 2 Feb 2010 15:29:27 +0000 (16:29 +0100)]
fix typo in autotag.tmpl

14 years agoExport add_autofile() for use in Plugins.
David Riebenbauer [Tue, 2 Feb 2010 11:12:23 +0000 (12:12 +0100)]
Export add_autofile() for use in Plugins.

14 years agoRevert the effects of find_del_files() for (re)autoadded files.
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.

14 years agoUse add_autofile() in tag.pm
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.

14 years agoProcess files from @autofiles in refresh().
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.

14 years agoAdd a function add_autofiles().
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.

14 years agoAutomatically create tag pages,
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.

14 years agoCode deduplication fin find_src_files()
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.

14 years agoMake srcfile() return undef, if the file isn't there.
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.

14 years agoNew todo item for wrapperuser configuration option
Josh Triplett [Tue, 2 Feb 2010 10:56:06 +0000 (02:56 -0800)]
New todo item for wrapperuser configuration option

14 years agothanks schmonz for your kind donation
Joey Hess [Mon, 1 Feb 2010 21:06:51 +0000 (16:06 -0500)]
thanks schmonz for your kind donation

14 years agoready to pull, and thoughts
Joey Hess [Mon, 1 Feb 2010 20:34:10 +0000 (15:34 -0500)]
ready to pull, and thoughts

14 years agosetup automator: Configure Term::Readline to use bold for prompt, rather than default...
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

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

14 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI [Mon, 1 Feb 2010 14:32:21 +0000 (14:32 +0000)]

14 years agoalso potwiki
http://jmtd.livejournal.com/ [Mon, 1 Feb 2010 11:09:27 +0000 (11:09 +0000)]
also potwiki

14 years agodocument that state variables are not available in the checkconfig hook
Joey Hess [Sun, 31 Jan 2010 19:03:19 +0000 (14:03 -0500)]
document that state variables are not available in the checkconfig hook

14 years agomoved discussion to the forum main page
Javier Rojas [Sun, 31 Jan 2010 16:35:33 +0000 (11:35 -0500)]
moved discussion to the forum main page

14 years agomissing signature
Javier Rojas [Sun, 31 Jan 2010 02:38:47 +0000 (21:38 -0500)]
missing signature

14 years agoreply to forum discussion
Javier Rojas [Sun, 31 Jan 2010 02:35:12 +0000 (21:35 -0500)]
reply to forum discussion

14 years agotesting push
Javier Rojas [Sun, 31 Jan 2010 02:30:14 +0000 (21:30 -0500)]
testing push

14 years agonote on filtering
Joey Hess [Fri, 29 Jan 2010 21:05:45 +0000 (16:05 -0500)]
note on filtering

14 years agooh, we didn't convert this one yet.
Joey Hess [Fri, 29 Jan 2010 03:43:23 +0000 (22:43 -0500)]
oh, we didn't convert this one yet.

14 years agoiainmclaren.com not using ikiwiki now
Joey Hess [Fri, 29 Jan 2010 03:41:35 +0000 (22:41 -0500)]
iainmclaren.com not using ikiwiki now

14 years agoadded Anna and Mark's bevvy of websites
Joey Hess [Fri, 29 Jan 2010 03:41:06 +0000 (22:41 -0500)]
added Anna and Mark's bevvy of websites

14 years agoimg: Fix a bug that could taint @links with undef values.
Joey Hess [Fri, 29 Jan 2010 02:07:23 +0000 (21:07 -0500)]
img: Fix a bug that could taint @links with undef values.

14 years agorevert spam
Joey Hess [Thu, 28 Jan 2010 10:23:28 +0000 (05:23 -0500)]
revert spam

14 years ago(no commit message)
MariaJackson [Thu, 28 Jan 2010 09:58:20 +0000 (09:58 +0000)]

14 years agonew repo
Joey Hess [Thu, 28 Jan 2010 09:35:58 +0000 (04:35 -0500)]
new repo

14 years agotemplate: Preprocess parameters before htmlizing.
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.

14 years agoRevert spam
Joey Hess [Mon, 25 Jan 2010 04:32:19 +0000 (23:32 -0500)]
Revert spam

14 years agoadded references
HelenOliver [Mon, 25 Jan 2010 04:21:27 +0000 (04:21 +0000)]
added references

14 years agonote new version of getfield
http://kerravonsen.dreamwidth.org/ [Sun, 24 Jan 2010 09:41:44 +0000 (09:41 +0000)]
note new version of getfield

14 years agonew release of getfield; can now get values from other pages as well as current page
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

14 years agolink to site
http://kerravonsen.dreamwidth.org/ [Sun, 24 Jan 2010 03:06:06 +0000 (03:06 +0000)]
link to site

14 years agonote that report is now released
http://kerravonsen.dreamwidth.org/ [Sun, 24 Jan 2010 02:59:11 +0000 (02:59 +0000)]
note that report is now released

14 years agonew report plugin
http://kerravonsen.dreamwidth.org/ [Sun, 24 Jan 2010 02:52:57 +0000 (02:52 +0000)]
new report plugin

14 years agoresponse
Joey Hess [Sun, 24 Jan 2010 02:13:29 +0000 (21:13 -0500)]
response

14 years ago(no commit message)
http://www.google.com/profiles/gsvick [Sun, 24 Jan 2010 00:03:08 +0000 (00:03 +0000)]

14 years agoresponse
Joey Hess [Sat, 23 Jan 2010 23:33:13 +0000 (18:33 -0500)]
response

14 years ago(no commit message)
http://www.google.com/profiles/gsvick [Sat, 23 Jan 2010 20:46:58 +0000 (20:46 +0000)]

14 years agoresponse
Joey Hess [Sat, 23 Jan 2010 20:26:12 +0000 (15:26 -0500)]
response

14 years ago(no commit message)
http://www.google.com/profiles/gsvick [Sat, 23 Jan 2010 19:55:06 +0000 (19:55 +0000)]

14 years agoresponse
Joey Hess [Sat, 23 Jan 2010 19:34:31 +0000 (14:34 -0500)]
response

14 years agoresponse
Joey Hess [Sat, 23 Jan 2010 19:14:34 +0000 (14:14 -0500)]
response

14 years ago(no commit message)
http://www.google.com/profiles/gsvick [Sat, 23 Jan 2010 19:03:32 +0000 (19:03 +0000)]

14 years agoupdate about wiki page navigation
https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI [Sat, 23 Jan 2010 16:37:42 +0000 (16:37 +0000)]
update about wiki page navigation

14 years agodiscovered a wrinkle
http://kerravonsen.dreamwidth.org/ [Fri, 22 Jan 2010 23:36:17 +0000 (23:36 +0000)]
discovered a wrinkle

14 years ago(no commit message)
http://kerravonsen.dreamwidth.org/ [Fri, 22 Jan 2010 23:24:20 +0000 (23:24 +0000)]

14 years agonew forum thread - file navigation
https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI [Fri, 22 Jan 2010 22:46:31 +0000 (22:46 +0000)]
new forum thread - file navigation

14 years agoadd news item for ikiwiki 3.20100122
Joey Hess [Fri, 22 Jan 2010 21:26:31 +0000 (16:26 -0500)]
add news item for ikiwiki 3.20100122

14 years agoreleasing version 3.20100122 3.20100122
Joey Hess [Fri, 22 Jan 2010 21:25:22 +0000 (16:25 -0500)]
releasing version 3.20100122

14 years agoresponse
Joey Hess [Fri, 22 Jan 2010 20:54:00 +0000 (15:54 -0500)]
response

14 years agoformatting
http://kerravonsen.dreamwidth.org/ [Fri, 22 Jan 2010 07:38:12 +0000 (07:38 +0000)]
formatting

14 years agoquery, help!
http://kerravonsen.dreamwidth.org/ [Fri, 22 Jan 2010 07:36:24 +0000 (07:36 +0000)]
query, help!

14 years agopo: avoid crash when page is empty
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.

14 years agohandle git-notes breakage
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.

14 years agoupdate
Joey Hess [Tue, 19 Jan 2010 01:41:12 +0000 (20:41 -0500)]
update

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

14 years agoupdate
Joey Hess [Mon, 18 Jan 2010 23:00:10 +0000 (18:00 -0500)]
update

14 years agoresponse
http://www.google.com/profiles/schmonz [Mon, 18 Jan 2010 19:13:00 +0000 (19:13 +0000)]
response

14 years agoresponse
Joey Hess [Mon, 18 Jan 2010 17:38:05 +0000 (12:38 -0500)]
response

14 years agobrace style and layout
Joey Hess [Mon, 18 Jan 2010 17:34:19 +0000 (12:34 -0500)]
brace style and layout

14 years agobrace style
Joey Hess [Mon, 18 Jan 2010 17:33:25 +0000 (12:33 -0500)]
brace style

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

14 years ago(no commit message)
http://apoca.myopenid.com/ [Mon, 18 Jan 2010 17:25:13 +0000 (17:25 +0000)]

14 years agoclarify error
Joey Hess [Mon, 18 Jan 2010 17:09:54 +0000 (12:09 -0500)]
clarify error

14 years agotypos
Joey Hess [Mon, 18 Jan 2010 17:08:26 +0000 (12:08 -0500)]
typos

14 years ago(no commit message)
simonraven [Sun, 17 Jan 2010 17:27:51 +0000 (17:27 +0000)]

14 years agoSuggest # as page-field separator
http://oblomov.myopenid.com/ [Sun, 17 Jan 2010 09:56:26 +0000 (09:56 +0000)]
Suggest # as page-field separator

14 years ago(no commit message)
http://oblomov.myopenid.com/ [Sun, 17 Jan 2010 09:55:07 +0000 (09:55 +0000)]

14 years ago(no commit message)
simonraven [Sun, 17 Jan 2010 09:31:07 +0000 (09:31 +0000)]

14 years ago(no commit message)
simonraven [Sun, 17 Jan 2010 09:28:07 +0000 (09:28 +0000)]

14 years ago(no commit message)
http://edrex.myopenid.com/ [Sun, 17 Jan 2010 07:24:31 +0000 (07:24 +0000)]

14 years ago(no commit message)
http://edrex.myopenid.com/ [Sun, 17 Jan 2010 07:22:54 +0000 (07:22 +0000)]

14 years ago(no commit message)
http://edrex.myopenid.com/ [Sun, 17 Jan 2010 07:22:03 +0000 (07:22 +0000)]

14 years agorespond: markup, not internals
http://kerravonsen.dreamwidth.org/ [Sun, 17 Jan 2010 00:10:55 +0000 (00:10 +0000)]
respond: markup, not internals

14 years ago(no commit message)
simonraven [Sat, 16 Jan 2010 08:42:56 +0000 (08:42 +0000)]

14 years agoresponded to discussion
http://kerravonsen.dreamwidth.org/ [Sat, 16 Jan 2010 08:08:46 +0000 (08:08 +0000)]
responded to discussion

14 years ago(no commit message)
simonraven [Sat, 16 Jan 2010 05:29:53 +0000 (05:29 +0000)]

14 years agothe pod bold thingy didn't work, making it a markdown one
simonraven [Sat, 16 Jan 2010 05:19:42 +0000 (05:19 +0000)]
the pod bold thingy didn't work, making it a markdown one

14 years ago(no commit message)
Spida [Fri, 15 Jan 2010 00:15:33 +0000 (00:15 +0000)]

14 years agomention that lighttpd does support this. Example needed.
Joey Hess [Thu, 14 Jan 2010 23:56:05 +0000 (18:56 -0500)]
mention that lighttpd does support this. Example needed.

14 years agoRestore page.
Thomas Schwinge [Thu, 14 Jan 2010 15:29:09 +0000 (16:29 +0100)]
Restore page.

This reverts commit f2b8f358652e76e4047f4e304870e25cac51b681.

14 years ago(no commit message)
parade [Thu, 14 Jan 2010 14:25:56 +0000 (14:25 +0000)]

14 years agothis is sort of format too
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:47:59 +0000 (02:47 +0000)]
this is sort of format too

14 years agomore progress on this approach
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:45:44 +0000 (02:45 +0000)]
more progress on this approach

14 years agocorrecting link
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:38:33 +0000 (02:38 +0000)]
correcting link

14 years agofixed title
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:37:27 +0000 (02:37 +0000)]
fixed title

14 years agoftemplate: field-aware structured template plugin
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:36:28 +0000 (02:36 +0000)]
ftemplate: field-aware structured template plugin

14 years agogetfield: query field (meta-data) values
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:27:59 +0000 (02:27 +0000)]
getfield: query field (meta-data) values

14 years agoymlfront: backend for structured data
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 02:20:34 +0000 (02:20 +0000)]
ymlfront: backend for structured data

14 years agomore options for field configuration, additional pagespec test
http://kerravonsen.dreamwidth.org/ [Wed, 13 Jan 2010 00:37:56 +0000 (00:37 +0000)]
more options for field configuration, additional pagespec test

14 years agolinkmap: Simplify and improve browser compatability by using an img, not object...
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.

14 years agoresponse
Joey Hess [Sun, 10 Jan 2010 02:25:37 +0000 (21:25 -0500)]
response

14 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI [Sat, 9 Jan 2010 23:50:45 +0000 (23:50 +0000)]