[187] | 1 | 2007-XX-XX |
---|
[189] | 2 | * Added version check and exit if we do not support the trac version |
---|
| 3 | closes bug #23 |
---|
| 4 | Reported By: Marc Zahnlecker m.zahnlecker at lxbyte dot de |
---|
| 5 | Fixed By : Bas van der Vlies |
---|
[187] | 6 | |
---|
[190] | 7 | * Added check if syslog module is available. If it is not available |
---|
| 8 | disable the syslog functionality. |
---|
| 9 | Author : michael.th add gmx dot net |
---|
| 10 | |
---|
| 11 | |
---|
[184] | 12 | 2007-07-18 |
---|
[163] | 13 | |
---|
| 14 | * Implemented python_egg_cache environment variable. Some trac |
---|
| 15 | installations may depend on it, closes ticket #10, eg: |
---|
| 16 | python_egg_cache : /var/cache/eggcache |
---|
| 17 | |
---|
| 18 | Reported By: Anonymous |
---|
[177] | 19 | Fixed by : Bas van der Vlies <basv@sara.nl> |
---|
[163] | 20 | |
---|
[170] | 21 | * Implemented update ticket fields via email subject line, eg: |
---|
| 22 | Re: [email2trac] #7?owner=bas,priority=minor: Error in parsing |
---|
| 23 | |
---|
| 24 | - Sets the owner of the ticket to: bas |
---|
| 25 | - Sets the priority of the ticket to: minor |
---|
[171] | 26 | |
---|
| 27 | For some ticket fields there are only a limited number of allowed |
---|
| 28 | values. The supplied value will be checked against this list. If it |
---|
[179] | 29 | is not vaild value the field update will be ignored. |
---|
[170] | 30 | |
---|
[177] | 31 | Requested by : trac at yadan dotnet, Jan Parchmann, see ticket #7 |
---|
| 32 | Implemented by: Bas van der Vlies <basv@sara.nl> |
---|
[170] | 33 | |
---|
[172] | 34 | * Dropped support for version trac version 0.8. Removed all 0.8 |
---|
[177] | 35 | specific code. |
---|
| 36 | Fixed by: Bas van der Vlies <basv@sara.nl> |
---|
[170] | 37 | |
---|
[173] | 38 | * Added a new config parameter: tmpdir: /var/tmp, default is '/tmp' |
---|
| 39 | All functions now use this new parameter and use OS independent |
---|
| 40 | path functions. |
---|
[177] | 41 | Implemented by: Bas van der Vlies <basv@sara.nl> |
---|
[173] | 42 | |
---|
[175] | 43 | * fixed and a creating directory problem email2trac.spec file |
---|
| 44 | Fixed by: artrus at netzero dot net |
---|
| 45 | |
---|
[176] | 46 | * set_owner function is obsolete. When component is set the trac code |
---|
| 47 | will set the owner to the component owner. |
---|
[177] | 48 | Fixed by : Bas van der Vlies <basv@sara.nl> |
---|
[176] | 49 | |
---|
[177] | 50 | * Also show email headers in a ticket update. |
---|
| 51 | Requested by: Ramon Bastiaans |
---|
| 52 | Fixed by : Bas van der Vlies <basv@sara.nl> |
---|
| 53 | |
---|
[182] | 54 | * A date patch so it works with trac version 0.11 for ticket updates. |
---|
| 55 | Also applied for other trac versions. |
---|
| 56 | Thanks to: tbaschak at ktc dot mb dot ca |
---|
| 57 | |
---|
[161] | 58 | 2007-04-27 |
---|
[150] | 59 | |
---|
[154] | 60 | * Added check to catch an error when attachment size |
---|
[151] | 61 | is too large, bug #1153 |
---|
| 62 | Author: Bas van der Vlies |
---|
[150] | 63 | |
---|
[151] | 64 | * Wrap long line into user given length, use_textwrap: 72. Wraps lines |
---|
| 65 | greater then 72 chars, #1123 |
---|
| 66 | Author: Bas van der Vlies & |
---|
| 67 | Rainer Sokoll (r.sokoll at intershop dot de) |
---|
| 68 | |
---|
| 69 | * Fixed a dutch spelling, #1295 |
---|
| 70 | Author: Rainer Sokoll (r.sokoll at intershop dot de) |
---|
| 71 | |
---|
[149] | 72 | * email2trac.py : blacklist (don't create ticket) mail from |
---|
| 73 | MAILER-DAEMON to avoid loops |
---|
[152] | 74 | Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr> |
---|
| 75 | |
---|
[149] | 76 | * msg.bad.txt : add an example of message from MAILER-DAEMON |
---|
[152] | 77 | Author: Michel Jouvin <jouvin at lal dot in2p3 dot fr> |
---|
[149] | 78 | |
---|
[146] | 79 | 2006-12-08 |
---|
[135] | 80 | * email2trac.py: |
---|
| 81 | - Added verbatim_format option default is: 1 |
---|
[139] | 82 | Added by : Bas van der Vlies |
---|
| 83 | |
---|
[136] | 84 | - Added strip_signature option default is: 0 |
---|
[139] | 85 | Added by : Bas van der Vlies |
---|
[135] | 86 | |
---|
[139] | 87 | - Fixed some unicode errors, thanks to japanes SPAM. |
---|
| 88 | If we can not unicode email message then display which |
---|
| 89 | charset must be installed in ticket description. Else we |
---|
| 90 | trac crashed with unicode errors ;-( |
---|
| 91 | Fixed by: Bas van der Vlies |
---|
| 92 | |
---|
[142] | 93 | - Fixed statements: str + unicode, raises an exception if |
---|
| 94 | non-ascii value in unicode object. |
---|
| 95 | |
---|
| 96 | - Forgot to unicode the author. So we got an error if we use |
---|
| 97 | the mailto_link option in email2trac.conf. |
---|
[141] | 98 | Fixed by: Bas van der Vlies |
---|
| 99 | |
---|
[139] | 100 | * delete_spam.py: |
---|
| 101 | - Now works for version 0.10 with new API-functions |
---|
| 102 | Fixed by: Bas van der Vlies |
---|
| 103 | |
---|
[144] | 104 | * Makefile.in |
---|
| 105 | - Added install-conf. Install email2trac.conf if there is none |
---|
| 106 | installed. |
---|
| 107 | Fixed by: Bas van der Vlies |
---|
| 108 | |
---|
[132] | 109 | 2006-10-27 |
---|
[125] | 110 | |
---|
[129] | 111 | * run_email2trac.c. |
---|
| 112 | |
---|
| 113 | - Setgid() must be called before setuid(). |
---|
[125] | 114 | Reported by: Anonymous |
---|
| 115 | Fixed by: Bas van der Vlies |
---|
[126] | 116 | |
---|
[129] | 117 | * email2trac.py, |
---|
| 118 | |
---|
| 119 | - Fixed an error in Ticket Update. When ticket |
---|
[128] | 120 | does not exists, proceed as if it is a new ticket |
---|
| 121 | Fixed by: Bas van der Vlies |
---|
| 122 | |
---|
[129] | 123 | - Fixed a strang bug in 0.9 version, if ticket update |
---|
| 124 | is enabled and email has attachment(s). We are not allowed to |
---|
| 125 | set the description and author field of the attachment else |
---|
| 126 | the comment text is lost ;-( |
---|
[128] | 127 | Fixed by: Bas van der Vlies |
---|
[129] | 128 | |
---|
| 129 | - Fixed an error if enable_syslog and drop_spam is set. We get |
---|
| 130 | an exception in the syslog if we use sys.exit(0), replaced by |
---|
| 131 | return. |
---|
| 132 | Fixed by: Bas van der Vlies |
---|
| 133 | |
---|
| 134 | * delete_spam.py. |
---|
[124] | 135 | |
---|
[129] | 136 | - Trac version 0.10 made it easier to delete tickets. |
---|
| 137 | Fixed by: Bas van der Vlies |
---|
| 138 | |
---|
[121] | 139 | 2006-10-10 |
---|
[117] | 140 | * Fixed race conditions in delete_spam.py and added some |
---|
| 141 | debug code. |
---|
| 142 | Fixed by : Bas van der Vlies |
---|
[120] | 143 | |
---|
[117] | 144 | * Added author and description field when attachment is |
---|
| 145 | added to ticket. This is for trac version greater than |
---|
| 146 | 0.8. |
---|
| 147 | Fixed by : Bas van der Vlies |
---|
| 148 | Thanks to Matthew Good for the hint |
---|
[120] | 149 | |
---|
[118] | 150 | * Added drop_spam option, default = 0. If set then |
---|
| 151 | mail marked as Spam is not accepted. |
---|
[120] | 152 | Added by : Bas van der Vlies |
---|
[117] | 153 | |
---|
[121] | 154 | * Do not send notification if message is marked as Spam |
---|
| 155 | and drop_spam is not set. |
---|
[120] | 156 | Fixed by : Bas van der Vlies |
---|
| 157 | |
---|
[113] | 158 | 2006-10-02 |
---|
[111] | 159 | * Fixes possible segmentation faults in run_email2trac.c |
---|
| 160 | Reported by: bcornec |
---|
| 161 | Fixed by : Bas van der Vlies |
---|
| 162 | |
---|
| 163 | * Can set DEBUG level while configuring package, eg: |
---|
| 164 | DEBUG=1 ./configure ( default : 0) |
---|
| 165 | Reported by: syd at plug dot ca |
---|
| 166 | Fixed By : Bas van der Vlies |
---|
| 167 | |
---|
| 168 | * delete_spam.py did not delete everything from the SQL tables |
---|
| 169 | Reported by: brent at rcfile dot org |
---|
| 170 | Fixed by : Bas van der Vlies |
---|
| 171 | |
---|
[113] | 172 | * Do not send notification when message is marked as Spam |
---|
[112] | 173 | Fixed by : Bas van der Vlies |
---|
| 174 | |
---|
[106] | 175 | 2006-08-28 |
---|
[105] | 176 | * fixes an error in the 'reply_all' setting |
---|
| 177 | Thanks to and Patch by: ncarlson@ibsys.com |
---|
| 178 | |
---|
[106] | 179 | * Added RPM spec file |
---|
| 180 | Thanks to: Jon Topper <jon@topper.me.uk> |
---|
| 181 | |
---|
[101] | 182 | 2006-07-14 |
---|
[95] | 183 | * Use X11R5 install-sh to install email2trac components to hide |
---|
[98] | 184 | native install program differences. |
---|
| 185 | Author: Michel Jouvin <jouvin@lal.in2p3.fr> |
---|
[95] | 186 | |
---|
[98] | 187 | * Fixed an error in saving attachments for new tickets for trac |
---|
| 188 | versions greater then 0.9. |
---|
| 189 | Fixed by: Bas van der Vlies |
---|
| 190 | |
---|
| 191 | * When something went wrong save the offending email for debug |
---|
| 192 | purposes. |
---|
| 193 | Fixed by: Bas van der Vlies |
---|
| 194 | |
---|
[99] | 195 | * delete_spam.py |
---|
| 196 | - did not clean up the attachment table. So we got nasty new |
---|
| 197 | mails with fake attachments. |
---|
| 198 | - It works now for versions higher then 0.8 |
---|
[100] | 199 | |
---|
| 200 | * Finally understand the unicode/encode functions and hopefully |
---|
| 201 | fixed the errors. |
---|
| 202 | Fixed by: Bas van der Vlies |
---|
[103] | 203 | |
---|
| 204 | * Remove the temporarly created attachment files. |
---|
| 205 | Fixed by: Bas van der Vlies |
---|
[99] | 206 | |
---|
[92] | 207 | 2006-07-06 |
---|
[95] | 208 | * Fixed an error in already added attachments. Do not close |
---|
[85] | 209 | the database connection. |
---|
| 210 | Fixed by: Walter de Jong en Bas van der Vlies |
---|
| 211 | |
---|
[95] | 212 | * Added enable_syslog option. If enabled log errors to syslog |
---|
[89] | 213 | instead of stderr. If enabled no errors are send back to the |
---|
| 214 | user. |
---|
[87] | 215 | Implemented by: Bas van der Vlies |
---|
| 216 | |
---|
[95] | 217 | * Fixed an error with updating tickets with attachments for trac |
---|
[87] | 218 | versions 0.9 and 0.10. Field "id" is not known when a existing |
---|
| 219 | ticket is fetched (Error = KeyError: 'id') |
---|
| 220 | Fixed By: See tickets #258 and #449 on trac-hacks |
---|
| 221 | |
---|
[95] | 222 | * Fixed and spell error, self.mail_addr must be self.email_addr |
---|
[88] | 223 | Fixed by: Bas van der Vlies |
---|
| 224 | |
---|
[95] | 225 | * Catch a LookupError in unicode/encode conversion in function |
---|
[91] | 226 | get_body_text() |
---|
[89] | 227 | Fixed by: Bas van der Vlies |
---|
| 228 | |
---|
[95] | 229 | * Description field was always changed when updating the ticket |
---|
[90] | 230 | via the web. Asked the mailing list for a solution and got one |
---|
| 231 | ;-) |
---|
| 232 | Patch/Suggestion by: Christian Boos |
---|
| 233 | Applied by: Bas van der Vlies |
---|
| 234 | |
---|
[95] | 235 | * Fixed an encoding problem when email_header is set to 1 |
---|
[91] | 236 | Fixed by: Bas van der Vlies |
---|
| 237 | |
---|
[95] | 238 | * Fixed a bug in to_unicode() function. |
---|
[92] | 239 | Fixed by: Bas van der Vlies |
---|
| 240 | |
---|
[95] | 241 | * Fixed an unicodedata.normalize TypeError bug for filenames in the |
---|
[92] | 242 | attachment function |
---|
| 243 | Fixed by: Bas van der Vlies |
---|
| 244 | |
---|
| 245 | |
---|
[81] | 246 | 2006-06-02 |
---|
[95] | 247 | * Added ticketing merging. To enable it there are two options for |
---|
[76] | 248 | both options enable 'ticket_update' in email2trac.conf |
---|
[81] | 249 | 1 - Configure trac notification, eg: |
---|
[95] | 250 | * (ticket address: ticket@test.nl) |
---|
[81] | 251 | [notification] |
---|
| 252 | smtp_enabled = true |
---|
| 253 | smtp_always_cc = test@test.nl |
---|
| 254 | smtp_server = localhost |
---|
[82] | 255 | smtp_from = ticket@test.nl |
---|
[76] | 256 | always_notify_reporter = true |
---|
| 257 | |
---|
| 258 | 2 - Use the mailto_cc in email2trac.conf if you want to sent |
---|
[81] | 259 | an email to the user and the trac ticket email address. |
---|
[76] | 260 | |
---|
| 261 | With both options you get the right format of the subject line. |
---|
| 262 | |
---|
[95] | 263 | * Use the short options for the install command. So it works for |
---|
[76] | 264 | MacOSx Reported by: Nathaniel Irons. |
---|
[81] | 265 | |
---|
[95] | 266 | * Updated inline documentation by Nathaniel Irons. |
---|
[76] | 267 | |
---|
[68] | 268 | 2006-05-16 |
---|
[95] | 269 | * Fixed a bug when there was no plain text body. |
---|
[63] | 270 | Reported by: Greg Deakyne |
---|
[95] | 271 | * Fixed a small bug if default component owner is unknown. |
---|
[63] | 272 | Just fill in some bogus info. |
---|
[95] | 273 | * Use the short options for the install command. So it works for |
---|
[64] | 274 | MacOSx |
---|
| 275 | Reported by: Nathaniel Irons |
---|
[95] | 276 | * Messages that has X-Virus-found in header are marked as SPAM |
---|
[68] | 277 | Implemented by: Walter de Jong |
---|
[95] | 278 | * Some modules are changed for version 0.10, Added and made some |
---|
[68] | 279 | minor changes: Patch supplied by: Markus Tacker |
---|
[95] | 280 | * Ported delete_spam.py to version 0.9 and higher: |
---|
[69] | 281 | Reported by: Nathaniel Irons |
---|
[63] | 282 | |
---|
[64] | 283 | |
---|
[58] | 284 | 2006-03-08 |
---|
| 285 | - Fixed an bug for 0.9, there was a space in front of the ' ticket' directory. |
---|
| 286 | removed it. |
---|
| 287 | Reported by: mi-trachacks@moensolutions.com |
---|
| 288 | Fixed by: Bas van der Vlies |
---|
[95] | 289 | * Fixed an exception error in delete_spam.py |
---|
[58] | 290 | when shutil has not enough priveledges to remove the |
---|
| 291 | attachments it is reported |
---|
| 292 | Fixed by: Bas van der Vlies |
---|
[95] | 293 | * email2trac.py: When you include the body tag, some |
---|
[58] | 294 | mailers (like Thunderbird) will leave out the signature. |
---|
| 295 | Therefore this version leaves out the body tag. |
---|
| 296 | Fixed by: Walter de Jong |
---|
[95] | 297 | * Added msg.txt for testing |
---|
[58] | 298 | Fixed by: Bas van der Vlies |
---|
| 299 | |
---|
[46] | 300 | 2006-02-01 Bas van der Vlies <basv@sara.nl>: |
---|
| 301 | * Added Tikcet notification, send email when there is |
---|
| 302 | a new ticket. Depends on notification setting in |
---|
| 303 | trac.ini. |
---|
| 304 | Implemented by: Kilian Cavalotti |
---|
[52] | 305 | * Can use different template for ticket notification, |
---|
| 306 | eg: alternate_notify_template: "a_tkt.css" |
---|
| 307 | Implemented by: Kilian Cavalotti |
---|
[46] | 308 | * Added reply_all config parameter. If set put all |
---|
| 309 | CC-addresses from orginal mail in ticket CC-field. |
---|
| 310 | Suggested by: Kilian Cavalotti |
---|
| 311 | * Text in ticket description is also properly UTF-8 |
---|
| 312 | encoded |
---|
| 313 | Implemented by: Kilian Cavalotti |
---|
| 314 | * Removed reply_address from config file. Is not |
---|
| 315 | necessary anymore. See Ticket notification. |
---|
| 316 | * Added support for known users. If email address is |
---|
| 317 | known then use the trac known username instead |
---|
| 318 | of the email-address (only for trac version > 0.9) |
---|
| 319 | Implemented by: Kilian Cavalotti |
---|
[48] | 320 | * Fixed an error in saving attachments for version < 0.9. |
---|
| 321 | Sometimes we got bogus attachments. |
---|
| 322 | Fixed by: Walter de Jong |
---|
[50] | 323 | * Added support to make an debian package |
---|
| 324 | Implemented by: Bas van der Vlies |
---|
[46] | 325 | |
---|
[36] | 326 | 2006-01-21 Bas van der Vlies <basv@sara.nl>: |
---|
| 327 | * Fixed run_email2trac.c, did not work |
---|
| 328 | * Added TRAC_SCRIPT_NAME to Makefile.in to |
---|
| 329 | solve run_email2trac problem |
---|
| 330 | |
---|
| 331 | Both errors reported by: kilian.cavalotti@lip6.fr |
---|
| 332 | |
---|
[33] | 333 | 2006-01-20 Bas van der Vlies <basv@sara.nl>: |
---|
| 334 | * A warning error is fixed by kilian.cavalotti@lip6.fr |
---|
| 335 | * Several errors in make install ;-(, reported by |
---|
| 336 | tacker |
---|
| 337 | |
---|
[23] | 338 | 2006-01-15 Bas van der Vlies <basv@sara.nl>: |
---|
| 339 | * Added configure script. |
---|
| 340 | |
---|
[18] | 341 | 2006-01-10 Bas van der Vlies <basv@sara.nl>: |
---|
| 342 | * Removed project_root from source and config file |
---|
| 343 | * Adjust code so we can use mulitple stanza's in config file, eg: |
---|
| 344 | [bas] |
---|
| 345 | project: /data/trac/bas |
---|
| 346 | spam_level: 3 |
---|
| 347 | |
---|
| 348 | use option "-p|--project bas" to select the stanza |
---|
| 349 | |
---|
[5] | 350 | 2006-01-04 Bas van der Vlies <basv@sara.nl>: |
---|
| 351 | |
---|
| 352 | * Fixed getopt for -f option |
---|
| 353 | * Added suppport for different TRAC versions (0.8 and 0.9) |
---|
| 354 | |
---|
| 355 | 2006-01-03 Michel Jouvin <jouvin@lal.in2p3.fr> |
---|
| 356 | |
---|
| 357 | * email2trac.py (ReadConfig) : allow project name relative to project root in configuration file |
---|
| 358 | |
---|
| 359 | * email2trac.py (TicketEmailParser.parse): save entire email for debugging only if debug >= 2 |
---|
| 360 | |
---|
| 361 | * run_email2trac.c: pass wrapper arguments to Python script, filtering out --file |
---|
| 362 | |
---|
| 363 | * 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) |
---|
| 364 | |
---|
| 365 | * 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) |
---|
| 366 | |
---|
| 367 | 2005-12-22 Michel Jouvin <jouvin@lal.in2p3.fr> |
---|
| 368 | |
---|
| 369 | * Makefile: add a Makefile to build and install email2trac |
---|
| 370 | |
---|
| 371 | * email2trac.py: migrate to Trac 0.9 API |
---|
| 372 | |
---|
| 373 | 2005-12-21 Michel Jouvin <jouvin@lal.in2p3.fr> |
---|
| 374 | |
---|
| 375 | * run_email2trac.c: add error messages if DEBUG macro defined |
---|
| 376 | |
---|
| 377 | * run_email2trac.c: add error testing and specific return values for each error |
---|
| 378 | |
---|
| 379 | * run_email2trac.c: Move site specific paramaters to run_email2trac.h |
---|
| 380 | |
---|
| 381 | * run_email2trac.h: include file to define site specific paramaters |
---|
| 382 | |
---|
| 383 | 0.2.4 01/11/2005 |
---|
| 384 | Added email_header option if set then show TO/CC fields in |
---|
| 385 | description of the ticket. |
---|
| 386 | |
---|
| 387 | Fixed an error in the mailto URL. This was an old error that |
---|
| 388 | supposed to be fixed but reoccured in this version. |
---|
| 389 | |
---|
| 390 | 0.2.3 31/10/2005 |
---|
| 391 | Fixed a bug with base64 encoded attachments/emails |
---|
| 392 | Fixed by: Walter de Jong |
---|
| 393 | |
---|
| 394 | 0.2.2 10/10/2005 |
---|
| 395 | according to RFC 2368 (titled "the mailto URL scheme") the mailto |
---|
| 396 | URL can only work with short &body messages. It fails with long |
---|
| 397 | messages and the link won't work. Therefore the mail body is |
---|
| 398 | no longer copied into the mail reply. |
---|
| 399 | |
---|
| 400 | 0.2.1 10/07/2005 |
---|
| 401 | body of reply email looks better |
---|
| 402 | |
---|
| 403 | |
---|
| 404 | 0.2 10/07/2005 |
---|
| 405 | mailto is replaced by a html mailto to line. If |
---|
| 406 | you reply to the ticket via this link then an |
---|
| 407 | email client is started with some default values: |
---|
| 408 | To: <reporter> |
---|
| 409 | Subject: Re: <orginal subject> |
---|
| 410 | Body: email_comment <orginal text> |
---|
| 411 | |
---|
| 412 | email2trac.conf: |
---|
| 413 | email_comment: # (default: >) |
---|
| 414 | |
---|
| 415 | |
---|
| 416 | |
---|