Sebastian Unterschütz and Claude Opus 5.5
4134af4aef
feat(store): store legal notices and privacy policies
...
Refs #67
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 10:17:39 +01:00
Sebastian Unterschütz and Claude Opus 5.5
bd986cd49f
feat(store): add audit log table and queries
...
Entries are visible by kind: organization entries to the organization,
account entries to the account, platform entries to admins. The built-in
admin role gains the new audit.read permission.
Refs #65
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 09:59:52 +01:00
Sebastian Unterschütz and Claude Opus 5.5
2d7f326d38
feat(store): add nested monitor groups
...
A trigger rejects cycles and nesting deeper than eight levels; composite
foreign keys keep groups and their monitors in one organization.
Refs #57
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 09:19:55 +01:00
Sebastian Unterschütz and Claude Opus 5.5
46f1f82481
feat(api): give status page servers sealed key-value storage
...
Certificates and ACME keys are stored encrypted in the database,
namespaced per owner so an organization's servers cannot read platform
or other organizations' keys. Locks live in Redis and expire.
Refs #22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 08:54:08 +01:00
Sebastian Unterschütz and Claude Opus 5.5
d820547e8c
feat(store): add status pages and their components
...
Composite foreign keys keep pages from listing monitors of other
organizations, independent of row-level security.
Refs #21
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 08:39:00 +01:00
Sebastian Unterschütz and Claude Opus 5.5
607798d742
feat(store): let regions and agents belong to the platform or one organization
...
Regions are identified by id so organizations can reuse keys. Triggers
keep agents in regions of the same owner and monitors in platform or own
regions. Platform admins are a user flag.
Refs #52
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 01:36:02 +01:00
Sebastian Unterschütz and Claude Opus 5.5
ffef63e586
feat(store): add incidents, notification channels and delivery outbox
...
At most one open incident per monitor is enforced by a partial unique
index.
Refs #15 , #16
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 01:23:37 +01:00
Sebastian Unterschütz and Claude Opus 5.5
00658d49a2
feat(store): add monitors, regions, agents and check result hypertable
...
check_results has no row-level security because TimescaleDB refuses
compression and continuous aggregates on such tables. Every results
query takes org_id as a parameter, which a test enforces.
Refs #10 , #13
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 01:12:53 +01:00
Sebastian Unterschütz and Claude Opus 5.5
da128c5081
feat(store): add token lifetime limit and tokens.manage permission
...
The built-in Admin role gains tokens.manage.
Refs #48
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:55:14 +01:00
Sebastian Unterschütz and Claude Opus 5.5
ee09c497de
feat(store): add roles, role assignments, api tokens and invitations
...
Built-in roles are seeded with fixed ids and are read-only for every org.
Existing non-owner members receive the Viewer role.
Refs #6 , #7 , #8 , #9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:49:35 +01:00
Sebastian Unterschütz and Claude Opus 5.5
dbea42e7a5
feat(auth): add single-use totp recovery codes
...
Codes are stored as SHA-256 hashes and consumed with one conditional
update, so concurrent use of the same code succeeds at most once.
Refs #40
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:35:20 +01:00
Sebastian Unterschütz and Claude Opus 5.5
d1976ed57a
feat(store): add per-organization sso providers and linked identities
...
Identities are keyed by provider and subject. Both tables are tenant
scoped; org_id_by_slug resolves a slug before sign-in without opening a
broader scope.
Refs #4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:30:43 +01:00
Sebastian Unterschütz and Claude Opus 5.5
dde7b890b8
feat(auth): persist preferred language per user and session
...
Refs #42
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:07:00 +01:00
Sebastian Unterschütz and Claude Opus 5.5
99e9b1e57d
feat(store): add totp columns, org totp policy and global scope
...
Orgs are created inside their own tenant scope, so signup needs no
system scope.
Refs #3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:55:23 +01:00
Sebastian Unterschütz and Claude Opus 5.5
95da376ac1
feat(store): add users and org memberships with single owner per org
...
Refs #1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:48:02 +01:00
Sebastian Unterschütz and Claude Opus 5.5
0af74267b9
feat(store): generate typed queries with sqlc
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:33:28 +01:00