The Linux installers on the BOINC web site (.sh files)
have out-of-date binaries, and are not real installers.
We shouldn't direct users to them.
But projects and AMs that use auto-attach were directing
Linux users to these installers.
This change fixes that.
Linux users are not shown a download button, but are instead directed to
https://boinc.berkeley.edu/wiki/Installing_on_Linux
which lists various options for installing BOINC on Linux
(starting with package managers).
Also: the download page (download_software.php) is also used
by account managers (Science United).
In this case, it should show instructions for
adding an account manager, not attaching to a project.
Note: there's an analogous update to download.php on the BOINC web site:
if the machine is Linux,
show a link to the Linux instructions rather than a download button.
niu_cpu_usage_limit: CPU throttling while computer not in use
niu_max_ncpus_pct: # CPUs to use while computer not in use
niu_suspend_cpu_usage: suspend if non-BOINC usage while computer not in use
Client: parse these from global_prefs files, and enforce them.
If not specified, use the corresponding (non-niu) pref all the time.
Web: add them to the computing prefs pages.
Refactor the prefs into:
in use / not in use / tasks / disk / network
TODO: update the Manager prefs dialog accordingly
- implode() cares about arg order
- strlen(), strstr(), stripslashes() don't take null arg
- time() takes no args
There are probably others.
I don't currently have 8.1 set up, and am working off bug reports.
Note: if a function expects, say, a string (and not null)
and you get a warning about a null arg,
don't fix it by casting the param to string.
That masks possible bugs.
Instead, find out where null is being passed, and fix it there.
web: server status: fix case where app has no results
web: fix case where get_logged_in_user() is called twice,
first with must_be_logged_in == false and later true.
web: xml_error(): $num default is -1
web: validate_email_addr(): tell user to check spam folder if no email
web: add optional "extra" arg to form_start, e.g. to allow file upload
web: change form div spacing to be 3+9 rather 4+8
(could make this a parameter)
web: add form_focus() to initialize focus on a field
web: add optional nrows arg to form_input_textarea()
- add KW_CANADA keyword for WCG
- use https: for BOINC URL
define('VALIDATE_EMAIL_TO_POST', '1');
in your project.inc, users have to validate their email addrs
to post in the forums, send PMs, or create profiles.
If you define INVITE_CODES_RPC, create-account RPCs must include
a matching invitation code.
Record this code in user.signature to keep track
of where the RPCs are coming from.