source: trunk/ChangeLog @ 242

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

email2trac.py.in:

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