Commit Graph

16 Commits (7fa275249335b3546d320012ca40be0c8c50edeb)

Author SHA1 Message Date
joey 349ff86006 * Make ikiwiki --setup --refresh rebuild wrappers, so wrapper rebuild
will be automatically done on all upgrades.
2006-07-04 00:28:59 +00:00
joey 7ea8df24b3 * Introduce add_plugins and disable_plugins config options in setup files.
This allows adding or removing plugins w/o overriding the whole list of
  default plugins, which makes it easier to upgrade when new default plugins
  are added.
2006-07-03 21:29:56 +00:00
joey af9566ff1a rather a lot of changes to make hyperestraier search be a plugin, allowing
for other types of search engine plugins if wanted, and also opening up a
lot of new possibilities for other kinds of plugins later

some notable changes along the way:

- lots of new hook types: cgi, render, delete
- wrapper files fixed to support config strings with newlines in them
- HEADERCONTENT in page template useful for plugins. Probably needs to be
  expanded to more such for other places plugins might want to add content.
- remove unnecessary wrappers field from config info stored in wrappers
2006-05-03 21:50:39 +00:00
joey fe6b271501 deep copy/untaint arrays in setup 2006-05-02 04:18:44 +00:00
joey 170a6de6ab fix comment 2006-04-21 16:39:59 +00:00
joey ffc0be87d7 add --refresh and make it with with --setup 2006-03-26 05:08:41 +00:00
joey b056a106b8 load index before refresh 2006-03-24 02:11:10 +00:00
joey 0943c375d4 another sub, wow 2006-03-23 08:04:34 +00:00
joey 5513fb4654 lock wiki here too 2006-03-23 07:58:43 +00:00
joey e3b9e716d0 missing include 2006-03-23 07:55:25 +00:00
joey 6c8cf5dd57 Major code reoganisation, splitting up the single big file. The two goals
kept in mind during this are a) to reduce load time for common cases like
cgi and post-commit and b) make the code easier to navigate.

This also modularises RCS support to the extent that it should be possible
to drop in a module for some RCS other than svn, add a switch for it, and
it pretty much just work.

High chance I missed an edge case that breaks something, this is only
barely tested at this point.
2006-03-23 06:51:15 +00:00
joey 2eb5893ce7 fix config restoration after wrapper gen 2006-03-23 04:07:58 +00:00
joey 8978c1d959 fix oops in %config handling 2006-03-23 04:02:19 +00:00
joey e4d9da55d9 At Branden's request, clean up the hardcoded ".ikiwiki" everywhere, and add
checkoptions() that can be used to set defaults for this and other options
based on existing options.

Also involved some cleanups to how gen_wrapper is used.
2006-03-23 04:01:02 +00:00
joey befdf00f8a fixes 2006-03-15 04:59:39 +00:00
joey 0a52e8fd82 config files now based on perl modules
add MakeMaker foo for module
2006-03-15 03:24:34 +00:00