source: trunk/ChangeLog @ 194

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

email2trac.py.in, email2trac.conf:

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