source: trunk/ChangeLog @ 536

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

fixed workflow problem when using mixed case chars, closes #264

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