source: trunk/ChangeLog @ 237

Last change on this file since 237 was 233, checked in by bas, 14 years ago

email2trac.py.in:

  • default values for custom fields patch, #101
  • Property svn:mime-type set to text/x-trac-wiki
File size: 19.5 KB
RevLine 
[231]1200X-XX-XX
[232]2  * applied patch to support RFC 3676 (format=flowed), closes #94, #99
[231]3    This patch adds a new option: reflow (default: False/0)
4    Author: ben at fetchsoftworks dot com
5    Applied by : Bas van der Vlies
6
7  * Fixed a bug in reply_all option, closes #95
8    Reported by: gmcgrath at princeton dot edu
9    Fixed by: Bas van der Vlies
10
[233]11  * Applied a patch for default values for custom ticket fields, closes #101
12    Author: ben at fetchsoftworks dot com
13    Applied by: Bas van der Vlies
14
[228]152008-10-13
[213]16  * Fixed a bug in email_header formating. When an email2trac ticket
17    was updated via the web interface it would trigger a description
18    field update.
19
20    Fixed by: Bas van der Vlies
21
[216]22  * Reopen closed ticket if an update is received via email, closes #70
23    Requested by: Garrett McGrath gmcgrath add princeton dot edu
24    Fixed by: Bas van der Vlies
25
26
[217]27  * The [DEFAULT] section did not work any more due to change to internal
28    trac parser, closes ticket #73
29    Reported by: email2trac at bulk dot squeakyblue dot com
30    Fixed by: Bas van der Vlies
[218]31   
32  * black_list paramter must be comma-separated as mentioned in the
[225]33    documentation (#75) and removed the default value
34    "MAILER-DAEMON@" (#74)
[218]35    Reported by: email2trac at bulk dot squeakyblue dot com
36    Fixed by: Bas van der Vlies
[217]37
[219]38  * If a blank email is sent with just an attachment, a blank
39    comment is appended to the comments. fixed closes #89
[217]40
[219]41    Reported/Fixed by: ???
42    Applied by: Bas van der Vlies
43
[223]44  * added white_list parameter.  If set then only mail is accepted if
45    sender matches.
46    Author: Bas van der Vlies, jon dot wbstr at gmail dot com
47
[226]48  * added recipient_list parameter.  If set then only mail is accepted if
49    to-field matches. This only uses when people use a drop box to accept
[231]50    email for several email addresses, (closes #77)
[226]51    Author: Bas van der Vlies, jon dot wbstr at gmail dot com
[223]52
[225]53  * alternate notify template did not work for trac version 0.11
54    (#90).
[223]55    Reported/Fixed by: hju at jochenkuhl dot de
56    Applied by       : Bas van der Vlies
57
58  * added 'alternate_notify_template_update'. When set this notify
[225]59    template name will be used for ticket updates (#90).
[223]60    Author: Bas van der Vlies, hju at jochenkuhl dot de
61   
62   
[210]632008-05-30
[205]64  * Fixed debian control file. Package can be build on any platform and
65    not only on i386 platforms:
[198]66
[205]67    Author: Christian Iversen ci add sikkerhed dot org
68    Applied by: Bas van der Vlies
[198]69
[205]70  * We now use the trac configuration parser routine
71    Author: andrei2102 add gmail dot com
72    Applied by: Bas van der Vlies
[200]73
[205]74  * Added new command line option -n/--dry-run. This option only show
75    what commands will be executed.
76    Author: Bas van der Vlies
[202]77
[205]78  * the default values for tickets can now also be set in
79   'email2trac.conf'. So you can use different values when an email
80    is converted to a ticket. The ticket value is set to this rules
81     - email2trac.conf
82     - trac.ini
[202]83
[205]84    email2trac.conf use same format as trac.ini, eg email2trac.conf:
85      [project]
86      default_component : test
[202]87
[205]88    closes request #55, for more info see:
89    - https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration
[204]90
[205]91     Requested by: greg dot deakyne at etapestry dot com
92     Implemented by: Bas van der Vlies
[204]93
[205]94  * Fixed a bug in ticket_update. It failed when project did not have
95    ticket component field,  closes bug #62
96    Reported by: gernot dot hillier add siemens dot com
97    Fixed by: Bas van der Vlies
[204]98         
[205]99  * run_email2trac.c:
100     - can no longer segfault after a failed malloc.
101     - after set*id failure, you'll get a diagnostic (or at least
102       nonzero exit status) and it won't attempt the exec.
[202]103
[205]104    Author: Jim Meyering jim add meyering dot net
[207]105    Applied by: Bas van der Vlies
[203]106
[207]107  * Made some approvements to spam function:
108     - If the he X-Spam-Score header is present, but has no value
109        email2trac will crash, closes #63
110
111     - Added config option which header field we must check
112       for determing if mail is Spam, eg:
113        - spam_header : X-Spam-Level (default: X-Spam-Score)
114 
115    Author: email2trac at bulk dot squeakyblue dot com
116    Applied by: Bas van der Vlies
117
[208]118
119  * black_list  is now a configuration option and is used to deny
120    email addesses, default value is: MAILER-DAEMON@
121
122    Can specifiy more then one email adress seperated by ',', eg:
123    black_list : basv@sara.nl, walter@sara.nl
124
[210]125    closes #39, #56
[207]126   
[208]127    Author: Bas van der Vlies
[210]128
129  * if mailto_link + german umlaut problem is fixed, closes #60
130    Reported by: alex at pirsig dot net
131    Fixed by: Bas van der Vlies
[208]132   
[207]133
[194]1342008-02-04
[189]135        * Added version check and exit if we do not support the trac version
136          closes bug #23
137          Reported By: Marc Zahnlecker m.zahnlecker at lxbyte dot de
[187]138
[192]139          Fixed By: Bas van der Vlies
140
[190]141        * Added check if syslog module is available. If it is not available
142          disable the syslog functionality.
[192]143          Author: michael.th add gmx dot net
[190]144
[192]145          Implemented by: Bas van der Vlies
146
[191]147        * Added strip_quotes function, default settings:
148                strip_quotes: <int> (default: 0)
149                mail_quote: <quote chars> (default: "> ")
[192]150          Author: nicolasm @ opera dot com
[191]151
[192]152          Implemented by: Bas van der Vlies
153
154        * Added patch to make notify email work with trac 0.11 dev.
155          Author: tbaschak add ktc dot mb dot ca       
156          Author: andrei2102 add gmail dot com
157
158          Implemented by: Bas van der Vlies
[194]159
160        * greedy matching in Subject line, We must stop after the first ':'
161          else we get wrong values for ticket fields when we update a ticket
162          via mail, closes ticket #37
163          Reported by: dmaziuk at bmrb dot wisc dot edu
164          Fixed    by: Bas van der Vlies
165
166        * added IGNORECASE flag to regular expression for black list. This
167          is a quick fix, still want to implement this as configuration
168          option, closed bug #39
169
170          Reported By: jodok at lovelysystems dot com
171          Fixed by   : Bas van der Vlies
172
173        * When a known user mails a ticket. We will set the Reporter to
174          its login name, closes bug #33, #41
175
176          Also add configuration option:
177                ignore_trac_user_settings : 0 (default value)
178
179          This option will skip the email address to trac user login name
180          mapping.
181
182          Reported by: anonymous
183          Fixed by   : Bas van der Vlies
184
185       
186        * SPAM detection was only for new mails not for ticket updates,
187          closed ticket #44
188
189          Reported by: Bas van der Vlies
190          Fixed by   : Bas van der Vlies
191         
[192]192           
[184]1932007-07-18
[163]194
195        * Implemented python_egg_cache environment variable. Some trac
196          installations may depend on it, closes ticket #10, eg:
197                python_egg_cache : /var/cache/eggcache
198
199          Reported By: Anonymous
[177]200          Fixed by   : Bas van der Vlies <basv@sara.nl>
[163]201
[170]202        * Implemented update ticket fields via email subject line, eg:
203                Re: [email2trac] #7?owner=bas,priority=minor: Error in parsing
204
205                - Sets the owner of the ticket to: bas
206                - Sets the priority of the ticket to: minor
[171]207         
208          For some ticket fields there are only a limited number of allowed
209          values. The supplied value will be checked against this list. If it
[179]210          is not vaild value the field update will be ignored.
[170]211
[177]212          Requested by  : trac at yadan dotnet, Jan Parchmann, see ticket #7
213          Implemented by: Bas van der Vlies <basv@sara.nl>
[170]214
[172]215        * Dropped support for version trac version 0.8. Removed all 0.8
[177]216          specific code. 
217          Fixed by: Bas van der Vlies <basv@sara.nl>
[170]218
[173]219        * Added a new config parameter: tmpdir: /var/tmp, default is '/tmp'
220          All functions now use this new parameter and use OS independent
221          path functions.
[177]222          Implemented by: Bas van der Vlies <basv@sara.nl>
[173]223
[175]224        * fixed and a creating directory problem email2trac.spec file
225          Fixed by: artrus at netzero dot net
226
[176]227        * set_owner function is obsolete. When component is set the trac code
228          will set the owner to the component owner.
[177]229          Fixed by    : Bas van der Vlies <basv@sara.nl>
[176]230
[177]231        * Also show email headers in a ticket update.
232          Requested by: Ramon Bastiaans
233          Fixed by    : Bas van der Vlies <basv@sara.nl>
234
[182]235        * A date patch so it works with trac version 0.11 for ticket updates.
236          Also applied for other trac versions.
237          Thanks to: tbaschak at ktc dot mb dot ca
238
[161]2392007-04-27
[150]240
[154]241        * Added check to catch an error when attachment size
[151]242          is too large, bug #1153
243          Author: Bas van der Vlies
[150]244
[151]245        * Wrap long line into user given length, use_textwrap: 72. Wraps lines
246          greater then 72 chars, #1123
247          Author: Bas van der Vlies &
248                  Rainer Sokoll (r.sokoll at intershop dot de)
249
250        * Fixed a dutch spelling, #1295
251          Author: Rainer Sokoll (r.sokoll at intershop dot de)
252
[149]253        * email2trac.py : blacklist (don't create ticket) mail from
254          MAILER-DAEMON to avoid loops
[152]255          Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr>
256
[149]257        * msg.bad.txt : add an example of message from MAILER-DAEMON
[152]258          Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr>
[149]259
[146]2602006-12-08
[135]261        * email2trac.py:
262          - Added verbatim_format option default is: 1
[139]263          Added by : Bas van der Vlies
264
[136]265          - Added strip_signature option default is: 0
[139]266          Added by : Bas van der Vlies
[135]267
[139]268          - Fixed some unicode errors, thanks to japanes SPAM.
269            If we can not unicode email message then display which
270            charset must be installed in ticket description. Else we
271            trac crashed with unicode errors ;-(
272          Fixed by: Bas van der Vlies
273
[142]274          - Fixed statements: str + unicode, raises an exception if
275            non-ascii value in unicode object.
276
277          - Forgot to unicode the author. So we got an error if we use
278            the mailto_link option in email2trac.conf.
[141]279          Fixed by: Bas van der Vlies
280
[139]281        * delete_spam.py:
282          - Now works for version 0.10 with new API-functions
283          Fixed by: Bas van der Vlies
284
[144]285        * Makefile.in
286          - Added install-conf. Install email2trac.conf if there is none
287            installed.
288          Fixed by: Bas van der Vlies
289
[132]2902006-10-27
[125]291
[129]292        * run_email2trac.c.
293       
294          - Setgid() must be called before setuid().
[125]295          Reported by:  Anonymous
296          Fixed    by:  Bas van der Vlies
[126]297
[129]298        * email2trac.py,
299       
300          - Fixed an error in Ticket Update. When ticket
[128]301          does not exists, proceed as if it is a new ticket
302          Fixed    by:  Bas van der Vlies
303
[129]304          - Fixed a strang bug in 0.9 version, if ticket update
305          is enabled and email has attachment(s). We are not allowed to
306          set the description and author field of the attachment else
307          the comment text is lost ;-(
[128]308          Fixed    by:  Bas van der Vlies
[129]309
310          - Fixed an error if enable_syslog and drop_spam is set. We get
311          an exception in the syslog if we use sys.exit(0), replaced by
312          return.
313          Fixed    by:  Bas van der Vlies
314
315        * delete_spam.py.
[124]316       
[129]317          - Trac version 0.10 made it easier to delete tickets.
318          Fixed    by:  Bas van der Vlies
319       
[121]3202006-10-10
[117]321        * Fixed race conditions in delete_spam.py and added some
322          debug code.
323          Fixed by   : Bas van der Vlies
[120]324
[117]325        * Added author and description field when attachment is
326          added to ticket. This is for trac version greater than
327          0.8.
328          Fixed by   : Bas van der Vlies
329          Thanks to Matthew Good for the hint
[120]330
[118]331        * Added drop_spam option, default = 0. If set then
332          mail marked as Spam is not accepted.
[120]333          Added by   : Bas van der Vlies
[117]334
[121]335        * Do not send notification if message is marked as Spam
336          and drop_spam is not set.
[120]337          Fixed by   : Bas van der Vlies
338
[113]3392006-10-02
[111]340        * Fixes possible segmentation faults in run_email2trac.c
341          Reported by: bcornec
342          Fixed by   : Bas van der Vlies
343
344        * Can set DEBUG level while configuring package, eg:
345          DEBUG=1 ./configure ( default : 0)
346          Reported by: syd at plug dot ca
347          Fixed By   : Bas van der Vlies
348
349        * delete_spam.py did not delete everything from the SQL tables
350          Reported by: brent at rcfile dot org
351          Fixed by   : Bas van der Vlies
352
[113]353        * Do not send notification when message is marked as Spam
[112]354          Fixed by   : Bas van der Vlies
355         
[106]3562006-08-28
[105]357        * fixes an error in the 'reply_all' setting
358          Thanks to and Patch by: ncarlson@ibsys.com
359
[106]360        * Added RPM spec file
361          Thanks to:  Jon Topper <jon@topper.me.uk>
362
[101]3632006-07-14
[95]364        * Use X11R5 install-sh to install email2trac components to hide
[98]365          native install program differences.
366          Author: Michel Jouvin <jouvin@lal.in2p3.fr>
[95]367
[98]368        * Fixed an error in saving attachments for new tickets for trac
369          versions greater then 0.9.
370          Fixed by: Bas van der Vlies
371
372        * When something went wrong save the offending email for debug
373          purposes.
374          Fixed by: Bas van der Vlies
375
[99]376        * delete_spam.py
377           - did not clean up the attachment table. So we got nasty new
378             mails with fake attachments.
379           - It works now for versions higher then 0.8
[100]380
381        * Finally understand the unicode/encode functions and hopefully
382          fixed the errors.
383          Fixed by: Bas van der Vlies
[103]384
385        * Remove the temporarly created attachment files.
386          Fixed by: Bas van der Vlies
[99]387       
[92]3882006-07-06
[95]389        * Fixed an error in already added attachments. Do not close
[85]390          the database connection.
391          Fixed by: Walter de Jong en Bas van der Vlies
392
[95]393        * Added enable_syslog option. If enabled log errors to syslog
[89]394          instead of stderr. If enabled no errors are send back to the
395          user.
[87]396          Implemented by: Bas van der Vlies
397
[95]398        * Fixed an error with updating tickets with attachments for trac
[87]399          versions 0.9 and 0.10. Field "id" is not known when a existing
400          ticket is fetched (Error = KeyError: 'id')
401          Fixed By: See tickets #258 and #449 on trac-hacks
402
[95]403        * Fixed and spell error, self.mail_addr must be self.email_addr
[88]404          Fixed by: Bas van der Vlies
405
[95]406        * Catch a LookupError in unicode/encode conversion in function
[91]407          get_body_text()
[89]408          Fixed by: Bas van der Vlies
409
[95]410        * Description field was always changed when updating the ticket
[90]411          via the web. Asked the mailing list for a solution and got one
412          ;-)
413          Patch/Suggestion by: Christian Boos
414          Applied by: Bas van der Vlies
415
[95]416        * Fixed an encoding problem when email_header is set to 1
[91]417          Fixed by: Bas van der Vlies
418
[95]419        * Fixed a bug in to_unicode() function.
[92]420          Fixed by: Bas van der Vlies
421
[95]422        * Fixed an unicodedata.normalize TypeError bug for filenames in the
[92]423          attachment function
424          Fixed by: Bas van der Vlies
425
426
[81]4272006-06-02
[95]428        * Added ticketing merging. To enable it there are two options for
[76]429          both options enable 'ticket_update' in email2trac.conf
[81]430          1 - Configure trac notification, eg:
[95]431                * (ticket address: ticket@test.nl)
[81]432                [notification]
433                smtp_enabled = true
434                smtp_always_cc = test@test.nl
435                smtp_server = localhost
[82]436                smtp_from =  ticket@test.nl
[76]437                always_notify_reporter = true
438
439          2 - Use the mailto_cc in email2trac.conf if you want to sent
[81]440              an email to the user and the trac ticket email address.
[76]441
442          With both options you get the right format of the subject line.
443
[95]444        * Use the short options for the install command. So it works for
[76]445          MacOSx Reported by: Nathaniel Irons.
[81]446
[95]447        * Updated inline documentation by Nathaniel Irons.
[76]448                 
[68]4492006-05-16
[95]450        * Fixed a bug when there was no plain text body.
[63]451          Reported by: Greg Deakyne
[95]452        * Fixed a small bug if default component owner is unknown.
[63]453          Just fill in some bogus info.
[95]454        * Use the short options for the install command. So it works for
[64]455          MacOSx
456          Reported by: Nathaniel Irons
[95]457        * Messages that has X-Virus-found in header are marked as SPAM
[68]458          Implemented by: Walter de Jong
[95]459        * Some modules are changed for version 0.10, Added and made some
[68]460          minor changes: Patch supplied by: Markus Tacker 
[95]461        * Ported delete_spam.py to version 0.9 and higher:
[69]462          Reported by: Nathaniel Irons
[63]463
[64]464
[58]4652006-03-08
466        - Fixed an bug for 0.9, there was a space in front of the ' ticket' directory.
467          removed it.
468          Reported by: mi-trachacks@moensolutions.com   
469          Fixed by: Bas van der Vlies
[95]470        * Fixed an exception error in delete_spam.py
[58]471          when shutil has not enough priveledges to remove the
472          attachments it is reported
473          Fixed by: Bas van der Vlies
[95]474        * email2trac.py: When you include the body tag, some
[58]475          mailers (like Thunderbird) will leave out the signature.
476          Therefore this version leaves out the body tag.
477          Fixed by: Walter de Jong
[95]478        * Added msg.txt for testing
[58]479          Fixed by: Bas van der Vlies
480
[46]4812006-02-01  Bas van der Vlies <basv@sara.nl>:
482        * Added Tikcet notification, send email when there is
483          a new ticket. Depends on notification setting in
484          trac.ini.
485          Implemented by: Kilian Cavalotti
[52]486        * Can use different template for ticket notification,
487          eg: alternate_notify_template: "a_tkt.css"
488          Implemented by: Kilian Cavalotti
[46]489        * Added reply_all config parameter. If set put all
490          CC-addresses from orginal mail in ticket CC-field.
491          Suggested by: Kilian Cavalotti
492        * Text in ticket description is also properly UTF-8
493          encoded
494          Implemented by: Kilian Cavalotti
495        * Removed reply_address from config file. Is not
496          necessary anymore. See Ticket notification.
497        * Added support for known users. If email address is
498          known then use the trac known username instead
499          of the email-address (only for trac version > 0.9)
500          Implemented by: Kilian Cavalotti
[48]501        * Fixed an error in saving attachments for version < 0.9.
502          Sometimes we got bogus attachments.
503          Fixed by: Walter de Jong
[50]504        * Added support to make an debian package
505          Implemented by: Bas van der Vlies
[46]506
[36]5072006-01-21  Bas van der Vlies <basv@sara.nl>:
508        * Fixed run_email2trac.c, did not work
509        * Added TRAC_SCRIPT_NAME to Makefile.in to
510          solve run_email2trac problem
511
512        Both errors reported by: kilian.cavalotti@lip6.fr
513
[33]5142006-01-20  Bas van der Vlies <basv@sara.nl>:
515        * A warning error is fixed by kilian.cavalotti@lip6.fr
516        * Several errors in make install ;-(, reported by
517          tacker
518
[23]5192006-01-15  Bas van der Vlies <basv@sara.nl>:
520        * Added configure script.
521
[18]5222006-01-10  Bas van der Vlies <basv@sara.nl>:
523        * Removed project_root from source and config file
524        * Adjust code so we can use mulitple stanza's in config file, eg:
525          [bas]
526          project: /data/trac/bas
527          spam_level: 3
528
529          use option "-p|--project bas" to select the stanza
530
[5]5312006-01-04  Bas van der Vlies <basv@sara.nl>:
532
533        * Fixed getopt for -f option
534        * Added suppport for different TRAC versions (0.8 and 0.9)
535
5362006-01-03  Michel Jouvin  <jouvin@lal.in2p3.fr>
537
538        * email2trac.py (ReadConfig) : allow project name relative to project root in configuration file
539       
540        * email2trac.py (TicketEmailParser.parse): save entire email for debugging only if debug >= 2
541
542        * run_email2trac.c: pass wrapper arguments to Python script, filtering out --file
543
544        * 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)
545
546        * 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)
547
5482005-12-22  Michel Jouvin  <jouvin@lal.in2p3.fr>
549
550        * Makefile: add a Makefile to build and install email2trac
551
552        * email2trac.py: migrate to Trac 0.9 API
553
5542005-12-21  Michel Jouvin  <jouvin@lal.in2p3.fr>
555
556        * run_email2trac.c: add error messages if DEBUG macro defined
557
558        * run_email2trac.c: add error testing and specific return values for each error
559
560        * run_email2trac.c: Move site specific paramaters to run_email2trac.h
561
562        * run_email2trac.h: include file to define site specific paramaters
563
5640.2.4 01/11/2005
565        Added email_header option if set then show TO/CC fields in
566        description of the ticket.
567
568        Fixed an error in the mailto URL. This was an old error that
569        supposed to be fixed but reoccured in this version.
570       
5710.2.3 31/10/2005
572        Fixed a bug with base64 encoded attachments/emails
573        Fixed by: Walter de Jong
574
5750.2.2 10/10/2005
576        according to RFC 2368 (titled "the mailto URL scheme") the mailto
577        URL can only work with short &body messages. It fails with long
578        messages and the link won't work. Therefore the mail body is
579        no longer copied into the mail reply.
580
5810.2.1 10/07/2005
582        body of reply email looks better
583
584
5850.2   10/07/2005
586        mailto is replaced by a html mailto to line. If
587        you reply to the ticket via this link then an
588        email client is started with some default values:
589                To: <reporter>
590                Subject: Re: <orginal subject>
591                Body: email_comment <orginal text>
592
593        email2trac.conf:
594                email_comment: # (default:  >)
595
596               
597
Note: See TracBrowser for help on using the repository browser.