summaryrefslogtreecommitdiff
path: root/ikiwiki.in
AgeCommit message (Collapse)Author
2010-07-24move wrapper building loop into Wrapper.pmJoey Hess
2010-07-08Add --changesetup mode that allows easily changing options in a setup file.Joey Hess
2010-05-04version IkIWiki use, to help prevent wacky mismatch errorsJoey Hess
2010-04-16automatically run --gettime, and optimise it for gitJoey Hess
* Automatically run --gettime the first time ikiwiki is run on a given srcdir. * Optimise --gettime for git, so it's appropriatly screamingly fast. (This could be done for other backends too.) * However, --gettime for git no longer follows renames. * Use above to fix up timestamps on docwiki, as well as ensure that timestamps on basewiki files shipped in the deb are sane.
2010-04-16--gettime revampJoey Hess
* Rename --getctime to --gettime. (The old name still works for backwards compatability.) * --gettime now also looks up last modification time. * Add rcs_getmtime to plugin API; currently only implemented for git.
2010-03-24work around silly warningJoey Hess
2010-03-24fix unicode with YAML::SyckJoey Hess
Syck-- it doesn't use unicode by default?! Hello, 2010 calling..
2010-03-24add newline to --set-yaml valueJoey Hess
YAML is picky about the data ending with a newline, and this makes it easier to accomplish that
2010-03-24fall back from YAML::Any to just YAMLJoey Hess
for portabilty to old YAML in Debian stable that lacks the former.
2010-03-24Add --set-yaml switch for setting more complex config file options.Joey Hess
2010-03-14Add a include setting, which can be used to make ikiwiki process wiki source ↵Joey Hess
files, such as .htaccess, that would normally be skipped for security or other reasons. Closes: #447267 (Thanks to Aaron Wilson for the original patch.)
2010-02-28Add new --clean option; this makes ikiwiki remove all built files in the ↵Joey Hess
destdir, as well as wrappers and the .ikiwiki directory.
2009-09-10clean up use of IkiWiki::ReceiveJoey Hess
Loading and use of IkiWiki::Receive can all be pushed into the git plugin, rather than scattered around. I had at first wanted to make a receive plugin and move it there, but a plugin was not a good fit; you don't want users to have to manually load it, and making the git plugin load the receive plugin at the right times would need more, and ugly code.
2009-05-22remove -T from ikiwiki.in, add back if NOTAINT=0Joey Hess
2009-02-09Fix unusual --setup --post-commit command line option combo.Joey Hess
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
1997-08-14Correct --dumpsetup to include the srcdir in the setup file.Joey Hess
1997-08-14fix --wrappergroupJoey Hess
Was documented to work at command line, but didn't
2008-10-30require srcdir and destdir params when --render used w/o --setupJoey Hess
The srcdir is needed by --render, so if --setup is not specified, read it at the command line.
2008-10-30fix --setup --renderJoey Hess
In this mode, rebuild mode should not be on
2008-10-29Preserve syslog setting when doing `ikiwiki -setup foo -dumpsetup bar`Joey Hess
The syslog value from the setup file is purposfully ignored when doing ikiwiki -setup, so that it will output to stdout (while generating wrappers that do use the syslog). But that caused -dumpsetup to not preserve the syslog value from the setup file.
2008-10-26do no-op post_commit test in wrapperJoey Hess
This speeds up web commits by 1/4th of a second or so, since perl does not have to start up for the post commit hook. perl's locking is completly FuBar, since it's impossible to tell what perl flock() really does, and thus difficult to write code in other languages that interoperates with perl's locking. (Let alone interoperating with existing fcntl locking from perl...) In this particular case, I think I was able to find a way to avoid the insanity, mostly. The C code does a true flock(2), and if perl is using an incompatable lock method that does not use the same locking primative at the kernel level, then the C code's test will fail, and it will go ahead and run the perl code. Then the perl code's test will test the right thing. On Debian, at least lately, perl's flock() does a true flock(2), so the optimisation does work.
2008-10-26move untrusted committer test into the wrapperJoey Hess
This saves around 1/4th second per trusted commit since ikiwiki doesn't need to start up.
2008-10-23untrusted committers code seems to be fully workingJoey Hess
Still need to investigate possible races, and test some more.
2008-10-23more work on untrusted committersJoey Hess
Wired up check_canedit and check_canremove, still need to deal with check_canattach, and test.
2008-10-23Merge branch 'master' into git-anonJoey Hess
2008-10-23Optimise the no-op post-commit hook in the web edit case by skipping loading ↵Joey Hess
plugins. (Particularly a win when using external plugins.)
2008-10-22initial support for git repos with untrusted committersJoey Hess
Still need to wire up the calls to check_* , but it's cold out here and my hands are going numb, so enough for now.
2008-10-01typoJoey Hess
2008-09-30don't say rebuilding wiki when refreshingJoey Hess
If run w/o --refresh, it should still say "refreshing wiki", if there's no setup file specifed.
2008-09-27Epand usage message and add --help. Closes: #500344Joey Hess
2008-09-23allow setup file to enable verbose modeJoey Hess
2008-09-20Fix reversion in use of ikiwiki -verbose -setup with a setup file that ↵Joey Hess
enables syslog. Setup output is once again output to stdout in this case. Implemented by stashing the verbose/syslog values set in the setup file, and using those values in the generated wrappers, but not allowing them to take effect during the setup operation itself, so that command-line options, appearing before or after -setup, are honored. Also, some cleanups to how %config is generated for wrappers, removing some fields that do not need to be recorded inside the wrapper.
2008-09-08Avoid uninitialised value when --dumpsetup is used and no srcdir/destdir ↵Joey Hess
specified.
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-05remove WRAPPED_OPTIONS once loadedJoey Hess
This makes reentrant ikiwiki calls from wrappers work.
2008-08-05avoid forcing verbose offJoey Hess
Setting to undef rather than 0 means that setup files generated from the cgi wrapper will not have verbose set to 0, but instead commented out.
2008-08-05Revert "typo"Joey Hess
This reverts commit c8d3626c51bdc53781d9431b1da88ae1e92dc2d5.
2008-08-05typoJoey Hess
2008-07-27checkconfig before wrapper setupJoey Hess
Necessary now that the plugins control what wrappers are built.
2008-07-26allow --dumpsetup to be used w/o specifying srcdir and destdirJoey Hess
shortcut tried to use srcdir in checkconfig; change it to not so this will work.
2008-07-26refactorJoey Hess
2008-07-26can now dump fully functional setup filesJoey Hess
2008-07-26don't clear syslog config when dumpingJoey Hess
2008-07-26httpauth removed long agoJoey Hess
2008-07-26fixesJoey Hess
2008-07-26add dumpsetup option; refactorJoey Hess
2008-07-25add getconfig for inlineJoey Hess
Also, moved the pingurl getopt parsing to inline.
2008-07-12revert eval changeJoey Hess
2008-07-12only htmlize errors when cgi is actually runningJoey Hess