List attachments from Trac site

Notice: This plugin is unmaintained and available for adoption.


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

The following examples show its usage when added to a wiki page:

[[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
[[AllAttachments(milestone)]]	# Show the attachments that are linked to milestones

With the following patch it is also possible to list attachments on blog posts, provided the FullBlogPlugin is installed:

[[AllAttachments(blog)]]	# Show the attachments that are linked to blog posts

See also: FileListPlugin

Bugs/Feature Requests

Please use GitHub for any issues you have with AllAttachmentsMacro.

Existing bugs and feature requests for AllAttachmentsMacro are here.


4 / 4


0 / 3


1 / 1


Download the zipped source from here.


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

There is also a version available on PyPi.


To install this macro, run the following:

$ pip install AllAttachmentsMacro

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


Author: daan
Maintainers: none (needsadoption), mitar

Last modified 15 months ago Last modified on Mar 29, 2023, 11:25:00 AM