Commit graph

196 commits

Author SHA1 Message Date
fe2171df44 tests: delete group perm status checks
Issue: #24
2026-06-12 13:08:58 +01:00
c0b9763669 tests: caor status checks match new model
Issue: #24
2026-06-12 13:01:04 +01:00
fc9d7f8536 tests: body param generator
Issue: #24
2026-06-12 12:54:48 +01:00
778f1dbece tests: remove db modifications from individual tests
All db seeding now down in conftest
2026-06-12 11:29:42 +01:00
8b89595531 feat: group invitation response model
All checks were successful
ci / lint_and_test (push) Successful in 14s
2026-06-12 10:02:35 +01:00
1a29da73c2 feat: use of service model dependency 2026-06-12 09:37:55 +01:00
f06b19340c feat: remove group permission check if exists 2026-06-12 09:30:34 +01:00
c94c26f2a6 feat: blocked orgs cannot access any endpoints 2026-06-11 16:39:32 +01:00
37a3972d04 feat: questionnaire only modifiable before submission 2026-06-11 16:35:53 +01:00
2b923becf0 feat: perm search ignores empty strings 2026-06-11 16:23:02 +01:00
1a6a6ad97d fix: remove trailing slash and plurals in paths 2026-06-11 16:14:22 +01:00
c74e895bf1 feat: return org summary when creating group 2026-06-11 16:07:31 +01:00
5d122a7690 feat: fully defined response code descriptions
Only done on three endpoints. This is a lot of repeated text.
2026-06-11 16:02:51 +01:00
c2e035dede feat: more accurate status codes
403 Forbidden replacing many 401 Unauthorized usages.
2026-06-11 14:58:05 +01:00
b3ae655009 feat: healthcheck endpoint structure 2026-06-11 14:27:08 +01:00
bcdef91dd0 feat: user invite response models
All checks were successful
ci / lint_and_test (push) Successful in 13s
2026-06-11 14:14:31 +01:00
8925280f96 feat: questions union
Allows responses to include questionnaire questions of multiple versions
2026-06-11 13:38:14 +01:00
38c26cca7b docs: iam module meta doc 2026-06-11 13:07:48 +01:00
0a7f9092c7 feat: questionnaire shape update 2026-06-11 12:24:36 +01:00
c268097306 feat: helper for generating module docstrings 2026-06-11 09:57:34 +01:00
dd0478d5e7 docs: iam router
Issue: #13
2026-06-11 09:36:51 +01:00
61e186a727 docs: iam router (incomplete)
All checks were successful
ci / lint_and_test (push) Successful in 13s
Issue: #13
2026-06-10 16:49:37 +01:00
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
3dbd72a109 feat: 403 exception 2026-06-10 14:47:33 +01:00
ec572aa4c1 feat: sua expiry handling 2026-06-10 14:14: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
768a3881ef feat: sua added to group invitations
All checks were successful
ci / lint_and_test (push) Successful in 13s
Issue: #23
2026-06-09 16:52:22 +01:00
7809df4c5a feat: get self db user_id
All checks were successful
ci / lint_and_test (push) Successful in 15s
2026-06-09 16:33:42 +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
6af8490276 fix: wrong contact email in new endpoint 2026-06-09 16:06:28 +01:00
55a61d0df5 fix: get user orgs endpoint can return null questionnaires
All checks were successful
ci / lint_and_test (push) Successful in 14s
2026-06-09 15:55:23 +01:00
56569f09db feat: get user self orgs endpoint
All checks were successful
ci / lint_and_test (push) Successful in 14s
2026-06-09 15:52:38 +01:00
ebcb0362c6 fix: pycharm import error
All checks were successful
ci / lint_and_test (push) Successful in 15s
2026-06-09 14:47:37 +01:00
0c81791191 fix: pycharm import error
Some checks failed
ci / lint_and_test (push) Failing after 8s
2026-06-09 14:45:40 +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
a215d11df9 feat: id returned with permission details 2026-06-09 14:04:21 +01:00
bace6388aa tests: pytest module markers 2026-06-09 13:58:08 +01:00
4ff9edf6d1 feat: schema mixins moved to project level
Resolves circular dependency issues.
2026-06-09 13:17:31 +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
1012947b67 ci: continue-on-error and ruff format
All checks were successful
ci / lint_and_test (push) Successful in 13s
Tests should still be run if ruff fails
2026-06-09 09:34:45 +01:00
5d1e9c27e7 minor: ruff check 2026-06-09 09:33:22 +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