2002-11-12 17:01:16 +00:00
|
|
|
<?php
|
2005-02-08 03:33:35 +00:00
|
|
|
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
|
2002-11-12 17:01:16 +00:00
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
require_once("../inc/db_ops.inc");
|
|
|
|
require_once("../inc/util_ops.inc");
|
2002-11-12 17:01:16 +00:00
|
|
|
|
2004-07-08 19:20:19 +00:00
|
|
|
$config = get_config();
|
|
|
|
$cgi_url = parse_config($config, "<cgi_url>");
|
|
|
|
$stripchart_cgi_url = parse_config($config, "<stripchart_cgi_url>");
|
2002-11-12 17:01:16 +00:00
|
|
|
|
2003-11-11 20:49:07 +00:00
|
|
|
db_init();
|
|
|
|
|
2005-02-08 03:33:35 +00:00
|
|
|
$title = "Project Management";
|
|
|
|
admin_page_head($title);
|
|
|
|
|
2003-07-01 18:28:33 +00:00
|
|
|
echo "
|
2005-02-08 03:33:35 +00:00
|
|
|
<p><table><tr valign=\"top\"><td width=\"30%\">
|
2003-07-01 18:28:33 +00:00
|
|
|
Browse database:
|
|
|
|
<ul>
|
2005-02-08 03:33:35 +00:00
|
|
|
<li><a href=\"db_action.php?table=platform\">Platforms</a>
|
|
|
|
<li><a href=\"db_action.php?table=app\">Applications</a>
|
|
|
|
<li><a href=\"db_form.php?table=app_version\">Application versions</a>
|
|
|
|
<li><a href=\"db_form.php?table=user\">Users</a>
|
|
|
|
<li><a href=\"db_form.php?table=team\">Teams</a>
|
|
|
|
<li><a href=\"db_form.php?table=host&detail=low\">Hosts</a>
|
|
|
|
<li><a href=\"db_form.php?table=workunit\">Workunits</a>
|
|
|
|
<li><a href=\"db_form.php?table=result&detail=low\">Results</a>
|
|
|
|
</ul></td>
|
|
|
|
<td width=\"50%\">
|
|
|
|
Maintain and Modify database:
|
|
|
|
<ul>
|
|
|
|
<li><a href=\"profile_screen_form.php\">Screen user profiles for User of the Day</a>
|
|
|
|
<li><a href=\"create_account_form.php\">Create account</a>
|
|
|
|
<li><a href=\"cancel_wu_form.php\">Cancel workunits</a>
|
2005-03-03 17:48:16 +00:00
|
|
|
<li><a href=\"manage_special_users.php\">Manage special users</a>
|
2005-04-19 20:48:43 +00:00
|
|
|
<li><a href=\"problem_host.php\">Email user with misconfigured host</a>
|
2006-02-08 03:30:46 +00:00
|
|
|
<li><a href=\"mass_email.php\">Send mass email to a selected set of users</a>
|
2006-07-18 20:08:25 +00:00
|
|
|
<li> The following scripts should be run as periodic tasks,
|
|
|
|
not via this web page
|
|
|
|
(see http://boinc.berkeley.edu/project_tasks.php):
|
|
|
|
update_forum_activities.php,
|
|
|
|
update_profile_pages.php, update_uotd.php.
|
|
|
|
<li> The following scripts can be run manually on the command line
|
|
|
|
as needed (i.e. php script.php):
|
|
|
|
forum_repair.php, team_repair.php, repair_validator_problem.php.
|
|
|
|
|
2005-02-08 03:33:35 +00:00
|
|
|
|
2003-07-01 18:28:33 +00:00
|
|
|
</ul>
|
2005-02-08 03:33:35 +00:00
|
|
|
</table>
|
2003-11-11 20:49:07 +00:00
|
|
|
";
|
2004-05-06 21:29:15 +00:00
|
|
|
|
2005-02-08 03:33:35 +00:00
|
|
|
echo "<br><form method=\"get\" action=\"clear_host.php\">
|
|
|
|
Clear Host:
|
|
|
|
<input type=\"text\" size=\"5\" name=\"hostid\">
|
|
|
|
<input type=\"submit\" value=\"Clear RPC\">
|
|
|
|
</form>
|
|
|
|
";
|
|
|
|
|
|
|
|
|
|
|
|
$show_only = array('all'); // Add all appid's you want to display or 'all'
|
2004-05-06 21:29:15 +00:00
|
|
|
$result = mysql_query("select id, name from app");
|
2003-11-11 20:49:07 +00:00
|
|
|
while ($app = mysql_fetch_object($result)) {
|
2005-02-08 03:33:35 +00:00
|
|
|
if (in_array($app->id, $show_only) || in_array("all", $show_only)) {
|
2003-11-11 20:49:07 +00:00
|
|
|
echo "<br>Result summary for $app->name:
|
|
|
|
<ul>
|
2005-02-08 03:33:35 +00:00
|
|
|
<li><a href=\"result_summary.php?appid=$app->id&nsecs=86400\">last 24 hours</a>
|
|
|
|
<li><a href=\"pass_percentage_by_platform.php?appid=$app->id&nsecs=86400\">last 24 hours - pass percentage by platform</a>
|
|
|
|
<li><a href=\"failure_result_summary_by_host.php?appid=$app->id&nsecs=86400\">last 24 hours - failure by host</a>
|
|
|
|
<li><a href=\"failure_result_summary_by_platform.php?appid=$app->id&nsecs=86400\">last 24 hours - failure by platform</a>
|
|
|
|
<li><a href=\"result_summary.php?appid=$app->id&nsecs=604800\">last week</a>
|
|
|
|
<li><a href=\"pass_percentage_by_platform.php?appid=$app->id&nsecs=604800\">last week - pass percentage by platform</a>
|
|
|
|
<li><a href=\"failure_result_summary_by_host.php?appid=$app->id&nsecs=604800\">last week - failure by host</a>
|
|
|
|
<li><a href=\"failure_result_summary_by_platform.php?appid=$app->id&nsecs=604800\">last week - failure by platform</a>
|
2003-11-11 20:49:07 +00:00
|
|
|
</ul>
|
|
|
|
";
|
2005-02-08 03:33:35 +00:00
|
|
|
}
|
2003-11-11 20:49:07 +00:00
|
|
|
}
|
|
|
|
mysql_free_result($result);
|
2004-05-06 21:29:15 +00:00
|
|
|
|
2006-10-05 12:43:29 +00:00
|
|
|
echo "<br>\n";
|
2003-11-11 20:49:07 +00:00
|
|
|
echo "
|
2005-02-08 03:33:35 +00:00
|
|
|
<a href=\"$stripchart_cgi_url/stripchart.cgi\">Stripcharts</a>
|
|
|
|
| <a href=\"show_log.php\">Show/Grep all logs</a>
|
|
|
|
| <a href=\"show_log.php?f=mysql*.log&l=-20\">Tail MySQL logs</a>
|
2006-10-05 12:43:29 +00:00
|
|
|
| <a href=\"errorwus.php\">List all-error Workunits</a>
|
2003-07-01 18:28:33 +00:00
|
|
|
";
|
2002-11-12 17:01:16 +00:00
|
|
|
|
2005-02-08 03:33:35 +00:00
|
|
|
admin_page_tail();
|
2003-07-18 20:58:42 +00:00
|
|
|
// TODO: Add functionality to list the number of recommends / rejects received
|
|
|
|
// by each profiled user.
|
|
|
|
|
2002-11-12 17:01:16 +00:00
|
|
|
?>
|