Commit Graph

11132 Commits (ee56af29e189a7ca0f2a814a76d9086b6f41af9a)

Author SHA1 Message Date
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
Joey Hess 4601b5b6f9 Fix some typos in Czech translation
(cherry picked from commit 0f2eebc5355f1fcd64e5feb92f4aa7b2c39b4cac)
2009-09-08 02:25:48 -04:00
Joey Hess 3813632a8f comment 2009-09-07 13:47:34 -04:00
http://schmonz.livejournal.com/ ca32904720 move apt-get comment here 2009-09-07 12:54:24 -04:00
http://schmonz.livejournal.com/ e953865045 revert previous; with pkgsrc you'd need textproc/p5-Text-CSV, but let's not proliferate that sort of thing here 2009-09-07 12:51:56 -04:00
http://hendry.iki.fi/ 8691bc006e Can't markup [[!table Error: ]] 2009-09-07 05:53:50 -04:00
Joey Hess 507d8ace62 thoughts on translating the templates files 2009-09-06 13:26:42 -04:00
http://eric.shared.dre.am/ a149d54fbf 2009-09-04 19:17:14 -04:00
Joey Hess 8c55424b11 Merge commit 'schmonz/master' into cvs
Conflicts:
	IkiWiki/Plugin/cvs.pm
2009-09-04 17:16:28 -04:00
Joey Hess fc2bd0afe1 Merge branch 'master' into cvs 2009-09-04 17:15:11 -04:00
Amitai Schlair 127ed4d6c7 no more IPC::Cmd or String::ShellQuote, huzzah 2009-09-04 15:08:48 -05:00
Amitai Schlair ab88adc5e4 Merge branch 'master' of git://github.com/joeyh/ikiwiki 2009-09-04 15:02:58 -05:00
Amitai Schlair d79cf3728d It's STDOUT we have to shut up for cvs, and $savedout has to be
restored just so.
2009-09-04 14:56:55 -05:00
Joey Hess 21239db156 raking the sandbox cleaN 2009-09-04 14:53:34 -04:00
Amitai Schlair 9de742bb00 Stop using IPC::Cmd and String::ShellQuote, since quoting (and
having to quote, and the possible use of the shell) sucks. Stop
passing args to cvs_runcvs() as an arrayref, since that also sucks
(and was a sop to IPC::Cmd). Instead, use Joey's construction for
temporarily redirecting stderr to /dev/null. Much much simpler and
better. Works on my laptop with bozohttpd, now to test on the NetBSD
wiki.
2009-09-04 12:40:04 -05:00
Joey Hess 93bd5932eb Remove dup first post
This reverts commit 4c4c53c292.
2009-09-04 12:42:59 -04:00