Changes between Version 21 and Version 22 of SearchAttachmentsPlugin
- Timestamp:
- Mar 4, 2015, 10:01:02 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SearchAttachmentsPlugin
v21 v22 39 39 * Trac 10.x and 11.x source code must be manually modified for SEAT plugin to work. 40 40 The file to modify is '''attachment.py''', on a Linux Fedora system, it is located in 41 /usr/lib/python2.4/site-packages/trac 42 41 /usr/lib/python2.4/site-packages/trac[[BR]] 43 42 '''Comment''': This is already done for Trac 0.11.4. 44 45 43 {{{#!python 46 47 44 162 def insert(self, filename, fileobj, size, t=None, db=None): 48 45 ... … … 113 110 '''Comment''': I have had better success omitting the -b flag to catdoc. 114 111 115 '''Comment''': Changed config section to [attachment]which is what's actually used in the sources (not [attachment'''s''']). This should also be corrected in the plugin's README.112 '''Comment''': Changed config section to `[attachment]` which is what's actually used in the sources (not [attachment'''s''']). This should also be corrected in the plugin's README. 116 113 117 114 There is no need to declare a filter command for .txt or .text. Text files are handled