Amitai Schlair
5e94e973ee
Only examine argv if the VCS is cvs.
2009-08-30 02:00:49 -04:00
Amitai Schlair
968c6c93b4
Remove debug statement.
2009-08-30 01:45:09 -04:00
Amitai Schlair
2d1ff30e13
Knock off another to-do item: "Don't slurp the entire cvsps output
...
into memory (!)."
2009-08-30 01:14:22 -04:00
Amitai Schlair
b493f9b6d8
Knock off a to-do item: "If the argument to cvs add smells like a
...
binary file, cvs add -kb it (for attachment support)."
2009-08-30 00:17:42 -04:00
Amitai Schlair
992d0aac09
The string to match might not be "New directory" exactly, so match that
...
substring instead.
2009-08-30 00:05:23 -04:00
Amitai Schlair
6191f3fbb9
Remove getopt() hook (it's a dead end, unsafe to pass wrapper args to
...
ikiwiki). Crunch on-demand module loads into one-liners. Comment why
cvsps output is getting read in its entirety and reversed.
2009-08-29 21:35:54 -04:00
Amitai Schlair
5da229aa51
Instead of passing the args through the wrapper so the CVS plugin
...
can evaluate them, check them in the wrapper right off the bat.
This doesn't prevent the deadlock in web commits that need to cvs
add directories, but I'm committing so Joey can take a look if he
wants.
2009-08-23 18:25:02 -04:00
Amitai Schlair
607534cecc
Explain that command must run unattended, and lose the debug statement.
2009-08-23 15:43:18 -04:00
Amitai Schlair
844169c9b0
I'm not redefining any subs after all, don't prevent those warnings.
2009-08-23 15:21:39 -04:00
Amitai Schlair
3d6bc6e1b7
Add rsync plugin, though the only rsync-specific thing about it is the
...
assumption that uploading an entire site is efficient.
2009-08-23 15:18:41 -04:00
Amitai Schlair
5bdcd4d57b
Oops, use the more recent (and less brittle) directory test.
2009-08-22 02:22:36 -04:00
Amitai Schlair
524de4db26
Pass along wrapper args to ikiwiki, then handle the "cvs add dir"
...
case with a getopt hook directly in my plugin. If the wrapper change
is safe, we won't need a wrapper wrapper.
2009-08-22 01:25:41 -04:00
Amitai Schlair
5c0e56d149
Put old unixauth plugin under git control. Needs some serious attention.
2009-08-21 22:51:12 -04:00
Amitai Schlair
2b7a003794
Add my CVS plugin and related patches.
2009-08-13 16:56:26 -04:00
Joey Hess
4971f873a0
more idiomatic use of foreach
2009-08-12 12:49:40 -04:00
Joey Hess
63ce4459f5
fix some more foreaches that clal functions to not use $_
2009-08-12 12:49:16 -04:00
Joey Hess
906c8f6e58
use a more idiomatic foreach my
2009-08-12 12:43:57 -04:00
Joey Hess
04014e4775
inline: Avoid use of my $_ as it fails with older perls. Closes : #541215
2009-08-12 12:33:02 -04:00
Joey Hess
b4d7dfcbe1
po: Detect if nowrapi18n can't be passed to po4a, and warn about the old version, but continue. Closes : #541205
2009-08-12 12:26:07 -04:00
Joey Hess
83480665c2
po: Fix copy of po file from underlay when editing
...
When first editing a page that was in the underlay, avoid losing
the translation by copying the po file over from the underlay.
2009-08-10 15:59:32 -04:00
Joey Hess
8f6e0212fd
verify page name is sane
...
paranoia; I was thinking about XSS attacks specificaly
2009-08-08 12:27:48 -04:00
Joey Hess
22edaf77c2
fix misleading comment
2009-08-08 12:23:50 -04:00
Joey Hess
79312b2754
Merge commit 'smcv/ready/getsource'
...
Conflicts:
debian/changelog
2009-08-08 12:22:10 -04:00
Joey Hess
f1a70921e3
Merge commit 'remotes/smcv/ready/inline-pagenames' into staging
2009-07-31 10:25:43 +02:00
Joey Hess
0bbb3d201e
Merge commit 'remotes/smcv/ready/harishcm-map-fix' into staging
2009-07-31 10:23:06 +02:00
Joey Hess
3d27dac809
Merge commit 'remotes/smcv/ready/among'
2009-07-31 10:12:23 +02:00
Joey Hess
9d96250fc5
img: Fix adding of dependency from page to the image.
...
This was impressively broken. add_depends was being called with params
backwards, and on parameter was set to the name of the generated
file, which isn't in the source.
Now updates to images will update the page that contains them, thus
updating them. This is unncessary for fullsize images, so skipped.
2009-07-27 22:22:26 +02:00
Simon McVittie
70b1c2aabd
getsource: remove temporary variable
2009-07-27 11:58:36 +01:00
Simon McVittie
2ef53b128d
getsource: remove unnecessary IkiWiki:: prefixes
...
Many variables and functions are exported.
2009-07-26 17:04:49 +01:00
Simon McVittie
ea244ab7b5
getsource: don't allow getting the source of an attachment
...
Serving up images etc. as text/plain; charset=utf-8 is unlikely to work
very well, and there's no point in having this CGI action for attachments
(since they're copied into the output as-is anyway).
2009-07-26 17:04:34 +01:00
Simon McVittie
0afcec7346
getsource: turn missing pages into a 404
...
Also restructure so we return early on missing pages.
2009-07-26 17:04:30 +01:00
Simon McVittie
3f520da78a
getsource: default to saying page source is in UTF-8, and make the example match the default
...
IkiWiki mostly assumes that pages are in UTF-8; anyone this doesn't work
for can override it in the setup file.
2009-07-26 16:36:17 +01:00
Simon McVittie
eaf59e5ba9
getsource: run as plain CGI, rather than sessioncgi
...
As I suggested when reviewing Will's code, calling loadindex() should be
sufficient.
2009-07-26 16:33:12 +01:00
Will Uther
01e4cb1464
Add getsource plugin
2009-07-26 16:22:56 +01:00
harishcm
786b78be46
Fix failure to close <ul> in maps with no items
...
Signed-off-by: Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/ >
2009-07-25 20:16:11 +01:00
Joey Hess
60ee03bd70
revert revert
2009-07-23 12:01:54 +02:00
Joey Hess
a29507ec26
improve string to be less confusing
2009-07-23 11:52:33 +02:00
Joey Hess
e01badd3e7
reverted a few of the string changes
...
Improved one string.
2009-07-23 11:48:02 +02:00
Jonas Smedegaard
3bdc366e73
Merge branch 'master' of git://git.ikiwiki.info
2009-07-23 01:17:40 +02:00
Jonas Smedegaard
27071f0ba9
Change rendering→building in translatable strings, to ease translations.
2009-07-23 00:53:23 +02:00
Jonas Smedegaard
28b572a61e
Rephrase suggestion to not get confused as info on action already done.
2009-07-23 00:50:42 +02:00
Jonas Smedegaard
106b073ce1
Rephrase 'linked to by' confusing for translators.
2009-07-23 00:48:00 +02:00
Jonas Smedegaard
8b7389b426
Improve translatable texts to ease translation (e.g. to→into and from→inside)
2009-07-23 00:43:28 +02:00
Jonas Smedegaard
dc9e0f3e32
Fix typo attepting→attempting
2009-07-23 00:41:33 +02:00
Joey Hess
88d4fb15ba
add --previous at bubulle's suggestion
2009-07-22 17:48:49 +02:00
Joey Hess
c56ff6cd47
relocate po directory up a level
2009-07-21 13:16:26 +02:00
Joey Hess
637f32480c
turn off pot file underlay again
2009-07-21 12:40:44 +02:00
Joey Hess
cebffa917f
improve invalid gettext message
...
(and gettext it as translators will see this!)
2009-07-21 12:39:21 +02:00
Joey Hess
1610b1e9e6
update
2009-07-21 12:38:40 +02:00
Joey Hess
7532eff2b7
update
2009-07-21 11:40:25 +02:00