Version 8 (modified by mitar, 6 years ago) (diff)


List attachments from Trac site


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.

Fork: I have made a small fork on Bitbucket with some improvements/fixes. Feel free to suggest new.

Bugs/Feature Requests

Existing bugs and feature requests for AllAttachmentsMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:allattachmentsmacro here].


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


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

14371 by rjollos on 2015-01-18 09:01:44
Fixed compatibility with Trac 1.1.2 and KeyError when milestone has attachments.
14370 by rjollos on 2015-01-18 08:54:54
Created branch for Trac 1.0 and later.
14369 by rjollos on 2015-01-18 08:54:32
PEP-0008 coding style changes.


Author: daan
Maintainer: rjollos