source: trunk/ChangeLog @ 533

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

ticket_update_by_subject enhancement, closes #253

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