source: trunk/ChangeLog @ 241

Last change on this file since 241 was 241, checked in by bas, 15 years ago

email2trac.py.in:

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