Changes between Version 5 and Version 6 of DownloadsPlugin
- Timestamp:
- Jan 21, 2008, 1:11:21 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DownloadsPlugin
v5 v6 3 3 == Description == 4 4 5 This plugin provides downloads section which may contain release or other files. It is administrable via WebAdminPlugin and shows information sabout uploaded files such as description, component, version, size, architecture and type which is download related to. It collects information about number of downloads too.5 This 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. 6 6 7 7 == Bugs/Feature Requests == … … 23 23 == Dependencies == 24 24 25 DownloadsPlugin depends on WebAdminPlugin since many configuration options are avaiable only on apropriate WebAdminPlugin's pages. Support for TagsPlugin is planned too.25 DownloadsPlugin 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. 26 26 27 27 == Installation == … … 35 35 path = /var/lib/trac/downloads 36 36 ext = zip gz bz2 rar 37 visible_fields = id file description size time count author tags component version architecture platform type # Currently not implemented. 37 visible_fields = id file description size time count author tags component version \ 38 architecture platform type # Currently not implemented. 39 unique_filename = False 38 40 }}} 39 41 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.42 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. 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. 41 43 42 44 If you run Trac in environment which needs to enable plugins explicitly put in trac.ini these lines: … … 60 62 == Permissions == 61 63 62 DownloadsPlugin defines two permissions {{{DOWNLOADS_VIEW}}} for normal users and {{{DOWNLOADS_ADMIN}}} for people who uploads and administrates downloads.64 DownloadsPlugin defines two permissions: {{{DOWNLOADS_VIEW}}} for normal users and {{{DOWNLOADS_ADMIN}}} for people who uploads and administrates downloads. 63 65 64 66 You can grant them using these commands: … … 71 73 == Macros == 72 74 73 There is only macro for downloads referencing on wiki pages:75 There is only macro with two possible evocations for downloads referencing on wiki pages: 74 76 75 77 {{{ 76 [download:<download_id> <text>] 78 [download:<download_id> <text>] or 79 [download:<download_filename> <text>] 77 80 }}} 78 81