osf.io
osf.io copied to clipboard
[ENG-5206] v1 Profilewebsites added don't end up in NotableDomains
Purpose
This fixes the issue where v1 social domains weren't being check correctly. We examined just adding another spam check, but decided to expand the checks to "check on save" behavior for users.
Changes
- override user save to check dirty fields.
- refactor tests to allow for new mocks.
QA Notes
Documentation
- No external documentation updates are required.
Side Effects
Ticket
https://openscience.atlassian.net/browse/ENG-5206