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