source: trunk/ChangeLog @ 230

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

release_date

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