source: trunk/ChangeLog @ 218

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

email2trac.py.in:

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