source: trunk/ChangeLog @ 515

Last change on this file since 515 was 514, checked in by bas, 13 years ago

changed tempfile.mktemp to tempfile.mkstemp

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