barton26
9e5ff22dfd
Merge branch 'BOINC:master' into spelling
2021-10-11 03:55:52 -04:00
barton26
0a6a48759d
Sched + Tests + Misc typos
2021-10-06 14:42:17 -04:00
barton26
d22ed53f6a
Remove semicolons in python code
2021-10-01 00:23:26 -04:00
Christian Beer
b6e54cbc6e
Merge pull request #3283 from smoe/gui_urls_xml_added_to_Makefile
...
Complete list of files to be installed for tools
2020-12-31 14:18:25 +01:00
Kevin Reed
2ffd661925
Merge pull request #4043 from BOINC/dpa_python3_2
...
Change python scripts to use python3.
2020-10-23 15:23:21 -05:00
David Anderson
43c98bff3d
Change python3 to python in 2 scripts
...
These scripts work with python 2 and 3
2020-10-09 12:43:50 -07:00
Rytis Slatkevičius
03b2e00990
Merge pull request #4030 from BOINC/dpa_submit_batch
...
remote job submission: specify all fields on batch creation.
2020-10-03 10:29:49 +03:00
David Anderson
e725f9bd62
manage_privileges, badge_assign.php: fix DB inserts
...
For newer MySQLs, need to specify values for all fields
2020-10-01 15:08:10 -07:00
David Anderson
d5763440c6
Make python scripts work with python2 as well as python3
...
- Use from __future__ import print_function
- fix input/raw_input discrepancy
2020-09-30 21:09:02 -07:00
David Anderson
506cb29932
Change python scripts to use python3.
...
You have to install mysqlclient for python3;
that has the same interface as mysqldb, which we used with python2.
2020-09-30 01:58:12 -07:00
David Anderson
dd332d61ed
remote job submission: specify all fields on batch creation.
...
Newer versions of MySQL error out if you don't.
2020-09-24 22:06:53 -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
Rytis Slatkevičius
70b29e55bd
Create download dir subdirs for app version files
2020-05-27 11:36:42 +03:00
Rytis Slatkevičius
88a92ca122
Add subdirectory support to update_versions
2020-05-27 11:25:42 +03:00
Vitalii Koshura
c322be5231
Merge pull request #3640 from BOINC/dpa_aarch
...
Create aarch64-unknown-linux-gnu platform on project creation
2020-05-02 02:16:44 +02:00
David Anderson
49963a3a6a
Create aarch64-unknown-linux-gnu platform on project creation
2020-04-24 15:11:51 -07:00
David Anderson
b881ab8563
Make the upgrade and make_project scripts work again.
...
These scripts use the python mysqldb module, which is available only for Python 2.
To use Python 3 for these scripts, we'd need to find a new MySQL interface module,
and change our Python code to use it.
2020-04-15 12:31:26 -07:00
David Anderson
97f62d2e01
remote job submission: add set_timeout() to Python API
2019-11-19 16:00:21 +01:00
Uplinger
fd7374e793
Merge pull request #3211 from BOINC/dpa_make_project
...
make_project: default to https:// in project URL
2019-09-20 11:45:22 -05:00
Steffen Moeller
ce168b5168
Complete list of files to be installed for tools
2019-09-10 14:30:57 +02:00
Vitalii Koshura
1181640809
Fix broken master after 4af1ef748d
...
Remove deleted files tools/db_query and tool/watch_tcp from tools/Makefile.am
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-09-04 08:35:41 +02:00
Steffen Moeller
4af1ef748d
Removing two scripts that have become obsolete
...
Following a comment by @davidpanderson on PR
https://github.com/BOINC/boinc/pull/3263
2019-09-04 00:25:59 +02:00
Kevin Reed
7c74e67295
tools: sample_work_generator should have the --app example_app argument added to it when a project is being created with the sample app (keeps it consistent with sample_bitwise_validator and sample_assimilator)
2019-08-02 16:31:52 -05:00
lfield
3945ac499f
Merge branch 'master' into dpa_python3
2019-07-16 11:12:19 +02:00
David Anderson
ba056186d4
make_project: default to https:// in project URL
2019-07-05 14:57:15 -07:00
lfield
9a960e592e
Added brackets
...
Added brackets to print function
2019-07-05 17:02:27 +02:00
Kevin Reed
b0d6271fb0
web - Add comments and fixing formatting for generate_acccount_ownership_keys.php.
...
Also remove generation of account ownership keys from initial project
creation script
2019-07-03 08:50:16 -05:00
lfield
ac31522dbf
Merge branch 'master' into dpa_python3
2019-05-14 15:55:23 +02:00
lfield
781ad6f376
Updating to Python 3
2019-05-14 14:15:54 +02:00
Kevin Reed
8fbd4bb6b4
Merge branch 'master' into PublicKeyCrypto
2019-05-10 14:18:14 -05:00
grcgrc
8d12ac9a66
Requested changes to PR 2965
...
* Less technical error messages, reduced code duplication, changed makeproject to generate keys, added op php file for generating keypairs, changed the button styling, changed input to textarea.
* Split the ops scripts into separate check and generate files, reduced code duplication by creating a new inc file to define key variables.
2019-05-08 17:20:24 +01:00
David Anderson
33b1c68bc2
remote job submission: add API for getting job counts
...
If a remote job submission system wants to maintain a constant
level of unsent jobs, it needs a way to get this value.
This commit adds a Python API for this.
It also returns other counts such as in-progress results,
and WUs needing validation/assimilation/file delete.
I could add PHP and C++ interfaces too if needed.
2019-01-16 20:57:31 -08:00
Vitalii Koshura
1ce3793c76
Remove unused BOINC_RCSID constants
...
This fixes #2953
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-01-12 23:43:48 +02:00
lfield
6ef5039489
Merge branch 'dpa_python3' of https://github.com/BOINC/boinc into dpa_python3
2018-11-06 14:33:08 +00:00
lfield
01df1879aa
A few more change from testing in docker
2018-11-06 14:32:52 +00:00
lfield
de0cf75da4
merging
2018-11-06 15:28:29 +01:00
lfield
a943a2212d
Futher improvements from testing
2018-11-05 16:28:28 +01:00
David Anderson
1af87de831
Merge pull request #2058 from progger/stage_file_fix
...
Fixed touch md5 file path
2018-10-10 12:49:33 -07:00
lfield
5245c03d9a
Removed unused variable
2018-10-10 11:32:53 +02:00
lfield
e5da6a0189
Update make_project
...
Added a comment
2018-08-09 09:26:33 +02:00
lfield
14d0c80aae
Update make_project
2018-08-08 11:49:25 +02:00
David Anderson
8384669568
Merge pull request #2517 from BOINC/dpa_credit2
...
Server: add support for pre-assigned credit
2018-05-28 17:32:01 -07:00
David Anderson
924ff5dba9
Add support for pre-assigned credit
...
You can now pre-assign a job's credit, as described here:
https://boinc.berkeley.edu/trac/wiki/CreditOptions
Note: this feature was originally available via an
--additional_xml "<credit>xx</credit>" arg to create_work.
This is an ugly kludge; I removed it.
In fact, the --additional_xml arg should be removed at some point.
Also: change stage_file to it cd's to html/bin when including stuff;
this is needed since util_basic.inc now includes something else
2018-05-15 13:01:31 -07:00
Kevin Reed
239af2d508
Merge branch 'master' into knr_right_to_erase
...
Conflicts:
html/ops/db_update.php
2018-05-15 13:09:11 -05:00
Kevin Reed
c03764ecb0
Merge pull request #2416 from BOINC/dpa_job_params
...
remote job submission: add optional "job params" for batchs
2018-05-09 12:57:40 -05:00
Kevin Reed
4002f6d372
web: add logic to insert into user_deleted and host_deleted when account
...
is removed from the system. add task to remove entries from those
tables after 60 days.
2018-05-02 15:36:57 -05:00
David Anderson
7c094689e2
python scripts: try to make them work with python 3.
...
Changes:
print()
except XXX as e (rather than except XXX: e)
from Boinc import XXX rather than import XXX
(I'm not sure how it worked before)
2018-04-20 14:02:33 -07:00
Kevin Reed
4a6246a8bb
web: create token table and php object to interact with token table.
...
Add script that will delete expired tokens once a day
2018-04-06 13:30:01 -05:00
David Anderson
42979fc8f9
remote job submission: add optional "job params" for batchs
...
This lets you specify the rsc_* parameters and delay bound in the submit call.
2018-03-18 23:25:26 -07:00
Kevin Reed
d17d5936f9
Merge pull request #2122 from JuhaSointusalo/update_versions-fix-multi-api_version
...
update_versions: handle multiple API_VERSION strings
2018-02-09 09:47:14 -06:00