source: trunk/ChangeLog @ 213

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

email2trac.py.in:

  • fixed some formating problems with trac version 0.11

debian/control:

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