wiki:AllAttachmentsMacro

List attachments from Trac site

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).

See also: FileListPlugin

Bugs/Feature Requests

Please use GitHub for any issues you have with AllAttachmentsMacro.

Old tickets are here.

Download

Download the zipped source from here.

Source

You can clone AllAttachmentsMacro from here using git, or browse the source on GitHub or here.

Installation

To install this macro, run the following:

pip install AllAttachmentsMacro

For more information, please follow documentation on how to install Trac plugins.

Usage

[[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

Author/Contributors

Author: daan
Maintainers: Ryan J Ollos, mitar
Contributors:

Last modified 3 months ago Last modified on Aug 23, 2016, 8:04:00 PM