Changes between Version 5 and Version 6 of AttachFilterPlugin
- Timestamp:
- Nov 12, 2015, 4:53:03 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AttachFilterPlugin
v5 v6 5 5 == Description 6 6 7 This is a simple plugin to reject attachments, using file-extension based rules. 7 This is a simple plugin to reject attachments, using file-extension based rules. It offers guidance to the user as to how alternatives for uploading the file can be performed. 8 8 9 9 == Bugs/Feature Requests … … 19 19 == Download 20 20 21 Download the zipped source from [ download:attachfilterplugin here].21 Download the zipped source from [export:attachfilterplugin here]. 22 22 23 23 == Source 24 24 25 You can check out AttachFilterPlugin from [http://trac-hacks.org/svn/attachfilterplugin here] using Subversion, or [source:attachfilterplugin browse the source] with Trac. 25 You can check out AttachFilterPlugin from [/svn/attachfilterplugin here] using Subversion, or [source:attachfilterplugin browse the source] with Trac. 26 27 == Installation 28 29 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 26 30 27 31 == Configuration … … 44 48 45 49 To obtain the exact MIME type string: 46 1. set up your Trac installation to show/dump INFO log message 47 1. attach a file of the (un)desired type 48 1. look for the plugin trace that shows the file name and the MIME type: 49 {{{#!sh 50 grep Filename .../log/trac.log 51 }}} 52 {{{ 50 1. Set up your Trac installation to show/dump INFO log message. 51 1. Attach a file of the (un)desired type. 52 1. Look for the plugin trace that shows the file name and the MIME type: 53 {{{#!sh 54 $ grep Filename .../log/trac.log 53 55 2011-05-16 15:49:26,299 Trac[filter] INFO: Filename stuff.doc, filetype application/msword 54 56 }}} 55 1. add this new MIME type to the `[attachment_filter]` section56 1. restart your Trac engine57 1. Add this new MIME type to the `[attachment_filter]` section. 58 1. Restart your Trac engine. 57 59 58 60 == Recent Changes