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