Changes between Version 5 and Version 6 of AttachFilterPlugin


Ignore:
Timestamp:
Nov 12, 2015, 4:53:03 PM (7 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • AttachFilterPlugin

    v5 v6  
    55== Description
    66
    7 This is a simple plugin to reject attachments, using file-extension based rules.
     7This 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.
    88
    99== Bugs/Feature Requests
     
    1919== Download
    2020
    21 Download the zipped source from [download:attachfilterplugin here].
     21Download the zipped source from [export:attachfilterplugin here].
    2222
    2323== Source
    2424
    25 You can check out AttachFilterPlugin from [http://trac-hacks.org/svn/attachfilterplugin here] using Subversion, or [source:attachfilterplugin browse the source] with Trac.
     25You can check out AttachFilterPlugin from [/svn/attachfilterplugin here] using Subversion, or [source:attachfilterplugin browse the source] with Trac.
     26
     27== Installation
     28
     29General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    2630
    2731== Configuration
     
    4448
    4549To 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
    53552011-05-16 15:49:26,299 Trac[filter] INFO: Filename stuff.doc, filetype application/msword
    5456}}}
    55  1. add this new MIME type to the `[attachment_filter]` section
    56  1. restart your Trac engine
     57 1. Add this new MIME type to the `[attachment_filter]` section.
     58 1. Restart your Trac engine.
    5759
    5860== Recent Changes