Commit Graph

34060 Commits

Author SHA1 Message Date
Adam Radocz b68edc9589
Merge pull request #3951 from Isira-Seneviratne/Update_dependencies
[Android] Update Core KTX and desugar_jdk_libs versions.
2020-07-31 07:21:12 +02:00
David Anderson 18dcd34b74
Merge pull request #3947 from BOINC/dpa_submit_priority
Add priority options to remote job submission
2020-07-30 20:19:40 -07:00
David Anderson 2e2ef5bd62
Merge pull request #3948 from BOINC/dpa_wrapper_priority
Pass user priority config items to wrappers
2020-07-30 20:19:14 -07:00
Isira Seneviratne c463245cc2 Update Core KTX and desugar_jdk_libs versions. 2020-07-31 08:07:26 +05:30
David Anderson aa3163c41f Add keyword 2020-07-30 01:29:34 -07:00
David Anderson 80b70128f9 The user can specify 3 priority-related prefs in cc_config.h:
bool no_priority_change
int process_priority
int process_priority_special

Wrappers should honor these prefs,
but currently they don't have access to them.
Pass them in the APP_INIT_DATA structure.

Modify wrapper.cpp to use these prefs if they exist;
this overrides the priority specified in the job file, if any.
2020-07-24 00:58:45 -07:00
David Anderson 3e903d0e36 Remote job submission was always using allocation-based prioritization.
This is not necessarily the right thing.
For example, nanoHUB submits batches of jobs that are mixtures
of speculative and user-submitted;
these simply need to be given low and high priorities.

The way things work now:
- if you want allocation-based prioritization,
    set the "allocation_priority" flag in the request object
    (Python or PHP API)
- or set the "priority" field in the request object;
    that sets the priority of all the jobs in the batch
- or set the "priority" field of jobs in the batch.

Updated wiki docs accordingly.

Also fixed a bug in the test script
(note to self: adding an object to an array adds a reference, not a copy).
2020-07-24 00:36:12 -07:00
David Anderson 2abd5d7a95 Merge branch 'master' of github.com:BOINC/boinc 2020-07-23 22:02:47 -07:00
David Anderson b9d8ea8e82 translation file updates [skip ci] 2020-07-23 22:01:49 -07:00
David Anderson e0d07e3884
Merge pull request #3900 from BOINC/dpa_am_fix
Client: if AM reply includes a project we're attached to under a different account,  honor the params in the AM reply, e.g resource share.
2020-07-23 21:57:56 -07:00
David Anderson eb054ef4a6
Merge pull request #3915 from BOINC/dpa_remove_sqlite
Manager: remove cookie-based autoattach schemes
2020-07-23 21:56:03 -07:00
David Anderson 0c44355e9f
Merge pull request #3920 from Flowdalic/remote-hosts-configured
GUI RPC: bind to INADDR_ANY if a remote host is actually configured
2020-07-23 21:55:26 -07:00
David Anderson 87e2c5d272
Merge pull request #3926 from BOINC/dpa_user_inc
web: don't show error messages on user page if no other projects yet
2020-07-23 21:54:18 -07:00
David Anderson 8c601ebd04
Merge pull request #3945 from AenBleidd/enlarge_default_password_langth
[Windows] Enlarge default generated password to be 32 symbols long
2020-07-23 11:55:55 -07:00
Vitalii Koshura 7dfeef1d7f
[Windows] Enlarge default generated password to be 32 symbols long
This fixes #3944

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-07-23 18:50:55 +02:00
David Anderson 043029db76 Update translation files [skip ci] 2020-07-23 00:54:45 -07:00
David Anderson aa0255673c Add keywords for games and COVID 2020-07-23 00:32:53 -07:00
Vitalii Koshura 6d5bbeef49
Merge pull request #3923 from Isira-Seneviratne/Use_SwipeRefreshLayout_in_event_log
[Android] Use SwipeRefreshLayout in event log fragments.
2020-07-19 01:45:16 +02:00
Vitalii Koshura 87a5e113e7
Merge pull request #3922 from Isira-Seneviratne/Fix_client_copy_issue
[Android] Fix client copy issue.
2020-07-18 23:24:30 +02:00
Vitalii Koshura 1b037b4f85
Merge pull request #3921 from Isira-Seneviratne/Fix_NavDrawerListAdapter_exceptions
[Android] Add null checks in NavDrawerListAdapter.
2020-07-18 22:49:11 +02:00
David Anderson b77b474f86 web: don't show error messages on user page if no other projects yet 2020-07-17 01:09:19 -07:00
David Anderson de38ff7cdd add comments to update_templates.sh 2020-07-17 01:07:15 -07:00
Isira Seneviratne f5ceb3d99b Use SwipeRefreshLayout in event log fragments. 2020-07-17 04:56:47 +05:30
Isira Seneviratne ae420e5afc Add SwipeRefreshLayout dependency. 2020-07-17 04:56:46 +05:30
Isira Seneviratne bcd0254c4c Revert "Use Okio to copy the BOINC assets."
This reverts commit 52047b89
2020-07-16 20:10:32 +05:30
Isira Seneviratne 213bf70a0c Add null checks in NavDrawerListAdapter. 2020-07-16 18:07:00 +05:30
Florian Schmaus 9f1d5c33ed GUI RPC: bind to INADDR_ANY if a remote host is actually configured
Instead of binding to INADDR_ANY as soon as remote_hosts.cfg exists,
only do so if the file actually contains at least one host. Prior to
this change, boinc client would bind to INADDR_ANY even if
--allow_remote_gui_rpc was *not* given and the remote_hosts.cfg
does *not* contain any hosts (but exists). This behavior is not
sensible, because in that case no client would be allowed to connect
eventually.

Furthermore, many distributions ship an example remote_hosts.cfg as
part of their boinc client package. And the previous behavior caused
boinc client to bind on INADDR_ANY, opening a remotely accessible port
per default.

To tighten security further, boinc client will now only
bind to localhost even if remote-hosts.cfg exists, but there are no
remote hosts configured witin that file.
2020-07-16 10:20:03 +02:00
Vitalii Koshura d3585302d5
Merge pull request #3905 from Isira-Seneviratne/Use_Okio
[Android] Use Okio.
2020-07-16 04:18:16 +02:00
Isira Seneviratne 52047b89b0 Use Okio to copy the BOINC assets. 2020-07-16 07:31:34 +05:30
Isira Seneviratne f26da0ba81 Use Okio to compute MD5 hashes. 2020-07-16 07:30:50 +05:30
Isira Seneviratne e1f1e98c5a Add Okio. 2020-07-16 07:29:47 +05:30
Vitalii Koshura 7c46a66582
Merge pull request #3913 from Isira-Seneviratne/Fix_notification_preference
[Android] Fix notification preference.
2020-07-16 03:45:09 +02:00
Vitalii Koshura ac08fe84b6
Merge pull request #3912 from Isira-Seneviratne/Fix_task_execution_issue
[Android] Fix task execution issue.
2020-07-16 03:07:51 +02:00
Vitalii Koshura cc8c32b9a5
Merge pull request #3906 from Isira-Seneviratne/Remove_warnings
[Android] Suppress warnings displayed during compilation.
2020-07-16 02:35:04 +02:00
Vitalii Koshura 12ef169143
Additional clean-up
Remove sqlite3.dll from *.ism files
Remove sqlite3 as a build dependency
Remove sqlite3 from load_dependencies.bat

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-07-15 16:44:54 +02:00
Charlie Fenton 4322636603 Revert "Mac: Force Travis CI to rebuild dependency cache by adding --clean to call of buildMacDependencies.sh"
This reverts commit 504f72d478.
2020-07-15 03:45:09 -07:00
Charlie Fenton 504f72d478 Mac: Force Travis CI to rebuild dependency cache by adding --clean to call of buildMacDependencies.sh 2020-07-15 03:05:19 -07:00
Charlie Fenton 38620b1289 Eliminate linking to sqlite3 in Mac Xcode project
Remove references to sqlite3 in Mac build instructions
Delete Mac script for building sqlite3
2020-07-15 02:51:44 -07:00
Vitalii Koshura 65c7ef368e
Fix Mac build. Additional clean-up
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-07-14 13:56:26 +02:00
Isira Seneviratne f862ae7d4e Correct key of notification preference. 2020-07-14 15:15:13 +05:30
Isira Seneviratne 5da0c3f596 Remove unused variables. 2020-07-14 15:10:33 +05:30
Vitalii Koshura ee06705460
Additional clean-up
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-07-14 11:03:31 +02:00
Vitalii Koshura 7b5ab8d901
Merge remote-tracking branch 'upstream/master' into dpa_remove_sqlite
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>

# Conflicts:
#	win_build/boincmgr_vs2019.vcxproj
2020-07-14 10:50:37 +02:00
Isira Seneviratne aaed9f9aec Revert "Correct the way in which the value of ramMaxUsedIdleFrac is assigned."
This reverts commit d93ecdf2
2020-07-14 09:59:16 +05:30
tristanolive 645bf526eb
Merge pull request #3894 from brevilo/fix-regression-df966c74
Drupal: fixed regression in df966c74
2020-07-13 12:09:16 -04:00
Isira Seneviratne f5f5007733 Fix exceptions being thrown when retrieving project icons. 2020-07-13 16:40:58 +05:30
Isira Seneviratne ccdddd7428 Suppress deprecation warnings and remove use of a deprecated method in BOINCActivity. 2020-07-13 15:44:23 +05:30
Isira Seneviratne a1d701c2a0 Suppress warnings for functions set as onClick parameters. 2020-07-13 14:55:23 +05:30
Vitalii Koshura 97e5d63146
Merge pull request #3898 from talregev/TalR_4.1.0-beta03
[Android] Upgrade to Android Studio 4.1.0-beta03
2020-07-13 05:45:23 +02:00
David Anderson 8c374d7c18
Merge pull request #3791 from computezrmle/patch-1
Update ca-bundle.crt
2020-07-12 12:56:14 -07:00