Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
9fc0498b
Commit
9fc0498b
authored
Mar 30, 2006
by
lpsolit%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 70710: More expandable tags within emails - Patch by Alan Siu-Lung Tam…
Bug 70710: More expandable tags within emails - Patch by Alan Siu-Lung Tam <Tam@SiuLung.com> r=vladd a=myk
parent
7fb931a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
BugMail.pm
Bugzilla/BugMail.pm
+8
-0
MTA.pm
Bugzilla/Config/MTA.pm
+5
-0
No files found.
Bugzilla/BugMail.pm
View file @
9fc0498b
...
...
@@ -246,6 +246,7 @@ sub ProcessOneBug {
my
$diffheader
=
""
;
my
@diffparts
;
my
$lastwho
=
""
;
my
@changedfields
;
foreach
my
$ref
(
@$diffs
)
{
my
(
$who
,
$what
,
$when
,
$old
,
$new
,
$attachid
,
$fieldname
)
=
(
@$ref
);
my
$diffpart
=
{};
...
...
@@ -271,7 +272,9 @@ sub ProcessOneBug {
$diffpart
->
{
'fieldname'
}
=
$fieldname
;
$diffpart
->
{
'text'
}
=
$difftext
;
push
(
@diffparts
,
$diffpart
);
push
(
@changedfields
,
$what
);
}
$values
{
'changed_fields'
}
=
join
(
' '
,
@changedfields
);
my
$deptext
=
""
;
...
...
@@ -625,6 +628,11 @@ sub sendMail {
$substs
{
"component"
}
=
$values
{
'component'
};
$substs
{
"keywords"
}
=
$values
{
'keywords'
};
$substs
{
"severity"
}
=
$values
{
'bug_severity'
};
$substs
{
"status"
}
=
$values
{
'bug_status'
};
$substs
{
"priority"
}
=
$values
{
'priority'
};
$substs
{
"assignedto"
}
=
$values
{
'assigned_to'
};
$substs
{
"targetmilestone"
}
=
$values
{
'target_milestone'
};
$substs
{
"changedfields"
}
=
$values
{
'changed_fields'
};
$substs
{
"summary"
}
=
$values
{
'short_desc'
};
my
(
@headerrel
,
@watchingrel
);
while
(
my
(
$rel
,
$bits
)
=
each
%
{
$relRef
})
{
...
...
Bugzilla/Config/MTA.pm
View file @
9fc0498b
...
...
@@ -76,6 +76,11 @@ X-Bugzilla-Component: %component%
X-Bugzilla-Keywords: %keywords%
X-Bugzilla-Severity: %severity%
X-Bugzilla-Who: %changer%
X-Bugzilla-Status: %status%
X-Bugzilla-Priority: %priority%
X-Bugzilla-Assigned-To: %assignedto%
X-Bugzilla-Target-Milestone: %targetmilestone%
X-Bugzilla-Changed-Fields: %changedfields%
%urlbase%show_bug.cgi?id=%bugid%
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment