Changes between Version 13 and Version 14 of TracSecDlPlugin
- Timestamp:
- Dec 9, 2020, 9:23:49 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracSecDlPlugin
v13 v14 3 3 = Enhance downloads with advanced features 4 4 5 {{{#!box info6 '''Notice''': This plugin is hosted at [https://gitlab.com/goeb/tracsecdl/ the Gitlab project page], so please visit that page for up to date information.7 }}}8 9 5 == Description 10 6 11 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 TagsPlugin] and [wiki:TracAdmin TracAdmin], and there is only a version available for Trac version 0.11.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. 12 8 13 9 Key features: … … 28 24 [[Image(admin.png)]] 29 25 30 To take a look at the regular user interface go to the download section on !TracSecDl's homepage.26 To take a look at the regular user interface, go to the download section on !TracSecDl's homepage. 31 27 32 28 == Bugs And Feature Requests 33 29 34 Existing bugs and feature requests for !TracSecDl can be found at [https:// bitbucket.org/goeb/tracsecdl/issues its bug tracker]. If you have any issues, please create a new ticket there.30 Existing bugs and feature requests for !TracSecDl can be found at [https://gitlab.com/goeb/tracsecdl/-/issues its bug tracker]. If you have any issues, please create a new ticket there. 35 31 36 32 == Download And Source Code … … 38 34 Visit the plugin's homepage and check the download section for available files. You can also clone the repository with {{{git}}}: 39 35 {{{#!sh 40 $ git clone https:// bitbucket.org/goeb/tracsecdl.git36 $ git clone https://gitlab.com/goeb/tracsecdl.git 41 37 }}} 42 38 … … 67 63 68 64 {{{lighty_secret}}}:: 69 If this is set the plugin will generate a URL suited for Lighttpd's mod_secdownload and redirect the browser to the generated URL.65 If this is set, then the plugin will generate a URL suited for Lighttpd's mod_secdownload and redirect the browser to the generated URL. 70 66 {{{regular_downloads}}}:: 71 If this is enabled, the plugin will generate a regular URL, ie without a mod_secdownload specific part, and redirect the browser to it.67 If this is enabled, then the plugin will generate a regular URL, ie without a mod_secdownload specific part, and redirect the browser to it. 72 68 {{{trac_downloads}}}:: 73 If this is enabled, the plugin (or rather Trac) will send the file to the client by itself.69 If this is enabled, then the plugin (or rather Trac) will send the file to the client by itself. 74 70 else:: 75 71 If none of the above was set, an error page will be displayed. … … 85 81 In both cases you have to make sure that requests to the {{{<prefix>}}} path are handled by the server itself and not by Trac, it depends on the server how to do that, see the appropriate documentation. Also, make sure that the directory specified by the {{{upload_dir}}} option is mapped accordingly to the {{{<prefix>}}} location. 86 82 87 '''Important:''' The plugin checks the user's permissions when a download is requested, and then sends a redirect to the actual location (except for local files if {{{trac_downloads}}} is used). In case of remote downloads and regular downloads, everyone who knows this target URL can access the file (unless there are other mechanisms to protect it). In case of mod_secdownload the download URL will be valid for a short time only (this is configured in the server configuration).83 '''Important:''' The plugin checks the user's permissions when a download is requested, and then sends a redirect to the actual location (except for local files if {{{trac_downloads}}} is used). In case of remote downloads and regular downloads, everyone who knows this target URL can access the file (unless there are other mechanisms to protect it). In case of mod_secdownload the download URL will be valid for a short time only. This is configured in the server configuration. 88 84 89 85 The recommended setup is Lighttpd with mod_secdownload (hence the plugin's name), if you do not need to protect your downloads (if they are all public anyway) you can also use the regular download option. It is not recommended to use the {{{trac_downloads}}} option for FastCGI setups, since the number of FastCGI processes is usually limited and this will block one process for the time of the download.