Changes between Version 13 and Version 14 of TracSecDlPlugin


Ignore:
Timestamp:
Dec 9, 2020, 9:23:49 PM (3 years ago)
Author:
figaro
Comment:

Bitbucket no longer offers mercurial hosted projects

Legend:

Unmodified
Added
Removed
Modified
  • TracSecDlPlugin

    v13 v14  
    33= Enhance downloads with advanced features
    44
    5 {{{#!box info
    6 '''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 
    95== Description
    106
    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.
     7This 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.
    128
    139Key features:
     
    2824[[Image(admin.png)]]
    2925
    30 To take a look at the regular user interface go to the download section on !TracSecDl's homepage.
     26To take a look at the regular user interface, go to the download section on !TracSecDl's homepage.
    3127
    3228== Bugs And Feature Requests
    3329
    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.
     30Existing 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.
    3531
    3632== Download And Source Code
     
    3834Visit the plugin's homepage and check the download section for available files. You can also clone the repository with {{{git}}}:
    3935{{{#!sh
    40 $ git clone https://bitbucket.org/goeb/tracsecdl.git
     36$ git clone https://gitlab.com/goeb/tracsecdl.git
    4137}}}
    4238
     
    6763
    6864 {{{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.
    7066 {{{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.
    7268 {{{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.
    7470 else::
    7571    If none of the above was set, an error page will be displayed.
     
    8581In 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.
    8682
    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.
    8884
    8985The 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.