Commit Graph

493 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
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
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
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
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
Dillon Dumesnil
ac43d5faac Adding email opt in to create entitlement 2018-10-23 17:33:30 -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
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
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
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
John Eskew
eef0e8c907 Mgmt cmd to bulk opt-out user/org combos from email. 2018-10-16 11:08:13 -04:00
Cali Stenson
9c57cd1770 Add unicode normalization to passwords.
LEARNER-4283
2018-10-12 15:47:15 -04:00
Alex Dusenbery
e5473f5396 Add the read API for course gradebook data (single and multiple users). 2018-10-12 10:48:34 -04:00
Dillon Dumesnil
deb758c808 Added in tests for the new password validation. Fixed old tests that
relied on the old configuration values and old way of validating
passwords. Also improved registration page by always showing error
messages rather than hiding them on leaving the field.
2018-10-10 11:06:30 -04:00
Dillon Dumesnil
4fa27f98dc Implementing django password validators for edX. This involves removing
the old validate password method and configuration values in favor of
AUTH_PASSWORD_VALIDATORS, a list of validators to use to check a
password. These include some that come straight from Django and some
that were written according to Django's specifications. This work also
included maintaining the current messaging as instruction text and
passing along restrictions for the password field.
2018-10-10 10:58:21 -04:00
Omar Al-Ithawi
ceacfc8a75 edX-ACE support for email change messages 2018-10-08 20:43:09 +03:00
Troy Sankey
5b9bb005bd Prevent retired email reuse via account settings
PLAT-2334
2018-10-04 15:38:03 -04:00
John Eskew
aacdce17d4 Check for retired usernames as well as existing ones in validation. 2018-10-02 17:23:11 -04:00
J Eskew
873eb40896 Revert "Check for username retirement in validation endpoint." 2018-10-02 11:10:21 -04:00
J Eskew
8dc4900eb0 Merge pull request #18990 from edx/jeskew/PLAT_2146_add_username_retirement_check
Check for username retirement in validation endpoint.
2018-10-01 15:04:46 -04:00
John Eskew
fba2a8b5dc Check for retired usernames as well as existing ones in validation. 2018-10-01 11:00:19 -04:00
Ahsan Ulhaq
ee7555e85f update usage of SessionAuthenticationAllowInactiveUser
LEARNER-6469
2018-10-01 17:52:52 +05:00
Ahsan Ulhaq
39f48a8c10 Reduce query to user table
LEARNER-6336
2018-09-26 17:16:42 +05:00
edx-pipeline-bot
007869836c Merge pull request #18995 from edx/private_to_public_7a92944
Mergeback PR from private to public.
2018-09-24 12:07:56 -04:00
Bill DeRusha
b43b174fdd Set usable password when canceling user retirement 2018-09-21 14:18:57 -04:00
Nimisha Asthagiri
e2ff1ec537 Merge pull request #18917 from edx/arch/user-authn-app
Consolidate user login and authentication code
2018-09-15 10:00:51 -04:00
Nimisha Asthagiri
8cf44283c9 Consolidate user login and authentication code 2018-09-15 03:21:39 -04:00
Nimisha Asthagiri
700a902b68 Cleanup and remove deprecated RequestCache Django app
ARCH-223
2018-09-12 14:39:11 -04:00
bmedx
405a8ada59 Add admin UI to cancel pending retirements 2018-09-10 16:37:13 -04:00
bmedx
fdc739cea6 Clean up UserRetirementStatus admin 2018-09-10 10:33:56 -04:00
tasawernawaz
cc51494910 Fix for duplicate email validation on account settings page
LEARNER-6216
2018-09-05 20:05:55 +05:00
John Eskew
3e1df3e759 Add email address to retirement cancel success & test. 2018-08-22 15:27:22 -04:00
Jeremy Bowman
10dc80b205 Merge pull request #18816 from edx/jmbowman/TE-2689
TE-2689 Remove useless pylint suppressions part 6
2018-08-21 16:41:18 -04:00
Jeremy Bowman
380a24f7ef TE-2689 Remove useless pylint suppressions part 6 2018-08-21 13:54:34 -04:00
bmedx
745aadbcd5 Update bulk_rehash_retired_usernames
- Handle forums 404s
- Update UserRetirementStatus whether or not the user has completed retirement
2018-08-20 13:56:52 -04:00
John Eskew
f0379517bc Use updated name of test helper method to fix unit tests. 2018-08-13 14:41:23 -04:00
Brian Mesick
4afad3db77 Merge pull request #18747 from edx/bmedx/PLAT-2278_retirement_case_differences
Stop username re-use, update retirement for multiple UserRetirementStatuses
2018-08-13 12:40:26 -04:00
Brian Mesick
efa8b2afd0 Merge pull request #18764 from edx/bmedx/PLAT-2277_rehash_usernames_cmd
Bulk rehashing of retired usernames
2018-08-13 12:19:33 -04:00
bmedx
2d71697823 Stop acct creation from using usernames still in the retirement queue 2018-08-13 11:13:21 -04:00
bmedx
8c93e424c0 Add forums renaming to bulk username rehash command 2018-08-10 16:55:45 -04:00
bmedx
acadd057d9 Bulk rehashing of retired usernames 2018-08-09 15:35:38 -04:00