Changes between Version 33 and Version 34 of DownloadsPlugin


Ignore:
Timestamp:
Aug 24, 2016, 4:43:35 PM (8 years ago)
Author:
figaro
Comment:

Added link to similar plugin

Legend:

Unmodified
Added
Removed
Modified
  • DownloadsPlugin

    v33 v34  
    66
    77This 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
     9See also: TracDownloaderPlugin
    810
    911== Bugs/Feature Requests
     
    2931!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.
    3032
     33General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
     34
     35== Configuration
     36
    3137After installing plugin's egg you can set up few configuration variables in the `trac.ini` file. Their default values are:
    3238
    3339{{{#!ini
    3440[downloads]
    35 
    3641title = Downloads
    3742path = /var/lib/trac/downloads
     
    8893}}}
    8994
    90 == Permissions
     95=== Permissions
    9196
    92 !DownloadsPlugin defines three permissions:
     97This plugin defines the following permissions:
    9398 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.
    95100 1. {{{DOWNLOADS_ADD}}} permission is implemented since the 0.12 branch and allows a user to upload downloads without access to the WebAdmin interface.
    96101
     
    103108}}}
    104109
    105 == Macros
     110=== Macros
    106111
    107112There are a few wiki macros available:
     
    131136Displays same table that is displayed in Downloads section of the Trac on a wiki page. Works with branch 0.12 only.
    132137
    133 == Interface to `trac-admin`
     138=== Interface to `trac-admin`
    134139
    135140There is the ability to list, insert or delete downloads from server's console/script with following commands: