Commit Graph

10947 Commits (2fc62b2787d43b91e946862910497d823eb86418)

Author SHA1 Message Date
Amitai Schlair fb6c6895c6 Add NetBSD-style 2-clause BSD license. 2009-09-10 17:03:06 -04:00
Joey Hess e22af796e5 skip if cvsps is not available 2009-09-10 16:49:54 -04:00
Joey Hess 3b8673dbb2 add libfile-chdir-perl to build depends
This is needed for the cvs plugin to load, which is needed for the setup
file to include config stanzas for that plugin.
2009-09-10 16:42:35 -04:00
Joey Hess f2f3fe8a18 changelog 2009-09-10 16:34:45 -04:00
Joey Hess e5d9d3cc52 add rcs/cvs 2009-09-10 16:31:58 -04:00
Joey Hess e3f5fdcf37 remove hook not used by cvs 2009-09-10 16:28:39 -04:00
Joey Hess dd731d22c6 reorder vcs list 2009-09-10 16:22:58 -04:00
Joey Hess 60111384a9 formatting 2009-09-10 16:21:03 -04:00
Joey Hess 73224daf2c minor simplification 2009-09-10 16:20:21 -04:00
Joey Hess 1365ebf12f Merge commit 'schmonz/master' into cvs 2009-09-10 16:18:27 -04:00
Joey Hess 93cd30bc0a Merge branch 'master' into cvs 2009-09-10 16:18:23 -04:00
Joey Hess 59c88c2554 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-09-10 16:17:58 -04:00
Joey Hess fa2486c564 test from anon git 2009-09-10 16:16:56 -04:00
Joey Hess 26dae8f049 clean up use of IkiWiki::Receive
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-09-10 16:15:48 -04:00
http://joey.kitenet.net/ 078f76d7fd testing 2009-09-10 16:14:29 -04:00
Amitai Schlair 5ee980d77a catch up to genwrapper 2009-09-10 15:17:28 -04:00
Amitai Schlair 8063bc3402 Catch up to the new genwrapper hook. 2009-09-10 15:12:45 -04:00
Amitai Schlair 460b1a0deb Merge branch 'master' of git://github.com/joeyh/ikiwiki 2009-09-10 15:03:18 -04:00
Joey Hess 525d4cd037 new hook 2009-09-10 14:06:30 -04:00
Joey Hess 3ebd4e0b45 Add genwrapper hook, that can be used to add code into the C wrapper. 2009-09-10 14:04:46 -04:00
Joey Hess f5bd1cf3cd typo 2009-09-10 13:49:42 -04:00
Joey Hess c22b938631 Merge commit 'schmonz/master' into cvs 2009-09-10 13:44:31 -04:00
Joey Hess 81a9b5feff Merge branch 'master' into cvs 2009-09-10 13:44:27 -04:00
Joey Hess 98ed7cb1d7 Fix parsing web commits from ipv6 addresses.
I weakended the regexp, so this matches ipv6 addresses too. It does not
ensure that the address is valid, but that should not matter here.

Note that addresses ending in "::" are not matched, so eg, the unspecified
address will not match -- but should never appear here anyway.
2009-09-10 13:32:13 -04:00
suxx1k 22f0260324 2009-09-10 09:51:28 -04:00
suxx1k b3cceb0f61 2009-09-10 09:50:34 -04:00
Amitai Schlair d2b57ae20f File::chdir is needed now 2009-09-10 00:59:05 -04:00
Amitai Schlair 98553d1537 CVS operations generally need to be within CVS checkouts, so these chdir()
calls are warranted. They shouldn't modify the caller's working directory,
though. Use File::chdir to keep the scope of the changes subroutine-local.
The tests now pass without resetting the working directory.
2009-09-10 00:51:34 -04:00
Amitai Schlair 689106ad3a automated tests added (and they highlight that the plugin should
probably restore the caller's working directory)
2009-09-09 23:17:15 -04:00
Amitai Schlair 12bbc6c919 Add automated tests, modeled after svn's. Note the chdir() calls;
perhaps cvs.pm should be doing pushd/popd in case the caller expects
its working directory to be left alone.
2009-09-09 23:09:26 -04:00
Amitai Schlair b7415543c1 describe current state of wrapper modification 2009-09-09 22:42:47 -04:00
Amitai Schlair 1b4c3fb551 note refactored wrapper tweakulation 2009-09-09 22:36:23 -04:00
Amitai Schlair aafd267ee0 Abstract out CVS's involvement in the wrapper:
* In Wrapper.pm, add a new hook "wrapperargcheck" to examine argc/argv
  and return success or failure. In the failure case, the wrapper
  terminates.

* In cvs.pm, implement the new hook to return failure if a directory is
  being cvs added.
2009-09-09 21:58:42 -04:00
Amitai Schlair 5f44dd8e77 Merge branch 'master' of git://github.com/joeyh/ikiwiki 2009-09-09 14:44:52 -04:00
Joey Hess 2a99ebf276 underlay: Also allow configuring additional directories to search for template files in. 2009-09-08 17:27:37 -04:00
Joey Hess 93ab004cc2 memoize template_file
This avoids a lot of unncessary stats, and trims about 1 second
off a docwiki rebuild here.
2009-09-08 17:20:04 -04:00
Joey Hess c2ae7966ca Revert spam. This spammer's IP has now been blocked.
This reverts commit 9c144163ea.
2009-09-08 15:19:16 -04:00
Joey Hess ccb1e94076 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-09-08 15:17:53 -04:00
Joey Hess 55474f44d9 Expand banned_users; it can now include PageSpecs, which allows banning by IP address. 2009-09-08 15:17:39 -04:00
nicole.adams 9c144163ea 2009-09-08 15:10:06 -04:00
Joey Hess 064b507c53 Revert spam
This reverts commit 629ff41d91.
2009-09-08 15:02:06 -04:00
Joey Hess 4bc65c1f45 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-09-08 15:01:12 -04:00
alicia.warner 629ff41d91 2009-09-08 14:58:37 -04:00
Joey Hess 1f828d280a update 2009-09-08 14:38:57 -04:00
Joey Hess 6d170066e9 Revert spam
This reverts commit c1c933ca65.
2009-09-08 14:27:51 -04:00
WikiJeanHawkins c1c933ca65 2009-09-08 14:21:49 -04:00
Joey Hess f2e438c095 Revert spam
This reverts commit 4317647263.
2009-09-08 14:16:19 -04:00
Joey Hess e9c9952b11 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-09-08 14:15:32 -04:00
alicia.warner 4317647263 2009-09-08 14:12:35 -04:00
Amitai Schlair 1332327f5e Merge branch 'master' of git://github.com/joeyh/ikiwiki 2009-09-08 13:08:49 -04:00