*** empty log message ***

svn path=/trunk/boinc/; revision=8558
This commit is contained in:
David Anderson 2005-10-07 23:19:20 +00:00
parent 3ac72d44e1
commit bcd86f38ab
5 changed files with 27 additions and 5 deletions

View File

@ -12852,3 +12852,16 @@ Rom 7 Oct 2005
clientgui/
AccountInfoPage.cpp
David 7 Oct 2005
- don't allow non-ASCII passwords in PHP code
- add some WU fields (target_nresults, max_*_results, etc.)
to web page display
- change "master page" to "master file" in client messages
(from Paul Buck)
client/
scheduler_op.C
html/user/
edit_password_action.php
workunit.php

View File

@ -60,13 +60,13 @@ bool SCHEDULER_OP::check_master_fetch_start() {
retval = init_master_fetch(p);
if (retval) {
msg_printf(p, MSG_ERROR,
"Couldn't start master page download: %s", boincerror(retval)
"Couldn't start master file download: %s", boincerror(retval)
);
if (p->tentative) {
p->attach_failed(ERR_ATTACH_FAIL_PARSE);
} else {
p->master_fetch_failures++;
backoff(p, "Master page fetch failed\n");
backoff(p, "Master file fetch failed\n");
}
return false;
}
@ -421,7 +421,7 @@ bool SCHEDULER_OP::poll() {
} else {
// parse succeeded
//
msg_printf(cur_proj, MSG_INFO, "Master page download succeeded");
msg_printf(cur_proj, MSG_INFO, "Master file download succeeded");
cur_proj->master_fetch_failures = 0;
changed = update_urls(cur_proj, urls);

View File

@ -59,7 +59,7 @@ You'll need to install the following software before building BOINC:
<td><br></td>
</tr>
<tr>
<td>Apache with mod_ssl and PHP 4.0+
<td>Apache with mod_ssl and PHP 4.0.6+
</td>
<td>X</td>
<td><br></td>

View File

@ -24,6 +24,10 @@ $config = get_config();
$min_passwd_length = parse_config($config, "<min_passwd_length>");
if (!$min_passwd_length) $min_passwd_length = 6;
if (mb_detect_encoding($passwd) != 'ASCII') {
error_page("Passwords may only include ASCII characters.");
}
if (strlen($passwd)<$min_passwd_length) {
error_page(
"New password is too short:

View File

@ -11,7 +11,7 @@ if (!$wu) {
error_page("can't find workunit");
}
page_head("Work unit");
page_head("Workunit");
$app = lookup_app($wu->appid);
start_table();
@ -22,6 +22,11 @@ if ($wu->canonical_resultid) {
row2("canonical result", "<a href=result.php?resultid=$wu->canonical_resultid>$wu->canonical_resultid</a>");
row2("granted credit", format_credit($wu->canonical_credit));
}
row2("minimum quorum", $wu->min_quorum);
row2("initial replication", $wu->target_nresults);
row2("max # of error/total/success results",
"$wu->max_error_results, $wu->max_total_results, $wu->max_success_results"
);
if ($wu->error_mask) {
row2("errors", wu_error_mask_str($wu->error_mask));
}