Commit Graph

37009 Commits

Author SHA1 Message Date
David Anderson 919c234d45 fix link on bbcode page 2024-12-19 14:11:48 -08:00
lfield 949aa54c23
Merge pull request #5964 from BOINC/dpa_web13
web: remove vulnerabilities in tree_threader and in unused badge function
2024-12-19 12:52:40 +01:00
David Anderson b51b3e44b0 web: remove vulnerabilities in tree_threader and in unused badge function 2024-12-18 15:54:25 -08:00
Vitalii Koshura 57e0bdf3a7
Merge pull request #5962 from BOINC/dpa_consent
fix vulnerability in yucky consent code
2024-12-17 13:50:02 +01:00
David Anderson 8e564faa4c fix vulnerability in yucky consent code 2024-12-16 14:51:03 -08:00
Vitalii Koshura f02a114a28
Merge pull request #5961 from BOINC/dpa_sched 2024-12-16 22:12:24 +01:00
David Anderson 829960bc56 scheduler: fix scrutinizer warnings 2024-12-16 12:16:24 -08:00
Vitalii Koshura 14f75463e5
Merge pull request #5960 from BOINC/dpa_buda6
client, server, web: enable BUDA GPU apps
2024-12-16 00:32:56 +01:00
David Anderson 8e8ccf8b98 trailing white space 2024-12-15 13:23:49 -08:00
David Anderson 280c838b29 scheduler: fix FCGI build 2024-12-15 13:22:02 -08:00
David Anderson 1e77aeb9e2 Fix client simulator build 2024-12-15 12:22:26 -08:00
Vitalii Koshura 4db6de6f23
Merge pull request #5959 from BOINC/dpa_table_stats 2024-12-15 12:01:14 +01:00
David Anderson 1e3eacf6e1
Merge pull request #5954 from homersimpsons/refactor/remove-display_cvs_versions
Remove `display_cvs_versions` and `cvs_version_tracker`
2024-12-14 22:34:49 -08:00
David Anderson 8a9f4f8e62 web: fix ops/sample_table_stats.php (shows details of DB tables) 2024-12-14 20:36:22 -08:00
Vitalii Koshura 33b95bd0fb
Merge pull request #5958 from BOINC/vko_add_installer_version_updater
[windows] adjust set-client-version.py file to update boinc.json file
2024-12-15 04:20:22 +01:00
Vitalii Koshura a746bfa411
Merge pull request #5957 from BOINC/vko_installer_remove_more_unused_strings
[windows] Remove more unused strings from the boinc.json file
2024-12-15 04:20:12 +01:00
Vitalii Koshura 181607d89e
[windows] adjust set-client-version.py file to update boinc.json file
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2024-12-15 02:49:54 +01:00
Vitalii Koshura 208d85d54a
[windows] Remove more unused strings from the boinc.json file
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2024-12-15 02:39:07 +01:00
Vitalii Koshura 5a86cb8561
Merge pull request #5956 from BOINC/all_projects_list_xml_update
Update all_projects_list.xml
2024-12-15 01:49:33 +01:00
AenBleidd faa693ae70 Update all_projects_list.xml 2024-12-15 00:27:04 +00:00
Guillaume 44a50c87d0 Remove `display_cvs_versions` and `cvs_version_tracker`
BOINC project is now using git instead of svn, let'es remove this legacy part.
2024-12-14 22:36:05 +01:00
davidpanderson f5fc8b960b win build fixes 2024-12-14 11:52:23 -08:00
David Anderson a4f07a169d client: enable it to handle BUDA GPU and multithread apps
original:
Info about resource usage (GPU usage, #cpus) is stored in APP_VERSION.
When we need this info for a RESULT, we look at rp->avp

new:
For BUDA apps, the info about the actual app (not the docker wrapper)
comes with the workunit, not the app version.
So create a new structure, RESOURCE_USAGE.
APP_VERSION has one, WORKUNIT has one.
So does RESULT; when we create the result we copy the struct
either from the app version or (for BUDA jobs) the workunit.
Then the code can just reference rp->resource_usage.

Nice. This enables BUDA/GPU functionality with almost no additional complexity.

Add code to parse resource usage items in <workunit>

Note: info about missing GPUs (or GPUS without needed libraries)
is also stored in RESOURCE_USAGE.
2024-12-14 01:05:59 -08:00
David Anderson 275a2a42b7
Merge pull request #5951 from homersimpsons/refactor/remove-useless-call
remove useless redirect
2024-12-13 17:06:08 -08:00
David Anderson 8151445505 scheduler: for BUDA GPU jobs,
put resource usage info in the <workunit> element.
2024-12-13 15:19:41 -08:00
homersimpsons d66e53fc1e ⚰️ remove useless redirect 2024-12-13 22:48:32 +00:00
lfield c67393e6d1
Merge pull request #5950 from BOINC/dpa_pwd
web: fix CSRF vulnerability in edit passwd function
2024-12-13 20:50:15 +01:00
David Anderson 2ac322f197 web: fix CSRF vulnerability in edit passwd function 2024-12-13 10:41:54 -08:00
David Anderson b10221b29e scheduler: if a job is BUDA, we need to return usage info (CPU, GPU)
with the workunit rather than the app version.
This commit lays the groundword for this.
2024-12-13 10:08:54 -08:00
Vitalii Koshura 3bbf02e10e
Merge pull request #5949 from BOINC/vko_update_custom_librsvg_prot
[linux] update custom librsvg port
2024-12-13 02:17:13 +01:00
Vitalii Koshura f9b10ef02c
[linux] update custom librsvg port
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2024-12-13 01:47:00 +01:00
David Anderson fc745ae0a0 web: maintain a file 'project/buda_plan_classes'
with a list of BUDA variant names (i.e. plan classes).
    Update as variants are added and deleted.
    This is used in project preferences for 'Use NVIDIA' type buttons.

feeder: the shared-mem segment has a list of resources types
    for which the project has work.
    Need to include BUDA variants also.
    Do this by scanning the 'buda_plan_classes' file (see above)

    Note: this means that when the set of BUDA variants changes,
    we need to restart the project

plan_class_spec.xml.sample:
    The 'cuda' class had a max compute capability of 200.
    Remove it.
2024-12-12 15:35:58 -08:00
Vitalii Koshura 318e591f41
Merge pull request #5947 from BOINC/vko_msi_refactor
Refactor boinc.json structure a little bit.
2024-12-12 11:10:57 +01:00
Vitalii Koshura 6b45a982dd
Refactor boinc.json structure a little bit.
Moved RadioButton definitions closer to the relevant controls.
Locale files now shoulw be defined in the main JSON file.
Add possibility to pass main JSON file as a parameter to the installer.exe.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2024-12-12 10:17:39 +01:00
David Anderson 1ca231c89a web and scheduler: enable plan classes for BUDA
If you make a variant of a BUDA app for a plan class
(e.g. NVIDIA GPU with CUDA)
this ensures that jobs submitted to that variant are sent
only to capable hosts,
and that the host usage and projected FLOPS are set correctly.

On the web side, we add a <plan_class> element to workunit.xml_doc.
This gets sent to the scheduler.

On the scheduler this required some reorganization.
As the scheduler scans jobs, it finds and caches
a BEST_APP_VERSION for each app.
This contains a HOST_USAGE.

In the case of BUDA, the host usage depends on the workunit,
not the app version.
We might scan several BUDA jobs
they'll all use the same APP_VERSION,
but they could have different plan classes
and therefore different HOST_USAGE.

So if we're looking at a job to send,
and the WU has a <plan_class> element,
call app_plan() to check the host capability and get the host usage.

Change add_result_to_reply() so that it takes a HOST_USAGE& argument,
rather than getting it from the BEST_APP_VERSION.

We do this in several places:
- sched_array (old scheduling policy)
- sched_score (new scheduling policy)
- sched_locality (locality scheduling)
- sched_resend (resending lost jobs)
- sched_assign (assigned jobs)
so all these functions work properly with BUDA apps.

-----------------

Also: the input and output templates for a BUDA app variant
depend only on the variant, not on batches or jobs.
So generate them when the variant is created,
and store them in the variant dir,
rather than generating them on batch submission

Also: fix bug in downloading batch output as .zip;
need to do zip -q
2024-12-11 17:00:45 -08:00
Vitalii Koshura 14a2a26179
Merge pull request #5944 from RokeJulianLockhart/patch-1
Convert issue templates from GHFM to YAML.
2024-12-11 01:17:05 +01:00
Vitalii Koshura f3d5782f83
Update .github/ISSUE_TEMPLATE/feature_request.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2024-12-11 01:16:20 +01:00
Mr. Beedell, Roke Julian Lockhart e769533a35
Update bug_report.yml
Remediates https://github.com/BOINC/boinc/pull/5944#discussion_r1879079494.
2024-12-10 23:54:10 +00:00
Vitalii Koshura 5eb9fa9829
Merge pull request #5945 from BOINC/dpa_sandbox3
web: make sandbox file list sortable by name, size, or date
2024-12-10 23:27:29 +01:00
Mr. Beedell, Roke Julian Lockhart f63b77589f
Update and rename other-issues.md to other-issues.yml
2⁄2!
2024-12-10 21:54:44 +00:00
Mr. Beedell, Roke Julian Lockhart a994bb4097
Update and rename bug_report.md to bug_report.yml
½ of https://github.com/BOINC/boinc/pull/5944#pullrequestreview-2493256846.
2024-12-10 21:49:21 +00:00
Mr. Beedell, Roke Julian Lockhart 154b5e1526
Update feature_request.yml
Resolves https://github.com/BOINC/boinc/pull/5944#pullrequestreview-2493649113.
2024-12-10 21:38:04 +00:00
Mr. Beedell, Roke Julian Lockhart 15752cec48
Update feature_request.yml
Satisfies https://github.com/BOINC/boinc/pull/5944#discussion_r1878632013.
2024-12-10 21:29:52 +00:00
David Anderson ba60bd8dc4 web: make sandbox file list sortable by name, size, or date 2024-12-10 13:25:51 -08:00
Mr. Beedell, Roke Julian Lockhart 8c0e1cb2af
Update and rename feature_request.md to feature_request.yml 2024-12-10 18:08:28 +00:00
Mr. Beedell, Roke Julian Lockhart 83674a4892
Update feature_request.md
Remediates https://github.com/BOINC/boinc/issues/5940#issuecomment-2531429972.
2024-12-10 14:10:40 +00:00
Vitalii Koshura a0097a4ff1
Merge pull request #5939 from BOINC/vko_update_actions
[ci] update actions
2024-12-08 14:25:52 +01:00
Vitalii Koshura 324cb191f5
[ci] update actions
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2024-12-08 13:53:54 +01:00
Vitalii Koshura c289bb2f83
Merge pull request #5937 from BOINC/vko_remove_unused_strings
[windows][installer] clean-up unused strings and resources
2024-12-07 15:09:39 +01:00
Vitalii Koshura 54266b2f53
Merge pull request #5938 from BOINC/dpa_start
fix problem where wrapper unzips input files each time it restarts
2024-12-07 13:56:20 +01:00