From 156930d204664d7e180da4b7fd3774d9b29a79dc Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 6 Aug 2004 11:42:41 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4003 --- checkin_notes | 31 ++++++++++++++++++++++++++ html/inc/profile.inc | 14 ++++++------ html/user/stats.php | 2 ++ lib/util.C | 22 +++++++++++++++++-- lib/util.h | 12 ++++++++++- sched/file_deleter.C | 43 +++++++++++++++++++++++++++---------- sched/file_upload_handler.C | 7 ++++-- sched/make_work.C | 10 ++++++--- sched/sched_config.C | 1 + sched/sched_config.h | 3 +++ sched/validate_util.C | 10 ++++----- sched/wu_check.C | 3 ++- tools/Makefile.am | 1 + tools/Makefile.in | 33 +++++++++++++++++++++++++--- tools/backend_lib.C | 33 ++++++++++++++++------------ tools/backend_lib.h | 20 ++--------------- tools/create_work.C | 9 ++------ tools/dir_hier_move.C | 40 +++++++++++++++++++++++++++++++++- tools/dir_hier_path.C | 2 +- 19 files changed, 220 insertions(+), 76 deletions(-) diff --git a/checkin_notes b/checkin_notes index b498990938..ad90bff354 100755 --- a/checkin_notes +++ b/checkin_notes @@ -15953,3 +15953,34 @@ Daniel 2004-08-05 boinc_cli.dsp,vcproj boinc_gui.dsp,vcproj +David 6 Aug 2004 + - Changed server software to use the hierarchical directory mechanism. + This means using dir_hier_path() to generate the pathname + of an input or output file, + rather than just concatenating directory and filename. + Also (in process_wu_template()) use dir_hier_url() + to generate the appropriate URL + - Add a scheme for transitioning from flat to hierarchical download dir. + Can have a element in config.xml, + giving the path of an old, flat dir. + file_deleter will look here if it can't find file in main download dir. + - Pass around SCHED_CONFIG in a few interfaces + (e.g. create_work()) in order to access uldl_dir_fanout + + html/inc/ + profile.inc + lib/ + util.C,h + sched/ + file_deleter.C + file_upload_handler.C + make_work.C + sched_config.C,h + validate_util.C + wu_check.C + tools/ + Makefile.am + backend_lib.C,h + create_work.C + dir_hier_move.C + dir_hier_path.C diff --git a/html/inc/profile.inc b/html/inc/profile.inc index e73e11c51d..6aad98ecfa 100644 --- a/html/inc/profile.inc +++ b/html/inc/profile.inc @@ -425,11 +425,11 @@ function show_profile($userid, $verify_mode=false) { if (!$verify_mode) { $logged_in_user = get_logged_in_user(false); // (false) since anyone can look at profiles.; - if (!$logged_in_user || ($user->id != $logged_in_user->id)) { - $caching = true; - $cache_args = "userid=$userid"; - start_cache(USER_PROFILE_TTL,$cache_args); - } + if (!$logged_in_user || ($user->id != $logged_in_user->id)) { + $caching = true; + $cache_args = "userid=$userid"; + start_cache(USER_PROFILE_TTL,$cache_args); + } } @@ -455,10 +455,10 @@ function show_profile($userid, $verify_mode=false) { show_profile_summary($user, $profile, $can_edit, $verify_mode); echo "

"; show_profile_heading1(); - echo ":", $profile->response1; + echo $profile->response1; echo "

"; show_profile_heading2(); - echo ":", $profile->response2; + echo $profile->response2; if (!$verify_mode) { page_tail(); } diff --git a/html/user/stats.php b/html/user/stats.php index a4f1283ba1..baa5c4e173 100644 --- a/html/user/stats.php +++ b/html/user/stats.php @@ -20,6 +20,8 @@ This data can be summarized and represented as Web pages. Examples: