browsertrix/backend/test
Tessa Walsh a51f7c635e
Add behavior logs from Redis to database and add endpoint to serve (#2526)
Backend work for #2524

This PR adds a second dedicated endpoint similar to `/errors`, as a
combined log endpoint would give a false impression of being the
complete crawl logs (which is far from what we're serving in Browsertrix
at this point).

Eventually when we have support for streaming live crawl logs in
`crawls/<id>/logs` I'd ideally like to deprecate these two dedicated
endpoints in favor of using that, but for now this seems like the best
solution.

---------

Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2025-04-08 02:16:10 +02:00
..
data Backend work for public collections (#2198) 2025-01-13 15:15:48 -08:00
__init__.py Use archive_viewer_dep permissions to GET crawls (#443) 2023-01-09 19:11:53 -08:00
conftest.py Add behavior logs from Redis to database and add endpoint to serve (#2526) 2025-04-08 02:16:10 +02:00
echo_server.py Adds Subscription API (#1914) 2024-07-10 17:41:16 -07:00
test_api.py fixes token lifetime bug / improve security (#2490) 2025-03-19 10:07:09 -07:00
test_collections.py replay api: add downloadUrl to replay endpoints to be used by RWP (#2456) 2025-03-03 14:11:28 -08:00
test_crawl_config_search_values.py Pydantic 2.x update + type fixes + python 3.12 (#1947) 2024-07-22 17:23:03 -07:00
test_crawl_config_tags.py
test_crawlconfigs.py Add basic backend validation for selectLinks (#2510) 2025-04-07 21:36:05 +02:00
test_filter_sort_results.py Add backend support for custom behaviors + validation endpoint (#2505) 2025-04-02 16:20:51 -07:00
test_login.py User refactor + remove fastapi_users dependency + update fastapi (#1290) 2023-10-18 10:49:23 -07:00
test_org_subs.py security: tweak get /invite endpoints / InviteOut to: (#2087) 2024-09-20 11:52:56 -07:00
test_org.py Add backend support for custom behaviors + validation endpoint (#2505) 2025-04-02 16:20:51 -07:00
test_permissions.py Paginate API list endpoints (#659) 2023-03-06 14:41:25 -05:00
test_profiles.py Serialize datetimes with Z suffix (#2058) 2024-09-12 16:16:13 -07:00
test_qa.py Calculate total for crawl QA page endpoint (#2435) 2025-02-27 11:46:35 -08:00
test_run_crawl.py Add behavior logs from Redis to database and add endpoint to serve (#2526) 2025-04-08 02:16:10 +02:00
test_stop_cancel_crawl.py Replace partial_complete -> stopped_by_user or stopped_quota_reached + operator edge cases (#1368) 2023-11-14 11:17:16 -08:00
test_uploads.py Add behavior logs from Redis to database and add endpoint to serve (#2526) 2025-04-08 02:16:10 +02:00
test_users.py Fix user emails use userout (#2511) 2025-03-24 12:04:39 -07:00
test_utils.py Format backend with Black 24 (#1507) 2024-02-07 11:35:34 -08:00
test_webhooks.py Better cacheing of presigned URLs + support for thumbnails (#2446) 2025-03-03 12:05:23 -08:00
test_workflow_auto_add_to_collection.py feat: implement 'collections' array with {name, id} for archived item details (#1098) 2023-08-25 00:26:46 -07:00
test_y_org_import_export.py Add API endpoint to delete org (#1448) 2024-07-03 16:00:11 -04:00
test_z_delete_org.py Move org storage recalculation into background job (#2138) 2024-11-19 17:32:57 -05:00
utils.py Uploads API: BaseCrawl refactor + Initial support for /uploads endpoint (#937) 2023-07-07 09:13:26 -07:00