disable account creation in config file

svn path=/trunk/boinc/; revision=1105
This commit is contained in:
David Anderson 2003-03-26 01:03:11 +00:00
parent 17b09cf3dc
commit ae0e8b7089
6 changed files with 40 additions and 26 deletions

View File

@ -3950,6 +3950,8 @@ David Mar 24 2003
David Mar 25 2003
- account creation is now turned off by putting
"<disable_account_creation/>" in html_user/config.xml
- change name of config file to .htconfig.xml
(so can't read via HTTP)
html_user/
create_account*

View File

@ -2,10 +2,19 @@
<body bgcolor=ffffff>
<h2>Running the client</h2>
<p>
<h3>The Windows graphical client</h3>
<hr>
<h3>The Windows GUI client</h3>
<p>
TO BE WRITTEN
<h4>Language files</h4>
The text strings (menu names, etc.) in the Windows GUI client are stored in
a file called <i>language.ini</i>.
The release uses American English.
Other languages are available
<a href=http://216.198.119.31/BOINC/language_ini/language.htm>here</a>
(thanks to Robi Buechler and other volunteers for this).
<hr>
<h3>The command-line client</h3>
<p>
Command-line options:

View File

@ -11,7 +11,7 @@
<b>
Berkeley Open Infrastructure for Network Computing
(BOINC)
combines volunteer PCs into a parallel supercomputer.
combines PCs to form a parallel supercomputer.
</b>
</font>
</center>
@ -73,15 +73,19 @@ width="210" height="62" border="0" alt="SourceForge Logo"></a>
<center>
<h3>Status and news</h3>
</center>
<b>March 25, 2003</b>
<br>
<a href=http://216.198.119.31/BOINC/language_ini/language.htm>Non-English
language.ini files</a> are available.
Preferences include time-of-day restrictions.
Core client and applications communicate via shared memory and signals
rather than files, reducing disk traffic.
<br><br>
<b>March 19, 2003</b>
<br>
New account parameters and preferences: URL, limit number of processors,
frequency of writes to disk, whether to show your computers on the web.
<br><br>
<b>March 5, 2003</b>
<br>
Version 0.15 of BOINC is available on SourceForge.net.
<br><br>
<b>March 4, 2003</b>
<br>
Participants can have separate preferences
@ -102,9 +106,8 @@ New feature: secure, verified email address update.
<br><br>
<b>January 29, 2003</b>
<br>
A <a href=http://boinc.sf.net/boinc_ss.jpg>screenshot</a> of the
BOINC client running AstroPulse (the first test application)
demonstrates 3D graphics, workunit caching, and the use of multiple CPUs.
A <a href=http://setiathome.berkeley.edu/~eheien/ap_ss.jpg>screenshot</a> of the
BOINC client running AstroPulse, our first test application.
<br><br>
<b>December 10, 2002</b>
<br>

View File

@ -185,11 +185,11 @@ function parse_element($xml, $tag) {
return $element;
}
// look for a particular element in the config.xml file
// look for a particular element in the .htconfig.xml file
//
function parse_config($tag) {
$element = null;
$fp = fopen("config.xml", "r");
$fp = fopen(".htconfig.xml", "r");
while (1) {
$buf = fgets($fp, 1024);
if ($buf == null) break;

View File

@ -347,7 +347,7 @@ class Project {
// write the server config file
//
$f = fopen("$this->project_dir/cgi/config.xml", "w");
$f = fopen("$this->project_dir/cgi/.htconfig.xml", "w");
fputs($f, "<config>\n");
fputs($f, "<db_name>$this->db_name</db_name>\n");
fputs($f, "<db_passwd>$this->db_passwd</db_passwd>\n");
@ -384,13 +384,13 @@ class Project {
// put a file with the database name and other info
// in each HTML directory
//
$f = fopen("$this->project_dir/html_user/config.xml", "w");
$f = fopen("$this->project_dir/html_user/.htconfig.xml", "w");
fputs($f, "<db_name>$this->db_name</db_name>\n");
fputs($f, "<db_passwd>$this->db_name</db_passwd>\n");
fputs($f, "<download_url>$this->download_url</download_url>\n");
fputs($f, "<cgi_url>$cgi_url</cgi_url>\n");
fclose($f);
PassThru("cp $this->project_dir/html_user/config.xml $this->project_dir/html_ops");
PassThru("cp $this->project_dir/html_user/.htconfig.xml $this->project_dir/html_ops");
// edit "index.php" in the user HTML directory to have
// the right file as the source for scheduler_urls;

24
todo
View File

@ -11,6 +11,13 @@ BUGS (arranged from high to low priority)
HIGH-PRIORITY (should do for beta test)
-----------------------
Delete files if needed to honor disk usage constraint
should include per-result constraints (e.g. giant stderr files)
inform user if files deleted
- "Connect Now" command should apply to a particular project,
and should override the backoff on that project
- Implement Screensaver "blank screen" functionality
implement server watchdogs
@ -20,6 +27,8 @@ est_time_to_completion doesn't work for non-running tasks
-----------------------
THINGS TO TEST (preferably with test scripts)
-----------------------
Limit frequency of disk writes
make sure it actually works
- Test suspend/resume functionality on Windows/UNIX
- verify that if file xfer is interrupted, it resumes at right place
- result reissue
@ -28,16 +37,15 @@ THINGS TO TEST (preferably with test scripts)
- credit is granted even if result arrives very late
- multiple preference sets
- shared memory and CPU time measurement, with and without the BOINC API
- HD write frequency
- timezone on all platforms
-----------------------
MEDIUM-PRIORITY (should do before public release)
-----------------------
global prefs:
hours to compute
hours to transfer
write docs for project management
how to start/stop server complex
what needs to be backed up and how
account creation: show privacy/usage policies
@ -68,17 +76,11 @@ Testing framework
better mechanisms to simulate large load
do client/server on separate hosts?
Delete files if needed to honor disk usage constraint
inform user if this happens
Global preferences
implement disk usage prefs
time-of-day prefs?
test propagation mechanism
set up multi-project, multi-host test;
change global prefs at one web site,
make sure they propagate to all hosts
limit on frequency of disk writes?
Per-project preferences
test project-specific prefs
@ -225,5 +227,3 @@ Other user preferences:
memory restrictions
process priority/affinity
show disk usage as two pie charts (one for overall, one for per project)
disk write frequency