[SCM] BOINC packaging branch, SZTAKI, updated. debian/6.10.17+dfsg-3-301-g0f028e4
Steffen Moeller
moeller at debian.org
Sun Jun 12 22:04:57 UTC 2011
The following commit has been merged in the SZTAKI branch:
commit a098746129d39748bf3bd46373bb442af06b9fa7
Author: Steffen Moeller <moeller at debian.org>
Date: Sun Jun 12 23:38:41 2011 +0200
Added patch to show user performance.
diff --git a/debian/patches/series b/debian/patches/series
index 11c713b..f7ecf8a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -19,3 +19,4 @@ upstream_sztaki_moreVoidArgumentsMadeExplicit_Boinc_API.patch
upstream_sztaki_NewSQLindices.patch
upstream_sztaki_html_path.patch
upstream_sztaki_provideHostinfoPhp.patch
+upstream_sztaki_userPerformance.php
diff --git a/debian/patches/upstream_sztaki_userPerformance.php b/debian/patches/upstream_sztaki_userPerformance.php
new file mode 100644
index 0000000..79d9be2
--- /dev/null
+++ b/debian/patches/upstream_sztaki_userPerformance.php
@@ -0,0 +1,106 @@
+Index: boinc/html/user/performance.php
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ boinc/html/user/performance.php 2011-06-12 23:37:34.000000000 +0200
+@@ -0,0 +1,51 @@
++<?php
++ session_start();
++ require_once("../inc/db.inc");
++ require_once("../inc/util.inc");
++ require_once(html_path("project/project.inc"));
++
++ page_head(PROJECT . " Diagrams");
++?>
++
++<table width="100%">
++ <tr><td align="center">
++ <div class="image">
++ <img src="performance/wu_total14day.jpg">
++ <div>Total number of workunits for the last 14 days</div>
++ </div>
++ </td></tr>
++ <tr><td align="center">
++ <div class="image">
++ <img src="performance/wu_unsent14day.jpg">
++ <div>Number of unsent workunits for the last 14 days</div>
++ </div>
++ </td></tr>
++ <tr><td align="center">
++ <div class="image">
++ <img src="performance/wu_inprogress14day.jpg">
++ <div>Number of in-progress workunits for the last 14 days</div>
++ </div>
++ </td></tr>
++ <tr><td align="center">
++ <div class="image">
++ <img src="performance/performance48.jpg">
++ <div>Last 48 hours performance</div>
++ </div>
++ </td></tr>
++ <tr><td align="center">
++ <div class="image">
++ <img src="performance/performance168.jpg">
++ <div>Last 168 hours performance</div>
++ </div>
++ </td></tr>
++ <tr><td align="center">
++ <div class="image">
++ <img src="performance/performance28day.jpg">
++ <div>Last 4 weeks performance</div>
++ </div>
++ </td></tr>
++</table>
++
++<?php
++ page_tail();
++?>
+Index: boinc/html/user/stats.php
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ boinc/html/user/stats.php 2011-06-12 23:37:34.000000000 +0200
+@@ -0,0 +1,45 @@
++<?php
++// This file is part of BOINC.
++// http://boinc.berkeley.edu
++// Copyright (C) 2008 University of California
++//
++// BOINC is free software; you can redistribute it and/or modify it
++// under the terms of the GNU Lesser General Public License
++// as published by the Free Software Foundation,
++// either version 3 of the License, or (at your option) any later version.
++//
++// BOINC is distributed in the hope that it will be useful,
++// but WITHOUT ANY WARRANTY; without even the implied warranty of
++// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
++// See the GNU Lesser General Public License for more details.
++//
++// You should have received a copy of the GNU Lesser General Public License
++// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
++
++
++
++require_once('../inc/util.inc');
++require_once('../inc/stats_sites.inc');
++page_head(tra('Statistics and leaderboards'));
++
++echo "
++<p>"
++. tra("Statistics for %1",PROJECT).":
++<ul>
++<li><a href=\"top_users.php\">" . tra("Top participants")."</a>
++<li><a href=\"top_hosts.php\">" . tra("Top computers")."</a>
++<li><a href=\"top_teams.php\">" . tra("Top teams"). "</a>
++<li><a href=\"performance.php\">" . tra("Project performance"). "</a>
++</ul>
++
++<p>".
++tra("More detailed statistics for %1 and other BOINC-based projects are available at several web sites:", PROJECT);
++shuffle($stats_sites);
++site_list($stats_sites);
++echo tra("You can also get your current statistics in the form of a \"signature image\":");
++shuffle($sig_sites);
++site_list($sig_sites);
++echo tra("Additionally you can get your individual statistics summed across all BOINC projects from several sites; see your %1home page%2.", "<a href=\"home.php\">","</a>");
++
++page_tail();
++?>
--
BOINC packaging
More information about the pkg-boinc-commits
mailing list