source: trunk/ChangeLog @ 210

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

email2trac.py.in:

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