Changes between Version 14 and Version 15 of TracSecDlPlugin
- Timestamp:
- Dec 23, 2020, 11:49:28 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracSecDlPlugin
v14 v15 5 5 == Description 6 6 7 This plugin adds a download section to Trac. It was inspired by and offers nearly all the features of the [wiki:DownloadsPlugin]. !TracSecDl currently lacks integration with the [wiki:TagsPlugin] and [wiki:TracAdmin], and there is a version available for Trac version 0.11 only.7 This plugin adds a download section to Trac. It was inspired by and offers nearly all the features of the DownloadsPlugin. !TracSecDl currently lacks integration with the TagsPlugin and TracAdmin, and there is a version available for Trac version 0.11 only. 8 8 9 9 Key features: … … 18 18 * automatic calculation of MD5 and SHA512 checksums for uploaded files 19 19 * configurable limits siuch as for file size, total file size, total number of files, see [#Configuration below] for more options 20 * [ wiki:TracWiki Wiki] and [wiki:TracTimeline Timeline] integration20 * [TracWiki Wiki] and [TracTimeline Timeline] integration 21 21 22 22 The admin interface looks as follows: … … 46 46 }}} 47 47 48 This will create an egg file somewhere, probably in the `dist/` folder. Place this file in a plugin directory where it can be found by Trac, for example the [ wiki:TracEnvironment environment's] `plugins/` directory.48 This will create an egg file somewhere, probably in the `dist/` folder. Place this file in a plugin directory where it can be found by Trac, for example the [TracEnvironment environment's] `plugins/` directory. 49 49 50 Enable the plugin by putting the following in your [ wiki:TracIni trac.ini] file:50 Enable the plugin by putting the following in your [TracIni trac.ini] file: 51 51 {{{#!ini 52 52 [components] … … 56 56 Please do not disable individual parts of the plugin, this is not well tested. 57 57 58 Check the [ wiki:TracPlugins TracPlugins installation guide], especially if you have trouble installing the plugin.58 Check the [TracPlugins TracPlugins installation guide], especially if you have trouble installing the plugin. 59 59 60 60 == Download Processing … … 94 94 Comma separated list of allowed file extensions (without leading dot). Leave this empty to not restrict the file types. The default is {{{'zip,gz,bz2,rar'}}}. See also the {{{no_extension}}} option. 95 95 {{{lighty_prefix}}}:: 96 Must be set to the Lighttpd {{{secdownload-uri-prefix}}} configuration value if mod_secdownload is used. The final download URL will be constructed using this value as the first part after the root path, followed by the protected part of the URL. If regular downloads are enabled, the URL will be the same but without the protected part. Note that if you do not start the value for this option with a {{{'/'}}}, an URL relative to the [ wiki:TracEnvironment Trac environment] root will be created. This is in most cases not what you want! The default value is {{{'/download/'}}}.96 Must be set to the Lighttpd {{{secdownload-uri-prefix}}} configuration value if mod_secdownload is used. The final download URL will be constructed using this value as the first part after the root path, followed by the protected part of the URL. If regular downloads are enabled, the URL will be the same but without the protected part. Note that if you do not start the value for this option with a {{{'/'}}}, an URL relative to the [TracEnvironment Trac environment] root will be created. This is in most cases not what you want! The default value is {{{'/download/'}}}. 97 97 {{{lighty_secret}}}:: 98 98 The secret key to protect the downloads (Lighttpd {{{secdownload.secret}}} configuration value). The downloads using mod_secdownload are disabled if this is left empty (default).