Joey Hess
762bf0b887
foldage
2008-07-23 19:25:46 -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
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
0c9fe2f99c
use check_canattach
...
As noted, this may be overkill..
2008-07-21 22:44:19 -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
7910f1c352
remove debugging
2008-07-21 16:53:46 -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
Joey Hess
af9c5e4bba
support for removing attachments
2008-07-21 15:02:29 -04:00
Joey Hess
a1df39ed4a
simplified confirmation form
...
also, there's no titlepage conversion issues
2008-07-21 14:22:57 -04:00
Joey Hess
b1b5860b29
touchups
2008-07-21 14:03:39 -04:00
Joey Hess
494e7ab8ba
redirect after removal
2008-07-21 13:53:34 -04:00
Joey Hess
c924c76bd8
basically, removal works
...
Still need to consider all the edge cases..
2008-07-21 13:50:12 -04:00
Joey Hess
a204f86786
form tweaks; use title
2008-07-21 13:31:58 -04:00
Joey Hess
b286ce04cb
implemented form state saving and retrieval
...
This is overkill for delete, since it's only used on Cancel. But it will be
crucial for rename, so as to restore any pending edits after renaming a
page.
2008-07-21 13:23:07 -04:00
Joey Hess
8e7b31a19c
basic removal form skeleton
2008-07-21 12:54:23 -04:00