Opened at 2011-11-10T08:16:39Z
Last modified at 2012-05-10T00:35:31Z
#1579 closed enhancement
Patch to Add "Move" Functionality to Web Interface — at Initial Version
Reported by: | marcusw | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.10.0 |
Component: | code-frontend-web | Version: | 1.9.1 |
Keywords: | move webapi | Cc: | |
Launchpad Bug: |
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.