Commit Graph

472 Commits

Author SHA1 Message Date
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
bmedx
c4ee7dacbc Update retirement to handle multiple UserRetirementStatus rows returned 2018-08-09 15:08:33 -04:00
Troy Sankey
22a565ffa7 Merge pull request #18740 from edx/pwnage101/add-partner-reporting-model-admin
Add ModelAdmin for UserRetirementPartnerReportingStatus
2018-08-08 11:42:46 -04:00
Troy Sankey
a1e2cccb3d Add ModelAdmin for UserRetirementPartnerReportingStatus
Primarily, this was added for convenient bulk moving of processing
states from True to False without having to incur the round-trip
duration of a devops support ticket (in which they run SQL on our
behalf).
2018-08-08 11:09:31 -04:00
Douglas Hall
6e9d71f44c Upgrade edx-drf-extensions to 1.6.1. 2018-08-07 15:19:20 -04:00
Jeremy Bowman
02e4b87421 Merge pull request #18733 from edx/jmbowman/TE-2525
TE-2525 nose.tools removal part 1/2
2018-08-07 13:55:04 -04:00
J Eskew
6ee6e8935b Merge pull request #18711 from edx/jeskew/mgmt_cmd_cancel_user_retirement
Mgmt command to cancel user retirement request.
2018-08-07 12:03:11 -04:00
Jeremy Bowman
bcaec3c5bb TE-2525 nose.tools removal part 1/2 2018-08-07 08:30:12 -04:00
John Eskew
f92a8f6e24 Mgmt command to cancel user retirement request. 2018-08-06 17:00:40 -04:00
Jeremy Bowman
c290bf8a07 TE-2524 Stop using nose.plugins - openedx 2018-08-02 14:54:50 -04:00
Brian Mesick
600c331ade Merge pull request #18696 from edx/PLAT-2268
Add user id to partner reports
2018-08-01 11:12:10 -04:00
bmedx
bb799053ed Add user id to partner reports 2018-07-31 14:43:33 -04:00
bmedx
a0e9ddcf8c Fix timezone issues in retirements_by_status_and_date 2018-07-31 13:26:23 -04:00
Troy Sankey
64ca1ca215 Add created field to UserRetirementPartnerReportSerializer
This would allow the processing date for each retired user to be
included in the user retirement partner reports.
2018-07-27 15:29:35 -04:00
Troy Sankey
ed0b130046 Merge pull request #18637 from edx/pwnage101/add-mgmt-command-to-rehash-emails
Add one-off management command to rehash retired emails
2018-07-25 15:48:03 -04:00
Troy Sankey
71597e790a Add one-off management command to rehash retired emails
PLAT-2254
2018-07-25 14:49:42 -04:00
John Eskew
8daf7e7812 Change DELETE to POST to deal with slumber limitations. 2018-07-24 10:00:48 -04:00
bmedx
04fe4af9c0 Adding user_api call to get retirements by date range and current state
- Also supports PLAT-2186
2018-07-19 17:12:33 -04:00
bmedx
74b07c3ff8 PLAT-2186 - allow retirement states to be forced by driver script
When the optional "force" param is sent in this skips the checks for moving from dead end state and moving to earlier state, allowing us to bulk reset errored users or run users through new states.
2018-07-16 13:59:22 -04:00
bmedx
caedc68061 PLAT-2217 - fix partner reporting queue 500 errors, reduce log spam 2018-07-10 12:54:15 -04:00
Nimisha Asthagiri
ce4cb53672 Update Permissions to use latest edx-drf-extensions and rest_condition 2018-06-28 18:37:53 -04:00
bmedx
f3a9e508a0 Refactor retirement endpoints to isolate Sailthru and respect boundaries
- Change retire mailings endpoint to use new USER_RETIRE_THIRD_PARTY_MAILINGS signal, currently only used by Sailthru retirement
- Move USER_RETIRE_MAILINGS signal firing to the LMS misc endpoint
- Remove duplicate clearing of UserOrgTags
- Remove LMS imports in openedx/core and update usage to use new USER_RETIRE_LMS_CRITICAL and USER_RETIRE_LMS_MISC signals
- Add testing for new signal handlers and app registration for the LMS survey app
2018-06-27 10:23:49 -04:00