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
Showing
- cms/envs/common.py 1 addition, 1 deletioncms/envs/common.py
- lms/djangoapps/email_marketing/signals.py 2 additions, 2 deletionslms/djangoapps/email_marketing/signals.py
- lms/djangoapps/survey/apps.py 19 additions, 0 deletionslms/djangoapps/survey/apps.py
- lms/djangoapps/survey/signals.py 17 additions, 0 deletionslms/djangoapps/survey/signals.py
- lms/djangoapps/survey/tests/test_signals.py 50 additions, 0 deletionslms/djangoapps/survey/tests/test_signals.py
- lms/djangoapps/verify_student/signals.py 8 additions, 1 deletionlms/djangoapps/verify_student/signals.py
- lms/djangoapps/verify_student/tests/test_signals.py 57 additions, 2 deletionslms/djangoapps/verify_student/tests/test_signals.py
- lms/envs/common.py 1 addition, 1 deletionlms/envs/common.py
- openedx/core/djangoapps/user_api/accounts/signals.py 10 additions, 0 deletionsopenedx/core/djangoapps/user_api/accounts/signals.py
- openedx/core/djangoapps/user_api/accounts/tests/retirement_helpers.py 166 additions, 0 deletions.../djangoapps/user_api/accounts/tests/retirement_helpers.py
- openedx/core/djangoapps/user_api/accounts/tests/test_retirement_views.py 15 additions, 166 deletions...angoapps/user_api/accounts/tests/test_retirement_views.py
- openedx/core/djangoapps/user_api/accounts/views.py 30 additions, 20 deletionsopenedx/core/djangoapps/user_api/accounts/views.py
Please register or sign in to comment