source: trunk/ChangeLog @ 532

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

fix a bug in the windows logging environment, closes #251

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