Age | Commit message (Collapse) | Author |
|
destdir, as well as wrappers and the .ikiwiki directory.
|
|
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.
|
|
|
|
|
|
|
|
|
|
Was documented to work at command line, but didn't
|
|
The srcdir is needed by --render, so if --setup is not specified, read it
at the command line.
|
|
In this mode, rebuild mode should not be on
|
|
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.
|
|
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.
|
|
This saves around 1/4th second per trusted commit since ikiwiki
doesn't need to start up.
|
|
Still need to investigate possible races, and test some more.
|
|
Wired up check_canedit and check_canremove, still need to deal with
check_canattach, and test.
|
|
|
|
plugins. (Particularly a win when using external plugins.)
|
|
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.
|
|
|
|
If run w/o --refresh, it should still say "refreshing wiki", if there's no
setup file specifed.
|
|
|
|
|
|
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.
|
|
specified.
|
|
This allows later switches to override them. Previously, setup file options overrode most command line options.
|
|
This makes reentrant ikiwiki calls from wrappers work.
|
|
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.
|
|
This reverts commit c8d3626c51bdc53781d9431b1da88ae1e92dc2d5.
|
|
|
|
Necessary now that the plugins control what wrappers are built.
|
|
shortcut tried to use srcdir in checkconfig; change it to not so this will
work.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also, moved the pingurl getopt parsing to inline.
|
|
|
|
|
|
This avoids the need to set prefix_directives with --set.
|
|
* This allows locking the wiki before loading state, which avoids some
tricky locking code when saving a web edit.
|
|
the svnrepo and notify settings, though both will be ignored if left in
setup files.
|
|
wrapper.
* Fix some taint issues with generating wrappers using the command line.
|
|
* Plugins can now be written as standalone external programs, which can
be written in any language that can do XML::RPC.
|
|
|
|
plugins, from a user-configurable directory.
|
|
html files with a different extension.
|
|
on and supported creating it (especially Tumov). This adds a "usedirs"
option that makes ikiwiki use foo/index.html instead of foo.html as
output page names. It is not yet enabled by default.
|
|
the numbacklinks setting.
|
|
and RCS server (or a push mirror). With this the RCS server can have a
real post-commit hook that sshs back to the web server, and runs ikiwiki
in post-commit mode to update the wiki.
|