List attachments from Trac site
Notice: This plugin is unmaintained and available for adoption.
Description
This is a wiki macro that can be used to show all attachments uploaded on a Trac site. The attachments are displayed as a list of filenames, showing filesize, author and the source of the attachment (wikipage or ticket).
The following examples show its usage when added to a wiki page:
[[AllAttachments()]] # Show all attachments [[AllAttachments(ticket)]] # Show the attachments that are linked to tickets [[AllAttachments(wiki)]] # Show the attachments that are linked to wiki pages [[AllAttachments(milestone)]] # Show the attachments that are linked to milestones
With the following patch it is also possible to list attachments on blog posts, provided the FullBlogPlugin is installed:
[[AllAttachments(blog)]] # Show the attachments that are linked to blog posts
See also: FileListPlugin
Bugs/Feature Requests
Please use GitHub for any issues you have with AllAttachmentsMacro.
Existing bugs and feature requests for AllAttachmentsMacro are here.
defect |
4 / 4 |
|
---|---|---|
enhancement |
0 / 3 |
|
task |
1 / 1 |
Download
Download the zipped source from here.
Source
You can clone AllAttachmentsMacro from here using git, or browse the source on GitHub or here.
There is also a version available on PyPi.
Installation
To install this macro, run the following:
$ pip install AllAttachmentsMacro
For more information, please follow documentation on how to install Trac plugins.
Author/Contributors
Author: daan
Maintainers: none (needsadoption), mitar
Contributors: