diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-13 16:47:44 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-13 16:50:02 -0400 |
commit | 74906ed13f85f0b7b9215d82390e7ccb28551642 (patch) | |
tree | 609199fa58ce00cdd41c88a8eedc9266b453eea5 /Assistant/WebApp/Types.hs | |
parent | df337bb63b4ed6e5d2ce563ec89d28d192e791db (diff) |
UI for enabling special remotes
Now other repositories can configure special remotes, and when their
configuration has propigated out, they'll appear in the webapp's list of
repositories, with a link to enable them.
Added support for enabling rsync special remotes, and directory special
remotes that are on removable drives. However, encrypted directory special
remotes are not supported yet. The removable drive configuator doesn't
support them yet anyway.
Diffstat (limited to 'Assistant/WebApp/Types.hs')
-rw-r--r-- | Assistant/WebApp/Types.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Assistant/WebApp/Types.hs b/Assistant/WebApp/Types.hs index 8cf5d40ad..c00150b65 100644 --- a/Assistant/WebApp/Types.hs +++ b/Assistant/WebApp/Types.hs @@ -91,3 +91,7 @@ instance PathPiece PairMsg where instance PathPiece SecretReminder where toPathPiece = pack . show fromPathPiece = readish . unpack + +instance PathPiece UUID where + toPathPiece = pack . show + fromPathPiece = readish . unpack |