Commit Graph

2520 Commits

Author SHA1 Message Date
Ned Batchelder
63d84d65e5 Merge pull request #19215 from edx/nedbat/remove-unused-imports
Remove unused imports
2018-11-06 13:57:46 -05:00
Calen Pennington
6c5ee7209c Merge pull request #19108 from cpennington/stacked-configuration-models
Stacked configuration models
2018-11-05 13:43:25 -05:00
Shadi Naif
4df2073376 Fix exceptions raised when a lazy text is used in json dump 2018-11-05 12:24:45 +02:00
Ned Batchelder
3353e7425e Remove unused imports 2018-11-03 16:07:05 -04:00
Calen Pennington
8901bf4482 Add a facility for building stacked configuration models that control the same configuration on a Global, Site, Org and Course level 2018-11-02 15:36:01 -04:00
Ned Batchelder
59d78031d8 Fix trailing-comma-tuple warnings 2018-11-02 11:06:59 -04:00
Ned Batchelder
2d438d8bb5 Fix 'W605 invalid escape sequence' errors from pycodestyle 2018-11-02 06:06:43 -04:00
Brian Beggs
49015e6d1a Reset learners password when user is unGDPRed/unretired via django admin. 2018-11-01 15:09:36 -04:00
Robert Raposa
53239bdf37 Remove JWT_COOKIES_FLAG.
The JWT_COOKIES_FLAG was a temporary flag used for rollout of the new
JWT cookies. These are live in Production, so we are removing the flag.

Without this flag, we set JWT cookies during login. However, this
requires an oAuth Client that isn't always available during unit tests.
We introduced a feature flag that is only used for unit tests to
disable setting the JWT cookies. The code explains a bit more why this
solution was selected over adding the oauth client to the database.

ARCH-247
2018-10-31 10:29:05 -04:00
Douglas Hall
ebede18831 Merge pull request #19183 from edx/douglashall/explicit_jwt_cookie
Use JWT cookies for authentication when explicitly requested by client.
2018-10-30 20:04:00 -04:00
Douglas Hall
d8d18829e6 Use JWT cookies for authentication when explicitly requested by client. 2018-10-30 15:56:26 -04:00
Dillon-Dumesnil
1754dc5119 Merge pull request #19105 from edx/ddumesnil/unicode_cleanup
Cleaning up unicode waffle flag
2018-10-30 13:20:41 -04:00
Brian Mesick
6092dfbb94 Merge pull request #19168 from edx/bmedx/fixup_populate_retirement_states
Add dry run option to populate_retirement_states command
2018-10-29 11:48:47 -04:00
Brian Mesick
01309bd1a8 Merge pull request #19164 from edx/bmedx/bulk_cleanup_to_post
Change bulk delete retirements to a POST
2018-10-29 09:52:34 -04:00
bmedx
e5613a59ce Add dry run option to populate_retirement_states command 2018-10-26 16:07:59 -04:00
bmedx
bff1cf3b74 Change bulk delete retirements to a POST 2018-10-26 14:49:15 -04:00
Douglas Hall
653d8592b8 Merge pull request #19160 from edx/douglashall/oauth2_logout_redirect
Enable OAuth2 clients to logout with a redirect back to the client site.
2018-10-25 15:53:06 -04:00
Douglas Hall
72300c620a Enable OAuth2 clients to logout with a redirect back to the client site. 2018-10-25 14:54:43 -04:00
Alex Dusenbery
c11a2c0a6e EDUCATOR-3471 | Add a grade override bulk update view. 2018-10-25 14:52:12 -04:00
Dillon-Dumesnil
fbb5e6c99c Merge pull request #19139 from edx/ddumesnil/entitlements-email-opt-in
Adding email opt in to create entitlement
2018-10-24 09:50:12 -04:00
emma-green
1cda241197 Merge pull request #19121 from edx/emma-green/EDUCATOR-3569/fix-programs-with-old-course_runs
catch-programs-with-old-course-runs
2018-10-24 09:42:44 -04:00
Dillon Dumesnil
ac43d5faac Adding email opt in to create entitlement 2018-10-23 17:33:30 -04:00
Emma Green
ce7b094cfb don't error out to user programs with really old course runs not in lms 2018-10-19 13:25:28 -04:00
Dillon Dumesnil
0a0df72fc9 Cleaning up unicode waffle flag 2018-10-19 13:25:08 -04:00
Dillon Dumesnil
a5f3f1cbee Ensuring password to be normalized is unicode 2018-10-19 12:41:51 -04:00
Dillon-Dumesnil
3619ec0d3e Merge pull request #19130 from edx/ddumesnil/pw_rollout_messaging
Improving the password complexity rollout messaging per UX's recommen…
2018-10-19 11:23:55 -04:00
Dillon Dumesnil
5910601cdd Improving the password complexity rollout messaging per UX's recommendations 2018-10-19 10:34:00 -04:00
Cory Lee
78c7359563 Merge pull request #19127 from edx/coryleeio/reduce_logging_volume
Removing unnecessary log statements
2018-10-19 09:49:20 -04:00
Cory Lee
305167cd86 Removing unnecessary log statements 2018-10-18 11:08:54 -04:00
Nimisha Asthagiri
75a739e252 Merge pull request #19123 from edx/arch/email-profile-scopes
Add email and profile scopes in JWT Cookies
2018-10-18 09:35:41 -04:00
Brian Mesick
4ca6169131 Merge pull request #19083 from edx/bmedx/add_retirement_delete_api
Adds an API to bulk delete completed retirements
2018-10-18 08:54:34 -04:00
Nimisha Asthagiri
45dadca18b Add email and profile scopes in JWT Cookies 2018-10-18 08:11:04 -04:00
J Eskew
6d6dc459d6 Merge pull request #19116 from edx/jeskew/add_test_for_bulk_email_optout
Add test for bulk email optout mgmt cmd.
2018-10-17 16:00:03 -04:00
John Eskew
62f3171c46 Add test for bulk email optout mgmt cmd. 2018-10-17 15:10:15 -04:00
bmedx
d9950f5754 Adds an API to bulk delete completed retirements 2018-10-17 14:06:17 -04:00
Michael Youngstrom
8c6e568fef dont assume the user's id 2018-10-17 13:44:00 -04:00
Nimisha Asthagiri
dc56a63e03 Remove deprecated JwtBuilder
ARCH-248
2018-10-17 07:43:59 -04:00
Robert Raposa
fbc59231fc Update edx-drf-extensions to 2.0.0.
Note: this version update is backward incompatible.

ARCH-255
2018-10-17 01:00:34 -04:00
J Eskew
dfbdfe0469 Merge pull request #19112 from edx/jeskew/add_mgmt_cmd_user_org_email_optin
Mgmt cmd to bulk opt-out user/org combos from email.
2018-10-16 11:45:30 -04:00
John Eskew
eef0e8c907 Mgmt cmd to bulk opt-out user/org combos from email. 2018-10-16 11:08:13 -04:00
Calen Pennington
8d6b7ee7f3 Merge pull request #19093 from cpennington/org-to-site-config
Add a facility for getting the SiteConfiguration that an org belongs to
2018-10-15 14:08:59 -04:00
Michael Youngstrom
e2d5235697 Merge pull request #19102 from edx/youngstrom/cms-remove-ratelimit
Fix flaky TestUserPreferenceMiddleware tests for xdist
2018-10-15 13:56:20 -04:00
Calen Pennington
996eceb6f9 Add a facility for getting the SiteConfiguration that an org belongs to 2018-10-15 13:28:30 -04:00
Nimisha Asthagiri
7ab5e7be63 Merge pull request #19103 from edx/arch/refactor-oauth-scopes-tests
Shared mixin for testing OAuth Scopes and various Auth
2018-10-15 11:32:12 -04:00
Michael Youngstrom
3da94170f5 Switch auth backends for cms as well 2018-10-15 11:14:25 -04:00
Douglas Hall
a824543e23 Merge pull request #19100 from edx/douglashall/login_refresh_csrf_exempt
Mark the refresh access token view as exempt from CSRF protection.
2018-10-15 10:25:55 -04:00
Douglas Hall
4817dd3f61 Mark the refresh access token view as exempt from CSRF protection. 2018-10-15 09:44:17 -04:00
Dillon-Dumesnil
4d37779f58 Merge pull request #19051 from edx/cstenson/unicode_normalization
Add unicode normalization to passwords.
2018-10-15 09:41:20 -04:00
Nimisha Asthagiri
f844e765fb Create shared test mixin for testing OAuth Scopes and various Auth.
ARCH-168
2018-10-13 16:21:01 -04:00
Cali Stenson
9c57cd1770 Add unicode normalization to passwords.
LEARNER-4283
2018-10-12 15:47:15 -04:00