browsertrix/backend/btrixcloud
Tessa Walsh 7a56fa23f5
Remove username lookups for crawls and workflows by storing usernames in db (#1199)
* store usernames (createdByName, modifiedByName, startedByName) in db for workflows
* store userName for userid for crawls in db
* update output models to return usernames
* add migration 0018 to add usernames to existing crawls and crawlconfigs
* updated tests for crawl and config usernames
* use async for to iterate over crawls and crawlconfigs

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2023-09-28 09:37:23 -07:00
..
migrations Remove username lookups for crawls and workflows by storing usernames in db (#1199) 2023-09-28 09:37:23 -07:00
templates Scheduled Crawl Refactor: Handle via Operator + Add Skipped Crawls on Quota Reached (#1162) 2023-09-12 13:05:43 -07:00
__init__.py
basecrawls.py Remove username lookups for crawls and workflows by storing usernames in db (#1199) 2023-09-28 09:37:23 -07:00
colls.py Improved type checking for backend with mypy (#1174) 2023-09-13 19:40:26 -07:00
crawlconfigs.py Remove username lookups for crawls and workflows by storing usernames in db (#1199) 2023-09-28 09:37:23 -07:00
crawlmanager.py Scheduled Crawl Refactor: Handle via Operator + Add Skipped Crawls on Quota Reached (#1162) 2023-09-12 13:05:43 -07:00
crawls.py Remove username lookups for crawls and workflows by storing usernames in db (#1199) 2023-09-28 09:37:23 -07:00
db.py Remove username lookups for crawls and workflows by storing usernames in db (#1199) 2023-09-28 09:37:23 -07:00
emailsender.py feat: add SMTP {port, use_tls} config (#1142) 2023-09-08 08:18:36 -07:00
invites.py Improved type checking for backend with mypy (#1174) 2023-09-13 19:40:26 -07:00
k8sapi.py ensure max crawl size and max crawl timeout values are set to 0 when unused, instead of null (#1167) 2023-09-13 09:51:26 -07:00
main_op.py Refactor / Cleanup: move ops functions back into classes (#1171) 2023-09-13 11:56:09 -07:00
main.py Add event webhook notifications system to backend (#1061) 2023-08-31 19:52:37 -07:00
models.py Remove username lookups for crawls and workflows by storing usernames in db (#1199) 2023-09-28 09:37:23 -07:00
operator.py Track bytes stored per file type and include in org metrics (#1207) 2023-09-22 12:55:21 -04:00
orgs.py Track bytes stored per file type and include in org metrics (#1207) 2023-09-22 12:55:21 -04:00
pagination.py
profiles.py Track bytes stored per file type and include in org metrics (#1207) 2023-09-22 12:55:21 -04:00
storages.py Implement sync streaming for finished crawl logs (#1168) 2023-09-14 17:05:19 -07:00
uploads.py Remove username lookups for crawls and workflows by storing usernames in db (#1199) 2023-09-28 09:37:23 -07:00
users.py Improved type checking for backend with mypy (#1174) 2023-09-13 19:40:26 -07:00
utils.py
version.py bump version to 1.7.0-beta.1 2023-09-18 14:33:03 -07:00
webhooks.py Improved type checking for backend with mypy (#1174) 2023-09-13 19:40:26 -07:00
zip.py Implement sync streaming for finished crawl logs (#1168) 2023-09-14 17:05:19 -07:00