browsertrix/backend/btrixcloud
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
..
migrations quickfix: fix for additional lint error in updated pylint (#1805) 2024-05-15 17:00:15 -07:00
operator check that status.lastUpdatedTime is set before attempting to subtract! (#1754) 2024-04-30 20:33:46 +02:00
__init__.py
auth.py
background_jobs.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
basecrawls.py regression fix: remove 'project' from non-raw crawl object getters, (#1778) 2024-05-02 01:02:22 +02:00
colls.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
crawlconfigs.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
crawlmanager.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
crawls.py regression fix: remove 'project' from non-raw crawl object getters, (#1778) 2024-05-02 01:02:22 +02:00
db.py Change crawl.reviewStatus to 1-5 scale int (#1664) 2024-04-09 17:51:06 -07:00
emailsender.py
invites.py
k8sapi.py Crawler pod memory padding + auto scaling (#1631) 2024-03-28 16:39:00 -07:00
main_op.py Add Repository Index + Chart Rename + Docs Rename (#1708) 2024-04-21 09:42:25 -07:00
main.py Add Repository Index + Chart Rename + Docs Rename (#1708) 2024-04-21 09:42:25 -07:00
models.py Backend: Add modified field and track created/modifier users for profiles (#1820) 2024-05-28 17:25:22 -04:00
orgs.py Fix regression to changing user roles via PATCH /user-role API (#1824) 2024-05-24 10:41:05 -07:00
pages.py Fix QA review comments (#1723) 2024-04-23 16:31:52 -04:00
pagination.py
profiles.py Backend: Add modified field and track created/modifier users for profiles (#1820) 2024-05-28 17:25:22 -04:00
storages.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
uploads.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
users.py Fix regression to changing user roles via PATCH /user-role API (#1824) 2024-05-24 10:41:05 -07:00
utils.py Add additional filters to page list endpoints (#1622) 2024-03-21 21:33:07 -07:00
version.py version: bump to 1.10.1 2024-05-23 22:24:58 -07:00
webhooks.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00