source: trunk/ChangeLog @ 588

Last change on this file since 588 was 588, checked in by bas, 12 years ago

added a new parameter 'white_list_file', closes #288

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