source: trunk/ChangeLog @ 208

Last change on this file since 208 was 208, checked in by bas, 16 years ago

email2trac.py.in:

  • implemented black_list option, closes #39
  • Property svn:mime-type set to text/x-trac-wiki
File size: 17.1 KB
RevLine 
[198]12008-XXX
[205]2  * Fixed debian control file. Package can be build on any platform and
3    not only on i386 platforms:
[198]4
[205]5    Author: Christian Iversen ci add sikkerhed dot org
6    Applied by: Bas van der Vlies
[198]7
[205]8  * We now use the trac configuration parser routine
9    Author: andrei2102 add gmail dot com
10    Applied by: Bas van der Vlies
[200]11
[205]12  * Added new command line option -n/--dry-run. This option only show
13    what commands will be executed.
14    Author: Bas van der Vlies
[202]15
[205]16  * the default values for tickets can now also be set in
17   'email2trac.conf'. So you can use different values when an email
18    is converted to a ticket. The ticket value is set to this rules
19     - email2trac.conf
20     - trac.ini
[202]21
[205]22    email2trac.conf use same format as trac.ini, eg email2trac.conf:
23      [project]
24      default_component : test
[202]25
[205]26    closes request #55, for more info see:
27    - https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration
[204]28
[205]29     Requested by: greg dot deakyne at etapestry dot com
30     Implemented by: Bas van der Vlies
[204]31
[205]32  * Fixed a bug in ticket_update. It failed when project did not have
33    ticket component field,  closes bug #62
34    Reported by: gernot dot hillier add siemens dot com
35    Fixed by: Bas van der Vlies
[204]36         
[205]37  * run_email2trac.c:
38     - can no longer segfault after a failed malloc.
39     - after set*id failure, you'll get a diagnostic (or at least
40       nonzero exit status) and it won't attempt the exec.
[202]41
[205]42    Author: Jim Meyering jim add meyering dot net
[207]43    Applied by: Bas van der Vlies
[203]44
[207]45  * Made some approvements to spam function:
46     - If the he X-Spam-Score header is present, but has no value
47        email2trac will crash, closes #63
48
49     - Added config option which header field we must check
50       for determing if mail is Spam, eg:
51        - spam_header : X-Spam-Level (default: X-Spam-Score)
52 
53    Author: email2trac at bulk dot squeakyblue dot com
54    Applied by: Bas van der Vlies
55
[208]56
57  * black_list  is now a configuration option and is used to deny
58    email addesses, default value is: MAILER-DAEMON@
59
60    Can specifiy more then one email adress seperated by ',', eg:
61    black_list : basv@sara.nl, walter@sara.nl
62
63    closes #39
[207]64   
[208]65    Author: Bas van der Vlies
66   
[207]67
[194]682008-02-04
[189]69        * Added version check and exit if we do not support the trac version
70          closes bug #23
71          Reported By: Marc Zahnlecker m.zahnlecker at lxbyte dot de
[187]72
[192]73          Fixed By: Bas van der Vlies
74
[190]75        * Added check if syslog module is available. If it is not available
76          disable the syslog functionality.
[192]77          Author: michael.th add gmx dot net
[190]78
[192]79          Implemented by: Bas van der Vlies
80
[191]81        * Added strip_quotes function, default settings:
82                strip_quotes: <int> (default: 0)
83                mail_quote: <quote chars> (default: "> ")
[192]84          Author: nicolasm @ opera dot com
[191]85
[192]86          Implemented by: Bas van der Vlies
87
88        * Added patch to make notify email work with trac 0.11 dev.
89          Author: tbaschak add ktc dot mb dot ca       
90          Author: andrei2102 add gmail dot com
91
92          Implemented by: Bas van der Vlies
[194]93
94        * greedy matching in Subject line, We must stop after the first ':'
95          else we get wrong values for ticket fields when we update a ticket
96          via mail, closes ticket #37
97          Reported by: dmaziuk at bmrb dot wisc dot edu
98          Fixed    by: Bas van der Vlies
99
100        * added IGNORECASE flag to regular expression for black list. This
101          is a quick fix, still want to implement this as configuration
102          option, closed bug #39
103
104          Reported By: jodok at lovelysystems dot com
105          Fixed by   : Bas van der Vlies
106
107        * When a known user mails a ticket. We will set the Reporter to
108          its login name, closes bug #33, #41
109
110          Also add configuration option:
111                ignore_trac_user_settings : 0 (default value)
112
113          This option will skip the email address to trac user login name
114          mapping.
115
116          Reported by: anonymous
117          Fixed by   : Bas van der Vlies
118
119       
120        * SPAM detection was only for new mails not for ticket updates,
121          closed ticket #44
122
123          Reported by: Bas van der Vlies
124          Fixed by   : Bas van der Vlies
125         
[192]126           
[184]1272007-07-18
[163]128
129        * Implemented python_egg_cache environment variable. Some trac
130          installations may depend on it, closes ticket #10, eg:
131                python_egg_cache : /var/cache/eggcache
132
133          Reported By: Anonymous
[177]134          Fixed by   : Bas van der Vlies <basv@sara.nl>
[163]135
[170]136        * Implemented update ticket fields via email subject line, eg:
137                Re: [email2trac] #7?owner=bas,priority=minor: Error in parsing
138
139                - Sets the owner of the ticket to: bas
140                - Sets the priority of the ticket to: minor
[171]141         
142          For some ticket fields there are only a limited number of allowed
143          values. The supplied value will be checked against this list. If it
[179]144          is not vaild value the field update will be ignored.
[170]145
[177]146          Requested by  : trac at yadan dotnet, Jan Parchmann, see ticket #7
147          Implemented by: Bas van der Vlies <basv@sara.nl>
[170]148
[172]149        * Dropped support for version trac version 0.8. Removed all 0.8
[177]150          specific code. 
151          Fixed by: Bas van der Vlies <basv@sara.nl>
[170]152
[173]153        * Added a new config parameter: tmpdir: /var/tmp, default is '/tmp'
154          All functions now use this new parameter and use OS independent
155          path functions.
[177]156          Implemented by: Bas van der Vlies <basv@sara.nl>
[173]157
[175]158        * fixed and a creating directory problem email2trac.spec file
159          Fixed by: artrus at netzero dot net
160
[176]161        * set_owner function is obsolete. When component is set the trac code
162          will set the owner to the component owner.
[177]163          Fixed by    : Bas van der Vlies <basv@sara.nl>
[176]164
[177]165        * Also show email headers in a ticket update.
166          Requested by: Ramon Bastiaans
167          Fixed by    : Bas van der Vlies <basv@sara.nl>
168
[182]169        * A date patch so it works with trac version 0.11 for ticket updates.
170          Also applied for other trac versions.
171          Thanks to: tbaschak at ktc dot mb dot ca
172
[161]1732007-04-27
[150]174
[154]175        * Added check to catch an error when attachment size
[151]176          is too large, bug #1153
177          Author: Bas van der Vlies
[150]178
[151]179        * Wrap long line into user given length, use_textwrap: 72. Wraps lines
180          greater then 72 chars, #1123
181          Author: Bas van der Vlies &
182                  Rainer Sokoll (r.sokoll at intershop dot de)
183
184        * Fixed a dutch spelling, #1295
185          Author: Rainer Sokoll (r.sokoll at intershop dot de)
186
[149]187        * email2trac.py : blacklist (don't create ticket) mail from
188          MAILER-DAEMON to avoid loops
[152]189          Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr>
190
[149]191        * msg.bad.txt : add an example of message from MAILER-DAEMON
[152]192          Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr>
[149]193
[146]1942006-12-08
[135]195        * email2trac.py:
196          - Added verbatim_format option default is: 1
[139]197          Added by : Bas van der Vlies
198
[136]199          - Added strip_signature option default is: 0
[139]200          Added by : Bas van der Vlies
[135]201
[139]202          - Fixed some unicode errors, thanks to japanes SPAM.
203            If we can not unicode email message then display which
204            charset must be installed in ticket description. Else we
205            trac crashed with unicode errors ;-(
206          Fixed by: Bas van der Vlies
207
[142]208          - Fixed statements: str + unicode, raises an exception if
209            non-ascii value in unicode object.
210
211          - Forgot to unicode the author. So we got an error if we use
212            the mailto_link option in email2trac.conf.
[141]213          Fixed by: Bas van der Vlies
214
[139]215        * delete_spam.py:
216          - Now works for version 0.10 with new API-functions
217          Fixed by: Bas van der Vlies
218
[144]219        * Makefile.in
220          - Added install-conf. Install email2trac.conf if there is none
221            installed.
222          Fixed by: Bas van der Vlies
223
[132]2242006-10-27
[125]225
[129]226        * run_email2trac.c.
227       
228          - Setgid() must be called before setuid().
[125]229          Reported by:  Anonymous
230          Fixed    by:  Bas van der Vlies
[126]231
[129]232        * email2trac.py,
233       
234          - Fixed an error in Ticket Update. When ticket
[128]235          does not exists, proceed as if it is a new ticket
236          Fixed    by:  Bas van der Vlies
237
[129]238          - Fixed a strang bug in 0.9 version, if ticket update
239          is enabled and email has attachment(s). We are not allowed to
240          set the description and author field of the attachment else
241          the comment text is lost ;-(
[128]242          Fixed    by:  Bas van der Vlies
[129]243
244          - Fixed an error if enable_syslog and drop_spam is set. We get
245          an exception in the syslog if we use sys.exit(0), replaced by
246          return.
247          Fixed    by:  Bas van der Vlies
248
249        * delete_spam.py.
[124]250       
[129]251          - Trac version 0.10 made it easier to delete tickets.
252          Fixed    by:  Bas van der Vlies
253       
[121]2542006-10-10
[117]255        * Fixed race conditions in delete_spam.py and added some
256          debug code.
257          Fixed by   : Bas van der Vlies
[120]258
[117]259        * Added author and description field when attachment is
260          added to ticket. This is for trac version greater than
261          0.8.
262          Fixed by   : Bas van der Vlies
263          Thanks to Matthew Good for the hint
[120]264
[118]265        * Added drop_spam option, default = 0. If set then
266          mail marked as Spam is not accepted.
[120]267          Added by   : Bas van der Vlies
[117]268
[121]269        * Do not send notification if message is marked as Spam
270          and drop_spam is not set.
[120]271          Fixed by   : Bas van der Vlies
272
[113]2732006-10-02
[111]274        * Fixes possible segmentation faults in run_email2trac.c
275          Reported by: bcornec
276          Fixed by   : Bas van der Vlies
277
278        * Can set DEBUG level while configuring package, eg:
279          DEBUG=1 ./configure ( default : 0)
280          Reported by: syd at plug dot ca
281          Fixed By   : Bas van der Vlies
282
283        * delete_spam.py did not delete everything from the SQL tables
284          Reported by: brent at rcfile dot org
285          Fixed by   : Bas van der Vlies
286
[113]287        * Do not send notification when message is marked as Spam
[112]288          Fixed by   : Bas van der Vlies
289         
[106]2902006-08-28
[105]291        * fixes an error in the 'reply_all' setting
292          Thanks to and Patch by: ncarlson@ibsys.com
293
[106]294        * Added RPM spec file
295          Thanks to:  Jon Topper <jon@topper.me.uk>
296
[101]2972006-07-14
[95]298        * Use X11R5 install-sh to install email2trac components to hide
[98]299          native install program differences.
300          Author: Michel Jouvin <jouvin@lal.in2p3.fr>
[95]301
[98]302        * Fixed an error in saving attachments for new tickets for trac
303          versions greater then 0.9.
304          Fixed by: Bas van der Vlies
305
306        * When something went wrong save the offending email for debug
307          purposes.
308          Fixed by: Bas van der Vlies
309
[99]310        * delete_spam.py
311           - did not clean up the attachment table. So we got nasty new
312             mails with fake attachments.
313           - It works now for versions higher then 0.8
[100]314
315        * Finally understand the unicode/encode functions and hopefully
316          fixed the errors.
317          Fixed by: Bas van der Vlies
[103]318
319        * Remove the temporarly created attachment files.
320          Fixed by: Bas van der Vlies
[99]321       
[92]3222006-07-06
[95]323        * Fixed an error in already added attachments. Do not close
[85]324          the database connection.
325          Fixed by: Walter de Jong en Bas van der Vlies
326
[95]327        * Added enable_syslog option. If enabled log errors to syslog
[89]328          instead of stderr. If enabled no errors are send back to the
329          user.
[87]330          Implemented by: Bas van der Vlies
331
[95]332        * Fixed an error with updating tickets with attachments for trac
[87]333          versions 0.9 and 0.10. Field "id" is not known when a existing
334          ticket is fetched (Error = KeyError: 'id')
335          Fixed By: See tickets #258 and #449 on trac-hacks
336
[95]337        * Fixed and spell error, self.mail_addr must be self.email_addr
[88]338          Fixed by: Bas van der Vlies
339
[95]340        * Catch a LookupError in unicode/encode conversion in function
[91]341          get_body_text()
[89]342          Fixed by: Bas van der Vlies
343
[95]344        * Description field was always changed when updating the ticket
[90]345          via the web. Asked the mailing list for a solution and got one
346          ;-)
347          Patch/Suggestion by: Christian Boos
348          Applied by: Bas van der Vlies
349
[95]350        * Fixed an encoding problem when email_header is set to 1
[91]351          Fixed by: Bas van der Vlies
352
[95]353        * Fixed a bug in to_unicode() function.
[92]354          Fixed by: Bas van der Vlies
355
[95]356        * Fixed an unicodedata.normalize TypeError bug for filenames in the
[92]357          attachment function
358          Fixed by: Bas van der Vlies
359
360
[81]3612006-06-02
[95]362        * Added ticketing merging. To enable it there are two options for
[76]363          both options enable 'ticket_update' in email2trac.conf
[81]364          1 - Configure trac notification, eg:
[95]365                * (ticket address: ticket@test.nl)
[81]366                [notification]
367                smtp_enabled = true
368                smtp_always_cc = test@test.nl
369                smtp_server = localhost
[82]370                smtp_from =  ticket@test.nl
[76]371                always_notify_reporter = true
372
373          2 - Use the mailto_cc in email2trac.conf if you want to sent
[81]374              an email to the user and the trac ticket email address.
[76]375
376          With both options you get the right format of the subject line.
377
[95]378        * Use the short options for the install command. So it works for
[76]379          MacOSx Reported by: Nathaniel Irons.
[81]380
[95]381        * Updated inline documentation by Nathaniel Irons.
[76]382                 
[68]3832006-05-16
[95]384        * Fixed a bug when there was no plain text body.
[63]385          Reported by: Greg Deakyne
[95]386        * Fixed a small bug if default component owner is unknown.
[63]387          Just fill in some bogus info.
[95]388        * Use the short options for the install command. So it works for
[64]389          MacOSx
390          Reported by: Nathaniel Irons
[95]391        * Messages that has X-Virus-found in header are marked as SPAM
[68]392          Implemented by: Walter de Jong
[95]393        * Some modules are changed for version 0.10, Added and made some
[68]394          minor changes: Patch supplied by: Markus Tacker 
[95]395        * Ported delete_spam.py to version 0.9 and higher:
[69]396          Reported by: Nathaniel Irons
[63]397
[64]398
[58]3992006-03-08
400        - Fixed an bug for 0.9, there was a space in front of the ' ticket' directory.
401          removed it.
402          Reported by: mi-trachacks@moensolutions.com   
403          Fixed by: Bas van der Vlies
[95]404        * Fixed an exception error in delete_spam.py
[58]405          when shutil has not enough priveledges to remove the
406          attachments it is reported
407          Fixed by: Bas van der Vlies
[95]408        * email2trac.py: When you include the body tag, some
[58]409          mailers (like Thunderbird) will leave out the signature.
410          Therefore this version leaves out the body tag.
411          Fixed by: Walter de Jong
[95]412        * Added msg.txt for testing
[58]413          Fixed by: Bas van der Vlies
414
[46]4152006-02-01  Bas van der Vlies <basv@sara.nl>:
416        * Added Tikcet notification, send email when there is
417          a new ticket. Depends on notification setting in
418          trac.ini.
419          Implemented by: Kilian Cavalotti
[52]420        * Can use different template for ticket notification,
421          eg: alternate_notify_template: "a_tkt.css"
422          Implemented by: Kilian Cavalotti
[46]423        * Added reply_all config parameter. If set put all
424          CC-addresses from orginal mail in ticket CC-field.
425          Suggested by: Kilian Cavalotti
426        * Text in ticket description is also properly UTF-8
427          encoded
428          Implemented by: Kilian Cavalotti
429        * Removed reply_address from config file. Is not
430          necessary anymore. See Ticket notification.
431        * Added support for known users. If email address is
432          known then use the trac known username instead
433          of the email-address (only for trac version > 0.9)
434          Implemented by: Kilian Cavalotti
[48]435        * Fixed an error in saving attachments for version < 0.9.
436          Sometimes we got bogus attachments.
437          Fixed by: Walter de Jong
[50]438        * Added support to make an debian package
439          Implemented by: Bas van der Vlies
[46]440
[36]4412006-01-21  Bas van der Vlies <basv@sara.nl>:
442        * Fixed run_email2trac.c, did not work
443        * Added TRAC_SCRIPT_NAME to Makefile.in to
444          solve run_email2trac problem
445
446        Both errors reported by: kilian.cavalotti@lip6.fr
447
[33]4482006-01-20  Bas van der Vlies <basv@sara.nl>:
449        * A warning error is fixed by kilian.cavalotti@lip6.fr
450        * Several errors in make install ;-(, reported by
451          tacker
452
[23]4532006-01-15  Bas van der Vlies <basv@sara.nl>:
454        * Added configure script.
455
[18]4562006-01-10  Bas van der Vlies <basv@sara.nl>:
457        * Removed project_root from source and config file
458        * Adjust code so we can use mulitple stanza's in config file, eg:
459          [bas]
460          project: /data/trac/bas
461          spam_level: 3
462
463          use option "-p|--project bas" to select the stanza
464
[5]4652006-01-04  Bas van der Vlies <basv@sara.nl>:
466
467        * Fixed getopt for -f option
468        * Added suppport for different TRAC versions (0.8 and 0.9)
469
4702006-01-03  Michel Jouvin  <jouvin@lal.in2p3.fr>
471
472        * email2trac.py (ReadConfig) : allow project name relative to project root in configuration file
473       
474        * email2trac.py (TicketEmailParser.parse): save entire email for debugging only if debug >= 2
475
476        * run_email2trac.c: pass wrapper arguments to Python script, filtering out --file
477
478        * email2trac.py (TicketEmailParser.debug_attachments): set tmp file created for debugging writable by anybody (to avoid problem if the script is run with a different uid during tests)
479
480        * email2trac.py (TicketEmailParser.parse): set tmp file created for debugging writable by anybody (to avoid problem if the script is run with a different uid during tests)
481
4822005-12-22  Michel Jouvin  <jouvin@lal.in2p3.fr>
483
484        * Makefile: add a Makefile to build and install email2trac
485
486        * email2trac.py: migrate to Trac 0.9 API
487
4882005-12-21  Michel Jouvin  <jouvin@lal.in2p3.fr>
489
490        * run_email2trac.c: add error messages if DEBUG macro defined
491
492        * run_email2trac.c: add error testing and specific return values for each error
493
494        * run_email2trac.c: Move site specific paramaters to run_email2trac.h
495
496        * run_email2trac.h: include file to define site specific paramaters
497
4980.2.4 01/11/2005
499        Added email_header option if set then show TO/CC fields in
500        description of the ticket.
501
502        Fixed an error in the mailto URL. This was an old error that
503        supposed to be fixed but reoccured in this version.
504       
5050.2.3 31/10/2005
506        Fixed a bug with base64 encoded attachments/emails
507        Fixed by: Walter de Jong
508
5090.2.2 10/10/2005
510        according to RFC 2368 (titled "the mailto URL scheme") the mailto
511        URL can only work with short &body messages. It fails with long
512        messages and the link won't work. Therefore the mail body is
513        no longer copied into the mail reply.
514
5150.2.1 10/07/2005
516        body of reply email looks better
517
518
5190.2   10/07/2005
520        mailto is replaced by a html mailto to line. If
521        you reply to the ticket via this link then an
522        email client is started with some default values:
523                To: <reporter>
524                Subject: Re: <orginal subject>
525                Body: email_comment <orginal text>
526
527        email2trac.conf:
528                email_comment: # (default:  >)
529
530               
531
Note: See TracBrowser for help on using the repository browser.