| |
|
Line 20
|
Parallel
|
Line 20
|
Parallel
|
| 20 |
will correctly display in the AJAX'ed window. An example here is if |
20 |
will correctly display in the AJAX'ed window. An example here is if |
| 21 |
$mailhost is incorrectly configured. |
21 |
$mailhost is incorrectly configured. |
| 22 |
|
22 |
|
|
|
23 |
* If there is an email problem while creating a topic, the error |
|
|
24 |
message is now correctly displayed to the end-user. |
|
|
25 |
|
| 23 |
* Fixed problem with Subversion repositories on Win32, where |
26 |
* Fixed problem with Subversion repositories on Win32, where |
| 24 |
Codestriker was unable to launch the svn program. |
27 |
Codestriker was unable to launch the svn program. |
| 25 |
|
28 |
|
| |
| |
|
Line 322
|
Parallel
|
Line 322
|
Parallel
|
| 322 |
|
322 |
|
| 323 |
# Tell all of the topic listener classes that a topic has |
323 |
# Tell all of the topic listener classes that a topic has |
| 324 |
# just been created. |
324 |
# just been created. |
| 325 |
Codestriker::TopicListeners::Manager::topic_create($topic); |
325 |
$feedback = Codestriker::TopicListeners::Manager::topic_create($topic); |
| 326 |
|
326 |
|
| 327 |
# Obtain a URL builder object and determine the URL to the topic. |
327 |
# Obtain a URL builder object and determine the URL to the topic. |
| 328 |
my $topic_url = $url_builder->view_url_extended($topicid, -1, "", "", "", |
328 |
my $topic_url = $url_builder->view_url_extended($topicid, -1, "", "", "", |
| |
| |
|
Line 336
|
Parallel
|
Line 336
|
Parallel
|
| 336 |
$vars->{'topic_url'} = $topic_url; |
336 |
$vars->{'topic_url'} = $topic_url; |
| 337 |
$vars->{'reviewers'} = $reviewers; |
337 |
$vars->{'reviewers'} = $reviewers; |
| 338 |
$vars->{'cc'} = (defined $cc) ? $cc : ""; |
338 |
$vars->{'cc'} = (defined $cc) ? $cc : ""; |
|
|
339 |
$vars->{'feedback'} = $feedback; |
| 339 |
|
340 |
|
| 340 |
my $template = Codestriker::Http::Template->new("submitnewtopic"); |
341 |
my $template = Codestriker::Http::Template->new("submitnewtopic"); |
| 341 |
$template->process($vars); |
342 |
$template->process($vars); |
| |
| |
|
Line 294
|
Parallel
|
Line 294
|
Parallel
|
| 294 |
my $cc = ""; |
294 |
my $cc = ""; |
| 295 |
|
295 |
|
| 296 |
# Send off the email to the revelant parties. |
296 |
# Send off the email to the revelant parties. |
| 297 |
$self->_send_topic_email($topic, 0,$change_event_name , 1, $from, |
297 |
return $self->_send_topic_email($topic, 0, $change_event_name , 1, |
| 298 |
$to, $cc, $bcc,$changes); |
298 |
$from, $to, $cc, $bcc, $changes); |
| 299 |
} |
299 |
} |
| 300 |
} |
300 |
} |
| 301 |
|
301 |
|
| |
| |
|
Line 425
|
Parallel
|
Line 425
|
Parallel
|
| 425 |
$notes; |
425 |
$notes; |
| 426 |
|
426 |
|
| 427 |
# Send the email notification out. |
427 |
# Send the email notification out. |
| 428 |
$self->doit($new, $topic->{topicid}, $from, $to, $cc, $bcc, $subject, $body); |
428 |
return $self->doit($new, $topic->{topicid}, $from, $to, $cc, $bcc, |
|
|
429 |
$subject, $body); |
| 429 |
} |
430 |
} |
| 430 |
|
431 |
|
| 431 |
# Send an email with the specified data. Return a non-empty message if the |
432 |
# Send an email with the specified data. Return a non-empty message if the |
| |