Skip to content

Conversation

@aagbsn
Copy link
Contributor

@aagbsn aagbsn commented Jan 2, 2026

Adds the citizenlab url management components to ooniapi
#1005
#807

add test helpers from oonimeasurements: create_jwt, create_session_token, client_with_admin_role, client_with_user_role
FIXME: validation of session still fails, monkeypatch auth didn't seem to work
this is to preserve the keys in json response for backwards compatibility
update handler accepts either being None to differentiate behavior
api change in filelock 3.11.0 means that FileLock is not shared between threads by default
raises exception if lock was not held
@aagbsn aagbsn marked this pull request as draft January 2, 2026 10:46
@aagbsn
Copy link
Contributor Author

aagbsn commented Jan 2, 2026

There are some issues with tests failing because they don't supply all the FastAPI model validator fields.

aagbsn@99c2354#diff-9d7a802cecddb40a415f7ef8a83f7e640c866377b05d1786ced83b5901705ac1R366-R368

@aagbsn
Copy link
Contributor Author

aagbsn commented Jan 2, 2026

I relaxed the validator rules and the integration tests now pass

@aagbsn aagbsn marked this pull request as ready for review January 2, 2026 11:46
@aagbsn
Copy link
Contributor Author

aagbsn commented Jan 16, 2026

See: #1050 which replaces gitpython/git with dulwich

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant