source: trunk/ChangeLog @ 576

Last change on this file since 576 was 576, checked in by bas, 11 years ago

fixed an error in parsing from addres if email name contains a charset

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