Commit Graph

2565 Commits

Author SHA1 Message Date
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
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
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
Simon Chen
b5ca813fa6 Merge pull request #18037 from edx/sofiya/ed-2706
Unlink CreditRequirementStatus PII for retired users
2018-04-27 14:45:12 -04:00
Sofiya Semenova
04c29b2099 Unlink CreditRequirementStatus PII for retired users 2018-04-27 13:04:29 -04:00
Michael Terry
502287b07e Add some links to student records
Add some waffle-guarded connection points to the Credentials service
to start filling out the user flow for Student Records.

Specifically, add a button to the Program Progress Details page if
a certificate exists, and add a link in the Learner Profile page.

Both only appear if the 'student_records' waffle switch is active.

LEARNER-4701
2018-04-27 09:52:01 -04:00
Ned Batchelder
9b63a06bfc Properly clean up a wrapped function 2018-04-26 15:50:05 -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
Jeff LaJoie
bb026ff878 Merge pull request #18010 from edx/jlajoie/LEARNER-4700
LEARNER-4700: Converts credentials to plugin
2018-04-25 14:43:21 -04:00
Albert (AJ) St. Aubin
ee1eaaf243 Merge pull request #18024 from edx/aj/LEARNER-4913_is_anon
Updates to use the is_anonymous flag of basket calculate
2018-04-25 12:22:53 -04:00
Albert St. Aubin
213673db61 Updates to use the is_anonymous flag of basket calculate
[LEARNER-4913]
2018-04-25 11:42:53 -04:00
Jeff LaJoie
29748877de LEARNER-4700: Converts credentials to plugin 2018-04-25 11:32:33 -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
sanfordstudent
03a3147634 Merge pull request #18011 from edx/sstudent/EDUCATOR-2731
make userorgtag deletable
2018-04-24 15:26:14 -04:00
Sanford Student
e5a0efbe7b make userorgtag deletable 2018-04-24 14:51:53 -04:00
sandroroux
05a5631869 Allows UnregisteredLearnerCohortAssignments to delete_by_user_value. 2018-04-24 14:00:33 -04:00
Alessandro Roux
e8201c60f4 Merge pull request #18034 from edx/roux/fix-deletable-by-user-value
Changes the DeletableByUserValue delete algorithm.
2018-04-24 13:57:33 -04:00
Waheed Ahmed
d82ecad681 Merge pull request #17985 from edx/waheed/LEARNER-4254-update-support-form
Update support form.
2018-04-24 22:02:26 +05:00
sandroroux
75e522f222 Changes the mixin's delete algorithm. 2018-04-24 12:00:25 -04:00
Brittney Exline
60f46d5a92 Merge pull request #17930 from edx/bexline/sso_id_verification2
ENT-945 Apply logic for taking into account SSOVerifications
2018-04-24 07:40:52 -06:00
Alex Dusenbery
64f1592772 EDUCATOR-2632 | Management command for creating new DOT application model. 2018-04-24 09:17:37 -04:00
Asad Iqbal
6cc13f7f2e Merge pull request #17935 from edx/asadiqbal08/ENT-645
[ENT-645]- Updated the messages when a learner leave an organization.
2018-04-24 15:59:55 +05:00
Waheed Ahmed
2c09ebb208 Update support form to make course required.
Update support form to auto select course and make course
selection required to submit form.

LEARNER-4254
2018-04-24 14:29:49 +05:00
Uman Shahzad
db5042f084 Merge pull request #18018 from edx/revert-17967-gbabey/revert-ENT-924
[ENT-924] Revert "Revert "Show Enterprise display name if we should hide sensit…
2018-04-24 05:43:49 +05:00
bmedx
98742c1c50 Update retirement APIs to match spec 2018-04-23 16:03:29 -04:00
Noraiz Anwar
8515cdf463 Merge pull request #18017 from edx/noraiz/EDUCATOR-2759
fix outline progress
2018-04-23 20:38:47 +05:00