source: trunk/ChangeLog @ 191

Last change on this file since 191 was 191, checked in by bas, 17 years ago

email2trac.py.in, ChangeLog?, email2trac.conf:

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