Commit Graph

449 Commits

Author SHA1 Message Date
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
irfanuddinahmad
a46a28e983 incorporated manual verification 2018-06-25 12:08:54 +05:00
Brian Mesick
9ef11139d6 Merge pull request #18398 from edx/bmedx/reporting_queue_stage
Add retirement stage API that adds a user to the partner reporting queue
2018-06-22 14:34:37 -04:00
John Eskew
a09a81b138 Make retirement endpoints idempotent. 2018-06-21 15:35:30 -04:00
bmedx
706d3dd395 Add retirement stage API that adds a user to the partner reporting queue 2018-06-21 15:24:59 -04:00
bmedx
8fbe12e4cc Add retirement partner reporting queue and APIs 2018-06-18 16:22:02 -04:00
Adeel Khan
7768dd1de3 Ratelimiting registration form validation end point.
This patch would ratelimit registration form validation
endpoint for anonymous user based on his/her ip.

LEARNER-3810
2018-06-08 14:45:15 +05:00
Tyler Hallada
01191e34a5 Merge pull request #18324 from edx/thallada/PLAT-1746-format-lazy
PLAT-1746: Use Django 1.11 format_lazy instead of allow_lazy
2018-06-06 15:09:43 -04:00
Brian Mesick
832f6a7157 Merge pull request #18320 from edx/bmedx/remove_111_test_marks
Remove unused pytest markers for Django 1.11 upgrade
2018-06-06 11:15:26 -04:00
Michael Youngstrom
f4dc2ca000 Merge pull request #18314 from edx/youngstrom/remove_django_18_shim
Remove temp django upgrade logic
2018-06-06 11:09:17 -04:00
Tyler Hallada
8b0de593a1 Use Django 1.11 format_lazy instead of allow_lazy 2018-06-06 11:07:35 -04:00
Tyler Hallada
1f42d1b384 Merge pull request #18316 from edx/thallada/PLAT-1524-on-delete
PLAT-1524: Add on_delete kwarg to ForeignKey & OneToOneFields
2018-06-06 10:38:15 -04:00
Michael Youngstrom
26b4e30833 Remove django 1.8 shim 2018-06-06 10:34:56 -04:00
bmedx
c125ff6a57 Remove unused pytest markers for Django 1.11 upgrade 2018-06-06 09:58:38 -04:00
Tyler Hallada
1540f9ec72 Add on_delete kwarg to ForeignKey & OneToOneFields
Django 2.0 will make this field required for `ForeignKey` and `OneToOneFields`.
In previous versions the option defaulted to `models.CASCADE` when not
specified. This change should make the deprecation warnings in the current
Django version go away.

The migrations where also modified, but the changes should not cause a change in
the database schema since `models.CASCADE` was already the old default.
2018-06-05 17:05:12 -04:00
Eric Fischer
247bb50ed2 s/django.core.urlresolvers/django.urls/g
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Cole Rogers
623cb0d6ae Removed GDPR flag and its functionality 2018-06-04 10:25:37 -04:00
Diana Huang
8adcff938a Add new notification email. 2018-05-31 16:05:32 -04:00
Diana Huang
6de5c09239 Fix the GDPR registration form for the mobile app. 2018-05-22 14:23:48 -04:00
sanfordstudent
d4a338d4af Merge pull request #18113 from edx/sofiya/ed-2802-2
EDUCATOR-2802 Different LMS api endpoint to finish GDPR retirement for the user
2018-05-21 15:26:10 -04:00
Sofiya Semenova
cd18206167 EDUCATOR-2802: P2 gdpr endpoint 2018-05-21 11:12:54 -04:00
Omar Al-Ithawi
73af914cfc Use edx-ace for password reset email 2018-05-21 09:49:14 -04:00
Troy Sankey
a7ecfe1cd3 Fixup! refactor email_exists, and handle many more cases 2018-05-18 15:34:35 -04:00
Troy Sankey
232b359258 Fixup! pivot to treating retired emails as banned forever 2018-05-16 16:44:02 -04:00