source: trunk/ChangeLog @ 192

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

email2trac.py.in,

  • Added two patches that must fix the notify function for trac version 0.11

ChangeLog?:

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