source: trunk/ChangeLog @ 574

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

added support for initgroup, thanks to Dennis McRitchie?,
closes #274

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