Commit Graph

4173 Commits

Author SHA1 Message Date
Shawn Kwang 21b6c3eefb web: modified team import to use check_consent_type function. 2018-06-04 11:26:43 -05:00
Shawn Kwang a96ed6b4be web: modified RPCs to use new consent_type table definitions.
Added check consent type function for RPCs and Web forms.
2018-06-04 11:26:39 -05:00
Shawn Kwang 6482527bb5 web: refactored code to remove config option enable_record_optin_consent
Now the code uses the enabled flag for the consent_type ENROLL to detmerine if a terms of use
is showed to the user and whether or not consent is recorded for this general terms of use.
2018-06-04 11:26:38 -05:00
Shawn Kwang 1f70734f5f web: modified privacy prefs code
Privacy prefs now loads the the consent_types found in the database table dynamically based on the enabled and privacypref flags introduced.
Removed enable_record_optin_consent config settings. Now the 'enabled' field in consent_type takes its place, one a consent_type by consent_type basis.
2018-06-04 11:26:35 -05:00
Shawn Kwang a66705929f web: modified manage consent type ops page to handle new fields in consent_type table. 2018-06-01 13:29:51 -05:00
Shawn Kwang d6dd0945e9 web: Modified consent_type table with new fields.
Modified the consent_type table to include fields 'enabled' and 'privacypref'.
2018-06-01 13:24:10 -05:00
Shawn Kwang 0cd3aab3a3 web: added error message when attempting to set unknown consent_type 2018-05-24 14:21:38 -05:00
Shawn Kwang b0557ef161 web: updated preferences for stats exports to use new consent table definitions. 2018-05-24 12:03:35 -05:00
Shawn Kwang 2d4f9e4236 web: updated form to use new consent table definitions 2018-05-24 12:03:18 -05:00
Shawn Kwang cbd1b5cc02 web: added consent table to delete functionality. 2018-05-24 12:02:43 -05:00
Shawn Kwang 35b446f243 web: Update web RPCs to use new consent defintions. 2018-05-24 12:02:31 -05:00
Shawn Kwang 4fa8a9faac web: Updated database, consent and consent_type tables.
Also updated boinc_db.inc to add delete_for_use and reflect new table definitions.
2018-05-24 12:00:00 -05:00
Shawn Kwang a8d7be5854 web: Misc minor changes.
Changed name of consent function to be more generic.
Added translation of ops page text.
2018-05-22 15:40:18 -05:00
Shawn Kwang f6437a821a ops: If enable record consent is enabled, import team will not create the user, since there is no way for the user to give consent. 2018-05-18 10:06:28 -05:00
Shawn Kwang 284694c704 web: Fixed bug, variable restored. 2018-05-17 14:47:02 -05:00
Shawn Kwang 07607ed41d web: Fixed bug found by Scrutinizer.
Removed unused code.
2018-05-17 14:30:11 -05:00
Shawn Kwang 039db259b5
Merge branch 'master' into sak-useroptin-dbaddconsent 2018-05-17 14:14:33 -05:00
Shawn Kwang 4ad801ff30 web: project privacy preferences modified to add 'consent to data export' option.
Added new preferences sub-class for consent table modification.
Added privacy preference form item to record user giving consent to data exports.
User's consent is recorded in the consent table.
2018-05-17 14:07:46 -05:00
Shawn Kwang 16846e4986 web: Make sure that the terms of use file exists as well as opt-in consent project config. 2018-05-17 10:50:23 -05:00
Shawn Kwang 06e162ed9d web: added additional consent_type for data exports. 2018-05-17 10:29:13 -05:00
Kevin Reed 83ea2bc9ec web: fixing spacing identified by scruitinizer 2018-05-17 09:58:03 -05:00
Kevin Reed 0c2b0bc88a web: remove excess space 2018-05-17 09:46:08 -05:00
Kevin Reed b6804ab5de web: add mising closing parenthesis 2018-05-17 09:15:27 -05:00
Kevin Reed ae7200490a web: Make the delay after invalidating the autheniticator something that
can be customized by projects in the project.inc file
2018-05-17 08:56:45 -05:00
Kevin Reed 7ce2370160 db: change index names to not be shortened 2018-05-17 08:46:37 -05:00
Kevin Reed f799c9c04b web: fix issues identified by scruitinizer 2018-05-16 16:26:14 -05:00
Kevin Reed 7172942bb0 web: reorganize code so that error_page is not called in inc files 2018-05-16 16:08:19 -05:00
Kevin Reed fdf493e3d4 web: use sensible constant values for times in code (improve
readability)
2018-05-16 15:43:49 -05:00
Kevin Reed 328a901ff3 db: add indexes in support delete account 2018-05-16 15:38:34 -05:00
Kevin Reed 21453710fd web: don't allow a user to start the delete account process if their
email address has been changed in the past 7 days
2018-05-15 14:32:40 -05:00
Kevin Reed 53250e7d27 web: fix bug in change email where the reversal email was only sent to
the new email when not using phpmailer
2018-05-15 14:32:07 -05: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
David Anderson 02a59808b9
Merge pull request #2500 from Uplinger/email_change_notification
Email change notification
2018-05-15 09:42:20 -07:00
David Anderson 4f51d89bea
Merge pull request #2511 from lfield/patch-6
remote job submission: corrected job params retrieval
2018-05-14 10:19:15 -07:00
Laurence Field 7a75a2f577 Obtain the rsc_fpops_est from the job_params 2018-05-14 13:33:04 +02:00
lfield 0c5d41bc2b
Update submit_rpc_handler.php 2018-05-14 10:59:08 +02:00
lfield 0e49f4446d
remote job submission: corrected job params retrieval
Testing remote job submission using the result from PR #2416 revealed an issue with the job params retrieval.
2018-05-12 22:26:36 +02:00
Keith Uplinger fecbfa3bd2 Modified the table definition for user table to have email_addr_change_time to be indexed per davids suggestion. 2018-05-10 09:34:39 -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 f551dd8776 web/server: when a user deletes their account (wipe), set results in progress
and results returned but not yet validated to "Client
Detached/Abandoned" status.  Let valid results remain.  In all cases set
userid and hostid to 0
2018-05-08 17:15:05 -05:00
Keith Uplinger 4168861960 Added comments for recover_email.php 2018-05-08 15:38:41 -05:00
Keith Uplinger 0d78176e1f Change phrasing in the edit_email_form.php 2018-05-08 15:36:54 -05:00
Keith Uplinger 9cd7d63ca8 Change error code for duplicate email addresses found in am_set_info.php 2018-05-08 15:35:37 -05:00
Shawn Kwang 0a046c19b3 web: Fixed bug found by Scrutinizer. 2018-05-08 15:15:41 -05:00
Keith Uplinger e82a6984cd Fixed Scrutinizer issue where variables were declared blank but declared later with string value in inc/email.inc 2018-05-08 15:14:10 -05:00
Kevin Reed fd25c43ca4 server: change create_time on host_deleted and user_deleted to double
from int
2018-05-08 14:43:16 -05:00
Shawn Kwang 6fa9a01ea6 web: Add an opt-in consent form to login workflow.
When a user logs in, and they have not yet consented, the user is presented with a form to consent to the Terms of Use. This adds or modifies records in the consent table.
Supported logins are: web form, authenticator, email_link, and ldap.
2018-05-08 14:36:05 -05:00
Keith Uplinger 8c9626fee8 Changed setting previous_email_addr to blank instead of null since that is not allowed int the default schema definition. 2018-05-08 13:37:24 -05:00
Keith Uplinger 387d59643f Fixed problem with bad constant called for invalid email address in am_set_info.php 2018-05-08 12:11:29 -05:00
Keith Uplinger 5cead5fb55 Added check in am_set_info to return an error if the email address was changed within 7 days. 2018-05-08 12:08:31 -05:00