Commit Graph

2188 Commits

Author SHA1 Message Date
J Eskew
62865599c7 Merge pull request #18154 from edx/jeskew/add_model_for_retired_users
Refuse password reset for retired users.
2018-05-14 13:02:53 -04:00
John Eskew
2ef404b83e Fix two deprecation warnings. 2018-05-14 12:24:36 -04:00
John Eskew
fee875f2a9 PLAT-2115: Refuse password reset for retired user. 2018-05-14 12:24:36 -04:00
Michael Terry
6833823ccc Update student records buttons
Updates the look and feel of the two (experimental and disabled by
default) links to student records.

Also converts the 'student_records' waffle switch to a waffle flag
named 'credentials.student_records.

LEARNER-5246
2018-05-11 16:38:16 -04:00
Simon Chen
0571df77d2 Merge pull request #18184 from edx/schen/EDUCATOR-2648
Create the retire_user method on ApiAccessRequest model
2018-05-11 13:50:59 -04:00
Sanford Student
6bb2d9dcc7 EDUCAOTR-2870: move oauth token retirement to dea deactivation endpoint 2018-05-11 13:05:04 -04:00
Brian Mesick
c3ca67781a Merge pull request #18183 from edx/bmedx/PLAT-2123
Fix PLAT-2123- Bug with retiring user's original_email being hashed
2018-05-11 12:55:42 -04:00
Simon Chen
7ffaaebd05 Create the retire_user method on ApiAccessRequest model 2018-05-11 12:18:28 -04:00
bmedx
fd84e3f52a Fix PLAT-2123- Bug with retiring user's original_email being hashed 2018-05-11 11:13:50 -04:00
Brian Mesick
4170b5d294 Merge pull request #18175 from edx/bmedx/sailthru_retirement_fixes
Fix issues with Sailthru retirement
2018-05-10 14:01:19 -04:00
bmedx
1e6c6fca5c Fix issues with Sailthru retirement 2018-05-10 13:31:34 -04:00
Gabe Mulley
5fa6c51368 Revert "Use edx-ace for the password reset email" 2018-05-10 13:06:52 -04:00
Gabe Mulley
7a5cecf3e9 Merge pull request #16545 from appsembler/omar/fmo/multipart-email
Use edx-ace for the password reset email
2018-05-10 11:31:43 -04:00
Sofiya Semenova
cb767d5bb2 Merge pull request #18169 from edx/sofiya/gdpr-testing
Create GDPR test user management command fix for optional arguments
2018-05-10 11:23:42 -04:00
Nimisha Asthagiri
246ebc14c2 Merge pull request #18139 from edx/arch/update-oauth-scopes-doc
Update OAuth decision 7: including organizations in tokens
2018-05-10 09:29:58 -04:00
Nimisha Asthagiri
e43f6370f7 Update OAuth decision 7: including organizations in tokens 2018-05-09 21:03:26 -04:00
Sofiya Semenova
5dcd77ff93 Create GDPR test user management command fix for optional arguments 2018-05-09 16:53:05 -04:00
Brian Mesick
091cf1cdc8 Merge pull request #18162 from edx/bmedx/retirement_bugfixes
Fix issues with retirement state population and unenrollment
2018-05-09 14:41:25 -04:00
bmedx
01ebe1e26e Fix issues with retirement state population and unenrollment
- Prevent RetirementState state_execution_order collisions when updating
- Add slash to end of unenroll API endpoint to match other retirement endpoints
2018-05-09 10:40:00 -04:00
Sofiya Semenova
879ba582cc Merge pull request #18130 from edx/sofiya/gdpr-testing
EDUCATOR-2822 | Management command to create GDPR test user
2018-05-08 16:54:10 -04:00
J Eskew
edbdae9fb8 Merge pull request #18124 from edx/jeskew/fix_some_django20_deprecation_warnings
Fix more Django 2.0 deprecation warnings around URLconfs.
2018-05-08 16:29:12 -04:00
Sofiya Semenova
403b67198a Management command to create GDPR test user 2018-05-08 16:04:01 -04:00
Omar Al-Ithawi
556c8b86d0 Use edx-ace for password reset email 2018-05-08 18:53:31 +03:00
John Eskew
e5ee0fc91f Remove more unneeded 'namespace=' params. 2018-05-07 18:25:36 -04:00
bmedx
f09edea13b Fix issues with retirement state population and update view
- Fix RetirementState cascade deleting UserRetirementStatus
- Change AccountRetirementStatusView's PATCH to accept application/json
- Remove ill-considered retirementstate_pre_delete_callback
- Fix up tests
2018-05-07 11:22:11 -04:00
Anthony Mangano
07609e7d75 Add password_policy checks to login views
LEARNER-4869
2018-05-04 11:55:57 -04:00
Nimisha Asthagiri
eb3e8d9585 Merge pull request #17602 from Microsoft/edx_master
Bulk Grades API (v1 grades api w/courses endpoint)
2018-05-03 15:36:27 -04:00
J Eskew
225dc1021c Merge pull request #18104 from edx/jeskew/PLAT_2093_remove_activation_keys
Remove activation keys upon logout of retired user.
2018-05-03 14:41:55 -04:00
John Eskew
ffb1f9fe2a Fix more Django 2.0 deprecation warnings around URLconfs. 2018-05-03 13:50:08 -04:00
Kabir Khan
c0f353467e V1 Grades API with added support for bulk read of all user grades in a course.
URL patterns changed to follow edx API conventions
2018-05-03 10:23:33 -07:00
Alessandro Roux
26ab595983 Merge pull request #18114 from edx/roux/creditrequest_model_retirement
EDUCATOR-2658: Adds retire_user to CreditRequest.
2018-05-03 12:13:27 -04:00
Stu Young
7b76ab8a4d Merge pull request #18023 from edx/estute/TE-2427-reshard-lms4
Reshard python unittests
2018-05-03 11:53:32 -04:00
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
Stuart Young
1fd2167144 rebalance python unittests onto new shards 2018-05-03 11:16:05 -04:00
sandroroux
4772dcf631 Adds "retire_user" to CreditRequest. 2018-05-03 09:24:48 -04:00
Alessandro Roux
197f1fb17a Merge pull request #18012 from edx/roux/oauth2-retire
EDUCATOR-2703: adds user retirement to OAuth2 tables
2018-05-03 09:18:56 -04:00
sandroroux
0094443b19 Creates oauth2_retirement_utils file, used it to retire oauth2 data. 2018-05-02 15:55:51 -04:00
Michael Terry
f8b009fecc Fix extracting i18n from jsx code
React code (in jsx files) was not being extracted at all. Fixed this
by updating to edx-i18n-tools 0.4.5.

Also, template literals (feature of es2015) don't work well with
gettext at all. So convert those instances to HtmlUtils or
StringUtils interpolation calls.

FEDX-505
2018-05-02 15:21:45 -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
David Ormsbee
71ef28d3d6 Add simulate_publish management command
Prior to this commit, any apps that update their data when courses are
published had to create their own management commands for bootstrapping
or error recovery (e.g. generate_course_overviews,
generate_course_blocks). This is a management command to allow us to
generically simulate a course_publish signal so that any async tasks
that trigger actions off of that can do so without having to each write
their own management commands.

It has a few options to make it more ops friendly:

* Can specify a set of courses, but defaults to all courses in the
  modulestore.
* Can specify a set of listeners, so we can bootstrap a new app without
  rebuilding everything.
* Can specify a delay between emitting signals so that we don't flood
  the queues and block author-initiated publishes from going through in
  a timely manner.
* Dry-run mode for a simple preview of what the script will attempt.
2018-05-01 13:53:54 -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