aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
Commit message (Collapse)AuthorAge
* require srcdir and destdir params when --render used w/o --setupJoey Hess2008-10-30
| | | | | The srcdir is needed by --render, so if --setup is not specified, read it at the command line.
* fix --setup --renderJoey Hess2008-10-30
| | | | In this mode, rebuild mode should not be on
* Preserve syslog setting when doing `ikiwiki -setup foo -dumpsetup bar`Joey Hess2008-10-29
| | | | | | | 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.
* do no-op post_commit test in wrapperJoey Hess2008-10-26
| | | | | | | | | | | | | | | | | | | 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.
* move untrusted committer test into the wrapperJoey Hess2008-10-26
| | | | | This saves around 1/4th second per trusted commit since ikiwiki doesn't need to start up.
* untrusted committers code seems to be fully workingJoey Hess2008-10-23
| | | | Still need to investigate possible races, and test some more.
* more work on untrusted committersJoey Hess2008-10-23
| | | | | Wired up check_canedit and check_canremove, still need to deal with check_canattach, and test.
* Merge branch 'master' into git-anonJoey Hess2008-10-23
|\
| * Optimise the no-op post-commit hook in the web edit case by skipping loading ↵Joey Hess2008-10-23
| | | | | | | | plugins. (Particularly a win when using external plugins.)
* | initial support for git repos with untrusted committersJoey Hess2008-10-22
|/ | | | | 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.
* typoJoey Hess2008-10-01
|
* don't say rebuilding wiki when refreshingJoey Hess2008-09-30
| | | | | If run w/o --refresh, it should still say "refreshing wiki", if there's no setup file specifed.
* Epand usage message and add --help. Closes: #500344Joey Hess2008-09-27
|
* allow setup file to enable verbose modeJoey Hess2008-09-23
|
* Fix reversion in use of ikiwiki -verbose -setup with a setup file that ↵Joey Hess2008-09-20
| | | | | | | | | | | | | | 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.
* Avoid uninitialised value when --dumpsetup is used and no srcdir/destdir ↵Joey Hess2008-09-08
| | | | specified.
* Options set in the setup file are now immediatly loaded by ikiwiki -setup. ↵Joey Hess2008-08-06
| | | | This allows later switches to override them. Previously, setup file options overrode most command line options.
* remove WRAPPED_OPTIONS once loadedJoey Hess2008-08-05
| | | | This makes reentrant ikiwiki calls from wrappers work.
* avoid forcing verbose offJoey Hess2008-08-05
| | | | | 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.
* Revert "typo"Joey Hess2008-08-05
| | | | This reverts commit c8d3626c51bdc53781d9431b1da88ae1e92dc2d5.
* typoJoey Hess2008-08-05
|
* checkconfig before wrapper setupJoey Hess2008-07-27
| | | | Necessary now that the plugins control what wrappers are built.
* allow --dumpsetup to be used w/o specifying srcdir and destdirJoey Hess2008-07-26
| | | | | shortcut tried to use srcdir in checkconfig; change it to not so this will work.
* refactorJoey Hess2008-07-26
|
* can now dump fully functional setup filesJoey Hess2008-07-26
|
* don't clear syslog config when dumpingJoey Hess2008-07-26
|
* httpauth removed long agoJoey Hess2008-07-26
|
* fixesJoey Hess2008-07-26
|
* add dumpsetup option; refactorJoey Hess2008-07-26
|
* add getconfig for inlineJoey Hess2008-07-25
| | | | Also, moved the pingurl getopt parsing to inline.
* revert eval changeJoey Hess2008-07-12
|
* only htmlize errors when cgi is actually runningJoey Hess2008-07-12
|
* Add --prefix-directives and --no-prefix-directives options to ikiwikiJosh Triplett2008-02-08
| | | | This avoids the need to set prefix_directives with --set.
* * cgi hooks are now run before ikiwiki state is loaded.Joey Hess2008-02-03
| | | | | * This allows locking the wiki before loading state, which avoids some tricky locking code when saving a web edit.
* * Removed support for sending commit notification mails. Along with it wentJoey Hess2008-01-29
| | | | | the svnrepo and notify settings, though both will be ignored if left in setup files.
* * Allow -cgi -wrapper to be passed on the command line to generate ajoey2007-08-28
| | | | | wrapper. * Fix some taint issues with generating wrappers using the command line.
* * Fix --libdir to work at the command line.joey2007-08-13
| | | | | * Plugins can now be written as standalone external programs, which can be written in any language that can do XML::RPC.
* * Add --set-option command line switch.joey2007-08-04
|
* * Add a libdir config option to let ikiwiki load perl modules, includingjoey2007-07-27
| | | | plugins, from a user-configurable directory.
* * Add a htmlext config option, this can be used to make ikiwiki generatejoey2007-07-25
| | | | html files with a different extension.
* * Finally apply the index.html patch, with thanks to everyone who workedjoey2007-04-01
| | | | | | 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.
* * Hide excess backlinks and expand using CSS trick; control quantiy viajoey2007-03-31
| | | | the numbacklinks setting.
* * Add --post-commit option, which allows for the case of a split web serverjoey2007-03-29
| | | | | | 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.
* * Since the CGI had to drop the wiki lock to avoid deadlocking thejoey2007-02-21
| | | | | | | | commit hook, it was possible for one CGI to race another one and "win" the commit of both their files. This race has been fixed by adding a new commitlock, which when locked by the CGI, disables the commit hook (except for commit mails). The CGI then takes care of the updates the commit hook would have done.
* * Add canedit hook, allowing arbitrary controls over when a page can bejoey2007-02-02
| | | | | | | | | | | | | edited. * Move code forcing signing before edit to a new "signinedit" plugin, and code checking for locked pages into a new "lockedit" plugin. Both are enabled by default. * Remove the anonok config setting. This is now implemented by a new "anonok" plugin. Anyone with a wiki allowing anonymous edits should change their configs to enable this new plugin. * Add an opendiscussion plugin that allows anonymous users to edit discussion pages, on a wiki that is otherwise wouldn't allow it. * Lots of CGI code reorg and cleanup.
* userdir fixesjoey2006-12-29
|
* * Allow disabling of plugins included in goodstuff.joey2006-12-29
|
* * Initial work on internationalization of the program code. po/ikiwiki.potjoey2006-12-29
| | | | | is available for translation. * Export gettext() from IkiWiki module.
* typojoey2006-12-21
|
* * Turn $config{wiki_file_prune_regexps} into an array that is easier tojoey2006-12-21
| | | | | | | | | | | manipulate. * Only exclude rss and atom files from processing if the inline plugin is enabled and that feed type is enabled. Else it's just a copyable file type. * Move rss and atom option handling code into the inline plugin. * Applied a rather old patch from Recai to fix the "pruning is too strict" issue. Now you can have wiki source directories inside dotdirs and the like, if you want.