Changes to 'refs/tags/spacewalk-web-1.10.10-1'
by Michael Mraka
Tag 'spacewalk-web-1.10.10-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-03-25 12:49 +0000
Tagging package [spacewalk-web] version [1.10.10-1] in directory [web/].
Changes since spacewalk-java-1.10.25-1:
Michael Mraka (2):
918045 - fixed shring-segments for tables in recyclebin
Automatic commit of package [spacewalk-web] release [1.10.10-1].
Tomas Kasparek (1):
indentation of ssm buttons from top of bar whoch contains them
---
branding/css/rhn-nav-top.css | 12 ++++++++++--
rel-eng/packages/spacewalk-web | 2 +-
web/modules/dobby/Dobby/Reporting.pm | 8 ++++++--
web/spacewalk-web.spec | 5 ++++-
4 files changed, 21 insertions(+), 6 deletions(-)
---
11 years, 2 months
2 commits - rel-eng/packages web/modules web/spacewalk-web.spec
by Michael Mraka
rel-eng/packages/spacewalk-web | 2 +-
web/modules/dobby/Dobby/Reporting.pm | 8 ++++++--
web/spacewalk-web.spec | 5 ++++-
3 files changed, 11 insertions(+), 4 deletions(-)
New commits:
commit e8e8bfdb6d7167aec9aecf09b90663c9c56fde29
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Mar 25 13:49:11 2013 +0100
Automatic commit of package [spacewalk-web] release [1.10.10-1].
diff --git a/rel-eng/packages/spacewalk-web b/rel-eng/packages/spacewalk-web
index fa958e7..a57be0f 100644
--- a/rel-eng/packages/spacewalk-web
+++ b/rel-eng/packages/spacewalk-web
@@ -1 +1 @@
-1.10.9-1 web/
+1.10.10-1 web/
diff --git a/web/spacewalk-web.spec b/web/spacewalk-web.spec
index 026e9c3..fed17c8 100644
--- a/web/spacewalk-web.spec
+++ b/web/spacewalk-web.spec
@@ -4,7 +4,7 @@ Name: spacewalk-web
Summary: Spacewalk Web site - Perl modules
Group: Applications/Internet
License: GPLv2
-Version: 1.10.9
+Version: 1.10.10
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk/
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -261,6 +261,9 @@ rm -rf $RPM_BUILD_ROOT
# $Id$
%changelog
+* Mon Mar 25 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.10.10-1
+- 918045 - fixed shring-segments for tables in recyclebin
+
* Fri Mar 22 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.10.9-1
- 919468 - fixed path in file based Requires
commit fa862995763a46e61b96f409f4cad17bcd17d2b9
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Mar 25 11:52:19 2013 +0100
918045 - fixed shring-segments for tables in recyclebin
fixing
"DBD::Oracle::db do failed: ORA-00942: table or view does not exist (DBD ERROR: OCIStmtExecute) [for Statement "alter table "RHNSAT"."RHNPACKAGECHANGELOG" shrink space COMPACT"] at /usr/share/perl5/vendor_perl/Dobby/DB.pm line 262."
diff --git a/web/modules/dobby/Dobby/Reporting.pm b/web/modules/dobby/Dobby/Reporting.pm
index cdea48e..7fd00af 100644
--- a/web/modules/dobby/Dobby/Reporting.pm
+++ b/web/modules/dobby/Dobby/Reporting.pm
@@ -125,9 +125,13 @@ sub segadv_recomendations {
my $query = <<EOQ;
SELECT tbs.segment_space_management, rec.*
FROM TABLE(DBMS_SPACE.ASA_RECOMMENDATIONS()) rec,
- dba_tablespaces tbs
+ dba_tablespaces tbs,
+ dba_segments segs
WHERE rec.tablespace_name = tbs.tablespace_name
- ORDER BY segment_space_management asc, segment_type desc, reclaimable_space desc
+ AND rec.segment_name = segs.segment_name
+ AND rec.segment_owner = segs.owner
+ AND rec.segment_type = segs.segment_type
+ ORDER BY tbs.segment_space_management asc, rec.segment_type desc, rec.reclaimable_space desc
EOQ
my $sth = $dbh->prepare($query);
$sth->execute;
11 years, 2 months
branding/css
by Tomáš Kašpárek
branding/css/rhn-nav-top.css | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
New commits:
commit 689a51400cc5430326a4c408e06370b57c01d5f8
Author: Tomas Kasparek <tkasparek(a)redhat.com>
Date: Mon Mar 25 12:08:01 2013 +0100
indentation of ssm buttons from top of bar whoch contains them
diff --git a/branding/css/rhn-nav-top.css b/branding/css/rhn-nav-top.css
index 392b385..66182c5 100644
--- a/branding/css/rhn-nav-top.css
+++ b/branding/css/rhn-nav-top.css
@@ -104,6 +104,8 @@ div#mainNavWrap ul li#mainFirst-active a {
#bar .button {
border: 1px outset #bbb;
padding: 1px 3px;
+ position: relative;
+ top: 4px;
}
@@ -124,13 +126,19 @@ div#mainNavWrap ul li#mainFirst-active a {
/* This CSS is for the second, red-colored nav bar at the top of the screen. */
#bar {
color: white;
+ padding-top: 2px;
text-align: right;
padding-right: 6px;
height: 2em;
font-variant: small-caps;
- padding-top: 4px;
}
+#header_selcount {
+ position: relative;
+ top: 4px;
+}
+
+
#bar a, #bar a:link, #bar a:hover, #bar a:active {
margin-left: 6px;
color: #444;
@@ -142,4 +150,4 @@ div#mainNavWrap ul li#mainFirst-active a {
margin-right: 10px;
width: 500px;
clear: right;
-}
\ No newline at end of file
+}
11 years, 2 months
Changes to 'refs/tags/spacewalk-java-1.10.25-1'
by Milan Zazrivec
Tag 'spacewalk-java-1.10.25-1' created by Milan Zazrivec <mzazrivec(a)redhat.com> at 2013-03-22 16:05 +0000
Tagging package [spacewalk-java] version [1.10.25-1] in directory [java/].
Changes since spacewalk-web-1.10.9-1:
Milan Zazrivec (2):
abrt: webui for list of systems / details where a specific crash occurred
Automatic commit of package [spacewalk-java] release [1.10.25-1].
---
java/code/src/com/redhat/rhn/common/db/datasource/xml/Crash_queries.xml | 39 ++
java/code/src/com/redhat/rhn/domain/server/CrashFactory.java | 39 ++
java/code/src/com/redhat/rhn/frontend/action/systems/SoftwareCrashUuidDetailsAction.java | 75 +++++
java/code/src/com/redhat/rhn/frontend/dto/CrashSystemsDto.java | 131 ++++++++++
java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml | 9
java/code/src/com/redhat/rhn/frontend/strings/nav/StringResource_en_US.xml | 14 -
java/code/webapp/WEB-INF/nav/sitenav-authenticated.xml | 5
java/code/webapp/WEB-INF/pages/systems/softwarecrashesoverview.jsp | 4
java/code/webapp/WEB-INF/pages/systems/softwarecrashuuiddetails.jsp | 91 ++++++
java/code/webapp/WEB-INF/struts-config.xml | 10
java/spacewalk-java.spec | 7
rel-eng/packages/spacewalk-java | 2
12 files changed, 421 insertions(+), 5 deletions(-)
---
11 years, 2 months
java/spacewalk-java.spec rel-eng/packages
by Milan Zazrivec
java/spacewalk-java.spec | 7 ++++++-
rel-eng/packages/spacewalk-java | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 29f516fe89f6beb93ee716053fd362a232cb17bc
Author: Milan Zazrivec <mzazrivec(a)redhat.com>
Date: Fri Mar 22 17:05:14 2013 +0100
Automatic commit of package [spacewalk-java] release [1.10.25-1].
diff --git a/java/spacewalk-java.spec b/java/spacewalk-java.spec
index 8dc6edd..3a0d588 100644
--- a/java/spacewalk-java.spec
+++ b/java/spacewalk-java.spec
@@ -28,7 +28,7 @@ Name: spacewalk-java
Summary: Spacewalk Java site packages
Group: Applications/Internet
License: GPLv2
-Version: 1.10.24
+Version: 1.10.25
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -677,6 +677,11 @@ fi
%{jardir}/postgresql-jdbc.jar
%changelog
+* Fri Mar 22 2013 Milan Zazrivec <mzazrivec(a)redhat.com> 1.10.25-1
+- abrt: webui for list of systems / details where a specific crash occurred
+- abrt: properly export csv columns for crash overview
+- abrt: add filter to software crashes overview page
+
* Thu Mar 21 2013 Stephen Herr <sherr(a)redhat.com> 1.10.24-1
- 924487 - Display warning if user might clobber their LUN with kickstart
diff --git a/rel-eng/packages/spacewalk-java b/rel-eng/packages/spacewalk-java
index 1fe2e47..eeeffa4 100644
--- a/rel-eng/packages/spacewalk-java
+++ b/rel-eng/packages/spacewalk-java
@@ -1 +1 @@
-1.10.24-1 java/
+1.10.25-1 java/
11 years, 2 months
java/code
by Milan Zazrivec
java/code/src/com/redhat/rhn/common/db/datasource/xml/Crash_queries.xml | 39 ++
java/code/src/com/redhat/rhn/domain/server/CrashFactory.java | 39 ++
java/code/src/com/redhat/rhn/frontend/action/systems/SoftwareCrashUuidDetailsAction.java | 75 +++++
java/code/src/com/redhat/rhn/frontend/dto/CrashSystemsDto.java | 131 ++++++++++
java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml | 9
java/code/src/com/redhat/rhn/frontend/strings/nav/StringResource_en_US.xml | 14 -
java/code/webapp/WEB-INF/nav/sitenav-authenticated.xml | 5
java/code/webapp/WEB-INF/pages/systems/softwarecrashesoverview.jsp | 4
java/code/webapp/WEB-INF/pages/systems/softwarecrashuuiddetails.jsp | 91 ++++++
java/code/webapp/WEB-INF/struts-config.xml | 10
10 files changed, 414 insertions(+), 3 deletions(-)
New commits:
commit a39296ed552d29b6bc7f626f7c83634bae6df6fe
Author: Milan Zazrivec <mzazrivec(a)redhat.com>
Date: Fri Mar 22 17:00:18 2013 +0100
abrt: webui for list of systems / details where a specific crash occurred
diff --git a/java/code/src/com/redhat/rhn/common/db/datasource/xml/Crash_queries.xml b/java/code/src/com/redhat/rhn/common/db/datasource/xml/Crash_queries.xml
index 17ef299..bfe34c2 100644
--- a/java/code/src/com/redhat/rhn/common/db/datasource/xml/Crash_queries.xml
+++ b/java/code/src/com/redhat/rhn/common/db/datasource/xml/Crash_queries.xml
@@ -19,4 +19,43 @@ select sc.uuid as uuid,
</query>
</mode>
+<mode name="list_crash_details_for_uuid" class="com.redhat.rhn.frontend.dto.IdenticalCrashesDto">
+ <query params="org_id, user_id, uuid">
+select sc.uuid as uuid,
+ count(distinct sc.server_id) as system_count,
+ sum(sc.count) as total_crash_count,
+ max(sc.modified) as last_crash_report
+ from rhnServerCrash sc,
+ rhnServer s,
+ rhnUserServerPerms usp
+ where sc.uuid is not null
+ and s.id = sc.server_id
+ and usp.server_id = s.id
+ and s.org_id = :org_id
+ and usp.user_id = :user_id
+ and uuid = :uuid
+ group by sc.uuid
+ </query>
+</mode>
+
+<mode name="list_systems_for crash_uuid" class="com.redhat.rhn.frontend.dto.CrashSystemsDto">
+ <query params="org_id, user_id, uuid">
+select s.id as server_id,
+ s.name as server_name,
+ sc.id as crash_id,
+ sc.count as crash_count,
+ sc.component as crash_component,
+ sc.modified as last_report
+ from rhnServerCrash sc,
+ rhnServer s,
+ rhnUserServerPerms usp
+ where s.id = sc.server_id
+ and usp.server_id = s.id
+ and s.org_id = :org_id
+ and usp.user_id = :user_id
+ and sc.uuid = :uuid
+ order by crash_count desc, last_report desc
+ </query>
+</mode>
+
</datasource_modes>
diff --git a/java/code/src/com/redhat/rhn/domain/server/CrashFactory.java b/java/code/src/com/redhat/rhn/domain/server/CrashFactory.java
index e6ab30b..3735ce2 100644
--- a/java/code/src/com/redhat/rhn/domain/server/CrashFactory.java
+++ b/java/code/src/com/redhat/rhn/domain/server/CrashFactory.java
@@ -20,6 +20,7 @@ import com.redhat.rhn.common.db.datasource.ModeFactory;
import com.redhat.rhn.common.db.datasource.SelectMode;
import com.redhat.rhn.domain.user.User;
import com.redhat.rhn.domain.org.Org;
+import com.redhat.rhn.frontend.dto.CrashSystemsDto;
import com.redhat.rhn.frontend.dto.IdenticalCrashesDto;
import org.apache.log4j.Logger;
@@ -147,4 +148,42 @@ public class CrashFactory extends HibernateFactory {
params.put("org_id", orgIn.getId());
return m.execute(params);
}
+
+ /**
+ * List summary for software crashes with a given uuid
+ * @param userIn The org to return the summary for
+ * @param orgIn The org to return the summary for
+ * @param uuidIn Crash uuid to return the summary for
+ * @return software crash list for a user and org group by crash uuid
+ */
+ public static List<IdenticalCrashesDto> listCrashUuidDetails(User userIn,
+ Org orgIn,
+ String uuidIn) {
+ SelectMode m = ModeFactory.getMode("Crash_queries",
+ "list_crash_details_for_uuid");
+ Map params = new HashMap();
+ params.put("user_id", userIn.getId());
+ params.put("org_id", orgIn.getId());
+ params.put("uuid", uuidIn);
+ return m.execute(params);
+ }
+
+ /**
+ * List systems and further details showing crash with given uuid
+ * @param userIn The org to return the list for
+ * @param orgIn The org to return the list for
+ * @param uuidIn Crash uuid to return the list for
+ * @return List of systems and further details showing crash with given uuid
+ */
+ public static List<CrashSystemsDto> listCrashSystems(User userIn,
+ Org orgIn,
+ String uuidIn) {
+ SelectMode m = ModeFactory.getMode("Crash_queries",
+ "list_systems_for crash_uuid");
+ Map params = new HashMap();
+ params.put("user_id", userIn.getId());
+ params.put("org_id", orgIn.getId());
+ params.put("uuid", uuidIn);
+ return m.execute(params);
+ }
}
diff --git a/java/code/src/com/redhat/rhn/frontend/action/systems/SoftwareCrashUuidDetailsAction.java b/java/code/src/com/redhat/rhn/frontend/action/systems/SoftwareCrashUuidDetailsAction.java
new file mode 100644
index 0000000..8b25beb
--- /dev/null
+++ b/java/code/src/com/redhat/rhn/frontend/action/systems/SoftwareCrashUuidDetailsAction.java
@@ -0,0 +1,75 @@
+/**
+ * Copyright (c) 2013 Red Hat, Inc.
+ *
+ * This software is licensed to you under the GNU General Public License,
+ * version 2 (GPLv2). There is NO WARRANTY for this software, express or
+ * implied, including the implied warranties of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
+ * along with this software; if not, see
+ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
+ *
+ * Red Hat trademarks are not licensed under GPLv2. No permission is
+ * granted to use or replicate Red Hat trademarks that are incorporated
+ * in this software or its documentation.
+ */
+
+package com.redhat.rhn.frontend.action.systems;
+
+import com.redhat.rhn.domain.user.User;
+import com.redhat.rhn.domain.server.CrashFactory;
+import com.redhat.rhn.frontend.dto.CrashSystemsDto;
+import com.redhat.rhn.frontend.dto.IdenticalCrashesDto;
+import com.redhat.rhn.frontend.struts.RequestContext;
+import com.redhat.rhn.frontend.struts.RhnAction;
+import com.redhat.rhn.frontend.struts.RhnHelper;
+import com.redhat.rhn.frontend.taglibs.list.helper.Listable;
+import com.redhat.rhn.frontend.taglibs.list.helper.ListHelper;
+
+import org.apache.struts.action.ActionForm;
+import org.apache.struts.action.ActionForward;
+import org.apache.struts.action.ActionMapping;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import java.util.List;
+
+/**
+ * SoftwareCrashUuidDetailsAction
+ * @version $Rev$
+ */
+public class SoftwareCrashUuidDetailsAction extends RhnAction implements Listable {
+
+ public static final String UUID = "uuid";
+ public static final String CRASHES_SUMMARY = "crashesSummary";
+
+ /**
+ * {@inheritDoc}
+ */
+ public ActionForward execute(ActionMapping mapping,
+ ActionForm formIn,
+ HttpServletRequest request,
+ HttpServletResponse response) {
+
+ RequestContext ctx = new RequestContext(request);
+ User user = ctx.getCurrentUser();
+ String uuid = ctx.getParam(UUID, true);
+ List<IdenticalCrashesDto> crashesSummary =
+ CrashFactory.listCrashUuidDetails(user, user.getOrg(), uuid);
+ request.setAttribute(CRASHES_SUMMARY, crashesSummary.get(0));
+
+ ListHelper helper = new ListHelper(this, request);
+ helper.execute();
+
+ return mapping.findForward(RhnHelper.DEFAULT_FORWARD);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public List<CrashSystemsDto> getResult(RequestContext contextIn) {
+ User user = contextIn.getCurrentUser();
+ String uuid = contextIn.getParam(UUID, true);
+ return CrashFactory.listCrashSystems(user, user.getOrg(), uuid);
+ }
+}
diff --git a/java/code/src/com/redhat/rhn/frontend/dto/CrashSystemsDto.java b/java/code/src/com/redhat/rhn/frontend/dto/CrashSystemsDto.java
new file mode 100644
index 0000000..fd102e1
--- /dev/null
+++ b/java/code/src/com/redhat/rhn/frontend/dto/CrashSystemsDto.java
@@ -0,0 +1,131 @@
+/**
+ * Copyright (c) 2013 Red Hat, Inc.
+ *
+ * This software is licensed to you under the GNU General Public License,
+ * version 2 (GPLv2). There is NO WARRANTY for this software, express or
+ * implied, including the implied warranties of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
+ * along with this software; if not, see
+ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
+ *
+ * Red Hat trademarks are not licensed under GPLv2. No permission is
+ * granted to use or replicate Red Hat trademarks that are incorporated
+ * in this software or its documentation.
+ */
+
+package com.redhat.rhn.frontend.dto;
+
+import java.util.Date;
+
+/**
+ * CrashSystemsDto
+ * @version $Rev$
+ */
+public class CrashSystemsDto extends BaseDto {
+
+ private Long id;
+ private Long serverId;
+ private String serverName;
+ private Long crashId;
+ private Long crashCount;
+ private String crashComponent;
+ private Date lastReport;
+
+ /**
+ * @return Returns the id.
+ */
+ public Long getId() {
+ return id;
+ }
+
+ /**
+ * @param idIn The id to set.
+ */
+ public void setId(Long idIn) {
+ id = idIn;
+ }
+
+ /**
+ * @return Returns the serverId.
+ */
+ public Long getServerId() {
+ return serverId;
+ }
+
+ /**
+ * @param serverIdIn The serverId to set.
+ */
+ public void setServerId(Long serverIdIn) {
+ serverId = serverIdIn;
+ }
+
+ /**
+ * @return Returns the serverName.
+ */
+ public String getServerName() {
+ return serverName;
+ }
+
+ /**
+ * @param serverNameIn The serverName to set.
+ */
+ public void setServerName(String serverNameIn) {
+ serverName = serverNameIn;
+ }
+
+ /**
+ * @return Returns the crashId.
+ */
+ public Long getCrashId() {
+ return crashId;
+ }
+
+ /**
+ * @param crashIdIn The crashId to set.
+ */
+ public void setCrashId(Long crashIdIn) {
+ crashId = crashIdIn;
+ }
+
+ /**
+ * @return Returns the crashCount.
+ */
+ public Long getCrashCount() {
+ return crashCount;
+ }
+
+ /**
+ * @param crashCountIn The crashCount to set.
+ */
+ public void setCrashCount(Long crashCountIn) {
+ crashCount = crashCountIn;
+ }
+
+ /**
+ * @return Returns the crashComponent.
+ */
+ public String getCrashComponent() {
+ return crashComponent;
+ }
+
+ /**
+ * @param crashComponentIn The crashComponent to set.
+ */
+ public void setCrashComponent(String crashComponentIn) {
+ crashComponent = crashComponentIn;
+ }
+
+ /**
+ * @return Returns the lastReport.
+ */
+ public Date getLastReport() {
+ return lastReport;
+ }
+
+ /**
+ * @param lastReportIn The lastReport to set.
+ */
+ public void setLastReport(Date lastReportIn) {
+ lastReport = lastReportIn;
+ }
+}
diff --git a/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml b/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml
index 8bb39af..7fc3819 100644
--- a/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml
+++ b/java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml
@@ -15859,6 +15859,15 @@ The Tree Path, Kickstart RPM, Base Channel, and Installer Generation should alwa
<trans-unit id="exportcolumn.lastCrashReport">
<source>Last Crash Occurence</source>
</trans-unit>
+ <trans-unit id="exportcolumn.crashCount">
+ <source>Crash Count</source>
+ </trans-unit>
+ <trans-unit id="exportcolumn.crashComponent">
+ <source>Crash Component</source>
+ </trans-unit>
+ <trans-unit id="exportcolumn.lastReport">
+ <source>Last Crash Occurence</source>
+ </trans-unit>
</group>
<trans-unit id="virtualization.provision.first.jsp.no.profiles">
<source>No profiles currently available for kickstarting guests. Please <a href="/rhn/kickstart/CreateProfileWizard.do">create a new kickstart profile with a Virtualization Type other than none.</a></source>
diff --git a/java/code/src/com/redhat/rhn/frontend/strings/nav/StringResource_en_US.xml b/java/code/src/com/redhat/rhn/frontend/strings/nav/StringResource_en_US.xml
index f5bbc8b..83ce8fe 100644
--- a/java/code/src/com/redhat/rhn/frontend/strings/nav/StringResource_en_US.xml
+++ b/java/code/src/com/redhat/rhn/frontend/strings/nav/StringResource_en_US.xml
@@ -148,7 +148,19 @@
</context-group>
</trans-unit>
<trans-unit id="software.crashes.overview.summary">
- <source>The table below lists software crashes, that occured on your systems. Each type of crash is identified by its UUID.</source>
+ <source>The table below lists software crashes, grouped by UUID, that occured on your systems. Identical crash UUIDs may potentially indicate similar or identical types of software crash.</source>
+ <context-group name="ctx">
+ <context context-type="sourcefile">Systems Navigation Menu</context>
+ </context-group>
+ </trans-unit>
+ <trans-unit id="software.crashes.by.uuid.summary">
+ <source>The table below lists systems where a crash with the above UUID occured.</source>
+ <context-group name="ctx">
+ <context context-type="sourcefile">Systems Navigation Menu</context>
+ </context-group>
+ </trans-unit>
+ <trans-unit id="software.crashes.uuid.header">
+ <source>Summary for crashes with identical UUID</source>
<context-group name="ctx">
<context context-type="sourcefile">Systems Navigation Menu</context>
</context-group>
diff --git a/java/code/webapp/WEB-INF/nav/sitenav-authenticated.xml b/java/code/webapp/WEB-INF/nav/sitenav-authenticated.xml
index 4c7f658..09e5c34 100644
--- a/java/code/webapp/WEB-INF/nav/sitenav-authenticated.xml
+++ b/java/code/webapp/WEB-INF/nav/sitenav-authenticated.xml
@@ -115,7 +115,10 @@
<rhn-tab-url>/rhn/kickstart/cobbler/DefaultSnippetView.do</rhn-tab-url>
</rhn-tab>
</rhn-tab>
- <rhn-tab name="software.crashes" url="/rhn/systems/SoftwareCrashesOverview.do"/>
+ <rhn-tab name="software.crashes" url="/rhn/systems/SoftwareCrashesOverview.do">
+ <rhn-tab-url>/rhn/systems/SoftwareCrashesOverview.do</rhn-tab-url>
+ <rhn-tab-url>/rhn/systems/SoftwareCrashUuidDetails.do</rhn-tab-url>
+ </rhn-tab>
</rhn-tab>
<rhn-tab name="Errata" url="/rhn/errata/RelevantErrata.do" active-image="tab-errata-selected.gif" inactive-image="tab-errata.gif" on-click="Sniglets::Lists->navi_empty_set" node-id="target_systems_list">
<rhn-tab name="Errata" url="/rhn/errata/RelevantErrata.do" on-click="Sniglets::Lists->navi_empty_set" node-id="target_systems_list">
diff --git a/java/code/webapp/WEB-INF/pages/systems/softwarecrashesoverview.jsp b/java/code/webapp/WEB-INF/pages/systems/softwarecrashesoverview.jsp
index 732b6a8..974d35b 100644
--- a/java/code/webapp/WEB-INF/pages/systems/softwarecrashesoverview.jsp
+++ b/java/code/webapp/WEB-INF/pages/systems/softwarecrashesoverview.jsp
@@ -33,7 +33,9 @@
sortattr="uuid"
sortable="true"
filterattr="uuid">
- ${current.uuid}
+ <a href="/rhn/systems/SoftwareCrashUuidDetails.do?uuid=${current.uuid}">
+ ${current.uuid}
+ </a>
</rl:column>
<rl:column headerkey="crashes.jsp.totalcrashcount"
bound="false"
diff --git a/java/code/webapp/WEB-INF/pages/systems/softwarecrashuuiddetails.jsp b/java/code/webapp/WEB-INF/pages/systems/softwarecrashuuiddetails.jsp
new file mode 100644
index 0000000..d3545c0
--- /dev/null
+++ b/java/code/webapp/WEB-INF/pages/systems/softwarecrashuuiddetails.jsp
@@ -0,0 +1,91 @@
+<%@ taglib uri="http://rhn.redhat.com/rhn" prefix="rhn" %>
+<%@ taglib uri="http://rhn.redhat.com/tags/list" prefix="rl" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
+<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt" %>
+
+<html>
+<head>
+ <meta name="page-decorator" content="none" />
+</head>
+<body>
+ <rhn:toolbar base="h1" img="/img/rhn-icon-bug-ex.gif">
+ <bean:message key="software.crashes"/>
+ </rhn:toolbar>
+
+ <div class="toolbar-h2">
+ <bean:message key="software.crashes.uuid.header"/>
+ </div>
+
+ <br />
+
+ <table class="details">
+ <tr>
+ <th><bean:message key="crashes.jsp.uuid"/></th>
+ <td><c:out value="${crashesSummary.uuid}"/></td>
+ </tr>
+ <tr>
+ <th><bean:message key="crashes.jsp.totalcrashcount"/></th>
+ <td><c:out value="${crashesSummary.totalCrashCount}"/></td>
+ </tr>
+ <tr>
+ <th><bean:message key="crashes.jsp.affectedsystemscount"/></th>
+ <td><c:out value="${crashesSummary.systemCount}"/></td>
+ </tr>
+ <tr>
+ <th><bean:message key="crashes.jsp.lastoccurence"/></th>
+ <td><c:out value="${crashesSummary.lastCrashReport}"/></td>
+ </tr>
+ </table>
+
+ <hr />
+ <div class="page-summary">
+ <p><bean:message key="software.crashes.by.uuid.summary"/></p>
+ </div>
+
+ <rl:listset name="crashServers">
+ <rhn:csrf />
+ <rhn:submitted />
+ <input type="hidden" name="uuid" value="${crashesSummary.uuid}"/>
+
+ <div class="full-width-wrapper" style="clear: both;">
+ <rl:list emptykey="nosystems.message"
+ alphabarcolumn="serverName">
+ <rl:decorator name="PageSizeDecorator"/>
+ <rl:column headerkey="systemlist.jsp.system"
+ bound="false"
+ sortattr="serverName"
+ sortable="true"
+ filterattr="serverName">
+ <a href="/rhn/systems/details/SoftwareCrashDetail.do?crid=${current.crashId}&sid=${current.serverId}">
+ ${current.serverName}
+ </a>
+ </rl:column>
+ <rl:column headerkey="crashes.jsp.crashcount"
+ bound="false"
+ sortattr="crashCount"
+ sortable="true">
+ ${current.crashCount}
+ </rl:column>
+ <rl:column headerkey="crashes.jsp.component"
+ bound="false"
+ sortattr="crashComponent"
+ sortable="true">
+ ${current.crashComponent}
+ </rl:column>
+ <rl:column headerkey="crashes.jsp.lastoccurence"
+ bound="false"
+ sortattr="lastReport"
+ sortable="true">
+ ${current.lastReport}
+ </rl:column>
+ </rl:list>
+ </div>
+ <rl:csv name="crashServers"
+ exportColumns="serverName,crashCount,crashComponent,lastReport" />
+ </rl:listset>
+</body>
+</html>
diff --git a/java/code/webapp/WEB-INF/struts-config.xml b/java/code/webapp/WEB-INF/struts-config.xml
index f13217e..a224ad5 100644
--- a/java/code/webapp/WEB-INF/struts-config.xml
+++ b/java/code/webapp/WEB-INF/struts-config.xml
@@ -2872,6 +2872,16 @@
path="/WEB-INF/pages/systems/softwarecrashesoverview.jsp"/>
</action>
+ <action path="/systems/SoftwareCrashUuidDetails"
+ scope="request"
+ input="/WEB-INF/pages/systems/softwarecrashuuiddetails.jsp"
+ type="com.redhat.rhn.frontend.action.systems.SoftwareCrashUuidDetailsAction"
+ className="com.redhat.rhn.frontend.struts.RhnActionMapping">
+ <set-property property="postRequiredIfSubmitted" value="true" />
+ <forward name="default"
+ path="/WEB-INF/pages/systems/softwarecrashuuiddetails.jsp"/>
+ </action>
+
<action path="/systems/ProxyList"
scope="request"
input="/WEB-INF/pages/systems/proxylist.jsp"
11 years, 2 months
2 commits - rel-eng/packages spacewalk/setup web/spacewalk-web.spec
by Michael Mraka
rel-eng/packages/spacewalk-setup | 2 +-
rel-eng/packages/spacewalk-web | 2 +-
spacewalk/setup/spacewalk-setup.spec | 5 ++++-
web/spacewalk-web.spec | 5 ++++-
4 files changed, 10 insertions(+), 4 deletions(-)
New commits:
commit 35b49eaba210cb4ec7fad2ffd20af823f7a0615b
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Mar 22 16:57:22 2013 +0100
Automatic commit of package [spacewalk-web] release [1.10.9-1].
diff --git a/rel-eng/packages/spacewalk-web b/rel-eng/packages/spacewalk-web
index 071d3b4..fa958e7 100644
--- a/rel-eng/packages/spacewalk-web
+++ b/rel-eng/packages/spacewalk-web
@@ -1 +1 @@
-1.10.8-1 web/
+1.10.9-1 web/
diff --git a/web/spacewalk-web.spec b/web/spacewalk-web.spec
index d5914a3..026e9c3 100644
--- a/web/spacewalk-web.spec
+++ b/web/spacewalk-web.spec
@@ -4,7 +4,7 @@ Name: spacewalk-web
Summary: Spacewalk Web site - Perl modules
Group: Applications/Internet
License: GPLv2
-Version: 1.10.8
+Version: 1.10.9
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk/
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -261,6 +261,9 @@ rm -rf $RPM_BUILD_ROOT
# $Id$
%changelog
+* Fri Mar 22 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.10.9-1
+- 919468 - fixed path in file based Requires
+
* Thu Mar 21 2013 Jan Pazdziora 1.10.8-1
- 922250 - use $r->useragent_ip on Apache 2.4, $r->connection->remote_ip
otherwise.
commit 5c816a5903bbe8367ae9c52a71072dc3103023bf
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Mar 22 16:57:09 2013 +0100
Automatic commit of package [spacewalk-setup] release [1.10.3-1].
diff --git a/rel-eng/packages/spacewalk-setup b/rel-eng/packages/spacewalk-setup
index bd6f2b0..53d614e 100644
--- a/rel-eng/packages/spacewalk-setup
+++ b/rel-eng/packages/spacewalk-setup
@@ -1 +1 @@
-1.10.2-1 spacewalk/setup/
+1.10.3-1 spacewalk/setup/
diff --git a/spacewalk/setup/spacewalk-setup.spec b/spacewalk/setup/spacewalk-setup.spec
index 1fd37c6..2287746 100644
--- a/spacewalk/setup/spacewalk-setup.spec
+++ b/spacewalk/setup/spacewalk-setup.spec
@@ -1,7 +1,7 @@
%{!?fedora: %global sbinpath /sbin}%{?fedora: %global sbinpath %{_sbindir}}
Name: spacewalk-setup
-Version: 1.10.2
+Version: 1.10.3
Release: 1%{?dist}
Summary: Initial setup tools for Red Hat Spacewalk
@@ -101,6 +101,9 @@ rm -rf %{buildroot}
%doc LICENSE
%changelog
+* Fri Mar 22 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.10.3-1
+- 919468 - fixed path in file based Requires
+
* Fri Mar 22 2013 Michael Mraka <michael.mraka(a)redhat.com> 1.10.2-1
- supress systemd messages during setup
- Use multiparameter system to better predictability.
11 years, 2 months
Changes to 'refs/tags/spacewalk-web-1.10.9-1'
by Michael Mraka
Tag 'spacewalk-web-1.10.9-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-03-22 15:57 +0000
Tagging package [spacewalk-web] version [1.10.9-1] in directory [web/].
Changes since spacewalk-setup-1.10.3-1:
Michael Mraka (1):
Automatic commit of package [spacewalk-web] release [1.10.9-1].
---
rel-eng/packages/spacewalk-web | 2 +-
web/spacewalk-web.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
11 years, 2 months
Changes to 'refs/tags/spacewalk-setup-1.10.3-1'
by Michael Mraka
Tag 'spacewalk-setup-1.10.3-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-03-22 15:57 +0000
Tagging package [spacewalk-setup] version [1.10.3-1] in directory [spacewalk/setup/].
Changes since spacewalk-selinux-1.10.1-1:
Michael Mraka (1):
Automatic commit of package [spacewalk-setup] release [1.10.3-1].
---
rel-eng/packages/spacewalk-setup | 2 +-
spacewalk/setup/spacewalk-setup.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
11 years, 2 months
Changes to 'refs/tags/spacewalk-selinux-1.10.1-1'
by Michael Mraka
Tag 'spacewalk-selinux-1.10.1-1' created by Michael Mraka <michael.mraka(a)redhat.com> at 2013-03-22 15:56 +0000
Tagging package [spacewalk-selinux] version [1.10.1-1] in directory [selinux/spacewalk-selinux/].
Changes since spacewalk-proxy-selinux-1.10.1-1:
Michael Mraka (1):
Automatic commit of package [spacewalk-selinux] release [1.10.1-1].
---
rel-eng/packages/spacewalk-selinux | 2 +-
selinux/spacewalk-selinux/spacewalk-selinux.spec | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
11 years, 2 months