| Commit message (Expand) | Author | Age |
... | |
| * | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info | Joey Hess | 2010-04-22 |
| |\ |
|
| | * | rename bugs/creating_build_fails_oddly_when_older_ikiwiki_is_installed.mdwn t... | blipvert | 2010-04-23 |
| | * | (no commit message) | blipvert | 2010-04-23 |
| * | | use meta title | Joey Hess | 2010-04-22 |
| |/ |
|
| * | reference my branch for this | Joey Hess | 2010-04-22 |
| * | map can't currently change sort ordering | http://smcv.pseudorandom.co.uk/ | 2010-04-22 |
| * | (no commit message) | http://seph.myopenid.com/ | 2010-04-22 |
* | | special case for page.tmpl dependency handling•••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.
| Joey Hess | 2010-04-23 |
* | | add myclean | Joey Hess | 2010-04-23 |
* | | fix return of tpage | Joey Hess | 2010-04-23 |
* | | template docu reorg•••Remove wikitemplates page; fold its contents into templates page.
Update all backlinks. Document new ability to put templates inside srcdir.
| Joey Hess | 2010-04-23 |
* | | move template documentation to the template directive•••allow new templates to be created via the inline that lists them
| Joey Hess | 2010-04-23 |
* | | update | Joey Hess | 2010-04-23 |
* | | use template() rather than rolling it by hand | Joey Hess | 2010-04-23 |
* | | allow template pages to not be under templates/ | Joey Hess | 2010-04-23 |
* | | improved error message | Joey Hess | 2010-04-23 |
* | | switch to using template_depends•••It now handles all the details of finding a page template that this used to
need to implement.
| Joey Hess | 2010-04-23 |
* | | use same error string as template.pm does | Joey Hess | 2010-04-23 |
* | | allow a bare page name to be specified as a template | Joey Hess | 2010-04-23 |
* | | fix logic | Joey Hess | 2010-04-23 |
* | | add | Joey Hess | 2010-04-22 |
* | | refactor to remove template_params•••template_file will be kept separate, since it needs to be memoized
| Joey Hess | 2010-04-22 |
* | | look for templates in srcdir and underlays, first•••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.
| Joey Hess | 2010-04-22 |
* | | remove add_templates option•••Templates are moving into the srcdir, and will also be searched for in
configured underlays, so this is redundant.
| Joey Hess | 2010-04-22 |
* | | clarify | Joey Hess | 2010-04-22 |
|/ |
|
* | add | Joey Hess | 2010-04-22 |
* | only remove page from influences when influences are not static•••This matches what add_depends done
| Joey Hess | 2010-04-22 |
* | update | Joey Hess | 2010-04-22 |
* | update | Joey Hess | 2010-04-22 |
* | format | Joey Hess | 2010-04-22 |
* | Merge branch 'autotag' | Joey Hess | 2010-04-22 |
|\ |
|
| * | update | Joey Hess | 2010-04-21 |
| * | turn on tag_autocreate by default if tagbase is set | Joey Hess | 2010-04-21 |
| * | Merge branch 'master' into autotag | Joey Hess | 2010-04-21 |
| |\ |
|
| * \ | Merge branch 'master' into autotag•••Conflicts:
IkiWiki/Plugin/tag.pm
| Joey Hess | 2010-04-21 |
| |\ \ |
|
| * | | | fixes | Joey Hess | 2010-04-21 |
| * | | | clarify | Joey Hess | 2010-04-21 |
| * | | | Merge branch 'master' into autotag•••Conflicts:
IkiWiki/Plugin/tag.pm
| Joey Hess | 2010-04-21 |
| |\ \ \ |
|
| * | | | | add separate template variable for tag page and sanitize displayed tag name | Joey Hess | 2010-04-21 |
| * | | | | remember autofiles that were tried and failed to be added•••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.
| Joey Hess | 2010-04-21 |
| * | | | | commit autocreated tag pages | Joey Hess | 2010-04-21 |
| * | | | | remember autofiles always•••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.
| Joey Hess | 2010-04-21 |
| * | | | | bugfixes | Joey Hess | 2010-04-21 |
| * | | | | Merge branch 'master' into autotag | Joey Hess | 2010-04-21 |
| |\ \ \ \ |
|
| * | | | | | document tag_autocreate | Joey Hess | 2010-04-21 |
| * | | | | | remove verify_src_file•••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.)
| Joey Hess | 2010-04-21 |
| * | | | | | add_autofile filename should be relative to srcdir | Joey Hess | 2010-04-21 |
| * | | | | | Merge branch 'master' into autotag | Joey Hess | 2010-04-21 |
| |\ \ \ \ \ |
|
| * \ \ \ \ \ | Merge branch 'master' into autotag | Joey Hess | 2010-04-20 |
| |\ \ \ \ \ \ |
|
| * | | | | | | | improve docs | Joey Hess | 2010-04-17 |