Changes between Version 33 and Version 34 of DownloadsPlugin
- Timestamp:
- Aug 24, 2016, 4:43:35 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DownloadsPlugin
v33 v34 6 6 7 7 This plugin provides a downloads section which may contain releases or other files. It is administrated via WebAdminPlugin and there is an interface to the {{{trac-admin}}} tool that may help during automatic server maintenance. The Downloads section of Trac displays a table with information about the uploaded files such as description, component, version, size, architecture, type and optionally assigned tags which the download is related to. It also collects information about the number of downloads which can be displayed on a wiki page together with direct links to the specified download. 8 9 See also: TracDownloaderPlugin 8 10 9 11 == Bugs/Feature Requests … … 29 31 !DownloadsPlugin for Trac 0.10 depends on WebAdminPlugin, since many of the configuration options are available only on appropriate WebAdminPlugin's pages. On Trac 0.11 this is supported by Trac itself. Optionally !DownloadsPlugin uses TagsPlugin for tags support. 30 32 33 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 34 35 == Configuration 36 31 37 After installing plugin's egg you can set up few configuration variables in the `trac.ini` file. Their default values are: 32 38 33 39 {{{#!ini 34 40 [downloads] 35 36 41 title = Downloads 37 42 path = /var/lib/trac/downloads … … 88 93 }}} 89 94 90 == Permissions95 === Permissions 91 96 92 !DownloadsPlugin defines threepermissions:97 This plugin defines the following permissions: 93 98 1. {{{DOWNLOADS_VIEW}}} for normal users. 94 1. {{{DOWNLOADS_ADD}}} and {{{DOWNLOADS_ADMIN}}} for people who upload and administrate downloads. 99 1. {{{DOWNLOADS_ADD}}} and {{{DOWNLOADS_ADMIN}}} for people who upload and administrate downloads. 95 100 1. {{{DOWNLOADS_ADD}}} permission is implemented since the 0.12 branch and allows a user to upload downloads without access to the WebAdmin interface. 96 101 … … 103 108 }}} 104 109 105 == Macros110 === Macros 106 111 107 112 There are a few wiki macros available: … … 131 136 Displays same table that is displayed in Downloads section of the Trac on a wiki page. Works with branch 0.12 only. 132 137 133 == Interface to `trac-admin`138 === Interface to `trac-admin` 134 139 135 140 There is the ability to list, insert or delete downloads from server's console/script with following commands: