browsertrix/backend/btrixcloud
Ilya Kreymer cd00f52cca
Fix queue response models + additional testing for queue + exclusions (#1948)
Follow-up to regressions from #1928, this PR:
- Fixes response models for queue endpoints, which had incorrect model
- Adds tests for queue get, queue match, and exclusions add / remove to
ensure regressions like this can be caught via tests. This involves
starting a new crawl in test_run_crawls() instead of relying on implicit
running via fixtures, make it easier to test crawl while it's running.
- Adds additional typing for crawls apis, including making
delete_crawls() have correct typing, consistent derived class override
- Adds check to ensure queue + exclusion operations can not be called
when crawl is not running
2024-07-22 09:00:23 -07:00
..
migrations Ensure org name and slug uniqueness is case-insensitive (#1929) 2024-07-18 15:30:12 -07:00
operator Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
__init__.py
auth.py Add created date to Organization and fix datetimes across backend (#1921) 2024-07-15 19:46:32 -07:00
background_jobs.py Additional typing cleanup (#1938) 2024-07-17 10:49:22 -07:00
basecrawls.py Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
colls.py Document all API endpoints with response models (#1928) 2024-07-16 12:48:38 -07:00
crawlconfigs.py Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
crawlmanager.py Remove Crawl Workflow Configmaps (#1894) 2024-06-28 15:25:23 -07:00
crawls.py Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
db.py Ensure org name and slug uniqueness is case-insensitive (#1929) 2024-07-18 15:30:12 -07:00
emailsender.py Additional typing cleanup (#1938) 2024-07-17 10:49:22 -07:00
invites.py Add created date to Organization and fix datetimes across backend (#1921) 2024-07-15 19:46:32 -07:00
k8sapi.py Remove Crawl Workflow Configmaps (#1894) 2024-06-28 15:25:23 -07:00
main_op.py Add superuser API endpoints to export and import org data (#1394) 2024-07-02 17:14:34 -04:00
main.py OpenAPI Metadata for API Endpoints (#1941) 2024-07-18 11:11:38 -07:00
models.py Fix queue response models + additional testing for queue + exclusions (#1948) 2024-07-22 09:00:23 -07:00
orgs.py Add API endpoint to recalculate org storage (#1943) 2024-07-19 18:29:20 -07:00
pages.py Additional typing cleanup (#1938) 2024-07-17 10:49:22 -07:00
pagination.py Format backend with Black 24 (#1507) 2024-02-07 11:35:34 -08:00
profiles.py Add API endpoint to recalculate org storage (#1943) 2024-07-19 18:29:20 -07:00
storages.py Additional typing cleanup (#1938) 2024-07-17 10:49:22 -07:00
subs.py Add API endpoint to import subscription for existing org (#1930) 2024-07-16 16:17:02 -07:00
uploads.py Document all API endpoints with response models (#1928) 2024-07-16 12:48:38 -07:00
users.py Document all API endpoints with response models (#1928) 2024-07-16 12:48:38 -07:00
utils.py Additional typing cleanup (#1938) 2024-07-17 10:49:22 -07:00
version.py version: bump to 1.11.0-beta.1 2024-07-17 10:06:49 -07:00
webhooks.py Document all API endpoints with response models (#1928) 2024-07-16 12:48:38 -07:00