[tahoe-lafs-trac-stream] [tahoe-lafs] #1579: Patch to Add "Move" Functionality to Web Interface

tahoe-lafs trac at tahoe-lafs.org
Thu Nov 10 08:22:32 UTC 2011


#1579: Patch to Add "Move" Functionality to Web Interface
-----------------------------------+---------------------------
     Reporter:  marcusw            |      Owner:
         Type:  enhancement        |     Status:  new
     Priority:  minor              |  Milestone:  soon
    Component:  code-frontend-web  |    Version:  n/a
   Resolution:                     |   Keywords:  review-needed
Launchpad Bug:                     |
-----------------------------------+---------------------------
Description changed by marcusw:

Old description:

> I made a patch to add a move button to the directory listing of the web
> interface. It's used to move a file/dir inside a dir to a different dir
> contained in that dir. I have not written unit tests yet but they should
> be ready in a few days. This patch applies cleanly to both the 1.9.0
> release (use patch -p1) and to the latest git
> (5fc99788269c350479b6ac51009d2725035ce0c5).
>
> I have tested it in practical usage and found it to work quite well and
> handle errors gracefully.
>
> Possible future improvements include the ability to move to a dircap URI
> outside of the current directory, but I will have to figure out how to
> convert a URI into a working DirectoryNode in a deferrer-friendly way
> before I can do this.

New description:

 I made a patch to add a move button to the directory listing of the web
 interface. It's used to move a file/dir inside a dir to a different dir
 contained in that dir. I have not written unit tests yet but they should
 be ready in a few days. This patch applies cleanly to both the 1.9.0
 release (use patch -p1) and to the latest git
 (5fc99788269c350479b6ac51009d2725035ce0c5).

 I have tested it in practical usage and found it to work quite well and
 handle errors gracefully.

 Possible future improvements include the ability to move to a dircap URI
 outside of the current directory, but I will have to figure out how to
 convert a URI into a working DirectoryNode in a deferrer-friendly way
 before I can do this.

 EDIT: Looks like I can't get the upload file thing to work.
 [https://pastee.org/rqrdj Here]'s a pastebin of the patch.

--

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1579#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list