Commit Graph

32353 Commits

Author SHA1 Message Date
David Anderson d93d8cc5c4 web: Fix auto-attach process for VBox projects
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.
2019-03-31 13:10:56 -07:00
Juha Sointusalo 63d679cce8
Merge pull request #3069 from AenBleidd/am_encoding_fix
[Manager] Make proper UTF-8 decoding of AM info
2019-03-27 21:56:08 +02:00
tristanolive aa4ccb113b
Merge pull request #3072 from drshawnkwang/drupal_feature-addrules-notify
Drupal: Add additional admin notification rules
2019-03-27 15:05:36 -04:00
Juha Sointusalo 7f0952ab1d
Merge pull request #3070 from AenBleidd/api_headers_861
Fix prototype warnings in the BOINC API headers
2019-03-27 20:59:44 +02:00
Shawn Kwang 0ed1d96357 Drupal: Fixed syntax errors/bugs in bts() functions. 2019-03-27 10:56:43 -05:00
Shawn Kwang 9cb6f3dd35 Druapl: Add additional admin notifications to Feature teams. 2019-03-27 10:04:50 -05:00
Shawn Kwang 148f9adbd5 Drupal: Add additional admin notification rules to Feature boinc_standard. 2019-03-27 10:04:50 -05:00
Shawn Kwang 931b6cc166 Drupal: Add additional admin notification rules for team functionality.
Added notifications for when user cannot create a team for two reasons.
2019-03-27 10:04:50 -05:00
Shawn Kwang 9253ef1151 Druapl: Add additional admin notification rules for user account errors.
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
2019-03-27 10:04:43 -05:00
Vitalii Koshura e9f0909a6e
[Manager] Make proper UTF-8 decoding of AM info
When attaching to AM make proper decoding of UTF-8 encoded strings.

Fixes #3068

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-03-26 22:16:53 +02:00
Vitalii Koshura b92f7a9d29
Remove boinc_try_critical_section() header
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>
2019-03-26 21:22:08 +02:00
Vitalii Koshura 58f9a6d67b
Fix prototype header leftovers
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-03-26 21:22:06 +02:00
Gabor Gombas 0cab8848f3
Fix "-Wstrict-prototypes" warnings in API headers
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>
2019-03-26 21:21:51 +02:00
Juha Sointusalo fbed9f3290
Merge pull request #3050 from BOINC/cb_wxwidgets_31_compatibility
Manager: adjust wxWidgets 3.1 compatibility
2019-03-21 21:19:28 +02:00
lfield e8792517ea
Merge pull request #3024 from BOINC/dpa_punitive
Server: add "punitive validation" mechanism
2019-03-21 11:48:58 +01:00
lfield fbc809b0ed
Merge pull request #3011 from BOINC/dpa_submit7
Remote job submission: add logging
2019-03-21 11:45:33 +01:00
David Anderson 24b7234204 remote job submission: logging improvements
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
2019-03-20 14:29:50 -07:00
Vitalii Koshura a6644f9c8d
Merge pull request #3049 from brevilo/ob_enforce_rpc_consent
[web][android][lib] Add conditional terms of use consent requirement to create_account RPC
2019-03-18 16:52:14 +01:00
brevilo 5cf754af01
Merge pull request #3063 from drshawnkwang/drupal_fix-registrationform
Drupal: Fixed registration form terms-of-use checkbox
2019-03-18 15:34:42 +01:00
Shawn Kwang fec007b000 Drupal: Fixed registration form terms-of-use checkbox
https://dev.gridrepublic.org/browse/DBOINCP-497
2019-03-18 09:05:11 -05:00
David Anderson e65a6b1eb0
Merge pull request #2971 from BOINC/cb_fix_deprecated_php_stuff
Web: fix deprecated php stuff
2019-03-18 02:23:10 -07:00
CharlieFenton 775f5c6941
Merge pull request #2748 from JuhaSointusalo/run_program-fixes
run_program() fixes
2019-03-16 17:15:30 -07:00
CharlieFenton 0e8775c676
Merge pull request #3060 from ShanghaiTimes/master
Disabling external libraries
2019-03-15 18:42:05 -07:00
root 978ed46c1b added the check_punitive usage option 2019-03-15 10:02:12 +01:00
Kevin Reed 64b78dfbc0
Merge pull request #3007 from BOINC/lfield-patch-1
Reverting PR #2794
2019-03-14 11:41:14 -05:00
tristanolive e2b4ad99d5
Merge pull request #3057 from drshawnkwang/drupal_fix_miscPHP_problems
Drupal: Fixed misc PHP problems
2019-03-14 10:38:54 -04:00
tristanolive f7ae97edab
Merge pull request #3056 from drshawnkwang/drupal_feature-rules-notify-admin
Drupal: Notify admins using rules functionality
2019-03-14 10:37:47 -04:00
tristanolive e61483ed26
Drupal: Fix comment for boinccore_rules_action_mail_to_admins() 2019-03-14 10:36:21 -04:00
tristanolive 47c58b8312
Fix typo in log message 2019-03-14 10:34:56 -04:00
ShanghaiTimes 64431beb3c Disabling external libraries
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.
2019-03-14 14:12:52 +00:00
Vitalii Koshura f50cd5f164
Merge pull request #2843 from BOINC/dpa_exclusive
Manager: in select exclusive app, don't check for existence, executability, or filename extension
2019-03-14 00:38:42 +01:00
David Anderson ea57d4d838 remove comment 2019-03-13 15:23:02 -07:00
Shawn Kwang 1f303feac8 Drupal: Add new admin notification rules to boinc_standard Feature.
New rules part of boinc_standard Feature.
Adds new rules category for 'admin notification', and adds the two new rules to that category.
2019-03-13 15:03:26 -05:00
Shawn Kwang b07e55f0f8 Drupal: Add boinccore rules for notifying admins.
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
2019-03-13 12:28:10 -05:00
Shawn Kwang eed8c81fe3 Drupal: Fixed misc PHP problems
Fixed some misc PHP problems found with xdebug.
2019-03-13 09:32:57 -05:00
Oliver Behnke 33f17eb356 Added missing parenthesis 2019-03-13 10:57:19 +01:00
Oliver Behnke a0a5959704 Do consistency checks first as xml_error() might exit 2019-03-13 09:59:14 +01:00
Oliver Behnke 827a360b16 Changed check for required consent in create_account RPC
* 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
2019-03-13 09:50:40 +01:00
tristanolive b098ea71c7
Merge pull request #3051 from drshawnkwang/drupal_feature-email-changeencoding
Drupal: Add boinccore_mail_alter to change encoding.
2019-03-12 00:00:08 -04:00
Shawn Kwang 3724a0f9f2 Drupal: Add boinccore_mail_alter to change encoding.
Changes header and body encoding to use 'quoted-printable'.

Part of https://dev.gridrepublic.org/browse/DBOINCP-479
2019-03-11 13:10:00 -05:00
Oliver Behnke 17e6fe2434 Added missing semicolon 2019-03-11 11:58:26 +01:00
Oliver Behnke 0909d34582 [web][android][lib] Add conditional terms of use consent requirement to create_account RPC
* 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)
2019-03-11 11:36:41 +01:00
David Anderson 419cd78fc7 validator: fix bug in punitive mechanism
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.
2019-03-08 15:26:28 -08:00
tristanolive 9988110928
Merge pull request #3041 from drshawnkwang/drupal_fix-css-terms-of-use-form
Drupal: Modified CSS BOINC theme
2019-03-07 09:35:29 -05:00
tristanolive d35164258b
Merge pull request #3040 from drshawnkwang/drupal_fix-bbcode-emailfilter
Drupal: Modified bbcode module to rewrite email addresses.
2019-03-07 09:34:52 -05:00
tristanolive 7343af3fb8
Merge pull request #3039 from drshawnkwang/drupal_fix-move-contextmod
Drupal: Move context module to codebase
2019-03-07 09:34:12 -05:00
Kevin Reed d16852e345
Merge pull request #3000 from BOINC/cb_hotix_trickles_php
Ops: fix php syntax error
2019-03-05 15:56:12 -06:00
Kevin Reed 346e7cd1a6
Merge pull request #2743 from BOINC/dpa_forum2
web: fix layout problem with forum tables
2019-03-05 15:51:55 -06:00
brevilo 2748016773
Merge pull request #3003 from BOINC/android-manually-enter-acc-mgr-url
[Android] Add option to manually enter Account Manager URL.
2019-03-04 09:37:24 +01:00
Juha Sointusalo 6ae4f8dfc9
Merge pull request #3043 from BOINC/cb_update_translations
Locale: Update localization files [skip ci]
2019-03-02 22:58:54 +02:00