Version 6 (modified by Ryan J Ollos, 8 years ago) (diff)

Preparing wiki page for import of macro from an external site.

List all attachments on 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.

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 08:01:44
Fixed compatibility with Trac 1.1.2 and KeyError when milestone has attachments.
14370 by rjollos on 2015-01-18 07:54:54
Created branch for Trac 1.0 and later.
14369 by rjollos on 2015-01-18 07:54:32
PEP-0008 coding style changes.


Author: daan
Maintainer: rjollos