browsertrix/backend/test
Tessa Walsh 7e5d742fd1
Backend: Add modified field and track created/modifier users for profiles (#1820)
This PR introduces backend changes that add the following fields to the
Profile model:
- `modified`
- `modifiedBy`
- `modifiedByName`
- `createdBy`
- `createdByName`

Modified fields are set to the same as the created fields when the
resource is created, and changed when the profile is updated (profile
itself or metadata).

The list profiles endpoint now also supports `sortBy` and
`sortDirection` options. The endpoint defaults to sorting by `modified`
in descending order, but can also sort on `created` and `name`.

Tests have also been updated to reflect all new behavior.
2024-05-28 17:25:22 -04:00
..
data
__init__.py
conftest.py
echo_server.py
test_collections.py
test_crawl_config_search_values.py
test_crawl_config_tags.py
test_crawlconfigs.py
test_filter_sort_results.py
test_invites.py
test_login.py
test_org.py
test_permissions.py
test_profiles.py Backend: Add modified field and track created/modifier users for profiles (#1820) 2024-05-28 17:25:22 -04:00
test_qa.py Ensure QA run WACZs are deleted (#1715) 2024-04-22 18:04:09 -04:00
test_run_crawl.py Ensure QA run WACZs are deleted (#1715) 2024-04-22 18:04:09 -04:00
test_settings.py
test_stop_cancel_crawl.py
test_uploads.py Support sorting by last QA started time (#1712) 2024-04-22 13:00:52 -07:00
test_users.py Fix regression to changing user roles via PATCH /user-role API (#1824) 2024-05-24 10:41:05 -07:00
test_utils.py
test_webhooks.py
test_workflow_auto_add_to_collection.py
utils.py