Commit Graph

5123 Commits

Author SHA1 Message Date
Brittney Exline
f41bf2f409 ENT-944 Create SSOVerifications for users in tpa pipeline based on provider's settings 2018-04-23 10:10:26 -04:00
Uman Shahzad
7d34099c09 Merge pull request #17969 from edx/uman/enterprise-middleware
[ENT-962] Add Enterprise middleware that injects customer data.
2018-04-21 09:55:46 +05:00
Uman Shahzad
87919f4d53 Add Enterprise middleware that injects customer data. 2018-04-21 08:14:52 +05: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
Brian Mesick
fc1f18aa14 Merge pull request #17919 from edx/bmedx/retirement_status
Add a model and associated API to help control the user retirement flow
2018-04-20 12:35:16 -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
Saleem Latif
7545705c36 Deleted SAML Identity provider appears in the Enterprise customer IdPs list. 2018-04-19 11:40:18 +05:00
George Babey
a155aad01c Revert "Show Enterprise display name if we should hide sensitive username."
This reverts commit d58bd06928.

This commit caused performance issues due to increased API load from checking the
enterprise association on each page load
2018-04-17 09:07:17 -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
McKenzie Welter
f813a56d05 Merge pull request #17931 from edx/McKenzieW/learner-3923
mark support (re)issued entitlements as unrefundable
2018-04-12 14:06:21 -04:00
Diana Huang
8056d89f9a Create new auth endpoint for checking user password. 2018-04-12 12:20:41 -04:00
McKenzie Welter
435c3c6338 mark support (re)issued entitlements as unrefundable 2018-04-12 12:16:37 -04:00
Uman Shahzad
d58bd06928 Show Enterprise display name if we should hide sensitive username. 2018-04-12 19:10:30 +05:00
Brittney Exline
9a86a67ae0 ENT-943 Cleanup of old third_party_auth provider slug fields 2018-04-10 09:58:31 -04:00
sanfordstudent
db5d118269 Merge pull request #17878 from edx/sstudent/unenroll_api
Sstudent/unenroll api
2018-04-09 15:25:11 -04:00
Sanford Student
9526bbc9eb Create API endpoint to unenroll user from all courses; EDUCATOR-2603 2018-04-09 14:37:32 -04:00
Michael Terry
1c1b8451ba Use unicode passwords when validating
Requiring that up front lets us properly validate length and such.
2018-04-09 09:43:30 -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
McKenzie Welter
b011bdabb4 Merge pull request #17895 from edx/McKenzieW/learner-3716
add test coverage for entitlement course run retrieval
2018-04-06 12:15:50 -04:00
Brittney Exline
61820a459d Merge pull request #17835 from edx/bexline/sso_id_verification
ENT-942 Implement an abstraction layer for PhotoVerification class methods
2018-04-06 07:49:45 -06:00
Brittney Exline
42806b3754 Merge pull request #17873 from edx/bexline/refactor_tpa_models
ENT-943 Refactoring third_party_auth models
2018-04-05 15:02:56 -06:00
Brittney Exline
d31d9bd684 ENT-942 Implement an abstraction layer for SoftwareSecurePhotoVerification class methods 2018-04-05 15:48:59 -04:00
Brittney Exline
682ec886ed ENT-943 Refactoring third_party_auth models 2018-04-05 15:19:58 -04:00
bmedx
634234966a WIP: Refactor registration to improve reliability 2018-04-05 15:11:41 -04:00
McKenzie Welter
361af7ef5a add test coverage for entitlement course run retrieval 2018-04-05 14:49:33 -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
Brian Mesick
e71cfb2813 Merge pull request #17879 from edx/bmedx/remove_default_site_from_attributes
Exclude the default site from UserAttribute 'created_on_site'
2018-04-04 15:46:58 -04: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
Douglas Hall
d238a2de96 Upgrade edx-enterprise package to 0.67.1.
https://github.com/edx/edx-enterprise/compare/0.67.0...0.67.1
2018-04-04 09:17:20 -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
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
Brian Beggs
161bf6943d Merge pull request #17850 from mitodl/fix_aq_no_name_notmigrations
Fixed error: ImportError: No module named notmigrations
2018-04-02 14:07:26 -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
Jeremy Bowman
d622380cc5 Account for Django block on DDL in transactions 2018-04-02 11:47:54 -04:00
Amir Qayyum Khan
b6c6535f15 Fixed error: ImportError: No module named notmigrations 2018-04-02 17:44:59 +05:00
Albert (AJ) St. Aubin
13e7ec6aa5 Merge pull request #17804 from edx/aj/LEARNER-4493
Aj/learner 4493
2018-03-30 12:24:31 -04:00
McKenzie Welter
2762a6114b allow site and mode to be nullable in admin form 2018-03-30 10:24:31 -04:00
Albert (AJ) St. Aubin
545c86a0a7 Merge pull request #17829 from edx/aj/LEARNER-4567
Protection for when there is no CourseOverview data available.
2018-03-30 07:30:22 -04:00