Commit Graph

34870 Commits

Author SHA1 Message Date
Christian Beer 82755318d1 [unit tests] make tests more self contained in test_project_init
Also uses EXPECT_instead of ASSERT_ because with ASSERT_ the test immediately stops not executing the remaining tests of a suite. It's better to execute all tests and get a better picture what is failing.
2021-12-27 12:45:28 +01:00
Christian Beer ed5175329c [unit tests] add tests for mem_usage.cpp and project_init.cpp to Windows
Rearranged the lines alphabetically to better compare it with the source files.
2021-12-27 10:30:36 +01:00
Christian Beer 86429c69b8 [CI] exclude gzipped files from source code check 2021-12-27 10:20:14 +01:00
Christian Beer e1f81f7526 [unit tests] Add test for project_init.cpp
This also checks basic file reading and writing.
2021-12-27 00:31:50 +01:00
Christian Beer 337c017bb3 [unit tests] add missing tests for url.cpp 2021-12-26 23:08:42 +01:00
Christian Beer d8b4041bfd [unit tests] add simple test for mem_usage.cpp 2021-12-26 23:06:40 +01:00
Christian Beer 8e746e5720 [unit tests] enhance md5_file test with gzipped file 2021-12-26 23:06:40 +01:00
Christian Beer 00367d9f7a [Unit tests] Add testcase to check base64 padding 2021-12-26 23:06:32 +01:00
Vitalii Koshura 6f8fba3534
Merge pull request #4595 from talregev/TalR/bugfix_flutter_ububntu 2021-12-18 13:01:05 +01:00
Tal Regev 406339eccd
Fix linux dependencies in ci. 2021-12-18 12:14:14 +02:00
David Anderson e029a737c7
Merge pull request #4549 from BOINC/dpa_news
web: for News forum, always put oldest post (the news) first
2021-12-07 19:40:17 -08:00
David Anderson 6a8fe25033
Merge pull request #4575 from BOINC/dpa_backoff
client: fix overly aggressive project-wide file transfer backoff policy.
2021-12-07 19:39:40 -08:00
David Anderson a3084c475f
Merge pull request #4593 from BOINC/dpa_valid_email_forum
Add a new mechanism to discourage spam: if you put
2021-12-07 19:39:08 -08:00
David Anderson dbb74acfea
Merge pull request #4592 from BOINC/dpa_max_concurrent
client: fix work-fetch logic when max concurrent limits are used
2021-12-07 19:38:48 -08:00
David Anderson 98c3549d85 Add a new mechanism to discourage spam: if you put
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.
2021-12-03 22:58:12 -08:00
David Anderson 4d92df4bd7 remove dead code 2021-12-01 14:13:04 -08:00
David Anderson 4bdef6e2a4 client: fix work-fetch logic when max concurrent limits are used
The round-robin simulation would stop simulating jobs for a project
once a max concurrent limit (app or project) was reached.
As a result it would decide there was a shortfall,
and keep requesting work up to the limit of 1000 jobs.

To fix this:
1) keep simulating a project after an MCL is reached
2) for each (project, resource) pair, keep track of the latest
    simulation time T when an MCL was reached.
3) for such a project, don't request work for a resource if
    T > now + work buf size

This allows us, e.g., to request GPU jobs from a project
even if its CPU jobs (taking MCL into account) fill the buffer.

This works in the simulation case that showed the problem (#192).

Also: add a bit more logging, and improve names
2021-12-01 13:54:22 -08:00
David Anderson f38e86838a
Merge pull request #4591 from talregev/TalR_boinc_dart
Add flutter desktop and mobile platforms to boinc app.
2021-11-27 06:56:12 -08:00
Tal Regev 64f3fd3be3
Add flutter desktop and mobile platforms to boinc app.
ci for windows, linux, macos, web, winuwp, android and ios.
2021-11-27 16:40:07 +02:00
Vitalii Koshura fb75985a66
Merge pull request #4590 from AenBleidd/vko_fix_android_armv6_build
[Android] Fix armv6 vcpkg build.
2021-11-25 00:55:25 +01:00
Vitalii Koshura 9208bca72c
[Android] Fix armv6 vcpkg build.
Use curl 7.80.0 for non-vcpkg Android build.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-11-24 23:57:31 +01:00
Vitalii Koshura bd32d117ed
Merge pull request #4585 from talregev/TalR/change_tripltes_for_new_change
Change triplets file for new change of vcpkg.
2021-11-22 23:16:44 +01:00
Tal Regev 5b86479af7
Change triplets file for new change of vcpkg. 2021-11-22 23:20:08 +02:00
David Anderson 06cc530299
Update README.md 2021-11-20 12:27:14 -08:00
Vitalii Koshura 7d01ee565e
Merge pull request #4583 from BOINC/mac_improve_curl_build_scripts
Mac: ensure curl is built without needing libraries not normally available
2021-11-16 14:08:38 +01:00
Charlie Fenton 16b218f66a Revert "DO NOT MERGE: Temporarily clean cache to test buildcurl.sh script"
This reverts commit f90f26edf3.
2021-11-16 04:39:44 -08:00
Charlie Fenton f90f26edf3 DO NOT MERGE: Temporarily clean cache to test buildcurl.sh script 2021-11-16 03:25:26 -08:00
Charlie Fenton d5ff051ef3 Mac: Add a comment explaining that 3rdParty/buildMacDependencies.sh is used only for GitHub Continuous Integration, and anyone building BOINC on a Macintosh should use mac_build/setupForBOINC.sh instead. 2021-11-16 03:06:03 -08:00
Charlie Fenton 4010e8d2db Mac: ensure curl is built without needing libraries not normally available.
Also simplify redundant code.
2021-11-16 02:40:04 -08:00
David Anderson 4046298a99 client: fix overly aggressive project-wide file transfer backoff policy.
Old: if we get more than 3 upload or download failures for a project,
do a backoff for each failure.

Problem: if we start a bunch of transfers (say the N output files of a job)
and they all fail, we back off for too long, e.g.:
try N uploads
back off 2^N minutes
try N uploads
back off 4^N minutes
...

New: on a failure, ignore it if we're already backed off.
So the behavior should be something like:
try N uploads
back off 1 minute
try N uploads
back off 2 minutes
...
2021-11-09 12:31:38 -08:00
Rytis Slatkevičius a80d131a8c
Merge pull request #4574 from BOINC/dpa_group_py
web: remove use of "group by" to avoid error w/ newer MySQL
2021-11-09 09:08:16 +02:00
David Anderson 0f01ba84c5 web: remove use of "group by" to avoid error w/ newer MySQL 2021-11-08 20:04:55 -08:00
Vitalii Koshura d81289bbac
Merge pull request #4573 from AenBleidd/vko_fix_linux_build
Fix version of boto3 library because of the issue with the newer one
2021-11-09 02:14:55 +01:00
Vitalii Koshura 2f6f08ddfe
Fix version of boto3 library because of the issue with the newer one
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-11-09 01:59:11 +01:00
Christian Beer 91f40d0bcf
Merge pull request #4562 from AenBleidd/vko_fix_codecov_usage
[CI] Fix codecov uploader usage from v1 to v2 in YML files
2021-10-21 10:08:38 +02:00
Christian Beer 880135f6fc
Merge pull request #4563 from BOINC/mac_use_latest_dependent_libraries
Mac: update to latest dependent libraries
2021-10-21 07:17:45 +02:00
Charlie Fenton a7cb18e801 Mac: use preferred link for downloading curl 2021-10-20 06:11:32 -07:00
Charlie Fenton 9002c17c02 Revert "DO NOT MERGE: Temporarily clean cache to test last commit of buildc-ares.sh build script"
This reverts commit fdb95c0ca2.
2021-10-20 06:09:41 -07:00
Charlie Fenton fdb95c0ca2 DO NOT MERGE: Temporarily clean cache to test last commit of buildc-ares.sh build script 2021-10-20 05:04:09 -07:00
Charlie Fenton 3b46629dfa mac: correctly fix CI build of c-ares-1.17.2 2021-10-20 03:26:45 -07:00
Charlie Fenton 3bae2cbf76 mac: third try to fix CI build of c-ares-1.17.2 (my local build works)
The path to the built library has changed since c-ares-1.13.0
2021-10-18 05:07:05 -07:00
Charlie Fenton 4057397c90 mac: try again to fix CI build of c-ares-1.17.2 (my local build works)
The path to the built library has changed since c-ares-1.13.0
2021-10-18 04:16:20 -07:00
Charlie Fenton 11c2eacd56 mac: try to fix CI build of c-ares-1.17.2 (my local build works)
The path to the built library has changed since c-ares-1.13.0
2021-10-18 03:49:53 -07:00
Charlie Fenton ecffff10b6 Mac: update build instuctions 2021-10-18 03:00:45 -07:00
Charlie Fenton 78614d9c1a Mac: change minimum MacOS version to 10.10 (required for wxWidgets 3.1.5) 2021-10-18 03:00:06 -07:00
Charlie Fenton 689dc20ede Mac: update dependent libraries to latest: c-ares-1.17.2, curl-7.79.1, freetype-2.11.0, openssl-3.0.0
Previously updated to wxWidgets-3.1.5. FTGL version ftgl-2.1.3~rc5  is still the current version.
2021-10-18 01:43:08 -07:00
Vitalii Koshura 12101fe1ba
[CI] Fix codecov uploader usage from v1 to v2 in YML files
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-10-13 19:08:23 +02:00
Vitalii Koshura 038f60e130
Merge pull request #4561 from barton2526/cache
Update the GitHub cache action by unpinning the version
2021-10-12 14:58:06 +02:00
Vitalii Koshura dfa8aed34f
Merge pull request #4559 from BOINC/mac_build_curl_without_openssl
Mac: build curl to use Secure Transport instead of OpenSSL
2021-10-12 13:28:09 +02:00
Vitalii Koshura 45c6aacbd5
Merge pull request #4560 from barton2526/spelling2
Fix typos missed in #4538
2021-10-12 10:52:34 +02:00