[[PageOutline(2-5,Contents,pullout)]] = List attachments from Trac site == Description 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 [th:#5669 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 [https://github.com/mitar/trac-allattachments/issues GitHub] for any issues you have with [wiki:AllAttachmentsMacro]. Existing bugs and feature requests for AllAttachmentsMacro are [report:9?COMPONENT=AllAttachmentsMacro here]. [[TicketQuery(component=AllAttachmentsMacro&group=type,format=progress)]] == Download Download the zipped source from [https://github.com/mitar/trac-allattachments/archive/master.zip here]. == Source You can clone [wiki:AllAttachmentsMacro] from [https://github.com/mitar/trac-allattachments here] using git, or [https://github.com/mitar/trac-allattachments browse the source] on GitHub or [/svn/allattachmentsmacro here]. There is also a version available on [pypi:AllAttachmentsMacro PyPi]. == Installation To install this macro, run the following: {{{#!sh $ pip install AllAttachmentsMacro }}} For more information, please follow [TracPlugins#InstallingaTracPlugin documentation] on how to install Trac plugins. == Author/Contributors '''Author:''' [wiki:daan] [[BR]] '''Maintainers:''' [[Maintainer]], [wiki:mitar] [[BR]] '''Contributors:'''