source: trunk/ChangeLog @ 220

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

email2trac.py.in:

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