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
Kevin Reed
333e5c49eb
Add the password compatability library to the create project setup
...
scripts
2018-04-04 13:46:16 -05:00
David Anderson
c5b948020d
Initial commit for Bootstrap
2016-11-11 12:36:27 -08:00
Shawn Kwang
9e7bfa88ca
Changed mkdir2 function to check if directory already exists, and updated it to raise an exception if there is a problem otherwise.
...
Added some text for the enduser to change apache 2.4 conf and add the project name and copyright holder.
2016-05-20 12:57:51 -05:00
marius
45a20fd403
make default xml indent 4 spaces
2016-03-13 23:41:58 +01:00
Christian Beer
1920a1b594
Web: update the upgrade script to install ReCaptcha files
2015-11-19 17:23:42 +01:00
Rom Walton
815b708181
make_project: Remove symlinks for the download/stats/user_profiles directories off of html/user. That is handled via the apache configuration now.
2015-11-16 21:14:16 -05:00
marius
add497f1f6
added --project_host option to make_project
2015-07-20 16:45:30 -07:00
marius
d384489952
added --no_db option to make_project
2015-07-20 15:46:52 -07:00
David Anderson
e4e38a5e0e
python constants
2015-03-09 13:51:52 -07:00
David Anderson
f21159e9bf
server_status.php: attempts at making it work across hosts
2014-11-01 22:56:47 -07:00