summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-03Check for existence off srcfile in add_autofileDavid Riebenbauer
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.
2010-02-03fix bugs in `find_src_files()`.David Riebenbauer
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/>
2010-02-03Revert "Make srcfile() return undef, if the file isn't there."David Riebenbauer
This reverts commit 1bde208ec9b915db0187030c33450b5accb4892c.
2010-02-02fix typo in autotag.tmplDavid Riebenbauer
2010-02-02Export add_autofile() for use in Plugins.David Riebenbauer
2010-02-02Revert the effects of find_del_files() for (re)autoadded files.David Riebenbauer
This also means that if autoadded files are deleted they will just be recreated.
2010-02-02Use add_autofile() in tag.pmDavid Riebenbauer
to make the automatically created tagpages render.
2010-02-02Process files from @autofiles in refresh().David Riebenbauer
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.
2010-02-02Add a function add_autofiles().David Riebenbauer
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.
2010-02-02Automatically create tag pages,David Riebenbauer
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.
2010-02-02Code deduplication fin find_src_files()David Riebenbauer
This also has the advantage that I can use the resulting new function elsewhere.
2010-02-02Make srcfile() return undef, if the file isn't there.David Riebenbauer
This has the advantage that it's now possible to check for the existence of a sourcefile with that function.
2010-02-02New todo item for wrapperuser configuration optionJosh Triplett
2010-02-01thanks schmonz for your kind donationJoey Hess
2010-02-01ready to pull, and thoughtsJoey Hess
2010-02-01setup automator: Configure Term::Readline to use bold for prompt, rather ↵Joey Hess
than default underline. Closes: #517656
2010-02-01Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2010-02-01(no commit message)https://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI
2010-02-01also potwikihttp://jmtd.livejournal.com/
2010-01-31document that state variables are not available in the checkconfig hookJoey Hess
2010-01-31moved discussion to the forum main pageJavier Rojas
2010-01-30missing signatureJavier Rojas
2010-01-30reply to forum discussionJavier Rojas
2010-01-30testing pushJavier Rojas
2010-01-29note on filteringJoey Hess
2010-01-28oh, we didn't convert this one yet.Joey Hess
2010-01-28iainmclaren.com not using ikiwiki nowJoey Hess
2010-01-28added Anna and Mark's bevvy of websitesJoey Hess
2010-01-28img: Fix a bug that could taint @links with undef values.Joey Hess
2010-01-28revert spamJoey Hess
2010-01-28(no commit message)MariaJackson
2010-01-28new repoJoey Hess
2010-01-26template: Preprocess parameters before htmlizing.Joey Hess
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.
2010-01-24Revert spamJoey Hess
2010-01-25added referencesHelenOliver
2010-01-24note new version of getfieldhttp://kerravonsen.dreamwidth.org/
2010-01-24new release of getfield; can now get values from other pages as well as ↵http://kerravonsen.dreamwidth.org/
current page
2010-01-24link to sitehttp://kerravonsen.dreamwidth.org/
2010-01-24note that report is now releasedhttp://kerravonsen.dreamwidth.org/
2010-01-24new report pluginhttp://kerravonsen.dreamwidth.org/
2010-01-23responseJoey Hess
2010-01-24(no commit message)http://www.google.com/profiles/gsvick
2010-01-23responseJoey Hess
2010-01-23(no commit message)http://www.google.com/profiles/gsvick
2010-01-23responseJoey Hess
2010-01-23(no commit message)http://www.google.com/profiles/gsvick
2010-01-23responseJoey Hess
2010-01-23responseJoey Hess
2010-01-23(no commit message)http://www.google.com/profiles/gsvick
2010-01-23update about wiki page navigationhttps://www.google.com/accounts/o8/id?id=AItOawn1lGvpPZ8dpuLSPLPa-jqpMef2KqeB1qI