Commit graph

235 commits

Author SHA1 Message Date
irl
1384ee7bd6 feat: adds empty static directory for frontend
Some checks failed
ci / ruff (push) Failing after 4s
ci / ty (push) Failing after 4s
ci / tests (push) Failing after 8s
ci / build (push) Has been cancelled
2026-06-22 14:40:02 +01:00
irl
df8ab32cb1 ci: build and publish OCI image
Some checks failed
ci / ruff (push) Failing after 3s
ci / ty (push) Failing after 4s
ci / tests (push) Failing after 7s
ci / build (push) Has been cancelled
2026-06-22 14:38:23 +01:00
f41f76bcf8 Merge pull request 'feat(utils): use logging around email send' (#31) from irl/cloud-api:maillog into main
Some checks failed
ci / ruff (push) Failing after 3s
ci / ty (push) Failing after 4s
ci / tests (push) Failing after 8s
Reviewed-on: #31
2026-06-22 13:37:15 +00:00
d07230b3b0 Merge pull request 'fix(user): simplify add_user' (#28) from irl/cloud-api:add_user into main
Some checks failed
ci / ruff (push) Failing after 3s
ci / ty (push) Failing after 3s
ci / tests (push) Failing after 8s
Reviewed-on: #28
2026-06-22 13:34:36 +00:00
irl
9e1d6026b5 feat: adds Containerfile with frontend serving
Some checks failed
ci / ruff (push) Successful in 4s
ci / ty (push) Failing after 4s
ci / tests (push) Failing after 8s
2026-06-22 14:24:56 +01:00
c28b4dc37b feat: applied model mixins
All checks were successful
ci / ruff (push) Successful in 3s
ci / ty (push) Successful in 4s
ci / tests (push) Successful in 16s
IdMixin used on every table with an ID index (no changes needed to db)

Timestamp and Deleted mixins applied to org and user tables.

ActivatedMixin added to users.
2026-06-22 13:46:11 +01:00
7e1ab6c6ee feat: db model mixins 2026-06-22 13:46:11 +01:00
irl
0baa50d10f misc: add frontend dir to .gitignore
All checks were successful
ci / ruff (push) Successful in 4s
ci / ty (push) Successful in 4s
ci / tests (push) Successful in 16s
2026-06-22 13:30:53 +01:00
irl
53b42b24dd feat(utils): use logging around email send 2026-06-22 13:26:47 +01:00
irl
fe8f627fa5 ci: reduce min age for renovate to 7 days
All checks were successful
ci / ruff (push) Successful in 4s
ci / ty (push) Successful in 4s
ci / tests (push) Successful in 16s
2026-06-22 12:02:29 +00:00
c2777db2e3 Add renovate.json
Some checks failed
ci / ruff (push) Successful in 4s
ci / ty (push) Successful in 4s
ci / tests (push) Has been cancelled
2026-06-22 12:02:02 +00:00
irl
a9e539ef74 fix(user): simplify add_user 2026-06-22 12:23:38 +01:00
02ddf9a3ed fix: skip sending email process while running tests
All checks were successful
ci / ruff (push) Successful in 4s
ci / ty (push) Successful in 4s
ci / tests (push) Successful in 15s
Removes the need for lettermint api key in CI.
2026-06-22 12:06:43 +01:00
63e7d48c07 ci: remove non-ty checks from ty job 2026-06-22 12:04:39 +01:00
11eeddb347 feat: lettermint integration
Some checks failed
ci / ruff (push) Successful in 4s
ci / ty (push) Failing after 17s
ci / tests (push) Failing after 16s
2026-06-22 12:01:58 +01:00
58e7ae6c5c fix: ty compliant & issues from change to mapped columns
All checks were successful
ci / ruff (push) Successful in 3s
ci / ty (push) Successful in 15s
ci / tests (push) Successful in 17s
2026-06-22 11:23:24 +01:00
55927946c7 Merge pull request 'Project consistency and Mapped syntax for SQLAlchemy' (#27) from irl/cloud-api:mapped into main
Some checks failed
ci / ruff (push) Failing after 4s
ci / ty (push) Failing after 5s
ci / tests (push) Failing after 9s
Reviewed-on: #27
2026-06-22 08:19:08 +00:00
irl
6397bd1316 feat: use Mapped syntax for columns 2026-06-20 18:42:36 +01:00
irl
cb70f17ad5 feat: project consistency 2026-06-20 18:42:15 +01:00
7804816a1a fix: rn takes org id instead of name
All checks were successful
ci / lint_and_test (push) Successful in 16s
2026-06-17 13:12:59 +01:00
d5854cc2c4 feat: user and org defaults
All checks were successful
ci / lint_and_test (push) Successful in 15s
Root and User defaults made more generic and merged.

Root user group assignment merged with org default perm assignment.

Root user granted all default org permissions at org creation.
2026-06-17 10:49:58 +01:00
2c5edd1b0f feat: default org perm grant grants 2026-06-17 09:32:12 +01:00
d6c14655c0 feat: batch add perm to org
All checks were successful
ci / lint_and_test (push) Successful in 16s
2026-06-16 16:48:32 +01:00
4b384db98a feat: service permissions endpoint
Endpoint to allow services to register their own permissions into the hub.
2026-06-16 16:24:09 +01:00
327f857190 feat: service-permission orm relationship 2026-06-16 16:10:08 +01:00
154870acb1 feat: service key dependency generic
Dependency to verify service API key accepts the service_name from a RN generic, allowing for endpoints without a full RN to use it.
2026-06-16 16:09:17 +01:00
f96cb2112c minor: rename search endpoint function 2026-06-16 16:05:17 +01:00
662b9c8e26 feat: permission permissions
All checks were successful
ci / lint_and_test (push) Successful in 16s
Orgs can only grant permissions to groups that they themselves have been granted access to.

Super admin bypasses not added, flagged as todos.
2026-06-16 13:51:31 +01:00
0a867c9c90 minor: relationship key definitions to strings
Using the objects directly was causing type checking issues. Strings are equivalent so no functional change.
2026-06-16 11:19:22 +01:00
3e4f68dd9b fix: unique violations
Directly using Psycopg error instead of the error code.

Also, raise all other IntegrityErrors instead of silently dropping them.
2026-06-15 14:38:14 +01:00
3433ba39ee feat: default iam group on org join
All checks were successful
ci / lint_and_test (push) Successful in 15s
Users joining an org are given the `Default User` IAM permission group automatically.
2026-06-15 11:35:01 +01:00
09d2fbafdc feat: default iam groups on org create
Root user is given the `Default Users` and `Root User` permission groups on org creation.
2026-06-15 11:26:22 +01:00
dad23733e8 feat: group name unique per org
Instead of group names being wholly unique (enforced by the db), group names are unique within the org (enforced by endpoint logic).
2026-06-15 11:10:02 +01:00
3f7abc5986 tests: preapproval
All checks were successful
ci / lint_and_test (push) Successful in 15s
Issue: #24
2026-06-15 09:34:43 +01:00
2b4c875da3 tests: group invitation 2026-06-15 09:31:36 +01:00
da6bd22199 minor: typo 2026-06-12 16:44:45 +01:00
43ed768f66 feat: minimum lengths for names
All checks were successful
ci / lint_and_test (push) Successful in 15s
2026-06-12 15:58:20 +01:00
092e12a892 feat: org status check moved
Accessing endpoints as super admin no longer requires the org to be approved.
2026-06-12 14:50:32 +01:00
a655eaf543 tests: delete_group_perm perm not in group
All checks were successful
ci / lint_and_test (push) Successful in 14s
Issue: #24
2026-06-12 13:17:07 +01:00
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