wiki:AllAttachmentsMacro

Version 16 (modified by figaro, 8 years ago) (diff)

Further cosmetic changes

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

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: none (needsadoption), mitar
Contributors: