antkryt
antkryt
Any raised exceptions from rest_framework.exceptions (like Conflict, NotFound, ValidationError, etc.) are going to be handled by DRF and return appropriate status code. I've added unit tests to test 400 and...
tests passed on my local branch, please rerun tests here
@adlius as far as I remember the problem was on the FE side (cosmetic). Backend returned users that are both admins and moderators `return admin_group.user_set.all() | mod_group.user_set.all()` and FE (ember)...
The issue described in the ticket is not entirely accurate. I found the domain "[xawk1.com](https://admin.staging3.osf.io/admin/osf/notabledomain/1180/change/?_changelist_filters=q%3Dxakw1.com)" on staging, and content containing this domain will not be banned even if the project...
@Johnetordoff I'm not sure that it's possible to write a test case to illustrate what I'm changing here, so I'll try to explain better. Both `check_resource_for_domains_postcommit` and `check_resource_with_spam_services` are doing...