diff --git a/checkin_notes b/checkin_notes index 06219b5e8d..845531d4ce 100755 --- a/checkin_notes +++ b/checkin_notes @@ -2034,3 +2034,14 @@ Rom 17 Feb 2006 ViewProjects.cpp ViewTransfers.cpp +David 17 Feb 2006 + - user web: restore posts link on public user page + (not sure how it got deleted) + - minor code cleanup + + html/ + inc/ + profile.inc + user.inc + user/ + delete_profile.php diff --git a/doc/acct_mgt.php b/doc/acct_mgt.php index 645ea9cd5f..4b7241dbf3 100644 --- a/doc/acct_mgt.php +++ b/doc/acct_mgt.php @@ -68,8 +68,6 @@ If hackers break into an account manager server, they could potentially cause the account manager to instruct all its clients to attach to malicious a BOINC project that runs a malicious application. - -
To prevent this type of attack, the URLs distributed by an account manager are digitally signed. Each AM has its own signing key pair. @@ -79,19 +77,17 @@ The private key should be stored only on a physically secure, non-connected host that is used to sign URLs.
-To sign URLs, download the BOINC software on a Linux machine, -and compile the program that generates keys and signs things (lib/crypt_prog). -Then generate a key pair and generate signatures for your URLs. +To sign URLs, compile crypt_prog, +BOINC's encryption utility program. +(Instructions for downloading and compiling code +are here.) +Generate a key pair and generate signatures for your URLs. At some point you'll need to commit to a permanent key pair, at which point you should move the private key to -the signing machine (disconnected) and make sure there are -no copies of it elsewhere. -Make a copy or two on CD-ROM also, or just print it out on paper. - -
-Instructions for downloading/compiling code are here. -
-Instructions for using the crypto program are here +the signing machine (disconnected). +Make a copy or two on CD-ROM also, and/or print it out on paper; +keep these in a safe place. +Delete all other copies of the private key.
diff --git a/doc/code_signing.php b/doc/code_signing.php index 022999d880..1e474dc68d 100644 --- a/doc/code_signing.php +++ b/doc/code_signing.php @@ -20,8 +20,7 @@ and possibly the end of all BOINC projects.
-The program lib/crypt_prog performs various encryption tasks.
+The program lib/crypt_prog
performs various encryption tasks.
+
+crypt_prog is built by the standard build procedure on Unix systems.
+You can also build it on Windows (with Visual Studio 2003)
+using the project file win_build/crypt_prog.vcproj
.
To replace it,
click the \"Browse\" button and select a JPEG or PNG file (50KB or less).
-
+
-To remove it from your profile, -check this box: - +To remove it from your profile, check this box: +
";
rowify("
");
@@ -186,7 +184,7 @@ If you would like include a picture with your profile,
click the \"Browse\" button and select a JPEG or PNG file.
Please select images of 50KB or less.
-
+
");
rowify("
");
}
@@ -230,7 +228,7 @@ function delete_user_pictures($userid) {
// $profile is null if user doesn't already have a profile.
// Don't assign to $profile->x if this is the case.
//
-function process_create_results($user, $profile) {
+function process_create_profile($user, $profile) {
$response1 = $_POST['response1'];
$response2 = $_POST['response2'];
$language = $_POST['language'];
diff --git a/html/inc/user.inc b/html/inc/user.inc
index d9e450a312..3949bc4c4c 100644
--- a/html/inc/user.inc
+++ b/html/inc/user.inc
@@ -103,7 +103,7 @@ function show_user_info_private($user) {
} else {
row2("Team", "None (find a team)");
}
- $tot=total_posts($user);
+ $tot = total_posts($user);
if ($tot) {
row2("Message boards", "id>$tot posts");
}
@@ -141,14 +141,16 @@ function show_user_summary_public($user) {
} else {
row2("Computers", "hidden");
}
- # Does this project accept donations?
- # If so, do you want to have a link next to user name as it appears on the web site?
- if ($user->donated == 1) {
- require_once("../project/donations.inc");
- $x .= DONATION_LINK;
- row2("Donor",$x);
- }
+ $tot = total_posts($user);
+ if ($tot) {
+ row2("Message boards", "id>$tot posts");
+ }
+ if ($user->donated == 1) {
+ require_once("../project/donations.inc");
+ $x .= DONATION_LINK;
+ row2("Donor",$x);
+ }
}
function show_profile_link($user) {
@@ -169,7 +171,8 @@ function show_user_page_private($user) {
// Does this project accept donations? Then put in a project specific
// function to show user donation information in ../project/donations.inc
- if (parse_bool($config, "donations_accepted")) {
+ //
+ if (parse_bool($config, "donations_accepted")) {
require_once("../project/donations.inc");
show_user_donations_private($user);
}
diff --git a/html/user/delete_profile.php b/html/user/delete_profile.php
index 0be2e2e1da..3d1cccfa63 100644
--- a/html/user/delete_profile.php
+++ b/html/user/delete_profile.php
@@ -15,22 +15,19 @@ page_head("Profile delete confirmation");
echo "
+ If you're sure, click 'Delete' + to remove your profile from our database. + +
+ + +"; page_tail();