Hello Team/Developers
A new app ‘Files’ is now ready to be a part of Allura
A summary on its functionality :
Options available on both files and folders:
a. Edit : name of file or folder can be edited
b. Delete : Deletes from the DB, irreversible change. Like in Sourceforge, on delete action the admin
has to type ‘DELETE’ to confirm.
c. Disable : The file that is disabled or the files under a disabled folder are no longer downloadable.
The file/folder row in the table is greyed out. The disabled folder can be enabled.
If certain version is buggy or obsolete, admin can make it disabled.
It is completely the admin’s choice weather to use Disable, or Delete or both.
Option available only on files:
Link : One file per project can be linked to the ‘Download’ button (this would typically be the latest executable of the project)
Option available only on folders:
Publish: Sends a mail to all subscribers of this app.
To be able to publish a folder, a file under it should be linked to the Download button. Typically, this option is used to publish a new version, so the executable under this folder has to be linked to the Download button.
On the publish option, the admin can provide release notes (in a text area in the publish dialog) that will be included in the notification mail.
Here the snippets of the complete view of the app with all the Admin options, for a file and a folder, which is uploaded under a long hierarchy (i.e folder inside folder) is uploaded.
Please go through the attachments.
Done via https://forge-allura.apache.org/p/allura/git/merge-requests/350/ and a few additional commits from me.