Commit graph

43 commits

Author SHA1 Message Date
ec41d1ed05 feat: caor docs and response model
All checks were successful
ci / lint_and_test (push) Successful in 13s
2026-06-10 16:16:56 +01:00
0b521414b3 feat: add group user by id restriction
All checks were successful
ci / lint_and_test (push) Successful in 14s
Adding by ID can only be done for existing org members
2026-06-10 14:48:22 +01:00
294baadcb7 feat: more ids returned on endpoints
All checks were successful
ci / lint_and_test (push) Successful in 14s
Issue: #23
2026-06-10 13:48:59 +01:00
5a433dfe41 tests: dynamic test structure
Issue: #23
2026-06-10 12:29:15 +01:00
bdba903db1 feat: deleted owned org endpoint
All checks were successful
ci / lint_and_test (push) Successful in 14s
2026-06-10 10:15:27 +01:00
3b82025abb feat: get org response mirrors get user orgs structure
All checks were successful
ci / lint_and_test (push) Successful in 13s
2026-06-10 09:49:05 +01:00
939abaefe9 feat: improved caor request model
All checks were successful
ci / lint_and_test (push) Successful in 14s
Issue: #23
2026-06-10 09:32:02 +01:00
f0eaff2073 tests: get self orgs
All checks were successful
ci / lint_and_test (push) Successful in 13s
2026-06-09 16:06:53 +01:00
76e889d836 tests: expanded assertions
Some checks failed
ci / lint_and_test (push) Failing after 8s
New assertions added for new data being delivered (eg IDs on endpoints not previously serving IDs)
2026-06-09 14:43:52 +01:00
607f736453 feat: user ids return on get org users 2026-06-09 14:42:37 +01:00
bace6388aa tests: pytest module markers 2026-06-09 13:58:08 +01:00
e9fe405e06 feat: add org user by id requires su
Part of the "sensical user adding" changes.
2026-06-09 13:07:43 +01:00
62c43ce883 feat: sensical user invitation
Some checks failed
ci / lint_and_test (push) Failing after 8s
Users can now be invited to an org by email.

"Email" for now is "print to stdout"

Resolves #12
2026-06-09 12:22:36 +01:00
c452c6c0d5 feat: delete endpoint queries
Some checks failed
ci / lint_and_test (push) Failing after 5s
Delete endpoints do not fully support bodies. Queries used instead.

Tests added.

Resolves #20
2026-06-09 09:29:14 +01:00
e9b272811f feat: all unique constraints tested 2026-06-08 16:05:20 +01:00
c689ac1e10 minor: ruff formatter
All changes are either:
- Correcting tabs
- Adding/removing line breaks
- Adding trailing commas
2026-06-08 15:31:37 +01:00
b2e5dd2ebb feat: sqlite integrity error handle 2026-06-08 15:24:42 +01:00
fff7ccde12 test: super admin dep override
Test user super admin account added via override rather than assumed present.
2026-06-08 11:10:39 +01:00
903b24d17d ruff: config and initial run 2026-06-08 10:45:38 +01:00
d3d9316741 tests: query generator 2026-06-05 12:17:32 +01:00
29245e5c13 tests: questionnaire submission test
Assertion to verify that None type question answers don't overwrite preexisting answers.
2026-06-05 09:31:56 +01:00
b8b39188f6 tests/minor: rename test functions
`_failure` in name wasn't necessarily an accurate descriptor for parameterized testing with expected statuses. `_status_checks` used instead.
2026-06-05 09:22:44 +01:00
f600664789 tests: improved coverage 2026-06-05 09:10:55 +01:00
c8024daa97 minor: renames and error messages 2026-06-04 14:53:35 +01:00
94cf6c5258 tests: only user auth tests
Resolves #18
2026-06-04 12:13:02 +01:00
c670d8ff51 tests: root user auth tests
Issue: #18
2026-06-04 11:50:16 +01:00
2ec9cca99c feat: super admin handling
The list of super admins now comes from a dependency, allowing it to easily be overrridden during testing.
2026-06-04 11:48:50 +01:00
3460cd76a5 tests: super admin auth tests 2026-06-03 14:36:15 +01:00
1b54918bb4 minor: remove extra decorators
These were duplicates and had no effect.
2026-06-03 14:28:40 +01:00
9d9ca0b907 minor: rename test client
client -> default_client

To allow for different clients. Primarily to allow different overrides for auth testing.
2026-06-03 13:54:30 +01:00
a907506ec1 tests: org approval auth tests
A module of tests which verifies relevant endpoints either do or do not allow unapproved orgs.

Issue: #18
2026-06-03 12:00:21 +01:00
905fcf8814 feat: endpoint list producer 2026-06-03 11:57:18 +01:00
8a9f03ee0b feat: get users includes org info 2026-06-03 09:38:54 +01:00
7833386350 feat: patch questionnaire doesn't overwrite with none 2026-06-03 09:29:06 +01:00
81a4cc6cca feat: org router endpoint cleanup
`/id/` removed from GET
Trailing `/` removed from POST and DELETE
2026-06-02 16:36:11 +01:00
806bbfcbfc tests: iam router 2026-06-02 16:12:17 +01:00
6f174deefc tests: db seeding change 2026-06-02 16:10:16 +01:00
d3400f53e4 tests: org router 2026-06-01 15:57:00 +01:00
c0d353077b test: db setup fix
Previous set up seemed to work but the db was persisting between tests, allowing for contamination.
2026-06-01 15:25:50 +01:00
b8b6e6c7ee test: services router 2026-05-29 16:55:21 +01:00
7e89ab0afd test: broader db seeding 2026-05-29 16:54:37 +01:00
79f8104f2f tests: user router 2026-05-29 15:18:19 +01:00
19145271ae tests: test init 2026-05-29 15:18:10 +01:00