summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-22updateJoey Hess
2010-04-22formatJoey Hess
2010-04-22Merge branch 'autotag'Joey Hess
2010-04-22force rebuild from pre 20100422Joey Hess
to ensure those wrong massive depends_simple don't linger on systems that rebuilt for the other reasons already
2010-04-22note that the new version will have some optimisation fixesJoey Hess
2010-04-22improved fix for depends_simple_mixupJoey Hess
Avoid adding the page matched against as an influence for currently failing pagespec matches, while still adding any other influences. This avoids bloating depends_simple with lots of bogus influences when matching eg, "!link(done)". It's only necessary for the page being tested to be an influence of that if the page matches.
2010-04-22add influence info for failed metadata matchesJoey Hess
This is needed so that when a negated pagespec like "!author(foo)" stops matching, due to the page being changed, ikiwiki knows that the match was influenced by the page content.
2010-04-22fix test cases for dynamic influence calculationJoey Hess
2010-04-21added a test case for this bugJoey Hess
Further analysis suggests fixing this might not be as dreadful as I first thought!
2010-04-21backlink influence data seems okJoey Hess
2010-04-21updateJoey Hess
2010-04-21more wrongnessJoey Hess
2010-04-21link fixJoey Hess
2010-04-21argh. head exploding.Joey Hess
2010-04-21indentJoey Hess
2010-04-21my autotag branch seems readyJoey Hess
2010-04-21turn on tag_autocreate by default if tagbase is setJoey Hess
2010-04-21Merge branch 'master' into autotagJoey Hess
2010-04-21reword newsJoey Hess
2010-04-21Merge branch 'master' into autotagJoey Hess
Conflicts: IkiWiki/Plugin/tag.pm
2010-04-21remove broken ./tag supportJoey Hess
The commit that added the (working) support for using /tag to override tagbase also tried to make ./tag work. Problem is, tags are links, and ./foo is not a valid link (though I think there's a wishlist about it). So, using ./tag really resulted in tag creation links that led to a "bad page name" error. And even if the tag were created in the right place, the link didn't go to it.
2010-04-21fixesJoey Hess
2010-04-21clarifyJoey Hess
2010-04-21Merge branch 'master' into autotagJoey Hess
Conflicts: IkiWiki/Plugin/tag.pm
2010-04-21pass pagespec parameters along from match_taggedJoey Hess
2010-04-21add missing undef guard in derelJoey Hess
2010-04-21fix false positive in link_types_changedJoey Hess
loadindex does not bother populating oldtypedlinks if there is no link type. However, the code in link_types_changed assumed that if oldtypedlinks is not defined, and typedlinks is, they must differ.
2010-04-21add separate template variable for tag page and sanitize displayed tag nameJoey Hess
2010-04-21remember autofiles that were tried and failed to be addedJoey Hess
This way, if an autofile is registered for a file that already exists, it is remembered that it was tried, and it doesn't get recreated when removed.
2010-04-21responseJoey Hess
2010-04-21Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2010-04-21note re includesJoey Hess
2010-04-21suppressing auto-creation can be quite counter-intuitivehttp://smcv.pseudorandom.co.uk/
2010-04-21elide an older patch that's no longer under discussionhttp://smcv.pseudorandom.co.uk/
2010-04-21updateJoey Hess
2010-04-21Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2010-04-21commit autocreated tag pagesJoey Hess
2010-04-21updateJoey Hess
2010-04-21remember autofiles alwaysJoey Hess
This fixes the problem that it did not remember if an autofile is deleted, unless a plugin happened to register the autofile at the same time. With the new code, we just never recreate an autofile more than once. Only downside is that the list of autofiles is never pruned either. And I don't really see a way to prune it.
2010-04-21bugfixesJoey Hess
2010-04-21Merge branch 'master' into autotagJoey Hess
2010-04-21update, tag deletion bugJoey Hess
2010-04-21(no commit message)http://hendry.iki.fi/
2010-04-21document tag_autocreateJoey Hess
2010-04-21(no commit message)http://hendry.iki.fi/
2010-04-21spellingJoey Hess
2010-04-21update; my branch is (partially) debugged nowJoey Hess
2010-04-21debugginghttp://hendry.iki.fi/
2010-04-21remove verify_src_fileJoey Hess
Splitting out this function bothered me. It is conceptially similar to file_pruned, and yet also very specific to exactly the security needs of find_src_files. I liked that it got rid of duplicate code in the latter function. So instead, put a helper sub in that, which I think allows refactoring things more cleanly, and with less boilerplate. As to the needs of gen_autofile, I'm not convinced this needs to handle the same set of problems that verify_src_file did. So I sat down and wrote a custom validator for autofiles, which turned out to seem to just need three things: Make sure the candidate filename is not something that would be pruned; untaint the candidate filename; and make sure that srcdir doesn't already have something with its name. (Plus, of course, all the other checks that were already in gen_autofile.) (In passing, also fixed a bunch of bugs I had introduced in this branch.)
2010-04-21add_autofile filename should be relative to srcdirJoey Hess