source: trunk/ChangeLog @ 202

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

email2trac.py.in:

  • added set_ticket_fields function, #55
  • added option -t,--ticket_prefix, #55
  • removed obsolete code

run_email2trac.c:

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