Joey Hess
2b9615194e
fix gettext
2008-07-22 19:44:31 -04:00
Joey Hess
421559b230
edit page fixup in postrename
2008-07-22 18:17:11 -04:00
Joey Hess
e5ea40bf20
updates
2008-07-22 17:52:36 -04:00
Joey Hess
89b3bb7e38
check for absolute paths
2008-07-22 17:38:31 -04:00
Joey Hess
9776bbf853
Don't allow uploading an attachment with the same name as an existing page, to avoid confusion.
2008-07-22 17:12:20 -04:00
Joey Hess
114e20e948
typo
2008-07-22 17:03:28 -04:00
Joey Hess
cbddb5a4b8
add rcs_commit_staged and rcs_rename
...
Implemented for git and svn so far.
Note that rcs_commit_staged does assume that the rcs has the ability to
"stage" multiple changes for a later commit. Support for this varies, but
all we really care about is staging removals and renames, which, AFAIK, all
modern rcs's support.
2008-07-22 16:14:33 -04:00
Joey Hess
cf9620074a
qualifiy
2008-07-22 15:07:07 -04:00
Joey Hess
bac47cdecd
make message a bit more generic
2008-07-22 15:06:59 -04:00
Joey Hess
cbf1c8b810
rename checks improvements
2008-07-22 14:01:23 -04:00
Joey Hess
569d31d875
permission checking improvements
...
Break out into function so it can be done up-front before confirmation too.
2008-07-22 13:29:54 -04:00
Joey Hess
ac1226031e
avoid uninitialised value
2008-07-22 13:23:11 -04:00
Joey Hess
a759a864f3
Merge commit 'origin/master' into tova
2008-07-22 13:17:04 -04:00
http://lollipopman.myopenid.com/
3ac17b8328
2008-07-22 09:02:45 -04:00
http://lollipopman.myopenid.com/
ee2c3290a9
2008-07-22 09:01:36 -04:00
http://lollipopman.myopenid.com/
b083b409bf
2008-07-22 08:59:53 -04:00
http://gmcmanus.myopenid.com/
b2917c76cb
bug when pages changing extension; new patch
2008-07-22 05:33:24 -04:00
http://gmcmanus.myopenid.com/
602ad172d0
patch to prevent email obfuscation
2008-07-22 05:10:46 -04:00
http://brian.may.myopenid.com/
4515726bfe
response to response
2008-07-22 01:28:20 -04:00
http://gmcmanus.myopenid.com/
88ff7480e6
bug already noted, so mark as done
2008-07-22 01:22:14 -04:00
http://gmcmanus.myopenid.com/
2e51d5c74d
email obfuscation by Text::Markdown undone by HTML::Scrubber
2008-07-21 23:25:17 -04:00
Joey Hess
80f95cc598
improve docs
2008-07-21 22:46:15 -04:00
Joey Hess
a3e16cd29f
really add
2008-07-21 22:44:37 -04:00
Joey Hess
0c9fe2f99c
use check_canattach
...
As noted, this may be overkill..
2008-07-21 22:44:19 -04:00
Joey Hess
f9cbe871ad
factor out check_canattach
...
Other plugins will need to use this.
2008-07-21 22:41:31 -04:00
Joey Hess
96c529826d
skeleton rename plugin
2008-07-21 22:30:43 -04:00
Joey Hess
ed05e40566
error if nothing selected
2008-07-21 22:11:24 -04:00
Joey Hess
6e243a45e5
probably redundant symlink check
2008-07-21 21:57:58 -04:00
Joey Hess
9d5c9ce258
Merge branch 'master' into tova
2008-07-21 21:23:58 -04:00
Joey Hess
c2a2f71508
Add allow_symlinks_before_srcdir config setting
...
can be used to avoid a security check that is a good safe default, but
problimatic overkill in some situations.
I decided to underdocument this, because the option looks ugly, and I don't
want people randomly turning it on because it looks like a good idea. So if
you need it, you'll get an error message mentioning how to fix it.
2008-07-21 18:33:09 -04:00
Joey Hess
e630e7507e
Avoid troublesome abs_path calls in wrapper setup
...
As documented in the forum post.
2008-07-21 18:26:14 -04:00
Joey Hess
fda61c9349
response
2008-07-21 18:20:55 -04:00
Joey Hess
f91c2c6d77
response
2008-07-21 18:13:03 -04:00
Joey Hess
18d2403647
Merge branch 'master' into tova
...
Conflicts:
debian/changelog
2008-07-21 17:27:50 -04:00
Joey Hess
c2ffd205f3
Really fix bug with links to pages with names containing colons
...
Previous fix mised a few cases.
2008-07-21 17:27:14 -04:00
Joey Hess
c323a51efb
remove test
2008-07-21 17:18:14 -04:00
Joey Hess
fcbdc3f05b
test
2008-07-21 17:16:10 -04:00
Joey Hess
9a8b0744a3
typo
2008-07-21 17:15:12 -04:00
Joey Hess
9187e53575
test
2008-07-21 17:14:43 -04:00
Joey Hess
b884cbd00f
response
2008-07-21 17:12:17 -04:00
Joey Hess
09331644a2
changelog
2008-07-21 17:06:40 -04:00
Joey Hess
edfe869381
Merge commit 'smcv/master'
2008-07-21 17:05:40 -04:00
Simon McVittie
09a5cdbb34
Don't prepend tagbase to tags if they start with "./" or "/".
...
That syntax made little sense previously, and this allows sites to put
"most" of their tags under $tagbase.
2008-07-21 22:02:55 +01:00
Joey Hess
97e21ae21c
don't show an error if the image is missing, instead, a broken link
2008-07-21 16:53:52 -04:00
Joey Hess
7910f1c352
remove debugging
2008-07-21 16:53:46 -04:00
Joey Hess
d724a26754
avoid internal error message when img uses just-deleted page
...
I think this used to be a fatal error, not just inline error, so I don't
know why it was never noticed, but if a page that an img directive mentions
gets deleted, bestlink() returns a file that no longer exists, and
srcfile() throws an error.
Note that bestlink's behavior of returning a deleted file could be
considered buggy. But, if it's changed to not do that, the page with the img
on it is not updated at all when the file is removed.
2008-07-21 16:38:40 -04:00
Joey Hess
d9af10a1be
typos
2008-07-21 16:21:59 -04:00
Joey Hess
90de84b442
typos
2008-07-21 16:21:46 -04:00
Joey Hess
b182f5e573
need to untaint..
2008-07-21 16:20:02 -04:00
Joey Hess
2461ce0de6
a few bugfixes
...
Including a check the the file is in the srcdir, as opposed to some other
directory.
2008-07-21 16:18:28 -04:00