Commit Graph

33 Commits

Author SHA1 Message Date
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 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 039db259b5
Merge branch 'master' into sak-useroptin-dbaddconsent 2018-05-17 14:14:33 -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
Kevin Reed 83ea2bc9ec web: fixing spacing identified by scruitinizer 2018-05-17 09:58:03 -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
Shawn Kwang d433bedd02 web: Fixed bugs found by Scrutinizer. 2018-05-08 10:25:13 -05:00
Kevin Reed 4720ab77b4 web: fix issue with password hash caused by merge from master 2018-05-07 16:39:58 -05:00
Kevin Reed ec98197f23 web: fix bug introduced during merge 2018-05-07 13:31:09 -05:00
Kevin Reed cff14c4107 Merge branch 'master' into knr_right_to_erase
Conflicts:
	html/inc/user_util.inc
2018-05-07 13:09:18 -05:00
Shawn Kwang 0537feba0c web: Add functionality of consent to Web site and RPCs.
create_account RPC modified to record a user's consent.
am_set_info RPC modified to allow for modification of user's consent.
Account registration on Web site modified to show terms_of_use.txt file and record user's consent.
2018-05-04 18:42:05 -05:00
Kevin Reed bcd853bb4f web: implementation of wipe account 2018-05-04 17:36:09 -05:00
David Anderson 678f151037 Factor passwd hash logic into a function
... rather than having it duplicated in 3 places.
Please review https://boinc.berkeley.edu/trac/wiki/CodingStyle
2018-05-02 20:09:37 -07:00
Keith Uplinger 69f78a69cd Fix bug where I was sending it a null string to lookup_prev_email_addr 2018-05-01 12:13:39 -05:00
Keith Uplinger c226ee73c2 Account manager set info and create user has a check to make sure that previuos email address isn't in the 7 day change period 2018-05-01 10:57:00 -05:00
Kevin Reed 00440ad94e web: refactor delete account pages to reduce duplicate code 2018-04-18 17:18:23 -05:00
Kevin Reed 3cac897723 web: Implement delete_account_request_action.php (verify password,
create token and send email)
2018-04-17 18:21:57 -05:00
Kevin Reed 78f96d25f3 web: refactor password hashing changes to move compatibility library as a
.inc file and to move common functions into user_util.inc
2018-04-04 13:47:26 -05:00
Kevin Reed df64472c11 Merge branch 'master' into knr_passwd_hash 2018-04-04 10:49:14 -05:00
Kevin Reed 7579067918
Merge pull request #2427 from BOINC/dpa_email_msg
web: use "name@xxx.yyy" instead of "name@domain" to show form of emai…
2018-03-28 08:19:17 -05:00
David Anderson 635cd537be web: use "name@xxx.yyy" instead of "name@domain" to show form of email addr.
Users may not know what "domain" means.
Also don't use "name@gmail.com"; they'll think they need a gmail addr.
2018-03-27 13:11:05 -07:00
Kevin Reed e48bb4a7cd Merge branch 'master' into knr_passwd_hash 2018-03-22 12:55:13 -05:00
Kevin Reed 1ceb1e3a24 web: Fix style incompatibilities 2018-03-13 16:49:14 -05:00
Kevin Reed ea6f2c35ac web: Once hashed a password does not need to be escaped when inserting
it into the database
2018-03-13 16:23:27 -05:00
Kevin Reed 4b147e6cb2 web: initial changes for improving password hashing (join, change email,
change password, login)
2018-03-08 15:53:39 -06:00
Kevin Reed 2253277c38 web: Remove the confirmation password field in locations where the "show
password" toggle has been added
2018-03-08 12:34:30 -06:00
Kevin Reed 0f9425c3ad Revert "web: provide defaults for user.login_token and user.login_token_time as"
This commit wasn't atomic, so reverting and redoing it as two seperate
commits

This reverts commit 855ff67e47.
2018-03-08 11:37:45 -06:00
Kevin Reed 855ff67e47 web: provide defaults for user.login_token and user.login_token_time as
the lack of them was preventing registration from working on (at least
on MariaDB 10.2)
2018-03-08 10:13:31 -06:00
David Anderson da601210c4
Merge branch 'master' into dpa_checkbox 2018-01-08 00:41:58 -08:00
David Anderson 5d37578ecc Add support for "visible password" checkbox
- make redundant password and country optional in create account.
- fix appearance of form items
- remove unused code
2018-01-08 00:35:53 -08:00
David Anderson b49d072c9e Web: make it possible to have a single password field with "show" checkbox 2017-12-28 01:26:52 -08:00
David Anderson e712c7af9a web: code shuffle, no functional changes
separate user-related code into:
    user.php (web display of accounts)
    user_util.php (creating/deleting accounts)
2017-06-22 01:07:25 -07:00