summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup.pm
AgeCommit message (Collapse)Author
2010-07-08fix child process error propigationJoey Hess
$? holds the full exit status
2010-07-08fork a child to run dumpsetupJoey Hess
2010-06-13websetup: Allow enabling plugins listed in disable_plugins.Joey Hess
The bug here was that disabling a plugin included thru goodstuff, like htmlscrubber, caused it to be added to disable_plugins, and those plugins were never loaded, so could not be re-enabled. Fix by allowing them to be force loaded when appropriate. (Also that allows disabled plugins to still record their setup options when dumping a setup file.)
2010-05-21disable warnings when evaling setup filesJoey Hess
In particular, perl warns if a qw{} contains a #, but openids can. If the setup file has 'use warnings', it will turn warning messages back on, so it seems reasonable to squelch them by default.
2010-03-21check for 'require' instead of 'use'Joey Hess
2010-03-19shorten setuptypeJoey Hess
2010-03-19parameterized indentJoey Hess
2010-03-19move generic comment into IkiWiki::SetupJoey Hess
2010-03-19factored out generic commented line dumpingJoey Hess
2010-03-19allow multiple setup file types, and support safe parsingJoey Hess
Finally removed the last hardcoding of IkiWiki::Setup::Standard. Take the first "IkiWiki::Setup::*" in the setup file to define the setuptype, and remember that type to use in dumping later. (But it can be overridden using --set, etc.) Also, support setup file types that are not evaled.
2010-02-12setup file orderingJoey Hess
2010-02-12rewordJoey Hess
2010-02-11Group related plugins into sections in the setup file, and drop unused rcs ↵Joey Hess
plugins from the setup file.
2009-09-23avoid ugly messages when running ikiwiki -setup on a *directory*Joey Hess
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-09-01don't fail if %config is not setJoey Hess
2008-08-06Options set in the setup file are now immediatly loaded by ikiwiki -setup. ↵Joey Hess
This allows later switches to override them. Previously, setup file options overrode most command line options.
2008-08-05save the full path to the setup fileJoey Hess
2008-08-05avoid forcing syslog settingJoey Hess
This avoids forcing the setting to 0 if it was not set at all.
2008-08-03plugin safe/rebuild controlsJoey Hess
2008-08-02avoid syslog whining from broken pluginsJoey Hess
2008-08-02don't install demo external plugins by defaultJoey Hess
2008-08-02refactorJoey Hess
2008-07-27lose the ugly $rawsetup, use a functionJoey Hess
2008-07-26fixupsJoey Hess
2008-07-26wrapper setup reorgJoey Hess
Flattened the wrapper setup, as this lets it be handled better by the setup generation code.
2008-07-26refactorJoey Hess
2008-07-26refactorJoey Hess
2008-07-26can now dump fully functional setup filesJoey Hess
2008-07-26add dumpsetup option; refactorJoey Hess
2008-07-12Add missing requirement of IkiWiki::render before starting to render thingsSimon McVittie
2008-07-11fix use orderingJoey Hess
The recent setup revamp exposed some latent bugs in use/package ordering that caused some symbols to not the exported into the correct scope.
2008-07-09clarifications, commentsJoey Hess
2008-07-09Make it possible to load setup files w/o running them. Code needing to do so ↵Joey Hess
can call IkiWiki::Setup::load, and the values will be loaded into %IkiWiki::Setup::setup.
2007-11-17* Better error message when a setup file has a syntax error.Joey Hess
Closes: #451666
2007-01-04added some comments for translatorsjoey
2006-12-29* Initial work on internationalization of the program code. po/ikiwiki.potjoey
is available for translation. * Export gettext() from IkiWiki module.
2006-09-10* Patch from Recai to use utf8 when reading the setup file, so thatjoey
utf8 wikinames from there will be used properly.
2006-05-02* Split off an IkiWiki.pm out of ikiwiki and have all the other modules usejoey
it, this will allow for adding a unit test suite.
2006-03-26add --refresh and make it with with --setupjoey
2006-03-24fixesjoey
2006-03-23Major code reoganisation, splitting up the single big file. The two goalsjoey
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.