# IMPORTANT! If you add plugins that involve interface changes, you
# will need to modify our templates to allow this, as our custom
# template does not support them yet. See ~/src/ikiwiki/templates
- add_plugins => [qw(goodstuff html httpauth rename remove 404)],
+ add_plugins => [qw(goodstuff html httpauth rename remove 404 attachment color)],
# plugins to disable
# IMPORTANT! If you reenable passwordauth/openid, you need to
# do some modifications described in TODO.SIPB in the source-tree
# attachment plugin
# enhanced PageSpec specifying what attachments are allowed
- #allowed_attachments => 'virusfree() and mimetype(image/*) and maxsize(50kb)',
+ allowed_attachments => 'virusfree() and (mimetype(image/*) or mimetype(application/pdf)) and maxsize(10000kb)',
# virus checker program (reads STDIN, returns nonzero if virus found)
- #virus_checker => 'clamdscan -',
+ virus_checker => 'clamscan -',
# calendar plugin
# base of the archives hierarchy
# unix users whose commits should be checked by the pre-receive hook
#untrusted_committers => [],
# gitweb url to show file history ([[file]] substituted)
- historyurl => '/cgit/cgit.cgi/wiki/log/[[file]]',
+ historyurl => '/gitweb.cgi?p=wiki.git;a=history;f=[[file]]',
# gitweb url to show a diff ([[file]], [[sha1_to]], [[sha1_from]], [[sha1_commit]], and [[sha1_parent]] substituted)
- diffurl => '/cgit/cgit.cgi/wiki/diff/?id=[[sha1_commit]]',
+ diffurl => '/gitweb.cgi?p=wiki.git;a=commitdiff;h=[[sha1_commit]]',
# where to pull and push changes (set to empty string to disable)
#gitorigin_branch => 'origin',
# branch that the wiki is stored in