76ef862d40
feat: org id in get org response
ci / lint_and_test (push) Failing after -2s
2026-06-08 14:16:45 +01:00
00ed43e5ce
ci: alpine uv base container
...
ci / lint_and_test (push) Failing after 1s
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
ci / lint_and_test (push) Failing after -1s
2026-06-08 13:45:53 +01:00
2d958ba520
ci: forgejo publish yaml
...
ci / build_and_publish (push) Failing after -2s
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
6aad2e560f
project: uv add ruff
2026-06-08 10:18:49 +01:00
5e2226aa45
project: migration from pip to uv
2026-06-08 10:16:06 +01:00
97794fd62c
reqs: remove old auth packages
...
joserfc replaced authlib
2026-06-05 15:13:32 +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
f44c5b6f36
minor: unauthorized exception su message
2026-06-03 14:22:11 +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
af680dbc38
feat: get/patch contact includes org info
...
Resolves #19
2026-06-03 09:45:48 +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
c9cd75a7ad
fix: missing src in imports
2026-06-03 09:15:25 +01:00
1845012cb7
feat: get org endpoint returns questionnaire
2026-06-02 16:36:56 +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
65a9514be6
fix: drop superfluous column in usergroups
...
Group org is assigned in the Group table. Also assigning it in the UserGroups table complicated relationship creation and it was never used.
2026-06-02 16:11:52 +01:00
6f174deefc
tests: db seeding change
2026-06-02 16:10:16 +01:00
b8b5b6dbd3
fix: permission search typing
2026-06-02 15:55:50 +01:00
ae0181c3ff
fix: create permission endpoint
...
Verifies service exists before attaching permission.
Response built manually because calculated properties are not handled by .__dict()__
Request model uses Service ID mixin.
Service ID mixin verifies ID > 0
2026-06-02 15:36:05 +01:00
5d1606aa9d
fix: permission search changed to post
...
Get requests cannot have bodies.
2026-06-02 15:13:00 +01:00
511480dffe
fix: wrong org dependency in get perms
2026-06-02 14:44:30 +01:00
9403e9291f
minor: >0 user id in bodies
2026-06-02 14:40:24 +01:00
3052565258
fix: userschema config
...
Required for Pydantic to map a SQLAlchemy model to it.
2026-06-02 14:37:07 +01:00
2f4b7b8733
fix: missing org id in req
2026-06-02 14:21:05 +01:00
5ec1f2272a
minor: >0 perm & group id in bodies
2026-06-02 14:18:04 +01:00
c6542f48c1
fix: multiple inverted conditionals
2026-06-02 13:52:52 +01:00
5104257a50
fix: missing org id in req body
2026-06-02 13:50:13 +01:00
3ea782d68f
minor: min length on group name post
2026-06-02 13:37:42 +01:00
e4559b8ee4
minor: >0 check on org ids in bodies
2026-06-02 13:34:05 +01:00
7d109f0f73
fix: inverted conditional in get group users
2026-06-02 12:22:36 +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
fc6990c43d
fix: patch org contact
2026-06-01 14:27:50 +01:00