List attachments from Trac site

Description

Adds a wiki macro that shows 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 macro was previously hosted on an external site.

Bugs/Feature Requests

Existing bugs and feature requests for AllAttachmentsMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out AllAttachmentsMacro from here using Subversion, or browse the source with Trac.

Example

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

Recent Changes

[9861] by mitar on 02/14/11 01:32:58

Cleaned macro.

[9854] by rjollos on 02/13/11 06:52:20

Reverting accidental change to revision info in [9853]. Refs #8446.

[9853] by rjollos on 02/13/11 06:46:56

Added permission check. Patch by mitar. Fixes #8446.

[9852] by rjollos on 02/13/11 06:45:55

Renamed macro file.

Author/Contributors

Author: daan
Maintainer: rjollos
Contributors: mitar