winkies
6b0ce34b40
build: add files to make clean command
2021-01-24 22:03:12 +01:00
David Anderson
2355453d81
Python: new constants
...
I don't know why this file is in the repo;
it's generated automatically by the configure process
2020-11-25 16:26:40 -08:00
Kevin Reed
1d0b1912d5
Merge pull request #3722 from hristog/update-deprecated-py-syntax
...
Update deprecated Python syntax and func references
2020-11-15 18:47:39 -06:00
Hristo Georgiev
a04e06dc5c
Fix number of placeholders in repr formatting for front_Host
2020-11-14 16:01:42 +00:00
Hristo Georgiev
74d75795d0
Merge branch 'master' into update-deprecated-py-syntax
2020-10-30 18:38:45 +00:00
David Anderson
697aebb728
make it more future-proof
2020-10-12 14:59:18 -07:00
David Anderson
0e7dab4c2f
python: fix raw_input()/input() problem
2020-10-12 14:50:59 -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
Hristo Georgiev
5bd1394a64
Update deprecated Python syntax and func references (still Python v2 compatible).
2020-05-16 10:43:49 +01: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
Kevin Reed
5e80d7fcbc
tools: fix bug that added extra [''] argument to some deamons in the config.xml when a project is first created
2019-08-02 16:30:28 -05:00
Kevin Reed
a029d664e8
tools: Additional fixes for copying cgi-bin executables into project folders
2019-08-02 15:01:31 -05:00
Kevin Reed
8a9cf1043b
tools: Reference to function builddest should be builddir in upgrade tool
2019-08-02 14:24:04 -05:00
lfield
55264b7998
Wong directory
2019-07-08 22:16:42 +02:00
Laurence
e4cc393b90
f strings don't work
2019-07-08 18:11:09 +02:00
Laurence
b3b6858c52
Added some f strings
2019-07-08 16:34:42 +02:00
Laurence
059f50e459
removed use of dir fucntion
2019-07-08 15:02:15 +02:00
Laurence
5a8af528b4
update for python3
2019-07-08 14:34:12 +02:00
lfield
ccc7768e3b
Fixed indents
2019-07-08 14:15:28 +02:00
lfield
818dc0466a
Typo
2019-07-08 13:56:07 +02:00
Laurence
b4233ac529
Changed some more map functions for python3
2019-07-08 12:33:21 +02:00
Laurence
73996bf785
changed map function to for loop
2019-07-08 09:36:30 +02:00
lfield
ac31522dbf
Merge branch 'master' into dpa_python3
2019-05-14 15:55:23 +02: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
lfield
61d50f69ce
alternative approach for server versioning.
2018-11-30 15:12:46 +01:00
Germano Massullo
b222e3e395
Setting defaults to 0
2018-11-14 11:19:59 +01:00
Germano Massullo
25bd7d3a70
Changed default value of config.disable_account_creation_rpc
...
Changed default value of config.disable_account_creation_rpc from 0 to 1
2018-11-14 10:43:48 +01:00
Germano Massullo
f9963d54c3
added default project value disable_account_creation_rpc
2018-11-13 09:59:45 +01:00
Kevin Reed
8f787b2f32
Merge pull request #2737 from lfield/server-version
...
Added server version detection and publishing
2018-11-08 12:09:46 -06:00
lfield
842f76b26d
Adding terminator
2018-11-07 10:09:52 +01: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
lfield
3d7281d21c
Removed extra global defs and added chmod
2018-10-26 15:29:02 +02:00
Shawn Kwang
c817630afa
Merge branch 'master' into sak-useroptin-dbaddconsent
...
Fixed conflicts and prepare for merge into master.
2018-10-22 10:48:46 -05:00
lfield
237375a6b9
moved release.inc, removed branch, added link, changed git args
2018-10-09 13:06:52 +02:00
lfield
0c6fe9164f
Catching exception
2018-10-05 16:05:59 +02:00
lfield
ad1d27fa94
Added version detection and publishing
2018-10-05 15:03:54 +02:00
Shawn Kwang
b75020f027
web: Added config.xml option to control this show_host privacy setting.
...
If enable_privacy_by_default is TRUE (1), then show_hosts will default to 0 for new users.
2018-09-20 12:05:53 -05:00
Shawn Kwang
cc6efacb8d
db: Reorganize database changes, and add indices to new tables.
...
Added indices to consent and consent_type tables.
Moved initial content of consent_type table to new SQL file: content.sql
Modified database.py to insert new content.sql into database. In python autocommit is turned off by default, thus a manualy commit() was added.
Updated db_update.php to match changes in db/.
2018-06-12 12:08:26 -05:00
Shawn Kwang
f172822a94
web: Exiting users agree to terms of use when logging in.
...
Renamed 'optin consent' to 'agree to terms of use'. New config.xml variable name.
Decoupled new user agree to terms of use from existing users. If there is a ENROLL terms of use, and the project has enabled the 'enable_login_mustagree_termsofuse' boolean, then existing users must agree to the terms of use when the login, and this is recorded in the consent table.
2018-06-04 11:26:43 -05:00
Shawn Kwang
039db259b5
Merge branch 'master' into sak-useroptin-dbaddconsent
2018-05-17 14:14:33 -05:00
Shawn Kwang
23640e9a8a
web: Add new tables to database.
...
Add tables consent and consent_type. Projects automatically created with a pre-defined consent_type. When projects update database, pre-defined consent_type will be added as well.
2018-05-04 18:40:14 -05:00
Kevin Reed
d67a8c4b09
web: add <enable_delete_account>0</enable_delete_account> to default
...
project config.xml
2018-05-01 10:10:43 -05:00
David Anderson
4e0c3018e6
More progress on this, but it looks like we can use 2to3 instead
2018-04-22 23:51:44 -07: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
fbd7447cc4
Merge branch 'master' into knr_passwd_hash
...
Conflicts:
py/Boinc/setup_project.py
2018-04-17 08:35:14 -05: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