John Eskew
b74d720442
Remove activation keys upon logout of retired user.
2018-05-03 11:41:20 -04:00
Alex Dusenbery
95d5b13714
EDUCATOR-2753 | Add calls to retire secondary user data to the /accounts/retire endpoint.
2018-05-03 11:35:50 -04:00
Eric Fischer
2556864bfb
Merge pull request #18106 from edx/efischer/is_it_this_easy
...
Silence deprecation warnings
2018-05-02 14:17:05 -04:00
Alex Dusenbery
2b48649a9e
EDUCATOR-2771 | Adds an LMS API endpoint to retire a user account.
2018-05-02 13:10:03 -04:00
Eric Fischer
e18448e27d
Silence deprecation warnings
...
https://docs.djangoproject.com/en/1.11/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
2018-05-02 10:03:50 -04:00
jaebradley
22cd505d42
LEARNER-4717 Have delete account modal button make request to deactivation endpoint
2018-05-02 07:50:38 -04:00
Brittney Exline
5b19309691
Merge pull request #18070 from edx/bexline/sso_id_verification2
...
ENT-945 Using SSOVerifications in ID Verification flow
2018-04-30 14:14:03 -06:00
J Eskew
09be730861
Merge pull request #18090 from edx/jeskew/fix_retirement_queue_method
...
Process states param to gather all passed-in states.
2018-04-30 15:01:34 -04:00
sanfordstudent
1f490a66c1
Merge pull request #18065 from edx/sofiya/ed2770
...
EDUCATOR-2770: Update logout endpoint to accept requests from user and validate password
2018-04-30 14:24:14 -04:00
John Eskew
891b9a64de
Add a test for multiple learner states.
2018-04-30 13:38:29 -04:00
jaebradley
d360c29714
EDUCATOR-2770: Update logout endpoint
2018-04-30 12:50:49 -04:00
John Eskew
e7bdbe6846
Process states param to gather all passed-in states.
2018-04-30 12:21:53 -04:00
Brittney Exline
91e63ed8e0
ENT-945 Using SSOVerifications in ID Verification flow
...
This reworks what was done #17930 , since it had to be reverted from the IDVerificationAggregate migration.
We decided to abandon that model and directly read from both id verification models.
2018-04-30 11:57:59 -04:00
Brian Mesick
2be587d32d
Merge pull request #18014 from edx/bmedx/retirement_state_mgmt
...
Add a management command and settings to populate RetirementState models
2018-04-30 09:28:21 -04:00
bmedx
9f53f79a62
Add a management command and settings to populate RetirementState models
2018-04-26 14:41:26 -04:00
Brittney Exline
292f9ca831
Partial revert of "ENT-945 Update IDVerification interfaces to accountfor SSOVerification"
...
This partially reverts commit ee1c3a4548 .
The migration files introduced by the commit have been kept since they have been run
already on several enviornments.
2018-04-25 16:01:15 -04:00
Brian Mesick
1828bf7d6b
Merge pull request #17920 from edx/bmedx/fix_retirement_apis
...
Update retirement APIs to match spec
2018-04-25 10:39:26 -04:00
Sanford Student
e5a0efbe7b
make userorgtag deletable
2018-04-24 14:51:53 -04:00
bmedx
98742c1c50
Update retirement APIs to match spec
2018-04-23 16:03:29 -04:00
Brittney Exline
ee1c3a4548
ENT-945 Update IDVerification interfaces to accountfor SSOVerification
2018-04-23 10:48:12 -04:00
bmedx
63dcaa4695
Add a model and associated API to help control the user retirement flow
2018-04-19 13:56:42 -04:00
Sanford Student
9e482553c1
EDUCATOR-2628: deactivate and logout user
2018-04-18 11:32:31 -04:00
Alex Dusenbery
f6997f2842
Remove unused imports in user_api.models
2018-04-17 10:03:05 -04:00
Bill DeRusha
d1ed33ac23
Update and refactor random password generator
2018-04-13 14:17:21 -04:00
Jeremy Bowman
9ca9aa44c6
PLAT-2060 Use pip-tools to manage requirements files (take 2)
...
This reverts commit a7fa0c211d .
2018-04-12 17:22:48 -04:00
Feanil Patel
a7fa0c211d
Revert "PLAT-2060 Use pip-tools to manage requirements files"
2018-04-10 12:54:41 -04:00
Jeremy Bowman
432347b881
PLAT-2060 Use pip-tools to manage requirements files
2018-04-09 17:07:02 -04:00
Gregory Martin
49a82cc397
Merge pull request #17860 from edx/yro/EDUCATOR-2333
...
Delete visual_progress_enabled waffle flag.
2018-04-06 15:55:32 -04:00
Brian Mesick
5782119341
Merge pull request #17867 from edx/bmedx/registration_deadlocks
...
WIP: Refactor registration to improve reliability
2018-04-06 15:24:13 -04:00
Gregory Martin
62775c891a
Delete visual_progress_enabled waffle flag.
...
https://openedx.atlassian.net/browse/EDUCATOR-2333
2018-04-06 15:07:16 -04:00
bmedx
65147386c0
PLAT-2028 - Create mailing list retirement API endpoint
...
- Removes "email-optin" UserOrgTags for the user
- Creates and uses a new "UserRetireMailingsSignal" signal
- Creates and uses a new "CanRetireUser" permission
- Creates and uses a new setting "RETIREMENT_SERVICE_WORKER_USERNAME"
- Creates a signal handler to globally opt-out the user from Sailthru
2018-04-05 15:52:26 -04:00
bmedx
634234966a
WIP: Refactor registration to improve reliability
2018-04-05 15:11:41 -04:00
Waheed Ahmed
20e7a15ac6
Fix enabling debug allows api access without authentication.
...
LEARNER-1220
2018-04-04 12:54:52 +05:00
Brian Mesick
4841ff7943
Merge pull request #17790 from edx/bmedx/user_retirement_utils
...
Add some common functionality for retiring users
2018-04-02 14:41:52 -04:00
bmedx
b26d7913f5
Add some common functionality for retiring users
...
- Methods for getting hashed retired users and usernames
- A DRF permission for retiring users
2018-04-02 13:48:52 -04:00
Diana Huang
6ceb7e1500
Update TOS and Privacy Policy field on registration from for GDPR.
2018-04-02 10:01:18 -04:00
Michael Terry
a576d682ff
Improve password complexity messaging
...
Send password form instructions that include password complexity and
also send error messages back that include all parts of the
complexity instead of single parts at a time.
And clean up phrasing to be more consistent.
2018-03-21 10:29:53 -04:00
Michael Terry
abc42ec236
Send password requirements to mobile
...
We have a registration endpoint that sends all the information the mobile
app needs to render a form, including password requirements. But it wasn't
sending complexity information before (e.g. 1 uppercase letter).
Now it does!
2018-03-20 12:54:05 -04:00
Michael Terry
97a938ccd5
Fix formatting of error
...
Makes it more readable (rather than a repr string)
2018-03-16 15:34:47 -04:00
Michael Terry
a0c6f66252
Check policy during pw live validation
...
The password live validation was not considering the full password
complexity settings. This branch hooks that up and refactors the
various ways to validate a password to all go through the same code
path.
LEARNER-4502
LEARNER-4504
2018-03-16 09:23:43 -04:00
Sanford Student
6f5c49e7b6
guard against missing setting
2018-03-07 15:49:44 -05:00
Gregory Martin
a5d8cbb8e9
Add "last completed block" to dropdown
2018-03-07 10:58:59 -05:00
Jeremy Bowman
b3ac2b1b06
PLAT-1976 Add waffle switch to block auth_user write attempts
2018-02-28 13:13:06 -05:00
Adeel Khan
136b914d86
Fixes error caused by invalid Anonymous User passed to a view.
...
This patch would fix the case when an anonymous object is
getting passed to view causing "TypeError: int() argument must
be a string or a number, not 'AnonymousUser'" exception. Applying a
permission class would force user to be an authenticated
user otherwise would get a 403 response.
LEARNER-4162
2018-02-14 13:25:38 +05:00
Jeremy Bowman
bf86b3da98
PLAT-1942 Handle xmodule_django field deprecations
2018-02-05 15:05:54 -05:00
Jeremy Bowman
5289c7e828
PLAT-1915 Stop using deprecated BaseException.message
2018-01-31 17:22:01 -05:00
Qubad786
64555c60c0
Move request_cache to openedx.core.djangoapps
2018-01-26 15:09:25 +05:00
bmedx
1d45c85135
Refactor student login for readability and fix Django 1.11 issues
2018-01-24 11:26:43 -05:00
Michael Terry
948cae4148
Fix crash using create_user
...
Fix an invalid import usage to avoid a crash with the management
command create_user.
LEARNER-3932
2018-01-22 13:46:35 -05:00
Jeremy Bowman
669aa13ad6
PLAT-1873 to_deprecated_string() cleanup part 2
2018-01-08 17:26:55 -05:00