source: trunk/ChangeLog @ 203

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

Changelog

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