Contents
Upload files to the Trac site directory
Notice: This plugin is unmaintained and available for adoption.
Description
This plugin allows an administrator to upload and manage files in the Trac environment's htdocs
directory.
Files can then be referenced by using the site/
url in the trac.ini
file. For a direct URL one would append /chrome/site/
to the base Trac URL.
Requires WebAdmin.
Bugs/Feature Requests
Existing bugs and feature requests for SiteUploadPlugin are here.
If you have any issues, create a new ticket.
defect |
7 / 8 |
||
---|---|---|---|
enhancement |
1 / 5 |
Download
Download the zipped source from here.
Source
You can check out SiteUploadPlugin from here using Subversion, or browse the source with Trac.
Installation
General instructions on installing Trac plugins can be found on the TracPlugins page.
Add the following to your trac.ini
file:
[components] siteupload.* = enabled
Then simply access the interface via the Admin page.
Feedback
John the email link on this page keeps being bounced so I'm adding this here, feel free to remove/edit as you see fit:
Thanks for making siteupload available, it really simplifies uploading files. There are a couple of really nice things about it:
- it makes available the contents of htdocs directly; so if you already have files in there, they automatically show up in the siteuploads list, nothing else to do!
- you can find out the traclink to put in wiki to access the file uploaded by mousing over the file link in the siteuploads page (won't be necessary in 0.11 due to the new htdocs: link type)
Couple of things would be nice to add, keeping in mind the KISS principle:
- download status: not necessary for small files, but for large files the web page is frozen during the upload so even something as simple as a "status" text field that gets updated once per second with the percentage of file currently uploaded (e.g. by reading the file size currently in htdocs) would be sufficient;
- support subfolders within htdocs:
- flattened list of folder tree under htdocs (ie you don't need to code a tree view, just a list)
- ability to select one of those folders as the destination for the upload
- ability to create new subfolder in selected folder
- ability to delete selected folder
- ability to rename any of the selected folders or files; this would probably work by showing a new panel when user clicks "rename", containing one text field for every selection, with default text being current name, and in which user can enter new name, plus one "submit" button that submits the set of changes.
Anyways keep up the good work!
Oliver
Recent Changes
Author/Contributors
Author: pacopablo
Maintainer: none (needsadoption)
Contributors: