1
0
Fork 0
forked from sr2/cloud-api
Commit graph

178 commits

Author SHA1 Message Date
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)
Issue: #13
2026-06-10 16:49:37 +01:00
ec41d1ed05 feat: caor docs and response model 2026-06-10 16:16:56 +01:00
0b521414b3 feat: add group user by id restriction
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
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 2026-06-10 10:15:27 +01:00
3b82025abb feat: get org response mirrors get user orgs structure 2026-06-10 09:49:05 +01:00
939abaefe9 feat: improved caor request model
Issue: #23
2026-06-10 09:32:02 +01:00
768a3881ef feat: sua added to group invitations
Issue: #23
2026-06-09 16:52:22 +01:00
7809df4c5a feat: get self db user_id 2026-06-09 16:33:42 +01:00
f0eaff2073 tests: get self orgs 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 2026-06-09 15:55:23 +01:00
56569f09db feat: get user self orgs endpoint 2026-06-09 15:52:38 +01:00
ebcb0362c6 fix: pycharm import error 2026-06-09 14:47:37 +01:00
0c81791191 fix: pycharm import error 2026-06-09 14:45:40 +01:00
76e889d836 tests: expanded assertions
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
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
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
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
52990aae13 fix: permission unique constraint 2026-06-08 16:02:06 +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
da8917869f fix: psycopg binary dependency 2026-06-08 15:04:13 +01:00
8777ad2814 fix: default db credential colon 2026-06-08 14:52:10 +01:00
52ecd64f70 ci: ruff run via uv 2026-06-08 14:47:33 +01:00
1533c86335 ci: git within container 2026-06-08 14:45:54 +01:00
08ebba8918 ci: node installation within container 2026-06-08 14:41:58 +01:00
5d2420261c ci: node action for checkout action 2026-06-08 14:21:11 +01:00
9f348d8549 ci: checkout action version downgrade 2026-06-08 14:18:40 +01:00
76ef862d40 feat: org id in get org response 2026-06-08 14:16:45 +01:00
00ed43e5ce ci: alpine uv base container
Forgejo docker runner config is incompatible with the distroless image. Distroless uv does not have the "tail" util.
2026-06-08 14:09:06 +01:00
fa730be9f5 ci: distroless uv base container 2026-06-08 13:45:53 +01:00
2d958ba520 ci: forgejo publish yaml
Configured to run Ruff and tests
2026-06-08 12:31: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
1aac45eb76 feat: group ids in get user endpoints 2026-06-08 10:51:01 +01:00
903b24d17d ruff: config and initial run 2026-06-08 10:45:38 +01:00
bb4965ab07 feat: org id in get user/self/db 2026-06-08 10:26:17 +01:00