- client: show <vbox_window> option in log,

and give warning if include this while in sandbox mode
- web: update URLs for BOINCstats

svn path=/trunk/boinc/; revision=25697
This commit is contained in:
David Anderson 2012-05-18 22:13:36 +00:00
parent 70c92e317a
commit 1aea1fb0f3
3 changed files with 29 additions and 7 deletions

View File

@ -3935,3 +3935,11 @@ Rom 18 May 2012
openclicon.xpm (deleted)
multicore.xpm (deleted)
David 18 May 2012
- client: show <vbox_window> option in log,
and give warning if include this while in sandbox mode
- web: update URLs for BOINCstats
html/inc/
stats_sites.inc
client/
log_flags.cpp

View File

@ -42,6 +42,7 @@
#include "file_names.h"
#include "project.h"
#include "result.h"
#include "sandbox.h"
using std::string;
@ -213,19 +214,32 @@ void CONFIG::show() {
FILE* f = fopen(REMOTEHOST_FILE_NAME, "r");
if (f) {
msg_printf(NULL, MSG_INFO,
"Config: GUI RPC allowed from:"
"Config: GUI RPCs allowed from:"
);
char buf[256];
while (fgets(buf, 256, f)) {
strip_whitespace(buf);
if (!(buf[0] =='#' || buf[0] == ';') && strlen(buf) > 0 ) {
msg_printf(NULL, MSG_INFO,
"Config: %s", buf
" %s", buf
);
}
}
fclose(f);
}
if (vbox_window) {
msg_printf(NULL, MSG_INFO,
"Config: open console window for VirtualBox applications"
);
if (g_use_sandbox) {
msg_printf(NULL, MSG_INFO,
" NOTE: the client is running in protected mode,"
);
msg_printf(NULL, MSG_INFO,
" so VirtualBox console windows cannot be opened."
);
}
}
}
// This is used by the BOINC client.

View File

@ -26,7 +26,7 @@ $cpid_stats_sites = array(
"http://www.allprojectstats.com/showuser.php?id=%s"
),
array("BOINCstats",
"http://www.boincstats.com/stats/boinc_user_graph.php?pr=bo&amp;id=%s"
"http://www.boincstats.com/en/stats/-1/user/detail/%s"
),
array("BOINC Statistics for the WORLD!",
"http://www.boincsynergy.com/stats/boinc-individual.php?cpid=%s"
@ -151,14 +151,14 @@ $sig_sites = array(
),
);
// the following sites generate cross-project team stats based on name
// the following sites generate cross-project team stats based on CPID
//
$team_name_sites = array(
array("http://stats.free-dc.org/stats.php?page=teambycpid&team=",
"Free-DC",
""
),
array("http://boincstats.com/stats/boinc_team_graph.php?pr=bo&teamcpid=",
array("http://boincstats.com/en/stats/-1/team/detail/",
"BOINCstats.com",
"hashlc"
),
@ -170,7 +170,7 @@ $team_name_sites = array(
$host_sites = array(
array(
"http://boincstats.com/stats/boinc_host_graph.php?pr=bo&id=",
"http://boincstats.com/en/stats/-1/detail/",
"BOINCstats.com",
"boincstats_icon.png"
),