browsertrix/backend/btrixcloud
Tessa Walsh 1afc411114
Implement retry API endpoint for failed background jobs (#1356)
Fixes #1328 

- Adds /retry endpoint for retrying failed jobs.
- Returns 400 error if previous job still running or has succeeded
- Keeps track of previous failed attempts in previousAttempts array on failed job.
- Also amends the similar webhook /retry endpoint to use `POST` for consistency.
- Remove duplicate api tag for backgroundjobs
2023-11-09 18:09:37 -08:00
..
migrations Regression fix: add profiles/ prefix to profile filenames (#1365) 2023-11-09 17:44:16 -08:00
__init__.py
auth.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
background_jobs.py Implement retry API endpoint for failed background jobs (#1356) 2023-11-09 18:09:37 -08:00
basecrawls.py Background Jobs Work (#1321) 2023-11-02 13:02:17 -07:00
colls.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
crawlconfigs.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
crawlmanager.py Implement retry API endpoint for failed background jobs (#1356) 2023-11-09 18:09:37 -08:00
crawls.py exclusion optimizations: dynamic exclusions (part of #1216): (#1268) 2023-11-06 09:36:25 -08:00
db.py Regression fix: add profiles/ prefix to profile filenames (#1365) 2023-11-09 17:44:16 -08:00
emailsender.py Send email to superuser when background job fails (#1355) 2023-11-08 19:55:59 -08:00
invites.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
k8sapi.py Crawl Timeout via elapsed time (#1338) 2023-11-06 16:32:58 -08:00
main_op.py Send email to superuser when background job fails (#1355) 2023-11-08 19:55:59 -08:00
main.py Send email to superuser when background job fails (#1355) 2023-11-08 19:55:59 -08:00
models.py Implement retry API endpoint for failed background jobs (#1356) 2023-11-09 18:09:37 -08:00
operator.py Crawl Timeout via elapsed time (#1338) 2023-11-06 16:32:58 -08:00
orgs.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
pagination.py
profiles.py Regression fix: add profiles/ prefix to profile filenames (#1365) 2023-11-09 17:44:16 -08:00
storages.py charts cleanup: (#1360) 2023-11-08 19:24:00 -08:00
uploads.py Background Jobs Work (#1321) 2023-11-02 13:02:17 -07:00
users.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
utils.py Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00
version.py version: bump to 1.8.0-beta.2 2023-11-06 16:35:15 -08:00
webhooks.py Implement retry API endpoint for failed background jobs (#1356) 2023-11-09 18:09:37 -08:00
zip.py Fix: Stream log downloading from WACZ (#1225) 2023-09-28 18:54:52 -07:00