web/html/errata_hidden/details.pxi | 137 --------------------------
web/html/errata_hidden/list.pxi | 80 ---------------
web/html/errata_hidden/login.pxi | 90 -----------------
web/html/errata_not_found.pxt | 85 ----------------
web/modules/sniglets/Sniglets/Errata.pm | 13 --
web/modules/sniglets/Sniglets/PublicErrata.pm | 13 --
6 files changed, 418 deletions(-)
New commits:
commit dd8f56cb9fd02da96c80692737052f39e0237a89
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Feb 1 13:56:12 2010 +0100
Removal of public_errata_list_vs_details made /errata_hidden/list.pxi not used,
removing.
diff --git a/web/html/errata_hidden/list.pxi b/web/html/errata_hidden/list.pxi
deleted file mode 100644
index 2f002e5..0000000
--- a/web/html/errata_hidden/list.pxi
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="utf8"?>
-<pxt-passthrough>
-
-<pxt-use class="Sniglets::ListUtils" />
-<pxt-use class="Sniglets::PublicErrata" />
-
-<table width="100%" border="0" cellspacing="0"
cellpadding="0">
- <tr>
- <td width="99%" valign="top">
- <h1><img src="/img/rhn-icon-errata.gif"/>
- <pxt-formvar>
- <public-errata-product-name product="{formvar:product}"/>
- </pxt-formvar><public-errata-type /> Advisories
- </h1>
- </td>
- <td rowspan="2" valign="top" align="right">
- <table border="0" cellspacing="0"
cellpadding="2">
- <tr>
- <td nowrap="1" align="right"><font
style="color:#666666; font-family:helvetica; text-decoration:none;
font-size:10pt;">Security</font></td>
- <td width="99%">
- <img align="absmiddle"
src="/img/wrh-security.gif" alt="Security Advisory" /></td>
-
- </tr>
- <tr>
- <td nowrap="1" align="right"><font
style="color:#666666; font-family:helvetica; text-decoration:none;
font-size:10pt;">Bug Fix</font></td>
- <td>
- <img align="absmiddle" src="/img/wrh-bug.gif"
alt="Bug Fix Advisory" /></td>
- </tr>
- <tr>
- <td nowrap="1" align="right"><font
style="color:#666666; font-family:helvetica; text-decoration:none;
font-size:10pt;">Enhancement</font></td>
- <td>
- <img align="absmiddle"
src="/img/wrh-product.gif" alt="Enhancement Advisory"
/></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td><public-errata-filter /></td>
- </tr>
-</table>
-
-<br />
-
-
-<table cellpadding="4" cellspacing="0" border="0"
width="100%" class="list">
-<public-errata-filter-type-url>
-<thead>
-<tr>
-<pxt-formvar>
- <th align="center">Type</th>
- <th align="left">{severity}</th>
- <th align="left">{advisory}</th>
- <th align="left">{synopsis}</th>
- <th align="center">{date}</th>
-</pxt-formvar>
-</tr>
-</thead>
-</public-errata-filter-type-url>
-<tbody>
-
-<rhn-fix-list list_type="errata">
-<empty_list_mesg>
- <tr class="list-row-odd">
- <td align="center" class="first-column last-column"
colspan="4">No Errata</td>
- </tr>
-</empty_list_mesg>
-<public-errata-list>
- <tr class="{class}">
- <td valign="middle" align="center"
class="first-column">{errata_icon}</td>
- <td valign="middle">{severity}</td>
- <td valign="middle">{errata_advisory_name}</td>
- <td valign="middle"><a
href="/errata/{errata_advisory_html_version}">{errata_synopsis}</a></td>
- <td valign="middle" nowrap="1"
class="last_column">{errata_update_date}</td>
-
- </tr>
-</public-errata-list>
-</rhn-fix-list>
-</tbody>
-</table>
-</pxt-passthrough>
commit caf8621fb07fc439881459d009686f17ae3779d1
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Feb 1 13:55:11 2010 +0100
Removal of public_errata_list_vs_details made errata_not_found.pxt not used,
removing.
diff --git a/web/html/errata_not_found.pxt b/web/html/errata_not_found.pxt
deleted file mode 100644
index eb0d697..0000000
--- a/web/html/errata_not_found.pxt
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="utf8"?>
-<pxt-passthrough>
-
-<pxt-use class="Grail::Frame" />
-<pxt-use class="Sniglets::Users" />
-<pxt-use class="Sniglets::Errata" />
-
-
-<public-secure-links-if-logged-in
servers="www.redhat.com|rhn.redhat.com">
-<grail-canvas-template base="/errata_hidden/rh_template.pxt"
mode="main">
-
-
-<table border="0" cellspacing="0" cellpadding="0">
-<tr>
-<td><img src="/img/pixel.gif" width="10"
height="30" border="0" alt="" /></td>
-<td width="100%">
-
-</td>
-</tr>
-<tr>
-<td colspan="2"><img src="/img/pixel.gif"
width="1" height="5" border="0" alt=""
/></td>
-</tr>
-</table>
-
-
-<!-- begin wrapper table -->
-<!-- main body table -->
-<table width="100%" border="0" cellspacing="0"
cellpadding="0">
-<!-- CONTROL ROW; adjust widths here -->
- <tr>
-<!-- left gutter 20px -->
- <td><img src="/img/pixel.gif" width="20"
height="1" border="0" alt="" /></td>
-<!-- content is stretchy so 100% -->
- <td width="100%"><img src="/img/pixel.gif"
width="1" height="1" border="0" alt=""
/></td>
-<!-- right hand margin 15px -->
- <td><img src="/img/pixel.gif" width="15"
height="1" border="0" alt="" /></td>
- </tr>
-<!-- CONTENT ROW -->
- <tr>
-<!-- left gutter; adjust width in control row above -->
- <td> </td>
-<!-- main body; adjust width in control row above -->
- <td valign="top">
-
-<!-- MAIN BODY TABLE is nested for scalability -->
- <table width="100%" border="0"
cellspacing="0" cellpadding="0">
- <tr>
-
- <td width="100%">
-
-<h1>Erratum not found</h1>
-
-<p>Red Hat errata names are of the form RHSA-YYYY-XXX for security
-advisories, RHEA-YYYY-XXX for enhancement advisories, RHBA-YYYY-XXX
-for bug fix advisories, where YYYY is a year and XXX is a number.</p>
-
-<p>If the name you provided is in the proper format, then one of the
-following may have happened:</p>
-
-<ul>
-<li>
- We have assigned this erratum name but the issue is not yet
- public or our advisory is not yet ready. In some cases, a name may
- be used before the corresponding information has been added to the
- Red Hat web site. This may happen when a security problem is new.
-</li>
-<li>
- Your source provided or linked to an incorrect name
-</li>
-</ul>
-
-<p>Click <a
href="http://www.redhat.com/apps/support/errata/">here</a... to find
currently available errata.</p>
-
-
- </td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-
-
-</grail-canvas-template>
-</public-secure-links-if-logged-in>
-</pxt-passthrough>
commit 81a6d9ed257159f85108b7719a2e5ab16f632dca
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Feb 1 13:54:06 2010 +0100
Removal of public_errata_list_vs_details made /errata_hidden/details.pxi not used,
removing.
diff --git a/web/html/errata_hidden/details.pxi b/web/html/errata_hidden/details.pxi
deleted file mode 100644
index 6ff0bae..0000000
--- a/web/html/errata_hidden/details.pxi
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0" encoding="utf8"?>
-<pxt-passthrough>
-
-<pxt-use class="Sniglets::PublicErrata" />
-
-<public-errata-details>
-
-<h1>{errata_icon} {errata_synopsis}</h1>
-
-<table class="details">
- <tr>
- <th>Advisory:</th>
- <td>{errata_advisory_id}</td>
- </tr>
- <tr>
- <th>Type:</th>
- <td>{errata_advisory_type}</td>
- </tr>
- <tr>
- <th>Severity:</th>
- <td>{severity}</td>
- </tr>
- <tr>
- <th>Issued on:</th>
- <td>{errata_issue_date}</td>
- </tr>
- <tr>
- <th>Last updated on:</th>
- <td>{errata_update_date}</td>
- </tr>
-<public-errata-affected-products>
- <tr>
- <th valign="top">Affected Products:</th>
- <td>{affected_products}</td>
- </tr>
-</public-errata-affected-products>
- <tr>
- <th valign="top">OVAL:</th>
- <td valign="top">{oval_link}</td>
- </tr>
-<public-errata-cves>
- <tr>
- <th valign="top">CVEs (<a
href="http://cve.mitre.org">cve.mitre.org</a>):</th>
- <td rowspan="2" valign="top">
-<cve_entry_block><a
href="http://cve.mitre.org/cgi-bin/cvename.cgi?name={cve}">{...
/></cve_entry_block>
- </td>
- </tr>
-</public-errata-cves>
-</table>
-
-<br />
-
-<h2>Details</h2>
-<div class="page-summary">
-<errata_topic><p>{errata_topic}</p></errata_topic>
-
-<p>{errata_description}</p>
-</div>
-
-
-<br />
-
-<h2>Solution</h2>
-<div class="page-summary">{errata_solution}</div>
-<br />
-
-<h2>Updated packages</h2>
-
-<table border="0" cellpadding="6" cellspacing="0">
-
-<errata_updated_packages>
- <tr>
- <td colspan="2"><font
color="#666666"><strong><a
name="{product}">{product}</a></strong></font></td>
- </tr>
- <tr>
- <td colspan="2"><hr noshade="1" size="1"
/></td>
- </tr>
- <_arch>
- <tr>
- <td colspan="2"><font
color="#666666"><strong>{arch}:</strong></font></td>
- </tr>
- <_file_entry>
- <tr bgcolor="{color}">
- <td>{filename}</td>
- <td valign="top"
align="right">    <tt>{md5sum}</tt></td>
- </tr>
- </_file_entry>
- <tr>
- <td colspan="2"> </td>
- </tr>
- </_arch>
-</errata_updated_packages>
-
-</table>
-
-
-<errata_bugs_fixed>
-<br />
-<h2>Bugs fixed (see <A
HREF="http://bugzilla.redhat.com/bugzilla">bugzilla</A> for more
information)</h2>
-<div class="page-summary">
-<p>{errata_bugs_fixed}</p>
-</div>
-</errata_bugs_fixed>
-
-<errata_references>
-<br />
-<h2>References</h2>
-<div class="page-summary">
-<public-errata-cves>
-<cve_entry_block><a
href="http://cve.mitre.org/cgi-bin/cvename.cgi?name={cve}">h...
/></cve_entry_block>
-</public-errata-cves>
-{errata_references}
-</div>
-</errata_references>
-
-
-<errata_keywords>
-<br />
-<h2>Keywords</h2>
-<div class="page-summary">
-{errata_keywords}
-</div>
-</errata_keywords>
-
-</public-errata-details>
-
-<br />
-
-<hr border="1" />
-These packages are GPG signed by Red Hat for security. Our key and
-details on how to verify the signature are available from:<br />
-
-<a
href="https://www.redhat.com/security/team/key/#package">htt...
-
-<p>The Red Hat security contact is <a
href="mailto:secalert@redhat.com">secalert@redhat.com</a>. More
contact details at <a
href="http://www.redhat.com/security/team/contact/">http://w...
-
-</pxt-passthrough>
commit d1b6b18e2185632705437c9ed2be4d735992a755
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Feb 1 13:53:23 2010 +0100
Removal of public_errata_list_vs_details made /errata_hidden/login.pxi not used,
removing.
diff --git a/web/html/errata_hidden/login.pxi b/web/html/errata_hidden/login.pxi
deleted file mode 100644
index ccbe5d1..0000000
--- a/web/html/errata_hidden/login.pxi
+++ /dev/null
@@ -1,90 +0,0 @@
-<?xml version="1.0" encoding="utf8"?>
-<pxt-passthrough>
-
-<pxt-use class="Sniglets::Users" />
-
-<table cellpadding="0" cellspacing="0" border="0"
style="table-layout:fixed">
- <col width="36" /><col width="100%" /><col
width="14%" />
- <tr>
- <td width="36"><img src="/img/pixel.gif"
width="36" height="1" alt="" border="0"
/></td>
- <td width="100%" valign="top">
- <div class="pagetitle1"> </div>
- </td>
- <td width="14%"> </td>
- </tr>
-</table>
-<br />
-
-<!-- begin wrapper table -->
-<table width="100%" border="0" cellpadding="0"
cellspacing="0">
- <tr>
- <td><img src="/img/pixel.gif" width="20"
height="1" alt="" /></td>
- <td width="98%" valign="top">
-
- <!-- begin page content -->
- <img src="/img/rhr_login.gif"
width="89" height="33" alt="Sign In" /><br
/> 
- <p>
-
- <p class="palenote">Note: Our personalized web
services require that your browser be enabled for JavaScript and cookies.</p>
- </p>
- <table width="100%" border="0"
cellspacing="0" cellpadding="0">
- <tr>
- <td><span
class="subhead1">Registered Users:</span>
- <p><!-- begin login pane -->
-
-
-<pxt-form>
- <rhn-login-form method="POST">
-<table width="150" border="0" cellspacing="0"
cellpadding="3">
-
- <tr>
-<pxt-include-late file="/network/components/message_queues/local.pxi"
/> </tr>
- <tr>
- <td valign="middle">Username:</td>
-
-
- <td><input tabindex="2" type="text"
name="username" size="20" maxlength="64"
value="[formvar:username]"/></td>
- </tr>
- <tr>
- <td valign="middle">Password: </td>
-
- <td><input tabindex="2" type="password"
name="password" size="20" maxlength="32" /></td>
- </tr>
- <tr>
- <td colspan="2" valign="middle"
nowrap="nowrap"><input
- type="SUBMIT" name="SUBMIT" value="Sign In"
/></td>
- </tr>
-</table>
- [login_form_hidden]
- <pxt-hidden name="url_bounce" />
- </rhn-login-form>
-</pxt-form>
-<!-- end login pane --></p>
-  
-
-
-</td>
-
- <!-- spacer columm -->
- <td><img
src="/img/pixel.gif" width="20" height="1" alt=""
/></td>
- <!-- /spacer column -->
-
- <td valign="top"
nowrap="nowrap"><span class="subhead1">Where can I use my Red
Hat login?</span>
- <ul>
- <li
class="plushalfspace"><span class="smalltext">Convenient
sitewide login for all of Red Hat</span></li>
- <li
class="plushalfspace"><span class="smalltext">Free trial
version of Red Hat Network</span></li>
- <li
class="plushalfspace"><span class="smalltext">High speed
software downloads</span></li>
- <li
class="plushalfspace"><span class="smalltext">Free tech
support in our lively Community Forums</span></li>
- <li
class="plushalfspace"><span class="smalltext">Exclusive
contests, discounts and promotions</span></li>
- </ul></td>
- </tr>
- </table>
-<p> <br /></p>
-<!-- end content -->
-
- </td>
- <td><div class="rightmargin"> </div></td>
- </tr>
-</table>
-<!-- end wrapper table -->
-</pxt-passthrough>
commit 5c5736f92199975f640589bad7c7054bd8d63c1d
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Feb 1 13:50:52 2010 +0100
The other errata_in_db does not seem to be used either.
diff --git a/web/modules/sniglets/Sniglets/Errata.pm
b/web/modules/sniglets/Sniglets/Errata.pm
index cffb439..2cf41f9 100644
--- a/web/modules/sniglets/Sniglets/Errata.pm
+++ b/web/modules/sniglets/Sniglets/Errata.pm
@@ -65,19 +65,6 @@ my %e_icons = ('Security Advisory' => { image =>
'/img/rhn-icon-security.gif',
alt => "Bug Fix Advisory" } );
-# returns true if we have db knowledge of an errata.
-sub errata_in_db {
- my $path_info = shift;
-
- $path_info =~ m/\/(.*?)-(.*?)\.html/;
- my ($type, $version) = ($1, $2);
- $version =~ s/-/:/;
-
- my $errata = RHN::Errata->find_by_advisory(-type => $type, -version =>
$version);
-
- return $errata;
-}
-
sub errata_name {
my $pxt = shift;
commit 654c79681cba9b9bea4a6e3570318af57de50786
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Feb 1 13:49:41 2010 +0100
Removal of public_errata_list_vs_details made errata_in_db not called, removing.
diff --git a/web/modules/sniglets/Sniglets/PublicErrata.pm
b/web/modules/sniglets/Sniglets/PublicErrata.pm
index a09840f..144f429 100644
--- a/web/modules/sniglets/Sniglets/PublicErrata.pm
+++ b/web/modules/sniglets/Sniglets/PublicErrata.pm
@@ -115,19 +115,6 @@ sub cve_in_db {
return $errata;
}
-# returns true if we have db knowledge of an errata.
-sub errata_in_db {
- my $path_info = shift;
-
- $path_info =~ m/\/(.*?)-(.*?)\.html/;
- my ($type, $version) = ($1, $2);
- $version =~ s/-/:/;
-
- my $errata = RHN::Errata->find_by_advisory(-type => $type, -version =>
$version);
-
- return $errata;
-}
-
sub public_errata_product_list {
my $pxt = shift;
my %params = @_;