41 | | path = /var/lib/trac/downloads |
42 | | ext = zip gz bz2 rar # For 0.10 and 0.11 branch. |
43 | | ext = zip,gz,bz2,rar # For 0.12 branch. |
44 | | additional_tags = author,component,version,architecture,platform,type # 0.12 branch only. |
45 | | visible_fields = id file description size time count author tags component version \ |
46 | | architecture platform type # For 0.10 and 0.11 branch. |
47 | | visible_fields = id,file,description,size,time,count,author,tags,component,version, \ |
48 | | architecture,platform,type # For 0.12 branch. |
| 39 | additional_tags = author,component,version,architecture,platform,\ |
| 40 | type # If TagsPlugin is installed |
| 41 | architecture_sort = name |
| 42 | architecture_sort_direction = asc |
| 43 | consoleadmin_user = anonymous |
| 44 | download_sort = time |
| 45 | download_sort_direction = desc |
| 46 | ext = zip,gz,bz2,rar |
| 47 | max_size = 268697600 |
| 48 | path = ../downloads |
| 49 | platform_sort = name |
| 50 | platform_sort_direction = asc |
| 51 | type_sort = name |
| 52 | type_sort_direction = asc |
54 | | * The {{{path}}} is the location where the uploaded downloads are stored. It has to be accessible for writing to web server. |
55 | | * Setting {{{ext}}} variable restricts allowed extensions of uploaded files. |
56 | | * If {{{unique_filename}}} is enabled, then the plugin checks if the file name of the download file is not already occupied by any other download file. |
57 | | * {{{visible_fields}}} variable controls appearance of downloads table columns in Downloads section. |
58 | | * {{{consoleadmin_user}}} option serves for permission checks when listing, adding or removing downloads using {{{trac-admin}}}. This option is available only in 0.12 branch. |
59 | | * Another option available only in 0.12 branch is {{{additional_tags}}} that configures from which fields the download tags should be also generated. |
| 59 | * The `path` is the location where the uploaded downloads are stored. It has to be accessible for writing to web server. |
| 60 | * Setting `ext` variable restricts allowed extensions of uploaded files. |
| 61 | * If `unique_filename` is enabled, then the plugin checks if the file name of the download file is not already occupied by any other download file. |
| 62 | * `visible_fields` variable controls appearance of downloads table columns in Downloads section. |
| 63 | * `consoleadmin_user` option serves for permission checks when listing, adding or removing downloads using `trac-admin`. |
| 64 | * `additional_tags` configures from which fields the download tags should be also generated. |
67 | | tracdownloads.api.DownloadsApi = enabled |
68 | | tracdownloads.core.DownloadsCore = enabled |
69 | | tracdownloads.init.DownloadsInit = enabled |
70 | | tracdownloads.timeline.DownloadsTimeline = enabled |
71 | | tracdownloads.wiki.DownloadsWiki = enabled |
72 | | tracdownloads.admin.DownloadsWebAdmin = enabled # Branch 0.10 and 0.11. |
73 | | tracdownloads.webadmin.DownloadsWebAdmin = enabled # Branch 0.12 only. |
74 | | tracdownloads.consoleadmin.DownloadsConsoleAdmin = enabled # Branch 0.12 only. |
75 | | tracdownloads.core.DownloadsDownloads = enabled # Branch 0.12 only. |
76 | | tracdownloads.tags.DownloadsTags = enabled # With TagsPlugin installed. |
| 70 | tracdownloads.* = enabled |