browsertrix/backend/btrixcloud
Tessa Walsh 266afdf8d9
Add slugs to org backend (#1250)
- Add slug field with uniqueness constraint to Organization
- Use python-slugify to generate slug from name and import that in migration
- Require name in all /rename and org creation requests
- Auto-generate slug for new org with no slug or when /rename is called w/o a slug
- Auto-generate slug for 'default-org' based on name

- Add /api/orgs/slugs GET endpoint to return all slugs in use

- tests: extend backend test-requirements.txt from requirements to allow testing slugify
- tests: move get_redis_crawl_stats() to avoid extra dependency in utils
2023-10-10 18:30:09 -07:00
..
migrations Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00
templates Track pod resource usage, detect OOM crashes, handle auto-scaling (#1235) 2023-10-05 20:41:18 -07:00
__init__.py
basecrawls.py Storage Ops Refactor (#1257) 2023-10-10 15:04:23 -07:00
colls.py Storage Ops Refactor (#1257) 2023-10-10 15:04:23 -07:00
crawlconfigs.py Separate seeds into a new endpoints (#1217) 2023-10-02 10:56:12 -07:00
crawlmanager.py Storage Ops Refactor (#1257) 2023-10-10 15:04:23 -07:00
crawls.py Storage Ops Refactor (#1257) 2023-10-10 15:04:23 -07:00
db.py Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00
emailsender.py feat: use is_bool to check EMAIL_SMTP_USE_TLS (#1231) 2023-10-02 21:29:36 -07:00
invites.py feat: use is_bool to check EMAIL_SMTP_USE_TLS (#1231) 2023-10-02 21:29:36 -07:00
k8sapi.py Track pod resource usage, detect OOM crashes, handle auto-scaling (#1235) 2023-10-05 20:41:18 -07:00
main_op.py Storage Ops Refactor (#1257) 2023-10-10 15:04:23 -07:00
main.py Storage Ops Refactor (#1257) 2023-10-10 15:04:23 -07:00
models.py Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00
operator.py Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00
orgs.py Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00
pagination.py
profiles.py Storage Ops Refactor (#1257) 2023-10-10 15:04:23 -07:00
storages.py Storage Ops Refactor (#1257) 2023-10-10 15:04:23 -07:00
uploads.py Storage Ops Refactor (#1257) 2023-10-10 15:04:23 -07:00
users.py fix: lookup user object operator to pass to CrawlConfig.add_new_crawl (#1254) 2023-10-05 21:30:10 -07:00
utils.py Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00
version.py version: bump to 1.7.0-beta.2 2023-10-05 20:33:38 -07:00
webhooks.py Improved type checking for backend with mypy (#1174) 2023-09-13 19:40:26 -07:00
zip.py Fix: Stream log downloading from WACZ (#1225) 2023-09-28 18:54:52 -07:00