summaryrefslogtreecommitdiff
path: root/IkiWiki
AgeCommit message (Collapse)Author
2010-05-01add figure and figcaptionJoey Hess
2010-05-01htmlscrubber: Allow the html5 form attributes: placeholder autofocus, min, ↵Joey Hess
max, step.
2010-05-01htmlscrubber: Allow the placeholder attribute.Joey Hess
2010-05-01more html5Joey Hess
* htmlscrubber: Also allow html5 canvas tags. * htmlscrubber: Round out html5 video support with the preload attribute and the source tag.
2010-05-01htmlscrubber: Allow html5 semantic tags: section nav article aside hgroup ↵Joey Hess
header footer time mark
2010-04-27template: Fix typo.Joey Hess
2010-04-26loop on pagesources, not ctimeJoey Hess
2010-04-26Fix removal of rendered files in rebuild mode.Joey Hess
Needed to handle the move of the .js files into ikiwiki/, but also this is a longstanding bug. Old pagemtime is not remembered in rebuild mode, and changing that would need a lot of changes. So instead, loop on pagectime, which is remembered. Change to remembering old pagesources info in rebuild mode. This seems safe enough.
2010-04-26added match_guid function to meta pluginJoey Hess
(cherry picked from commit 8b6fde73669ddf9204acb3d334c3984566f3c59d) Conflicts: IkiWiki/Plugin/meta.pm
2010-04-24rebuild on template removalJoey Hess
2010-04-24bugfixesJoey Hess
2010-04-24add support for mass dependenciesJoey Hess
Registered by passing "" as page name to add_depends.
2010-04-24Merge branch 'master' into templatemoveJoey Hess
2010-04-24po: fix some uninitalized value warnings when used by websetupJoey Hess
2010-04-24template() - return params in list contextJoey Hess
I forgot CGI::Formbuilder's horrible interface that needs template parameters instead of a constructed object.
2010-04-24chomp template valuesJoey Hess
Before the template reorg, this was done by a template filter.
2010-04-24Merge branch 'master' into templatemoveJoey Hess
2010-04-24Moved javascript files under the ikiwiki/ directory, to avoid cluttering the ↵Joey Hess
top of the web root. This is another things that requires a wiki rebuild on upgrade to this version.
2010-04-23special case for page.tmpl dependency handlingJoey Hess
Rather than wasting resources recording that every page depends on page.tmpl, add a special case. The special case curretly rebuilds non-page files too when page.tmpl changes, but that's minor.
2010-04-23updateJoey Hess
2010-04-23use template() rather than rolling it by handJoey Hess
2010-04-23improved error messageJoey Hess
2010-04-23switch to using template_dependsJoey Hess
It now handles all the details of finding a page template that this used to need to implement.
2010-04-23use same error string as template.pm doesJoey Hess
2010-04-23fix logicJoey Hess
2010-04-22look for templates in srcdir and underlays, firstJoey Hess
This entailed changing template_params; it no longer takes the template filename as its first parameter. Add template_depends to api and replace calls to template() with template_depends() in appropriate places, where a dependency should be added on the template. Other plugins don't use template(), so will need further work. Also, includes are disabled for security. Enabling includes only when using templates from the templatedir would be nice, but would add a lot of complexity to the implementation.
2010-04-22remove add_templates optionJoey Hess
Templates are moving into the srcdir, and will also be searched for in configured underlays, so this is redundant.
2010-04-22Merge branch 'autotag'Joey Hess
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-21turn on tag_autocreate by default if tagbase is setJoey 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-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-21commit autocreated tag pagesJoey 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-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-20Merge branch 'master' into autotagJoey Hess
2010-04-20Merge branch 'file_pruned_revamp'Joey Hess
2010-04-20bugfixJoey Hess
So this is the one place that does need to canonpath and compare, as two argument file_pruned used to.
2010-04-20darcs: ensure whole darcs query manifest output is consumedJoey Hess
By a stroke of luck, after a long & full day, I happened to remember that in the morning, I had seen someone on irc mention that darcs query manifest doesn't like it if its full output is not consumed. So contrary to the usual case where bug reports sent via irc are like messages written in sand before the new tide, this one was seen and fixed. (But use http://ikiwiki.info/bugs/ next time!)
2010-04-20bugfixJoey Hess
Avoid file_pruned triggering on absolute paths causing the whole comments_pending directory being pruned. Simplify code.
2010-04-20Merge branch 'master' into file_pruned_revampJoey Hess
2010-04-20fix uninitialized value warningJoey Hess
$cgi->params('do') may not be defined. The CSRF code may delete all cgi params. This uninitalized value was introduced when do=register support was added recently.