summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/edittemplate.pm
AgeCommit message (Collapse)Author
2010-11-20edittemplate: Fix crash if using a .tmpl file or other non-page file as a ↵Joey Hess
template for a new page.
2010-09-27template_depends: throw nice error message when template cannot be foundJoey Hess
plovs reported a crash when templates were not installed properly, with a non-useful error about the template object not being defined. I've audited all uses of template_depends(), and template(), and it makes sense for them to throw an error if the template cannot be found. All code with a user-supplied template catches errors already, to handle template parse failures. It did not make sense for template_file to throw errors, as some code uses it to probe if a template file is available.
2010-09-07needsbuild hook interface changed; the hooks should now return the modified ↵Joey Hess
array of things that need built. (Backwards compatability code keeps plugins using the old interface working.)
2010-06-12edittemplate: Look for template pages under templates/ like everything else ↵Joey Hess
(still looks in old location for backwards compatability).
2010-06-12edittemplate: Make silent mode not disable display when the template page ↵Joey Hess
does not exist, so it can be easily created.
2010-04-23use template() rather than rolling it by handJoey Hess
2010-02-12add section informationJoey Hess
2009-10-18edittemplate: Work around bug #551499 in CGI::FormBuilder.Joey Hess
2009-10-18edittemplate: Allow template page name to be specified using anything legal ↵Joey Hess
for a wikilink (including eg, leading slashes). Before, the htmllink would display the link to the template as if it were a wikilink, but what was stored was not, which could lead to confusing situations.
2009-10-08change how dependency types are specified to add_dependsJoey Hess
Also, this fixes 2 bugs in dependency info.
2009-10-04rework dependency types codeJoey Hess
Simplify, change default content depends number to 1, change interface to make more sense.
2009-10-04edittemplate: contentless dependencyJoey Hess
This one is unlikely to matter much, but yeah, it's contentless.
2008-12-23finalise version 3.00 of the plugin apiJoey Hess
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-09-27editpage: Be more aggressive (and less buggy) about cleaning up temporary ↵Joey Hess
files rendered during page preview.
2008-09-27Reorganize index file, add a format version field.Joey Hess
Upgrades to the new index format should be transparent. The version field is 3, because 1 was the old textual index, 2 was the pre-versioned format. This also includes some efficiency improvements to index loading, by not copying a hash and using a reference.
2008-09-27Export pagetitle, titlepage, linkpage.Joey Hess
2008-09-20handle templates with special characters in nameJoey Hess
The template field is really a link, so needs to be converted to a page name in stored state.
2008-09-20avoid uninitialised value warningJoey Hess
2008-09-20avoid duplicate template lookupJoey Hess
2008-09-20revert colon part of changeJoey Hess
2008-09-20edittemplate patch from WilluJoey Hess
* edittemplate: Default new page file type to the same type as the template. (willu) * edittemplate: Add "silent" parameter. (Willu) * edittemplate: Link to template, to allow creating it. (Willu)
2008-08-25edittemplate: Don't wipe out edits on preview.Joey Hess
2008-08-03add plugin safe/rebuild info (part 1 of 2)Joey Hess
too many plugins.. brain exploding..
2008-07-13switch preprocess hooks to use error functionJoey Hess
2008-03-21typosJoey Hess
2008-01-29add missing test to avoid uninitialised value when a page with metadata is ↵Joey Hess
removed
2007-12-12don't duplicate code from editpage, just pull the values it sets out of theJoey Hess
formbuilder object
2007-12-12* Change formbuilder hook to not be responsible for displaying a form,Joey Hess
so that more than one plugin can use this hook. I believe this is a safe change, since only passwordauth uses this hook. (If some other plugin already used it, it would have broken passwordauth!)
2007-12-12works, but I'm not entirely happy with it yetJoey Hess
It would be better if it were a formbuilder hook. But the formbuilder hook is wacked.. I may need to change how that hook works, which would mean changing the only current user of it, passwordauth).
2007-12-12incomplate edittemplate pluginJoey Hess