browsertrix/backend
Tessa Walsh d2ededc895
Add and enforce org storage quota (#1106)
* Implement in backend

- Track bytesStored in org
- Add migration to pre-calculate based on size of crawlfiles and profilefiles
- Add methods to increase or decrease org storage when crawl or profile files
are added or deleted
- Include storageQuotaReached boolean in API responses that alter storage
- Don't start new crawls and fail uploads if storage quota reached

* Implement in frontend

- Add to orgs-list quotas
- Update org's storageQuotaReached based on backend endpoint responses
- Disable buttons when storage quota is met
- Show toast notification when attempting to run a crawl when org
storage quota is met
2023-09-07 12:45:43 -04:00
..
btrixcloud Add and enforce org storage quota (#1106) 2023-09-07 12:45:43 -04:00
test Add and enforce org storage quota (#1106) 2023-09-07 12:45:43 -04:00
test_nightly Add max crawl size option to backend and frontend (#1045) 2023-08-26 22:00:37 -07:00
.pylintrc quickfix: pydantic / lint fix (#452) 2023-01-10 18:54:11 -08:00
Dockerfile Remove Code and Configs for Swarm/podman support (#407) 2022-12-08 18:19:58 -08:00
requirements.txt better resources scaling by number of browsers per crawler container (#1103) 2023-09-06 01:42:44 -04:00