source: trunk/ChangeLog @ 529

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

fixed a bug in ticket update by subject for trac version less then 0.12, closes #248

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