browsertrix/backend
Tessa Walsh a546fb6fe0
Improve handling of duplicate org name/slug (#1917)
Initial implementation of #1892 

- Modifies the backend to return `duplicate_org_name` or
`duplicate_org_slug` as appropriate on a pymongo `DuplicateKeyError`
- Updates frontend to handle `duplicate_org_name`, `duplicate_org_slug`,
and `invalid_slug` error details
- Update errors to be more consistent, also return `duplicate_org_subscription.subId` for duplicate subscription instead of the more generic `already_exists`
---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2024-07-10 19:24:50 -07:00
..
btrixcloud Improve handling of duplicate org name/slug (#1917) 2024-07-10 19:24:50 -07:00
test Improve handling of duplicate org name/slug (#1917) 2024-07-10 19:24:50 -07:00
test_nightly Add nightly backend tests for org deletion while browsers are running (#1919) 2024-07-10 16:52:27 -07:00
.pylintrc
Dockerfile
mypy.ini
requirements.txt Add superuser API endpoints to export and import org data (#1394) 2024-07-02 17:14:34 -04:00
test-requirements.txt