wiki:AllAttachmentsMacro

Version 9 (modified by Ryan J Ollos, 13 years ago) (diff)

Removing link to fork since it has been pulled in. Adding mitar as a contributor.

List attachments from Trac site

Notice: This plugin is unmaintained and available for adoption.

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 [download:allattachmentsmacro 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

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

Author/Contributors

Author: daan
Maintainer: rjollos
Contributors: mitar