source: trunk/ChangeLog @ 249

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

email2trac.py.in:

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