source: trunk/ChangeLog @ 520

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

fixed a bug in the date format used for ticket_update_by_subject.

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