source: trunk/ChangeLog @ 475

Last change on this file since 475 was 475, checked in by bas, 14 years ago

new debina version and update changelog

  • Property svn:mime-type set to text/x-trac-wiki
File size: 34.2 KB
RevLine 
[471]12010-XX-XX
[473]2   * Fixed an Unicode error in strip_quotes
3     Author: Bas van der Vlies
[465]4
[473]5   * The attachment filename may not contain '\n' and '\r' characters.
6     Reported by: Jean-Paul Duyx <jean-paul dot duyx at vancis dot nl>
7     Fixed by; Bas van der Vlies
[471]8
9   * Applied a patch to support workflow for all transitions. It will
10     also honour the permission model if set, closes #198
11     an example how to use it:
12        email2trac.conf:
13                [project]
14                workflow_closed: reopen
15                workflow_infoneeded: provideinfo
16
17        trac.ini:
18                [ticket-workflow]
19                reopen = closed -> reopened
20                reopen.permissions = TICKET_CREATE
21                reopen.operations = del_resolution
22               
23                provideinfo = infoneeded -> moreinfo
24                provideinfo.permissions = TICKET_CREATE
25                provideinfo.name = info provided
26
27     Authors: kroseneg add schmidham dot net and Bas van der Vlies
28
[473]29   * The trac default value for resolution is fixed. The trac.ini value
30     for this is skipped and this resolution settings is only allowed in
31     email2trac.conf, closes #84
32
33     Reported by: hju add jochenkuhl dot de
34     Fixed by: Bas van der Vlies
[475]35
36   * Honor the trac permission model if set, Use
37    TICKET_APPEND and TICKET_CHGPROP instead of TICKET_MODIFY.
38    closes #214
39
40    Reported by: Konstantin Ryabitsev <icon add mricon dot com>
41    Fixed by: Bas van der Vlies
42   
[458]432010-07-23
[429]44    * logging of spam message was wrong. Fixed it,
45       - set.logger.info must be self.logger.info
46    Author: Bas van der Vlies
[432]47
48    * logging of notification error was wrong. Fixed it, closes #212
49       - set.logger.error must be self.logger.error
50    Reported by:  adam dot lucke at srd-berlin dot de
51    Author: Bas van der Vlies
[443]52
[456]53    * Mail was lost when 'ticket_update' was disabled and a ticket
54      reply was detected.
55    Author: Bas van der Vlies
56
[443]57    * Removed a lot of obsolete code due to using UserDict
58    Author: Bas van der Vlies
[429]59 
[426]602010-07-21
[400]61    * added a new option 'ticket_permission_system'. Can be set to:
[399]62      - trac: Then it will check if the report has the right trac
63        permission to create or modify a ticket. closes #202
64
65      - update_restricted_to_participants: A ticket update is allowed only if:
66        1) the updater is the reporter,
67        2) the updater is in the CC
68        3) the updater has trac permission to update the ticket.
69        If the update is denied, a new ticket will be generated instead as to
70        not loose the issue . closes #203
71
72    Authors:  kris add tsampa dot org & Bas van der Vlies
73
[413]74
75   * Switch for logging to the python logging module and add some new
76     options to control the behaviour inspired by the trac logging module:
[423]77      - log_type, default syslog
78      - log_level, default info
79      - log_format, email2trac <project name>
80      - log_file, none
[413]81
[424]82     Can be set to the same values as trac logging
83
[417]84     Author: Bas van der Vlies
85
86   * removed trac 0.9 support
[413]87     
[426]882010-07-12
[393]89  * Do not check if notification is enabled, let Trac determine if a
90    notfication is enabled and which interface/plugin is used, eg:
[395]91    announcerplugin
[393]92
[395]93    Author: Bas van der Vlies
[393]94
[390]952010-07-06
96  * Fixed several errors in ticket update:
97     - Changed the regex expression. It must end with ':'.   
98     - The email was lost if the ticket id was unknown. If ticket
99       id is unknown a new ticket will be created.
100
101    Reported by: SARA grid team
102    Fixed by: Bas van der Vlies
103       
104
105
[386]1062010-06-28
107  * Ticket update for version 0.12 did not work, closes #209
108    Author: mark underscore kids add yahoo dot com
109    Applied by: Bas van der Vlies
[388]110
111  * enabled workflow and notification for trac version 0.12
112    Author: Bas van der Vlies
113
[384]1142010-06-23
115  * A better fix for attachments with special characters, closes #206
116    Reported by: karsten dot rohrbach add wibas dot de
117    Fixed by: Bas van der Vlies
118
1192010-06-22
[380]120  * When debug is enabled email2trac chokes on non-ascii (utf8)
121    characters in ticket fields, closes #205
122    Reported by: eirik dot schwenke add nsd dot uib dot no
123    Fixed by: Bas van der Vlies
124
125  * Email2trac crashes when attachment filename contains non-ascii       
126    characters, closes #206
127    Reported by: karsten dot rohrbach add wibas dot de
128    Fixed by: Bas van der Vlies
129
[372]1302010-06-09
[370]131  * Support added for trac version 0.12, closes #201
132    Reported by: mark_kids add yahoo dot com
133    Fixed by: Bas van der Vlies
134   
[366]1352010-05-25
136  * delete_spam still used the trac_version in email2trac.comf
137    Fixed by: Bas van der Vlies
138
139  * email2trac crashed when ticket_update_by_subject was enabled.
140    Fixed by: Bas van der Vlies
141
[363]1422010-05-20
[349]143  * email2trac crashed if there are '/' and '\' characters in a filename.
144    These characters are now being replace by '_', closes #196
145    Reported by: jcuppen add hethooghuis dot nl
146    Fixed by: Bas van der Vlies
[347]147
[349]148  * Problems with attachments were not reported for ticket updates
149    Fixed by: Bas van der Vlies
[347]150
[350]151  * delete_spam changes:
152     - only support trac version greater then 0.10
153     - added -n/--dry-run option
154     - added -v/--verbose option
155
156    Author: Bas van der Vlies
157
[352]158  * Enhancement for ticket prefixes (email2trac.conf). The ticket
[357]159    fields status and resolution are not forbidden any more. closes #195
[352]160    Author: Konstantin Ryabitsev <icon add mricon dot com>
161    Applied by: Bas van der Vlies
162
[357]163  * Added a new option. It is all in the name:
164      * ticket_update_by_subject, default value is off
[360]165      * ticket_update_by_subject_lookback, default 30 days
[357]166
167    When this option is enabled and there is no ticket number found
168    in a reply mail. It will try to find a ticket summary that matches
169    the mail subject line. If found then append the mail to this
170    ticket, closes #188
171    Author: Konstantin Ryabitsev <icon add mricon dot com> & Bas van der Vlies
172    Applied by: Bas van der Vlies
[360]173
174  * Added DiscussionPlugin support, closes 197. For description see:
175     - https://trac-hacks.org/wiki/DiscussionPlugin
176
177   Author: ibarton add fit dot vutbr dot cz (alias Blackhex)
178   Applied by with some modification: Bas van der Vlies
179
[363]180  * Trac version is now automatically determined. No need anymore for
181    trac_version in /etc/email2trac.conf
182    Author: Bas van der Vlies
183
[345]1842010-03-20
185
186  * Fixed a bug reporter was always set to the default value specified
187    in trac.ini.
188
189    Reported by: Jean-Paul Duyx <jean-paul dot duyx at sara dot nl>
190    Fixed by: Bas van der Vlies
191
192  * If reported field is overriden then use it for all trac functions
193    including notification, closes #187
194
195    Reported by: shildebrand at venturebeat dot com
196    Fixed by: Bas van der Vlies
197
[333]1982010-03-24
199
200  * Added configure option '--with-install_user=<name>', default user is 'root'.
201    The specified user is used for installation so we can install the
202    package as non-root user, closes #182.
203
204    Reported by: shildebrand at venturebeat dot com
205    Fixed by: Bas van der Vlies
206
207  * Re-arranged some code so that we can override ticket fields in
208    email2trac.conf, eg:
209     - default_reporter : email2trac
210
211    Will set the reporter ticket field to email2trac for all mail, closes #182
212
213    Reported by: shildebrand at venturebeat dot com
214    Fixed by: Bas van der Vlies
215
216  * Fixed a bug when there is no subject field in the message, closes #179
217    The fix in the 1.2.0 version did not work.
218    Reported by: xurizaemon and John Donners (SARA)
219    Fixed by: Bas van der Vlies
220
221  * We do not write any files when dry run mode is enabled.
222    Fixed by: Bas van der Vlies
223
[337]224  * Fixed several issues when DEBUG is enabled with printing non-ascii
[333]225    characters, see #184
226    Reported by: hju add jochenkuhl dot de
227    Fixed by: Bas van der Vlies
228
[323]2292010-02-24
[322]230  * Added an option to run_email2trac to set the PYTHON_EGG_CACHE
231    environment variable (-e|--eggcache), closes #174
232    Author: pepl at cpan dot org
233    Applied by: Bas van der Vlies
234
235  * Ticket fields can be set inline an email: closes #171, #88
236     - controlled by parameter 'inline_properties', default behaviour off
237     - see https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracParse#Updateticketfields
238
239    Author: samuel at hoffstaetter dot com
240    Applied by: Bas van der Vlies
241
242  * Fixed a bug when there is no subject field in the message, closes #179
243    Reported by: xurizaemon
244    Fixed by: Bas van der Vlies
245
246  * Added unicode support attachment filenames, closes #177
247    Reported by: obwandner add concertare dot de
248    Fixed by: Bas van der Vlies
249
250  * Email to blog did not work at all. It works but it can not handle
251    attachments. see #175.
252    Reported by: oland dot wells add gmail.com
253    Patches    : Bas van der Vlies
254
255  * Show errors when we can not include attachments in the ticket, see #165
256    Requested by: hju add jochenkuhl dot de and  dereks add cool-st dot com
257    Fixed by: Bas van der Vlies
258
259  * Added a new option 'email_triggers_workflow'. When a ticket is closed and
260    an update is received via email. The ticket will be reopened or triggers
261    a ticket workflow. This action can be skipped if we set the
262    email_triggers_workflow option to 0. The default value is 1, closes #180
263    Author: zac add sprackettd dot com
264    Applied by: Bas van der Vlies
265
[303]2662010-01-11
[290]267  * Workflow option did not work, closes #157
268    Reported by: thomas dot moschny at gmx dot de
269    Fixed  by: Bas van der Vlies & Thomas Moschny
270
271  * When a ticket is updated via email. We must set a changelog id,
272    closes #156
273    Reported by: Chris dot Nelson at SIXNET dot com
274    Fixed by: Bas van der Vlies
275
276 * Changed all 'str =' assignments to 's =' to solve conflicts with
277   the builtin str function
[298]278   Fixed by: Bas van der Vlies
[290]279
[298]280 * Python egg cache enviroment setting was ignored by email2trac.
281   closes #163
282   Author: Dennis McRitchie ( dmcr at Princeton dot EDU )
283   Applied by: Bas van der Vlies
284
285 * Disabled code so the following line will not be displayed anymore
286   as comment in a ticket:
[303]287     - This message has x attachment(s)
[298]288   Suggested by: dereks at realloc dot net, closes ticket #165
289   Fixed by    : Bas van der Vlies
290
291
292 * Added a new parameter strip_content_types. So we can strip attachments
293   based on content type, eg:
[303]294     - strip_content_types: application/pgp-signature, application/mac-binhex40
[298]295
296   Will strip attachments that has these content_types.
297   Authors:  otto at bergerdata dot de and Bas van der Vlies
298
299 * FIxed an error when files where added with characters that needed to be
300   escaped. Both email2trac and trac escaped the filenames. We removed the
301   code from email2trac an let trac handle the escaping, closes #149
302
303   Reported by: hju att jochenkuhl dot de
304   Fixed by: Bas van der Vlies
305
306 * Added a new parameter:
[303]307     - subject_field_separator, default value is &
[298]308
309   This is used to set tickets fields via the subject line. It used to
310   be , .For backwards compatibility we introduced this parameter.
311   closes #166
312   Suggested by: Dennis McRitchie ( dmcr at Princeton dot EDU )
313   Fixed by    : Bas van der Vlies
314
[303]315 * Prevent mail loop. We could set the CC ticket field to
316   the ticket email address.
317    - For a new ticket and reply_all is set.
318    - If the ticket CC field is updated via the subject line.
[304]319
320   Also prevent setting the reporter address to the ticket email
321   address.
322
[303]323   closes #172
324   Reported by: otto at bergerdata dot de
325   Fixed vy   : Bas van der Vlies
326
327
328
329
[285]3302009-09-02
[278]331  * Implemented a new feature to drop the HTML version of multipart/alternative
[279]332    message part. Such a message part contains the same info. The info is sent
[280]333    in different formats and the client can decide which version to use.
[279]334    closes #30
[278]335
[283]336    to enable in email2trac.conf:
337        - drop_alternative_html_version: 1
338
[278]339    Implemented by: Bas van der Vlies
340
[276]3412009-08-20
[271]342  * updated aclocal.m4 to support python versions 2.5 and 2.6, closes #137
343  * use the email addres in the reporter field, closes #136
[269]344  * Fixed an error in blog update function
345
[271]346    All Fixes by: Bas van der Vlies
[269]347
[274]348  * if alternate notify template is set then also set ticket id. It will show
349    up as ticket change, closes #142
350    Reported by: hju att jochenkuhl dot de
351    Fixed by: Bas van der Vlies
352
[272]353  * Error in urllib.quote(filename) could not handle unicode
354    filenames, closes #138
355    Reported by: debacle at debian dot org
356    Applied  by: Bas van der Vlies
357
[274]358  * Fixed an error when debug is on and the body message contains unicode
359    strings, closes #144
360    Reported by: trumbitta at gmail dot com
361    Applied by: Bas van der Vlies
362
[276]363 * default trac version for email2trac is now updated to 0.11
364
[263]3652009-04-09
[256]366  * Fixed in parsing the reflow parameter, closes #123
367    Reported by: tomasz dot sterna at sensisoft dot com
368    Fixed by: Bas van der Vlies
369
[259]370   * implemented workflow for tickets that are reopend, closes #70
371     Reported by: hju att jochenkuhl dot de
372     Author by: Bas van der Vlies
373
[267]374   * added FullBlogPlugin support. So we can update/create the blogs
375     via email, #116
376     mail with subject line: <blog:.*> will create/update a blog entry.
[260]377     Authors: Bas van der Vlies & lucas dot eisenzimmer at t-systems-mms dot com
[261]378   
[262]379   * email2trac require at least python version 2.4, closes #131
380     Reported by: otto at bergerdata dot de
381     Fixed by: Bas van der Vlies
[260]382
[262]383   * We can now set ticket fields for a new ticket via the 'subject' line:
384       - Subject: <description> #?<field=value>[,<field=value>]*
385     closes #130
386     
387     Requested by: Steve
388     Implemented by: Bas van der Vlies
389
[254]3902009-01-30
[249]391  * applied patch exit with non-zero return code on failure, closes #117
392    Author: admin-egon at ikw dot uos dot de
393    Applied by : Bas van der Vlies
394
[251]395  * Ticket update with attachments did not work, closes #120
396    Reported by: Alexander Verkooijen (alexander at sara dot nl)
397    Fixed by: Bas van der Vlies
398
399  * Removed obsolete code
400    Author :  Bas van der Vlies
401
402  * When email address is known then the author name and email address
403    is used from the preference tab.  The match is case insensitive,
404    closes #118
405    Reported by: Pusateri, Matthew <Matthew dot Pusateri at tekelec dot com
406    Fixed by: Bas van der Vlies
407
[254]408  * Ticket id is not reported as ticket change, eg:
409    {{{
410        *   id  set to 118
411    }}}
[251]412    Author :  Bas van der Vlies
413
[246]4142009-01-19
[232]415  * applied patch to support RFC 3676 (format=flowed), closes #94, #99
[231]416    This patch adds a new option: reflow (default: False/0)
417    Author: ben at fetchsoftworks dot com
418    Applied by : Bas van der Vlies
419
420  * Fixed a bug in reply_all option, closes #95
421    Reported by: gmcgrath at princeton dot edu
422    Fixed by: Bas van der Vlies
423
[233]424  * Applied a patch for default values for custom ticket fields, closes #101
425    Author: ben at fetchsoftworks dot com
426    Applied by: Bas van der Vlies
427
[245]428  * Fixed a bug that a ticket was not updated when we only update ticket
429    field(s) via email (empty body email), closes #113
[241]430    Reported by: winnie at debian dot org
431    Fixed by: Bas van der Vlies
432 
[245]433  * Better support for inline attachments and multiple body parts, closes #105,
434    #80. Inline images in email are also shown in the ticket with the trac
435    [[Image(..)]] macro.
[241]436    Author: ben at fetchsoftworks dot com
437
[246]438  * More versatile support for Apple attachments. closes #106
[245]439    for explanation read:
440    - https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration#AppleAttachmentsoptions
[241]441    Author: ben at fetchsoftworks dot com
442
[245]443  * Applied a patch that solves problems with Window attachments, closes #110,
444    #93.
[242]445    Author: martin.poeschmann add eiskonzept dot com   
446    Applied by: Bas van der Vlies
447
[228]4482008-10-13
[213]449  * Fixed a bug in email_header formating. When an email2trac ticket
450    was updated via the web interface it would trigger a description
451    field update.
452
453    Fixed by: Bas van der Vlies
454
[216]455  * Reopen closed ticket if an update is received via email, closes #70
456    Requested by: Garrett McGrath gmcgrath add princeton dot edu
457    Fixed by: Bas van der Vlies
458
459
[217]460  * The [DEFAULT] section did not work any more due to change to internal
461    trac parser, closes ticket #73
462    Reported by: email2trac at bulk dot squeakyblue dot com
463    Fixed by: Bas van der Vlies
[218]464   
465  * black_list paramter must be comma-separated as mentioned in the
[225]466    documentation (#75) and removed the default value
467    "MAILER-DAEMON@" (#74)
[218]468    Reported by: email2trac at bulk dot squeakyblue dot com
469    Fixed by: Bas van der Vlies
[217]470
[219]471  * If a blank email is sent with just an attachment, a blank
472    comment is appended to the comments. fixed closes #89
[217]473
[219]474    Reported/Fixed by: ???
475    Applied by: Bas van der Vlies
476
[223]477  * added white_list parameter.  If set then only mail is accepted if
478    sender matches.
479    Author: Bas van der Vlies, jon dot wbstr at gmail dot com
480
[226]481  * added recipient_list parameter.  If set then only mail is accepted if
482    to-field matches. This only uses when people use a drop box to accept
[231]483    email for several email addresses, (closes #77)
[226]484    Author: Bas van der Vlies, jon dot wbstr at gmail dot com
[223]485
[225]486  * alternate notify template did not work for trac version 0.11
487    (#90).
[223]488    Reported/Fixed by: hju at jochenkuhl dot de
489    Applied by       : Bas van der Vlies
490
491  * added 'alternate_notify_template_update'. When set this notify
[225]492    template name will be used for ticket updates (#90).
[223]493    Author: Bas van der Vlies, hju at jochenkuhl dot de
494   
495   
[210]4962008-05-30
[205]497  * Fixed debian control file. Package can be build on any platform and
498    not only on i386 platforms:
[198]499
[205]500    Author: Christian Iversen ci add sikkerhed dot org
501    Applied by: Bas van der Vlies
[198]502
[205]503  * We now use the trac configuration parser routine
504    Author: andrei2102 add gmail dot com
505    Applied by: Bas van der Vlies
[200]506
[205]507  * Added new command line option -n/--dry-run. This option only show
508    what commands will be executed.
509    Author: Bas van der Vlies
[202]510
[205]511  * the default values for tickets can now also be set in
512   'email2trac.conf'. So you can use different values when an email
513    is converted to a ticket. The ticket value is set to this rules
514     - email2trac.conf
515     - trac.ini
[202]516
[205]517    email2trac.conf use same format as trac.ini, eg email2trac.conf:
518      [project]
519      default_component : test
[202]520
[205]521    closes request #55, for more info see:
522    - https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration
[204]523
[205]524     Requested by: greg dot deakyne at etapestry dot com
525     Implemented by: Bas van der Vlies
[204]526
[205]527  * Fixed a bug in ticket_update. It failed when project did not have
528    ticket component field,  closes bug #62
529    Reported by: gernot dot hillier add siemens dot com
530    Fixed by: Bas van der Vlies
[204]531         
[205]532  * run_email2trac.c:
533     - can no longer segfault after a failed malloc.
534     - after set*id failure, you'll get a diagnostic (or at least
535       nonzero exit status) and it won't attempt the exec.
[202]536
[205]537    Author: Jim Meyering jim add meyering dot net
[207]538    Applied by: Bas van der Vlies
[203]539
[207]540  * Made some approvements to spam function:
541     - If the he X-Spam-Score header is present, but has no value
542        email2trac will crash, closes #63
543
544     - Added config option which header field we must check
545       for determing if mail is Spam, eg:
546        - spam_header : X-Spam-Level (default: X-Spam-Score)
547 
548    Author: email2trac at bulk dot squeakyblue dot com
549    Applied by: Bas van der Vlies
550
[208]551
552  * black_list  is now a configuration option and is used to deny
553    email addesses, default value is: MAILER-DAEMON@
554
555    Can specifiy more then one email adress seperated by ',', eg:
556    black_list : basv@sara.nl, walter@sara.nl
557
[210]558    closes #39, #56
[207]559   
[208]560    Author: Bas van der Vlies
[210]561
562  * if mailto_link + german umlaut problem is fixed, closes #60
563    Reported by: alex at pirsig dot net
564    Fixed by: Bas van der Vlies
[208]565   
[207]566
[194]5672008-02-04
[189]568        * Added version check and exit if we do not support the trac version
569          closes bug #23
570          Reported By: Marc Zahnlecker m.zahnlecker at lxbyte dot de
[187]571
[192]572          Fixed By: Bas van der Vlies
573
[190]574        * Added check if syslog module is available. If it is not available
575          disable the syslog functionality.
[192]576          Author: michael.th add gmx dot net
[190]577
[192]578          Implemented by: Bas van der Vlies
579
[191]580        * Added strip_quotes function, default settings:
581                strip_quotes: <int> (default: 0)
582                mail_quote: <quote chars> (default: "> ")
[192]583          Author: nicolasm @ opera dot com
[191]584
[192]585          Implemented by: Bas van der Vlies
586
587        * Added patch to make notify email work with trac 0.11 dev.
588          Author: tbaschak add ktc dot mb dot ca       
589          Author: andrei2102 add gmail dot com
590
591          Implemented by: Bas van der Vlies
[194]592
593        * greedy matching in Subject line, We must stop after the first ':'
594          else we get wrong values for ticket fields when we update a ticket
595          via mail, closes ticket #37
596          Reported by: dmaziuk at bmrb dot wisc dot edu
597          Fixed    by: Bas van der Vlies
598
599        * added IGNORECASE flag to regular expression for black list. This
600          is a quick fix, still want to implement this as configuration
601          option, closed bug #39
602
603          Reported By: jodok at lovelysystems dot com
604          Fixed by   : Bas van der Vlies
605
606        * When a known user mails a ticket. We will set the Reporter to
607          its login name, closes bug #33, #41
608
609          Also add configuration option:
610                ignore_trac_user_settings : 0 (default value)
611
612          This option will skip the email address to trac user login name
613          mapping.
614
615          Reported by: anonymous
616          Fixed by   : Bas van der Vlies
617
618       
619        * SPAM detection was only for new mails not for ticket updates,
620          closed ticket #44
621
622          Reported by: Bas van der Vlies
623          Fixed by   : Bas van der Vlies
624         
[192]625           
[184]6262007-07-18
[163]627
628        * Implemented python_egg_cache environment variable. Some trac
629          installations may depend on it, closes ticket #10, eg:
630                python_egg_cache : /var/cache/eggcache
631
632          Reported By: Anonymous
[177]633          Fixed by   : Bas van der Vlies <basv@sara.nl>
[163]634
[170]635        * Implemented update ticket fields via email subject line, eg:
636                Re: [email2trac] #7?owner=bas,priority=minor: Error in parsing
637
638                - Sets the owner of the ticket to: bas
639                - Sets the priority of the ticket to: minor
[171]640         
641          For some ticket fields there are only a limited number of allowed
642          values. The supplied value will be checked against this list. If it
[179]643          is not vaild value the field update will be ignored.
[170]644
[177]645          Requested by  : trac at yadan dotnet, Jan Parchmann, see ticket #7
646          Implemented by: Bas van der Vlies <basv@sara.nl>
[170]647
[172]648        * Dropped support for version trac version 0.8. Removed all 0.8
[177]649          specific code. 
650          Fixed by: Bas van der Vlies <basv@sara.nl>
[170]651
[173]652        * Added a new config parameter: tmpdir: /var/tmp, default is '/tmp'
653          All functions now use this new parameter and use OS independent
654          path functions.
[177]655          Implemented by: Bas van der Vlies <basv@sara.nl>
[173]656
[175]657        * fixed and a creating directory problem email2trac.spec file
658          Fixed by: artrus at netzero dot net
659
[176]660        * set_owner function is obsolete. When component is set the trac code
661          will set the owner to the component owner.
[177]662          Fixed by    : Bas van der Vlies <basv@sara.nl>
[176]663
[177]664        * Also show email headers in a ticket update.
665          Requested by: Ramon Bastiaans
666          Fixed by    : Bas van der Vlies <basv@sara.nl>
667
[182]668        * A date patch so it works with trac version 0.11 for ticket updates.
669          Also applied for other trac versions.
670          Thanks to: tbaschak at ktc dot mb dot ca
671
[161]6722007-04-27
[150]673
[154]674        * Added check to catch an error when attachment size
[151]675          is too large, bug #1153
676          Author: Bas van der Vlies
[150]677
[151]678        * Wrap long line into user given length, use_textwrap: 72. Wraps lines
679          greater then 72 chars, #1123
680          Author: Bas van der Vlies &
681                  Rainer Sokoll (r.sokoll at intershop dot de)
682
683        * Fixed a dutch spelling, #1295
684          Author: Rainer Sokoll (r.sokoll at intershop dot de)
685
[149]686        * email2trac.py : blacklist (don't create ticket) mail from
687          MAILER-DAEMON to avoid loops
[152]688          Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr>
689
[149]690        * msg.bad.txt : add an example of message from MAILER-DAEMON
[152]691          Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr>
[149]692
[146]6932006-12-08
[135]694        * email2trac.py:
695          - Added verbatim_format option default is: 1
[139]696          Added by : Bas van der Vlies
697
[136]698          - Added strip_signature option default is: 0
[139]699          Added by : Bas van der Vlies
[135]700
[139]701          - Fixed some unicode errors, thanks to japanes SPAM.
702            If we can not unicode email message then display which
703            charset must be installed in ticket description. Else we
704            trac crashed with unicode errors ;-(
705          Fixed by: Bas van der Vlies
706
[142]707          - Fixed statements: str + unicode, raises an exception if
708            non-ascii value in unicode object.
709
710          - Forgot to unicode the author. So we got an error if we use
711            the mailto_link option in email2trac.conf.
[141]712          Fixed by: Bas van der Vlies
713
[139]714        * delete_spam.py:
715          - Now works for version 0.10 with new API-functions
716          Fixed by: Bas van der Vlies
717
[144]718        * Makefile.in
719          - Added install-conf. Install email2trac.conf if there is none
720            installed.
721          Fixed by: Bas van der Vlies
722
[132]7232006-10-27
[125]724
[129]725        * run_email2trac.c.
726       
727          - Setgid() must be called before setuid().
[125]728          Reported by:  Anonymous
729          Fixed    by:  Bas van der Vlies
[126]730
[129]731        * email2trac.py,
732       
733          - Fixed an error in Ticket Update. When ticket
[128]734          does not exists, proceed as if it is a new ticket
735          Fixed    by:  Bas van der Vlies
736
[129]737          - Fixed a strang bug in 0.9 version, if ticket update
738          is enabled and email has attachment(s). We are not allowed to
739          set the description and author field of the attachment else
740          the comment text is lost ;-(
[128]741          Fixed    by:  Bas van der Vlies
[129]742
743          - Fixed an error if enable_syslog and drop_spam is set. We get
744          an exception in the syslog if we use sys.exit(0), replaced by
745          return.
746          Fixed    by:  Bas van der Vlies
747
748        * delete_spam.py.
[124]749       
[129]750          - Trac version 0.10 made it easier to delete tickets.
751          Fixed    by:  Bas van der Vlies
752       
[121]7532006-10-10
[117]754        * Fixed race conditions in delete_spam.py and added some
755          debug code.
756          Fixed by   : Bas van der Vlies
[120]757
[117]758        * Added author and description field when attachment is
759          added to ticket. This is for trac version greater than
760          0.8.
761          Fixed by   : Bas van der Vlies
762          Thanks to Matthew Good for the hint
[120]763
[118]764        * Added drop_spam option, default = 0. If set then
765          mail marked as Spam is not accepted.
[120]766          Added by   : Bas van der Vlies
[117]767
[121]768        * Do not send notification if message is marked as Spam
769          and drop_spam is not set.
[120]770          Fixed by   : Bas van der Vlies
771
[113]7722006-10-02
[111]773        * Fixes possible segmentation faults in run_email2trac.c
774          Reported by: bcornec
775          Fixed by   : Bas van der Vlies
776
777        * Can set DEBUG level while configuring package, eg:
778          DEBUG=1 ./configure ( default : 0)
779          Reported by: syd at plug dot ca
780          Fixed By   : Bas van der Vlies
781
782        * delete_spam.py did not delete everything from the SQL tables
783          Reported by: brent at rcfile dot org
784          Fixed by   : Bas van der Vlies
785
[113]786        * Do not send notification when message is marked as Spam
[112]787          Fixed by   : Bas van der Vlies
788         
[106]7892006-08-28
[105]790        * fixes an error in the 'reply_all' setting
791          Thanks to and Patch by: ncarlson@ibsys.com
792
[106]793        * Added RPM spec file
794          Thanks to:  Jon Topper <jon@topper.me.uk>
795
[101]7962006-07-14
[95]797        * Use X11R5 install-sh to install email2trac components to hide
[98]798          native install program differences.
799          Author: Michel Jouvin <jouvin@lal.in2p3.fr>
[95]800
[98]801        * Fixed an error in saving attachments for new tickets for trac
802          versions greater then 0.9.
803          Fixed by: Bas van der Vlies
804
805        * When something went wrong save the offending email for debug
806          purposes.
807          Fixed by: Bas van der Vlies
808
[99]809        * delete_spam.py
810           - did not clean up the attachment table. So we got nasty new
811             mails with fake attachments.
812           - It works now for versions higher then 0.8
[100]813
814        * Finally understand the unicode/encode functions and hopefully
815          fixed the errors.
816          Fixed by: Bas van der Vlies
[103]817
818        * Remove the temporarly created attachment files.
819          Fixed by: Bas van der Vlies
[99]820       
[92]8212006-07-06
[95]822        * Fixed an error in already added attachments. Do not close
[85]823          the database connection.
824          Fixed by: Walter de Jong en Bas van der Vlies
825
[95]826        * Added enable_syslog option. If enabled log errors to syslog
[89]827          instead of stderr. If enabled no errors are send back to the
828          user.
[87]829          Implemented by: Bas van der Vlies
830
[95]831        * Fixed an error with updating tickets with attachments for trac
[87]832          versions 0.9 and 0.10. Field "id" is not known when a existing
833          ticket is fetched (Error = KeyError: 'id')
834          Fixed By: See tickets #258 and #449 on trac-hacks
835
[95]836        * Fixed and spell error, self.mail_addr must be self.email_addr
[88]837          Fixed by: Bas van der Vlies
838
[95]839        * Catch a LookupError in unicode/encode conversion in function
[91]840          get_body_text()
[89]841          Fixed by: Bas van der Vlies
842
[95]843        * Description field was always changed when updating the ticket
[90]844          via the web. Asked the mailing list for a solution and got one
845          ;-)
846          Patch/Suggestion by: Christian Boos
847          Applied by: Bas van der Vlies
848
[95]849        * Fixed an encoding problem when email_header is set to 1
[91]850          Fixed by: Bas van der Vlies
851
[95]852        * Fixed a bug in to_unicode() function.
[92]853          Fixed by: Bas van der Vlies
854
[95]855        * Fixed an unicodedata.normalize TypeError bug for filenames in the
[92]856          attachment function
857          Fixed by: Bas van der Vlies
858
859
[81]8602006-06-02
[95]861        * Added ticketing merging. To enable it there are two options for
[76]862          both options enable 'ticket_update' in email2trac.conf
[81]863          1 - Configure trac notification, eg:
[95]864                * (ticket address: ticket@test.nl)
[81]865                [notification]
866                smtp_enabled = true
867                smtp_always_cc = test@test.nl
868                smtp_server = localhost
[82]869                smtp_from =  ticket@test.nl
[76]870                always_notify_reporter = true
871
872          2 - Use the mailto_cc in email2trac.conf if you want to sent
[81]873              an email to the user and the trac ticket email address.
[76]874
875          With both options you get the right format of the subject line.
876
[95]877        * Use the short options for the install command. So it works for
[76]878          MacOSx Reported by: Nathaniel Irons.
[81]879
[95]880        * Updated inline documentation by Nathaniel Irons.
[76]881                 
[68]8822006-05-16
[95]883        * Fixed a bug when there was no plain text body.
[63]884          Reported by: Greg Deakyne
[95]885        * Fixed a small bug if default component owner is unknown.
[63]886          Just fill in some bogus info.
[95]887        * Use the short options for the install command. So it works for
[64]888          MacOSx
889          Reported by: Nathaniel Irons
[95]890        * Messages that has X-Virus-found in header are marked as SPAM
[68]891          Implemented by: Walter de Jong
[95]892        * Some modules are changed for version 0.10, Added and made some
[68]893          minor changes: Patch supplied by: Markus Tacker 
[95]894        * Ported delete_spam.py to version 0.9 and higher:
[69]895          Reported by: Nathaniel Irons
[63]896
[64]897
[58]8982006-03-08
899        - Fixed an bug for 0.9, there was a space in front of the ' ticket' directory.
900          removed it.
901          Reported by: mi-trachacks@moensolutions.com   
902          Fixed by: Bas van der Vlies
[95]903        * Fixed an exception error in delete_spam.py
[58]904          when shutil has not enough priveledges to remove the
905          attachments it is reported
906          Fixed by: Bas van der Vlies
[95]907        * email2trac.py: When you include the body tag, some
[58]908          mailers (like Thunderbird) will leave out the signature.
909          Therefore this version leaves out the body tag.
910          Fixed by: Walter de Jong
[95]911        * Added msg.txt for testing
[58]912          Fixed by: Bas van der Vlies
913
[46]9142006-02-01  Bas van der Vlies <basv@sara.nl>:
915        * Added Tikcet notification, send email when there is
916          a new ticket. Depends on notification setting in
917          trac.ini.
918          Implemented by: Kilian Cavalotti
[52]919        * Can use different template for ticket notification,
920          eg: alternate_notify_template: "a_tkt.css"
921          Implemented by: Kilian Cavalotti
[46]922        * Added reply_all config parameter. If set put all
923          CC-addresses from orginal mail in ticket CC-field.
924          Suggested by: Kilian Cavalotti
925        * Text in ticket description is also properly UTF-8
926          encoded
927          Implemented by: Kilian Cavalotti
928        * Removed reply_address from config file. Is not
929          necessary anymore. See Ticket notification.
930        * Added support for known users. If email address is
931          known then use the trac known username instead
932          of the email-address (only for trac version > 0.9)
933          Implemented by: Kilian Cavalotti
[48]934        * Fixed an error in saving attachments for version < 0.9.
935          Sometimes we got bogus attachments.
936          Fixed by: Walter de Jong
[50]937        * Added support to make an debian package
938          Implemented by: Bas van der Vlies
[46]939
[36]9402006-01-21  Bas van der Vlies <basv@sara.nl>:
941        * Fixed run_email2trac.c, did not work
942        * Added TRAC_SCRIPT_NAME to Makefile.in to
943          solve run_email2trac problem
944
945        Both errors reported by: kilian.cavalotti@lip6.fr
946
[33]9472006-01-20  Bas van der Vlies <basv@sara.nl>:
948        * A warning error is fixed by kilian.cavalotti@lip6.fr
949        * Several errors in make install ;-(, reported by
950          tacker
951
[23]9522006-01-15  Bas van der Vlies <basv@sara.nl>:
953        * Added configure script.
954
[18]9552006-01-10  Bas van der Vlies <basv@sara.nl>:
956        * Removed project_root from source and config file
957        * Adjust code so we can use mulitple stanza's in config file, eg:
958          [bas]
959          project: /data/trac/bas
960          spam_level: 3
961
962          use option "-p|--project bas" to select the stanza
963
[5]9642006-01-04  Bas van der Vlies <basv@sara.nl>:
965
966        * Fixed getopt for -f option
967        * Added suppport for different TRAC versions (0.8 and 0.9)
968
9692006-01-03  Michel Jouvin  <jouvin@lal.in2p3.fr>
970
971        * email2trac.py (ReadConfig) : allow project name relative to project root in configuration file
972       
973        * email2trac.py (TicketEmailParser.parse): save entire email for debugging only if debug >= 2
974
975        * run_email2trac.c: pass wrapper arguments to Python script, filtering out --file
976
977        * 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)
978
979        * 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)
980
9812005-12-22  Michel Jouvin  <jouvin@lal.in2p3.fr>
982
983        * Makefile: add a Makefile to build and install email2trac
984
985        * email2trac.py: migrate to Trac 0.9 API
986
9872005-12-21  Michel Jouvin  <jouvin@lal.in2p3.fr>
988
989        * run_email2trac.c: add error messages if DEBUG macro defined
990
991        * run_email2trac.c: add error testing and specific return values for each error
992
993        * run_email2trac.c: Move site specific paramaters to run_email2trac.h
994
995        * run_email2trac.h: include file to define site specific paramaters
996
9970.2.4 01/11/2005
998        Added email_header option if set then show TO/CC fields in
999        description of the ticket.
1000
1001        Fixed an error in the mailto URL. This was an old error that
1002        supposed to be fixed but reoccured in this version.
1003       
10040.2.3 31/10/2005
1005        Fixed a bug with base64 encoded attachments/emails
1006        Fixed by: Walter de Jong
1007
10080.2.2 10/10/2005
1009        according to RFC 2368 (titled "the mailto URL scheme") the mailto
1010        URL can only work with short &body messages. It fails with long
1011        messages and the link won't work. Therefore the mail body is
1012        no longer copied into the mail reply.
1013
10140.2.1 10/07/2005
1015        body of reply email looks better
1016
1017
10180.2   10/07/2005
1019        mailto is replaced by a html mailto to line. If
1020        you reply to the ticket via this link then an
1021        email client is started with some default values:
1022                To: <reporter>
1023                Subject: Re: <orginal subject>
1024                Body: email_comment <orginal text>
1025
1026        email2trac.conf:
1027                email_comment: # (default:  >)
1028
1029               
1030
Note: See TracBrowser for help on using the repository browser.