Commit Graph

2373 Commits

Author SHA1 Message Date
John Eskew
fee875f2a9 PLAT-2115: Refuse password reset for retired user. 2018-05-14 12:24:36 -04:00
Gabe Mulley
5fa6c51368 Revert "Use edx-ace for the password reset email" 2018-05-10 13:06:52 -04:00
Omar Al-Ithawi
556c8b86d0 Use edx-ace for password reset email 2018-05-08 18:53:31 +03:00
Jeremy Bowman
dd0180a33d TE-2545 Restrict AutoAuth for load tests 2018-05-07 15:00:48 -04:00
Anthony Mangano
07609e7d75 Add password_policy checks to login views
LEARNER-4869
2018-05-04 11:55:57 -04:00
sanfordstudent
2a367b5075 Merge pull request #18111 from edx/sstudent/EDUCATOR-2689
EDUCATOR-2689: retire ManualEnrollmentAudit
2018-05-02 16:30:50 -04:00
Sanford Student
264cec0cea EDUCATOR-2689: retire ManualEnrollmentAudit 2018-05-02 15:56:00 -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
4147b72f18 fix is_authenticated mocks 2018-05-02 11:26:27 -04:00
sanfordstudent
a615f2e227 Merge pull request #18103 from edx/sstudent/EDUCATOR-2690
EDUCATOR-2690 bugfix
2018-05-02 11:14:01 -04:00
Sanford Student
ea67a49041 EDUCATOR-2690 bugfix 2018-05-02 10:21:57 -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
sanfordstudent
41b1f03c78 Merge pull request #18097 from edx/sstudent/EDUCATOR-2690
make password history retirable
2018-05-01 15:20:02 -04:00
Simon chen
803a396e11 Create deletion method for the PendingNameChange model to comply with GDPR 2018-05-01 14:21:41 -04:00
Sanford Student
b752752f4c make password history retirable 2018-05-01 13:14:46 -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
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
Brittney Exline
ee1c3a4548 ENT-945 Update IDVerification interfaces to accountfor SSOVerification 2018-04-23 10:48:12 -04:00
sandroroux
5b9d347317 Adds DeletableByUserValue to CourseEnrollmentAllowed model. 2018-04-20 13:40:10 -04:00
Alex Dusenbery
1974b9a449 EDUCATOR-2693 | Delete PendingEmailChanges for retired users. 2018-04-20 13:33:31 -04:00
bmedx
4390773f4b Clean up some warnings to get enough headroom to pass tests 2018-04-19 15:04:39 -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
Bill DeRusha
f7dd174873 Merge pull request #17954 from edx/bderusha/generated-pw-complexity
Update and refactor random password generator
2018-04-13 17:13:55 -04:00
John Eskew
3f0665b6d6 Fix existing quality errors. 2018-04-13 14:27:42 -04:00
John Eskew
338d4551ab Reject acct creation when using a retired username.
Change from specifying a retired username/email format to specifying
  a retired username prefix and a retired email prefix/domain,
  preventing possible config errors due to unexpected/bad formats.
2018-04-13 14:27:21 -04:00
Bill DeRusha
d1ed33ac23 Update and refactor random password generator 2018-04-13 14:17:21 -04:00
Diana Huang
8056d89f9a Create new auth endpoint for checking user password. 2018-04-12 12:20:41 -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
Brittney Exline
d31d9bd684 ENT-942 Implement an abstraction layer for SoftwareSecurePhotoVerification class methods 2018-04-05 15:48:59 -04:00
bmedx
634234966a WIP: Refactor registration to improve reliability 2018-04-05 15:11:41 -04:00
Michael Terry
c19d01a994 Add live validation to password reset
Adds a new React factory for that page to handle the logic. Also
cleans up the UI a little (centers it, stops using serif font, etc).
2018-04-05 11:59:26 -04:00
Dmitry Gamanenko
df9dec9b88 Fix "admin/auth/user/add "username" missing field.
Add test for PR `fix_username_missing_field`

Update test case. Remove blank line whitespace.
2018-04-05 16:22:18 +03:00
bmedx
88153b7ac2 Exclude the default site from UserAttribute 'created_on_site'
This table is getting slammed and causing deadlocks, since 90% of it
is just this one setting on the default site we're going to stop saving
those and make it a default assumption going forward.
2018-04-04 15:00:59 -04:00
Jillian Vogel
4af929fb8b Fixes test failures 2018-04-04 10:22:39 +09:30
Jillian Vogel
761acdfc6d Shows the account activation message in the main content area
if HIDE_DASHBOARD_COURSES_UNTIL_ACTIVATED is enabled.
2018-04-04 09:33:32 +09:30
Jillian Vogel
e417c5f8c2 Adds EMPTY_DASHBOARD_MESSAGE Site Configuration flag
When set, displays the configured text/markup under "You are not enrolled in any courses yet."

Adjusts left/right padding on .empty-dashboard-message to keep our extra message from hitting the sides.
2018-04-04 09:33:32 +09:30
Jillian Vogel
22ee400b15 Adds HIDE_DASHBOARD_COURSES_UNTIL_ACTIVATED
Site Configuration and feature flag

When set, it hides the Courses list on the Learner Dashboard page if the
learner has not yet activated their account.
2018-04-04 09:33:32 +09:30
Jillian Vogel
b44114d171 Shows the account activation message in the sidebar
and removes the DISPLAY_ACCOUNT_ACTIVATION_MESSAGE_ON_SIDEBAR flag, since this
feature is now always on.

Marks the top banner as deprecated.
2018-04-04 09:33:32 +09:30
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
Joseph Mulloy
e8d95c1c73 Disable course enrollments admin page OPS-2943 2018-03-26 11:40:16 -04:00
Bill Filler
305bd7dd4b Merge pull request #17650 from edx/ibrahimahmed443/WL-1473-add-fields-instructor-dashboard
Ibrahimahmed443/wl 1473 add fields instructor dashboard
2018-03-22 09:56:43 -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
Troy Sankey
9afe485f44 add the maintenance banner to the student dashboard and course homepage 2018-03-20 17:55:31 -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
Ibrahim
2bb790680a add role and expose reason field to Instructor Dashboard Manual Enrollment
WL-1473
2018-03-16 15:47:53 +05:00
Albert St. Aubin
85eb168a34 Uses the entitlements course run enrollment to get the course key when
available

[LEARNER-4228]
2018-03-14 09:09:12 -04:00
Albert (AJ) St. Aubin
24d8b04df9 Merge pull request #17683 from edx/aj/LEARNER-4228_bug
Updates to still retrieve the course Key when sessions are not available
2018-03-13 11:58:36 -04:00