Changes between Version 5 and Version 6 of DownloadsPlugin


Ignore:
Timestamp:
Jan 21, 2008, 2:11:21 AM (7 years ago)
Author:
Blackhex
Comment:

Tags and content updated.

Legend:

Unmodified
Added
Removed
Modified
  • DownloadsPlugin

    v5 v6  
    33== Description ==
    44
    5 This plugin provides downloads section which may contain release or other files. It is administrable via WebAdminPlugin and shows informations about uploaded files such as description, component, version, size, architecture and type which is download related to. It collects information about number of downloads too.
     5This plugin provides downloads section which may contain release or other files. It is administrable via WebAdminPlugin and shows information about uploaded files such as description, component, version, size, architecture and type which is download related to. It collects information about number of downloads too.
    66
    77== Bugs/Feature Requests ==
     
    2323== Dependencies ==
    2424
    25 DownloadsPlugin depends on WebAdminPlugin since many configuration options are avaiable only on apropriate WebAdminPlugin's pages. Support for TagsPlugin is planned too.
     25DownloadsPlugin for Trac 0.10 depends on WebAdminPlugin since many configuration options are avaiable only on apropriate WebAdminPlugin's pages. On Trac 0.11 this is supported by Trac itself. Optionally DownloadsPlugin uses TagsPlugin for tags support.
    2626
    2727== Installation ==
     
    3535path = /var/lib/trac/downloads
    3636ext = zip gz bz2 rar
    37 visible_fields = id file description size time count author tags component version architecture platform type # Currently not implemented.
     37visible_fields = id file description size time count author tags component version \
     38  architecture platform type # Currently not implemented.
     39unique_filename = False
    3840}}}
    3941
    40 Variable {{{title}}} sets text of main navigation bar button. {{{path}}} is location where uploaded downloads are stored. It has to be accesible for writing to web server. Setting {{{ext}}} variable restricts allowed extensions of uploaded files. Finally {{{visibled_field}}} variable controls appearance of downloads table columns in Downloads sections.
     42Variable {{{title}}} sets text of main navigation bar button. {{{path}}} is location where uploaded downloads are stored. It has to be accesible for writing to web server. Setting {{{ext}}} variable restricts allowed extensions of uploaded files. If {{{unique_filename}}} is enabled, plugin checks if file name of download file is not already occupied by any other download file. Finally, {{{visibled_field}}} variable controls appearance of downloads table columns in Downloads section.
    4143
    4244If you run Trac in environment which needs to enable plugins explicitly put in trac.ini these lines:
     
    6062== Permissions ==
    6163
    62 DownloadsPlugin defines two permissions {{{DOWNLOADS_VIEW}}} for normal users and {{{DOWNLOADS_ADMIN}}} for people who uploads and administrates downloads.
     64DownloadsPlugin defines two permissions: {{{DOWNLOADS_VIEW}}} for normal users and {{{DOWNLOADS_ADMIN}}} for people who uploads and administrates downloads.
    6365
    6466You can grant them using these commands:
     
    7173== Macros ==
    7274
    73 There is only macro for downloads referencing on wiki pages:
     75There is only macro with two possible evocations for downloads referencing on wiki pages:
    7476
    7577{{{
    76 [download:<download_id> <text>]
     78[download:<download_id> <text>] or
     79[download:<download_filename> <text>]
    7780}}}
    7881