Commit 7bd0d001 authored by jake%bugzilla.org's avatar jake%bugzilla.org

Fresh docs compile (first one w/a PDF version).

parent 6bab73fe
...@@ -4888,6 +4888,86 @@ CLASS="programlisting" ...@@ -4888,6 +4888,86 @@ CLASS="programlisting"
></TR ></TR
></TABLE ></TABLE
></DIV ></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="win32-code-bugmail"
></A
>4.3.1.3.2. Changes to <TT
CLASS="filename"
>BugMail.pm</TT
></H4
><P
>To make bug e-mail work on Win32 (until
<A
HREF="http://bugzilla.mozilla.org/show_bug.cgi?id=84876"
TARGET="_top"
>bug
84876</A
> lands), the
simplest way is to have Net::SMTP installed and change this (in
<TT
CLASS="filename"
>Bugzilla/BugMail.pm</TT
>):</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") ||
die "Can't open sendmail";
print SENDMAIL trim($msg) . "\n";
close SENDMAIL;
</PRE
></FONT
></TD
></TR
></TABLE
><P
>to</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;use Net::SMTP;
$smtp_server = 'smtp.mycompany.com'; # change this
# Use die on error, so that the mail will be in the 'unsent mails' and
# can be sent from the sanity check page.
my $smtp = Net::SMTP-&#62;new($smtp_server) ||
die 'Cannot connect to server \'$smtp_server\'';
$smtp-&#62;mail('bugzilla-daemon@mycompany.com'); # change this
$smtp-&#62;to($person);
$smtp-&#62;data();
$smtp-&#62;datasend($msg);
$smtp-&#62;dataend();
$smtp-&#62;quit;
</PRE
></FONT
></TD
></TR
></TABLE
><P
>Don't forget to change the name of your SMTP server and the
domain of the sending e-mail address (after the '@') in the above
lines of code.</P
></DIV
></DIV ></DIV
><DIV ><DIV
CLASS="section" CLASS="section"
...@@ -5762,7 +5842,7 @@ CLASS="section" ...@@ -5762,7 +5842,7 @@ CLASS="section"
><HR><H2 ><HR><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1076" NAME="AEN1086"
></A ></A
>4.5.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1</H2 >4.5.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1</H2
><P ><P
...@@ -5787,7 +5867,7 @@ CLASS="section" ...@@ -5787,7 +5867,7 @@ CLASS="section"
><HR><H2 ><HR><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1081" NAME="AEN1091"
></A ></A
>4.5.2. DBD::Sponge::db prepare failed</H2 >4.5.2. DBD::Sponge::db prepare failed</H2
><P ><P
...@@ -7873,7 +7953,7 @@ CLASS="section" ...@@ -7873,7 +7953,7 @@ CLASS="section"
><HR><H2 ><HR><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1524" NAME="AEN1534"
></A ></A
>5.7.1. What to Edit</H2 >5.7.1. What to Edit</H2
><P ><P
...@@ -7988,7 +8068,7 @@ CLASS="section" ...@@ -7988,7 +8068,7 @@ CLASS="section"
><HR><H2 ><HR><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1543" NAME="AEN1553"
></A ></A
>5.7.2. How To Edit Templates</H2 >5.7.2. How To Edit Templates</H2
><P ><P
...@@ -8070,7 +8150,7 @@ CLASS="section" ...@@ -8070,7 +8150,7 @@ CLASS="section"
><HR><H2 ><HR><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1553" NAME="AEN1563"
></A ></A
>5.7.3. Template Formats</H2 >5.7.3. Template Formats</H2
><P ><P
...@@ -8132,7 +8212,7 @@ CLASS="section" ...@@ -8132,7 +8212,7 @@ CLASS="section"
><HR><H2 ><HR><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1566" NAME="AEN1576"
></A ></A
>5.7.4. Particular Templates</H2 >5.7.4. Particular Templates</H2
><P ><P
...@@ -8432,7 +8512,7 @@ COLOR="#000000" ...@@ -8432,7 +8512,7 @@ COLOR="#000000"
><PRE ><PRE
CLASS="programlisting" CLASS="programlisting"
> if ($field eq "qacontact") { > if ($field eq "qacontact") {
if (UserInGroup("quality_assurance")) { if (Bugzilla-&#62;user-&#62;groups("quality_assurance")) {
return 1; return 1;
} }
else { else {
...@@ -8457,7 +8537,7 @@ COLOR="#000000" ...@@ -8457,7 +8537,7 @@ COLOR="#000000"
><PRE ><PRE
CLASS="programlisting" CLASS="programlisting"
> if (($field eq "priority") &#38;&#38; > if (($field eq "priority") &#38;&#38;
($vars-&#62;{'user'}{'login'} =~ /.*\@example\.com$/)) (Bugzilla-&#62;user-&#62;email =~ /.*\@example\.com$/))
{ {
if ($oldvalue eq "P1") { if ($oldvalue eq "P1") {
return 1; return 1;
...@@ -9737,85 +9817,26 @@ CLASS="answer" ...@@ -9737,85 +9817,26 @@ CLASS="answer"
There are <EM There are <EM
>dozens</EM >dozens</EM
> of major companies with public > of major companies with public
Bugzilla sites to track bugs in their products. A few include: Bugzilla sites to track bugs in their products. We have a fairly
<P complete list available on our website at
></P <A
><TABLE HREF="http://bugzilla.org/installation_list.html"
BORDER="0" TARGET="_top"
><TBODY >http://bugzilla.org/installation_list.html</A
><TR >. If you
><TD have an installation of Bugzilla and would like to be added to the
>Netscape/AOL</TD list, whether it's a public install or not, simply e-mail
></TR Gerv <TT
><TR CLASS="email"
><TD >&#60;<A
>Mozilla.org</TD HREF="mailto:gerv@mozilla.org"
></TR >gerv@mozilla.org</A
><TR >&#62;</TT
><TD >. Keep in mind that it's kinda
>NASA</TD difficult to get onto the <SPAN
></TR CLASS="QUOTE"
><TR >"high-profile"</SPAN
><TD > list ;).
>Red Hat Software</TD
></TR
><TR
><TD
>SuSe Corp</TD
></TR
><TR
><TD
>The Horde Project</TD
></TR
><TR
><TD
>AbiSource</TD
></TR
><TR
><TD
>Real Time Enterprises, Inc</TD
></TR
><TR
><TD
>Eggheads.org</TD
></TR
><TR
><TD
>Strata Software</TD
></TR
><TR
><TD
>RockLinux</TD
></TR
><TR
><TD
>Creative Labs (makers of SoundBlaster)</TD
></TR
><TR
><TD
>The Apache Foundation</TD
></TR
><TR
><TD
>The Gnome Foundation</TD
></TR
><TR
><TD
>Ximian</TD
></TR
><TR
><TD
>Linux-Mandrake</TD
></TR
></TBODY
></TABLE
><P
></P
>
</P
><P
>&#13; Suffice to say, there are more than enough huge projects using Bugzilla
that we can safely say it's extremely popular.
</P </P
></DIV ></DIV
></DIV ></DIV
...@@ -10984,7 +11005,7 @@ CLASS="answer" ...@@ -10984,7 +11005,7 @@ CLASS="answer"
You can call bug_email.pl directly from your aliases file, with You can call bug_email.pl directly from your aliases file, with
an entry like this: an entry like this:
<A <A
NAME="AEN1985" NAME="AEN1980"
></A ></A
><BLOCKQUOTE ><BLOCKQUOTE
CLASS="BLOCKQUOTE" CLASS="BLOCKQUOTE"
...@@ -11428,7 +11449,7 @@ CLASS="answer" ...@@ -11428,7 +11449,7 @@ CLASS="answer"
><P ><P
>&#13; Microsoft has some advice on this matter, as well: >&#13; Microsoft has some advice on this matter, as well:
<A <A
NAME="AEN2068" NAME="AEN2063"
></A ></A
><BLOCKQUOTE ><BLOCKQUOTE
CLASS="BLOCKQUOTE" CLASS="BLOCKQUOTE"
...@@ -12056,7 +12077,7 @@ CLASS="section" ...@@ -12056,7 +12077,7 @@ CLASS="section"
><HR><H2 ><HR><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN2190" NAME="AEN2185"
></A ></A
>B.2.1. Bugzilla Database Basics</H2 >B.2.1. Bugzilla Database Basics</H2
><P ><P
...@@ -12170,7 +12191,7 @@ CLASS="section" ...@@ -12170,7 +12191,7 @@ CLASS="section"
><HR><H3 ><HR><H3
CLASS="section" CLASS="section"
><A ><A
NAME="AEN2217" NAME="AEN2212"
></A ></A
>B.2.1.1. Bugzilla Database Tables</H3 >B.2.1.1. Bugzilla Database Tables</H3
><P ><P
...@@ -12733,7 +12754,7 @@ NAME="gfdl" ...@@ -12733,7 +12754,7 @@ NAME="gfdl"
><P ><P
>Version 1.1, March 2000</P >Version 1.1, March 2000</P
><A ><A
NAME="AEN2305" NAME="AEN2300"
></A ></A
><BLOCKQUOTE ><BLOCKQUOTE
CLASS="BLOCKQUOTE" CLASS="BLOCKQUOTE"
...@@ -13196,7 +13217,7 @@ NAME="gfdl-howto" ...@@ -13196,7 +13217,7 @@ NAME="gfdl-howto"
of the License in the document and put the following copyright and of the License in the document and put the following copyright and
license notices just after the title page:</P license notices just after the title page:</P
><A ><A
NAME="AEN2395" NAME="AEN2390"
></A ></A
><BLOCKQUOTE ><BLOCKQUOTE
CLASS="BLOCKQUOTE" CLASS="BLOCKQUOTE"
...@@ -13233,7 +13254,7 @@ CLASS="glossdiv" ...@@ -13233,7 +13254,7 @@ CLASS="glossdiv"
><H1 ><H1
CLASS="glossdiv" CLASS="glossdiv"
><A ><A
NAME="AEN2400" NAME="AEN2395"
></A ></A
>0-9, high ascii</H1 >0-9, high ascii</H1
><DL ><DL
...@@ -14041,7 +14062,7 @@ NAME="gloss-zarro" ...@@ -14041,7 +14062,7 @@ NAME="gloss-zarro"
Terry had the following to say: Terry had the following to say:
</P </P
><A ><A
NAME="AEN2626" NAME="AEN2621"
></A ></A
><TABLE ><TABLE
BORDER="0" BORDER="0"
......
...@@ -180,22 +180,22 @@ HREF="cust-templates.html" ...@@ -180,22 +180,22 @@ HREF="cust-templates.html"
><DL ><DL
><DT ><DT
>5.7.1. <A >5.7.1. <A
HREF="cust-templates.html#AEN1524" HREF="cust-templates.html#AEN1534"
>What to Edit</A >What to Edit</A
></DT ></DT
><DT ><DT
>5.7.2. <A >5.7.2. <A
HREF="cust-templates.html#AEN1543" HREF="cust-templates.html#AEN1553"
>How To Edit Templates</A >How To Edit Templates</A
></DT ></DT
><DT ><DT
>5.7.3. <A >5.7.3. <A
HREF="cust-templates.html#AEN1553" HREF="cust-templates.html#AEN1563"
>Template Formats</A >Template Formats</A
></DT ></DT
><DT ><DT
>5.7.4. <A >5.7.4. <A
HREF="cust-templates.html#AEN1566" HREF="cust-templates.html#AEN1576"
>Particular Templates</A >Particular Templates</A
></DT ></DT
></DL ></DL
......
...@@ -183,7 +183,7 @@ COLOR="#000000" ...@@ -183,7 +183,7 @@ COLOR="#000000"
><PRE ><PRE
CLASS="programlisting" CLASS="programlisting"
> if ($field eq "qacontact") { > if ($field eq "qacontact") {
if (UserInGroup("quality_assurance")) { if (Bugzilla-&#62;user-&#62;groups("quality_assurance")) {
return 1; return 1;
} }
else { else {
...@@ -208,7 +208,7 @@ COLOR="#000000" ...@@ -208,7 +208,7 @@ COLOR="#000000"
><PRE ><PRE
CLASS="programlisting" CLASS="programlisting"
> if (($field eq "priority") &#38;&#38; > if (($field eq "priority") &#38;&#38;
($vars-&#62;{'user'}{'login'} =~ /.*\@example\.com$/)) (Bugzilla-&#62;user-&#62;email =~ /.*\@example\.com$/))
{ {
if ($oldvalue eq "P1") { if ($oldvalue eq "P1") {
return 1; return 1;
......
...@@ -99,7 +99,7 @@ CLASS="section" ...@@ -99,7 +99,7 @@ CLASS="section"
><H2 ><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1524" NAME="AEN1534"
></A ></A
>5.7.1. What to Edit</H2 >5.7.1. What to Edit</H2
><P ><P
...@@ -214,7 +214,7 @@ CLASS="section" ...@@ -214,7 +214,7 @@ CLASS="section"
><H2 ><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1543" NAME="AEN1553"
></A ></A
>5.7.2. How To Edit Templates</H2 >5.7.2. How To Edit Templates</H2
><P ><P
...@@ -296,7 +296,7 @@ CLASS="section" ...@@ -296,7 +296,7 @@ CLASS="section"
><H2 ><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1553" NAME="AEN1563"
></A ></A
>5.7.3. Template Formats</H2 >5.7.3. Template Formats</H2
><P ><P
...@@ -358,7 +358,7 @@ CLASS="section" ...@@ -358,7 +358,7 @@ CLASS="section"
><H2 ><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1566" NAME="AEN1576"
></A ></A
>5.7.4. Particular Templates</H2 >5.7.4. Particular Templates</H2
><P ><P
......
...@@ -135,7 +135,7 @@ CLASS="section" ...@@ -135,7 +135,7 @@ CLASS="section"
><H2 ><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN2190" NAME="AEN2185"
></A ></A
>B.2.1. Bugzilla Database Basics</H2 >B.2.1. Bugzilla Database Basics</H2
><P ><P
...@@ -249,7 +249,7 @@ CLASS="section" ...@@ -249,7 +249,7 @@ CLASS="section"
><H3 ><H3
CLASS="section" CLASS="section"
><A ><A
NAME="AEN2217" NAME="AEN2212"
></A ></A
>B.2.1.1. Bugzilla Database Tables</H3 >B.2.1.1. Bugzilla Database Tables</H3
><P ><P
......
...@@ -691,85 +691,26 @@ CLASS="answer" ...@@ -691,85 +691,26 @@ CLASS="answer"
There are <EM There are <EM
>dozens</EM >dozens</EM
> of major companies with public > of major companies with public
Bugzilla sites to track bugs in their products. A few include: Bugzilla sites to track bugs in their products. We have a fairly
<P complete list available on our website at
></P <A
><TABLE HREF="http://bugzilla.org/installation_list.html"
BORDER="0" TARGET="_top"
><TBODY >http://bugzilla.org/installation_list.html</A
><TR >. If you
><TD have an installation of Bugzilla and would like to be added to the
>Netscape/AOL</TD list, whether it's a public install or not, simply e-mail
></TR Gerv <TT
><TR CLASS="email"
><TD >&#60;<A
>Mozilla.org</TD HREF="mailto:gerv@mozilla.org"
></TR >gerv@mozilla.org</A
><TR >&#62;</TT
><TD >. Keep in mind that it's kinda
>NASA</TD difficult to get onto the <SPAN
></TR CLASS="QUOTE"
><TR >"high-profile"</SPAN
><TD > list ;).
>Red Hat Software</TD
></TR
><TR
><TD
>SuSe Corp</TD
></TR
><TR
><TD
>The Horde Project</TD
></TR
><TR
><TD
>AbiSource</TD
></TR
><TR
><TD
>Real Time Enterprises, Inc</TD
></TR
><TR
><TD
>Eggheads.org</TD
></TR
><TR
><TD
>Strata Software</TD
></TR
><TR
><TD
>RockLinux</TD
></TR
><TR
><TD
>Creative Labs (makers of SoundBlaster)</TD
></TR
><TR
><TD
>The Apache Foundation</TD
></TR
><TR
><TD
>The Gnome Foundation</TD
></TR
><TR
><TD
>Ximian</TD
></TR
><TR
><TD
>Linux-Mandrake</TD
></TR
></TBODY
></TABLE
><P
></P
>
</P
><P
>&#13; Suffice to say, there are more than enough huge projects using Bugzilla
that we can safely say it's extremely popular.
</P </P
></DIV ></DIV
></DIV ></DIV
...@@ -1938,7 +1879,7 @@ CLASS="answer" ...@@ -1938,7 +1879,7 @@ CLASS="answer"
You can call bug_email.pl directly from your aliases file, with You can call bug_email.pl directly from your aliases file, with
an entry like this: an entry like this:
<A <A
NAME="AEN1985" NAME="AEN1980"
></A ></A
><BLOCKQUOTE ><BLOCKQUOTE
CLASS="BLOCKQUOTE" CLASS="BLOCKQUOTE"
...@@ -2382,7 +2323,7 @@ CLASS="answer" ...@@ -2382,7 +2323,7 @@ CLASS="answer"
><P ><P
>&#13; Microsoft has some advice on this matter, as well: >&#13; Microsoft has some advice on this matter, as well:
<A <A
NAME="AEN2068" NAME="AEN2063"
></A ></A
><BLOCKQUOTE ><BLOCKQUOTE
CLASS="BLOCKQUOTE" CLASS="BLOCKQUOTE"
......
...@@ -81,7 +81,7 @@ NAME="gfdl-howto" ...@@ -81,7 +81,7 @@ NAME="gfdl-howto"
of the License in the document and put the following copyright and of the License in the document and put the following copyright and
license notices just after the title page:</P license notices just after the title page:</P
><A ><A
NAME="AEN2395" NAME="AEN2390"
></A ></A
><BLOCKQUOTE ><BLOCKQUOTE
CLASS="BLOCKQUOTE" CLASS="BLOCKQUOTE"
......
...@@ -144,7 +144,7 @@ HREF="gfdl-howto.html" ...@@ -144,7 +144,7 @@ HREF="gfdl-howto.html"
><P ><P
>Version 1.1, March 2000</P >Version 1.1, March 2000</P
><A ><A
NAME="AEN2305" NAME="AEN2300"
></A ></A
><BLOCKQUOTE ><BLOCKQUOTE
CLASS="BLOCKQUOTE" CLASS="BLOCKQUOTE"
......
...@@ -70,7 +70,7 @@ CLASS="glossdiv" ...@@ -70,7 +70,7 @@ CLASS="glossdiv"
><H1 ><H1
CLASS="glossdiv" CLASS="glossdiv"
><A ><A
NAME="AEN2400" NAME="AEN2395"
></A ></A
>0-9, high ascii</H1 >0-9, high ascii</H1
><DL ><DL
...@@ -878,7 +878,7 @@ NAME="gloss-zarro" ...@@ -878,7 +878,7 @@ NAME="gloss-zarro"
Terry had the following to say: Terry had the following to say:
</P </P
><A ><A
NAME="AEN2626" NAME="AEN2621"
></A ></A
><TABLE ><TABLE
BORDER="0" BORDER="0"
......
...@@ -258,12 +258,12 @@ HREF="troubleshooting.html" ...@@ -258,12 +258,12 @@ HREF="troubleshooting.html"
><DL ><DL
><DT ><DT
>4.5.1. <A >4.5.1. <A
HREF="troubleshooting.html#AEN1076" HREF="troubleshooting.html#AEN1086"
>Bundle::Bugzilla makes me upgrade to Perl 5.6.1</A >Bundle::Bugzilla makes me upgrade to Perl 5.6.1</A
></DT ></DT
><DT ><DT
>4.5.2. <A >4.5.2. <A
HREF="troubleshooting.html#AEN1081" HREF="troubleshooting.html#AEN1091"
>DBD::Sponge::db prepare failed</A >DBD::Sponge::db prepare failed</A
></DT ></DT
><DT ><DT
......
...@@ -357,6 +357,86 @@ CLASS="programlisting" ...@@ -357,6 +357,86 @@ CLASS="programlisting"
></TR ></TR
></TABLE ></TABLE
></DIV ></DIV
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="win32-code-bugmail"
></A
>4.3.1.3.2. Changes to <TT
CLASS="filename"
>BugMail.pm</TT
></H4
><P
>To make bug e-mail work on Win32 (until
<A
HREF="http://bugzilla.mozilla.org/show_bug.cgi?id=84876"
TARGET="_top"
>bug
84876</A
> lands), the
simplest way is to have Net::SMTP installed and change this (in
<TT
CLASS="filename"
>Bugzilla/BugMail.pm</TT
>):</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") ||
die "Can't open sendmail";
print SENDMAIL trim($msg) . "\n";
close SENDMAIL;
</PRE
></FONT
></TD
></TR
></TABLE
><P
>to</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;use Net::SMTP;
$smtp_server = 'smtp.mycompany.com'; # change this
# Use die on error, so that the mail will be in the 'unsent mails' and
# can be sent from the sanity check page.
my $smtp = Net::SMTP-&#62;new($smtp_server) ||
die 'Cannot connect to server \'$smtp_server\'';
$smtp-&#62;mail('bugzilla-daemon@mycompany.com'); # change this
$smtp-&#62;to($person);
$smtp-&#62;data();
$smtp-&#62;datasend($msg);
$smtp-&#62;dataend();
$smtp-&#62;quit;
</PRE
></FONT
></TD
></TR
></TABLE
><P
>Don't forget to change the name of your SMTP server and the
domain of the sending e-mail address (after the '@') in the above
lines of code.</P
></DIV
></DIV ></DIV
><DIV ><DIV
CLASS="section" CLASS="section"
......
...@@ -85,7 +85,7 @@ CLASS="section" ...@@ -85,7 +85,7 @@ CLASS="section"
><H2 ><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1076" NAME="AEN1086"
></A ></A
>4.5.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1</H2 >4.5.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1</H2
><P ><P
...@@ -110,7 +110,7 @@ CLASS="section" ...@@ -110,7 +110,7 @@ CLASS="section"
><H2 ><H2
CLASS="section" CLASS="section"
><A ><A
NAME="AEN1081" NAME="AEN1091"
></A ></A
>4.5.2. DBD::Sponge::db prepare failed</H2 >4.5.2. DBD::Sponge::db prepare failed</H2
><P ><P
......
...@@ -1451,6 +1451,37 @@ my $webservergid = getgrnam($my_webservergroup) ...@@ -1451,6 +1451,37 @@ my $webservergid = getgrnam($my_webservergroup)
my $webservergid = '8' my $webservergid = '8'
_________________________________________________________________ _________________________________________________________________
4.3.1.3.2. Changes to BugMail.pm
To make bug e-mail work on Win32 (until bug 84876 lands), the simplest
way is to have Net::SMTP installed and change this (in
Bugzilla/BugMail.pm):
open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") ||
die "Can't open sendmail";
print SENDMAIL trim($msg) . "\n";
close SENDMAIL;
to
use Net::SMTP;
$smtp_server = 'smtp.mycompany.com'; # change this
# Use die on error, so that the mail will be in the 'unsent mails' and
# can be sent from the sanity check page.
my $smtp = Net::SMTP->new($smtp_server) ||
die 'Cannot connect to server \'$smtp_server\'';
$smtp->mail('bugzilla-daemon@mycompany.com'); # change this
$smtp->to($person);
$smtp->data();
$smtp->datasend($msg);
$smtp->dataend();
$smtp->quit;
Don't forget to change the name of your SMTP server and the domain of
the sending e-mail address (after the '@') in the above lines of code.
_________________________________________________________________
4.3.1.4. Serving the web pages 4.3.1.4. Serving the web pages
As is the case on Unix based systems, any web server should be able to As is the case on Unix based systems, any web server should be able to
...@@ -2596,7 +2627,7 @@ skip-networking ...@@ -2596,7 +2627,7 @@ skip-networking
positive check, which returns 1 (allow) if certain conditions are positive check, which returns 1 (allow) if certain conditions are
true, or a negative check, which returns 0 (deny.) E.g.: true, or a negative check, which returns 0 (deny.) E.g.:
if ($field eq "qacontact") { if ($field eq "qacontact") {
if (UserInGroup("quality_assurance")) { if (Bugzilla->user->groups("quality_assurance")) {
return 1; return 1;
} }
else { else {
...@@ -2607,7 +2638,7 @@ skip-networking ...@@ -2607,7 +2638,7 @@ skip-networking
This says that only users in the group "quality_assurance" can change This says that only users in the group "quality_assurance" can change
the QA Contact field of a bug. Getting more weird: the QA Contact field of a bug. Getting more weird:
if (($field eq "priority") && if (($field eq "priority") &&
($vars->{'user'}{'login'} =~ /.*\@example\.com$/)) (Bugzilla->user->email =~ /.*\@example\.com$/))
{ {
if ($oldvalue eq "P1") { if ($oldvalue eq "P1") {
return 1; return 1;
...@@ -3033,27 +3064,12 @@ Appendix A. The Bugzilla FAQ ...@@ -3033,27 +3064,12 @@ Appendix A. The Bugzilla FAQ
for bug-tracking? for bug-tracking?
There are dozens of major companies with public Bugzilla sites to There are dozens of major companies with public Bugzilla sites to
track bugs in their products. A few include: track bugs in their products. We have a fairly complete list available
on our website at http://bugzilla.org/installation_list.html. If you
Netscape/AOL have an installation of Bugzilla and would like to be added to the
Mozilla.org list, whether it's a public install or not, simply e-mail Gerv
NASA <gerv@mozilla.org>. Keep in mind that it's kinda difficult to get onto
Red Hat Software the "high-profile" list ;).
SuSe Corp
The Horde Project
AbiSource
Real Time Enterprises, Inc
Eggheads.org
Strata Software
RockLinux
Creative Labs (makers of SoundBlaster)
The Apache Foundation
The Gnome Foundation
Ximian
Linux-Mandrake
Suffice to say, there are more than enough huge projects using
Bugzilla that we can safely say it's extremely popular.
A.1.5. Who maintains Bugzilla? A.1.5. Who maintains Bugzilla?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment