source: trunk/ChangeLog @ 246

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

Some minor changes for new release

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