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