source: trunk/ChangeLog @ 567

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

change mime-type properties on Changelog

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