ikiwiki/IkiWiki/Plugin
Joey Hess e22b18aabc template_depends: throw nice error message when template cannot be found
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-27 15:58:01 -04:00
..
404.pm add missing getsetup hook 2010-07-13 15:23:44 -04:00
aggregate.pm avoid fatal error if aggregate page template could not be found 2010-09-27 15:44:04 -04:00
amazon_s3.pm setup file ordering 2010-02-12 06:35:52 -05:00
anonok.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
attachment.pm attachment: Fix attachment file size display. 2010-09-21 15:33:42 -04:00
autoindex.pm rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
blogspam.pm blogspam: Fix crash when content contained utf-8. 2010-09-14 15:23:28 -04:00
brokenlinks.pm brokenlinks: use pagespec_match_list 2009-10-09 13:35:11 -04:00
bzr.pm rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
calendar.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
camelcase.pm Avoid %links accumulating duplicates. (For TOVA) 2009-05-06 00:27:24 -04:00
color.pm remove unnecessary and troublesome filter calls 2010-07-04 15:06:48 -04:00
comments.pm Merge branch 'filter-full' 2010-07-12 15:35:40 -04:00
conditional.pm remove unnecessary and troublesome filter calls 2010-07-04 15:06:48 -04:00
creole.pm format plugin categorization 2010-02-12 01:10:36 -05:00
cutpaste.pm cutpaste: Fix bug that occured in some cases involving inlines when text was pasted on a page before being cut. 2010-09-15 16:24:50 -04:00
cvs.pm chdir to srcdir in rcs_getctime 2010-06-23 21:29:47 -04:00
darcs.pm rcs_getctime and rcs_getmtime take relative filenames 2010-06-23 19:32:53 -04:00
date.pm setup file ordering 2010-02-12 06:35:52 -05:00
ddate.pm
editdiff.pm fix pagediff to not display as "preview" 2010-05-06 22:19:14 -04:00
editpage.pm Revert po vs. template kludges. 2010-07-11 11:03:41 +02:00
edittemplate.pm template_depends: throw nice error message when template cannot be found 2010-09-27 15:58:01 -04:00
embed.pm
external.pm external: Disable RPC::XML's "smart" encoding, which sent ints for strings that contained only a number, fixing a longstanding crash of the rst plugin. 2010-09-14 15:37:45 -04:00
favicon.pm
filecheck.pm filecheck: Fall back to using the file command if the freedesktop magic file cannot identify a file. 2010-08-09 13:18:59 -04:00
flattr.pm Revert "insert flattr javascript via sanitize, not format hook" 2010-08-12 18:18:35 -04:00
format.pm setup file ordering 2010-02-12 06:35:52 -05:00
fortune.pm setup file ordering 2010-02-12 06:35:52 -05:00
getsource.pm add section information 2010-02-12 04:22:15 -05:00
git.pm git: When updating from remote, use git pull --prune, to avoid possible errors from conflicting obsolete remote branches. 2010-09-14 15:45:38 -04:00
goodstuff.pm
google.pm Add placeholder text in search form (in html5 mode only). 2010-05-02 13:49:56 -04:00
goto.pm add 2 more missing getsetup hooks 2010-07-14 14:44:40 -04:00
graphviz.pm Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040 2010-07-31 15:54:25 -04:00
haiku.pm setup file ordering 2010-02-12 06:35:52 -05:00
highlight.pm highlight: Make location of highlight's files configurable in setup file to allow for nonstandard installations. 2010-08-30 13:15:49 -04:00
hnb.pm hnb: Fixed broken use of mkstemp that had caused dangling temp files, and prevented actually rendering hnb files. 2010-06-27 13:49:51 -04:00
html.pm format plugin categorization 2010-02-12 01:10:36 -05:00
htmlbalance.pm htmlbalance: be compatible with HTML::Tree 4.0 2010-09-26 22:33:54 +01:00
htmlscrubber.pm htmlscrubber: Do not scrub url anchors that contain colons. 2010-08-19 13:59:31 -04:00
htmltidy.pm htmltidy: Return an error message if tidy fails. Closes: #543722 2009-08-27 16:27:57 -04:00
httpauth.pm httpauth: Avoid redirecting the user to the cgiauthurl if they already have a login session. 2010-08-30 18:33:00 -04:00
img.pm img: Add a margin around images displayed by this directive. 2010-07-05 14:04:49 -04:00
inline.pm template_depends: throw nice error message when template cannot be found 2010-09-27 15:58:01 -04:00
link.pm bugfix: record email-like links as page links 2010-06-23 14:05:57 -04:00
linkmap.pm setup file ordering 2010-02-12 06:35:52 -05:00
listdirectives.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
localstyle.pm localstyle: New plugin, allows overrding the toplevel local.css with one that is closer to a page. 2009-11-09 13:39:05 -05:00
lockedit.pm stop using REMOTE_ADDR 2010-06-23 16:35:51 -04:00
map.pm setup file ordering 2010-02-12 06:35:52 -05:00
mdwn.pm format plugin categorization 2010-02-12 01:10:36 -05:00
mercurial.pm rcs_getctime and rcs_getmtime take relative filenames 2010-06-23 19:32:53 -04:00
meta.pm meta: Ensure that the url specified by xrds-location is absolute. 2010-09-19 20:15:34 -04:00
mirrorlist.pm use a div, not a p .. and in html5, a nav 2010-05-02 14:41:20 -04:00
moderatedcomments.pm stop using REMOTE_ADDR 2010-06-23 16:35:51 -04:00
monotone.pm rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
more.pm remove unnecessary and troublesome filter calls 2010-07-04 15:06:48 -04:00
norcs.pm rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
opendiscussion.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
openid.pm openid: Fix handling of utf-8 nicknames. 2010-07-11 13:38:37 -04:00
orphans.pm setup file ordering 2010-02-12 06:35:52 -05:00
otl.pm format plugin categorization 2010-02-12 01:10:36 -05:00
pagecount.pm setup file ordering 2010-02-12 06:35:52 -05:00
pagestats.pm typo 2010-04-15 14:45:03 -04:00
pagetemplate.pm
parentlinks.pm add 2 more missing getsetup hooks 2010-07-14 14:44:40 -04:00
passwordauth.pm stop using REMOTE_ADDR 2010-06-23 16:35:51 -04:00
pingee.pm setup file ordering 2010-02-12 06:35:52 -05:00
pinger.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
po.pm use warn 2010-09-10 14:20:53 -04:00
poll.pm rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
polygen.pm setup file ordering 2010-02-12 06:35:52 -05:00
postsparkline.pm setup file ordering 2010-02-12 06:35:52 -05:00
prettydate.pm typo 2009-07-01 13:45:28 -04:00
progress.pm setup file ordering 2010-02-12 06:35:52 -05:00
rawhtml.pm format plugin categorization 2010-02-12 01:10:36 -05:00
recentchanges.pm finializing openid nickname support 2010-06-23 20:16:01 -04:00
recentchangesdiff.pm
relativedate.pm correct comment; javascript is put after <body> 2010-08-12 14:29:22 -04:00
remove.pm saner return codes for check_can{remove,rename} 2010-08-30 18:48:38 -04:00
rename.pm saner return codes for check_can{remove,rename} 2010-08-30 18:48:38 -04:00
repolist.pm add section information 2010-02-12 04:22:15 -05:00
rsync.pm setup file ordering 2010-02-12 06:35:52 -05:00
search.pm Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040 2010-07-31 15:54:25 -04:00
shortcut.pm setup file ordering 2010-02-12 06:35:52 -05:00
sidebar.pm Revert po vs. template kludges. 2010-07-11 11:03:41 +02:00
signinedit.pm Group related plugins into sections in the setup file, and drop unused rcs plugins from the setup file. 2010-02-11 22:24:15 -05:00
skeleton.pm.example needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
smiley.pm smiley: warn instead of error for missing smileys 2010-08-13 17:58:21 -04:00
sortnaturally.pm don't force a rebuild 2010-04-06 23:15:39 -04:00
sparkline.pm Use Digest::SHA built into perl rather than external Digest::SHA1 to simplify dependencies. Closes: #591040 2010-07-31 15:54:25 -04:00
svn.pm rcs_getctime and rcs_getmtime take relative filenames 2010-06-23 19:32:53 -04:00
table.pm call preprocess in scan mode hooks before scan hooks 2010-08-30 15:06:58 -04:00
tag.pm rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
template.pm template_depends: throw nice error message when template cannot be found 2010-09-27 15:58:01 -04:00
testpagespec.pm setup file ordering 2010-02-12 06:35:52 -05:00
teximg.pm teximg: Use Unicode UTF-8 encoding by default. 2010-09-09 18:21:33 -04:00
textile.pm format plugin categorization 2010-02-12 01:10:36 -05:00
theme.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
tla.pm rcs_commit and rcs_commit_staged api changes 2010-06-23 19:04:36 -04:00
toc.pm setup file ordering 2010-02-12 06:35:52 -05:00
toggle.pm correct comment; javascript is put after <body> 2010-08-12 14:29:22 -04:00
txt.pm txt: Add a special case for robots.txt. 2010-04-05 17:02:10 -04:00
typography.pm remove unnecessary IkiWiki:: 2010-02-12 04:01:04 -05:00
underlay.pm remove add_templates option 2010-04-22 14:35:00 -04:00
version.pm needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.) 2010-09-07 12:08:59 -04:00
websetup.pm more symetric enable/disable 2010-06-13 10:25:17 -04:00
wikitext.pm format plugin categorization 2010-02-12 01:10:36 -05:00
wmd.pm Encode not used 2010-06-16 15:30:33 -04:00