Problem: the new signup/download process (auto-attach) wasn't telling
Mac and Linux users to install VirtualBox for projects that require it.
(These platforms don't have a combined BOINC/VBox installer;
the user has to install VBox separately).
Solution: add links to the VirtualBox download page in appropriate places.
Also: we currently have a <need_vbox/> config option
for projects that require VBox (i.e. all their apps are VM)
Add a <recommend_vbox/> option for projects with some but not all VM apps.
Also: rename download.php to download_software.php.
There was a name conflict with a file from the boinc-site repo.
This caused problems on the BOINC web site, which uses both code bases.
Projects with a link to download.php on their home page
should change this to download_software.php.
Added rules to notify admins for various errors locate in boincusers.
Cannot change email address, address is in use. Also cannot revert email address for the same reason.
Cannot delete own account errors.
Errors dealing with terms-of-use form, such as when the consent type does not exist.
Part of https://dev.gridrepublic.org/browse/DBOINCP-493
Remove header from boinc_api.h of the function boinc_try_critical_section() that was removed in
6984ec8cf4
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
When the BOINC API headers are included from C source code that gets compiled with "-Wstrict-prototypes", they generate a lot of "function declaration isn’t a prototype" warnings. The attached patch fixes it by turning "foo()" to "foo(void)".
Gabor
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Old: the remote job submission log had a hardwired name,
it was being put in possibly the wrong directory,
and disabling logging required editing a PHP file.
New: logging is enabled by putting
<remote_submit_log>filename</remote_submit_log>
in your config.xml; the file is put in the <log_dir> directory.
Also: you can log the XML request messages
(useful mainly for debugging) by putting
<remote_submit_request_log>filename</remote_submit_request_log>
in config.xml
Documented both of these in a new file:
https://boinc.berkeley.edu/trac/wiki/RemoteLogs
This fix causes two libraries to be built without including two external libraries that get found when already installed on the Mac by Homebrew for example.
Add notification email to admin rules.
Modified boincwork to notify admins when circular host merge or zombie host merge is attempted.
Add watchdog/drupal log message for these two merge problems as well.
https://dev.gridrepublic.org/browse/DBOINCP-434
* Check for consent *before* the user account is created (if required)
* Added consistency checks for "Terms of use" existence and "CONSENT_TYPE_ENROLL" status
* Not making it part of the consent check as these two are strictly out of user control
* Added a new config.xml setting "account_creation_rpc_require_consent" (default: disabled)
* Added condition to create_account RPC to return an error if consent details aren't given but required
* Defined a dedicated error number and default message (for C and Android use)
The punitive mechanism was scanning for results with validate state INIT.
This is wrong because the scheduler immediately flags results
with client error as INVALID.
Fix: remove validate state check.
Also, don't update validate state; not needed any more.