Sebastian Unterschütz and Claude Opus 5.5
d20225982a
refactor: follow the google go style guide
...
Document every package and exported identifier, return the log level
from NewLogger instead of keeping it in a package variable, and stop
tests from mutating the argon2 parameters.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:18:02 +01:00
Sebastian Unterschütz and Claude Opus 5.5
048e114fd9
build: add golangci-lint configuration
...
staticcheck and unused stay disabled until honnef.co/go/tools supports
the Go 1.27 standard library.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:18:02 +01:00
Sebastian Unterschütz and Claude Opus 5.5
ea6f022112
fix(config): reject an empty checker region
...
UPTIME_CHECKER_REGION= passed the required check and started a checker
that no monitor could ever be assigned to.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:18:02 +01:00
Sebastian Unterschütz and Claude Opus 5.5
70190446ff
feat(api): localize console pages and api error messages
...
The language comes from the user setting, then the lang cookie, then
Accept-Language, falling back to English. Errors keep a stable code and
carry a translated message.
Closes #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
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
7dd1f87ffe
feat(i18n): add english and german message catalogs
...
Tests fail on catalogs with diverging keys and on message IDs used in
code or templates that no catalog defines.
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
db44fedc72
feat(api): add signup, login with totp and account security pages
...
Signup is limited to the first user by default (UPTIME_SIGNUP). TOTP
secrets are sealed with UPTIME_SECRET_KEYS and bound to the user id.
Closes #3
Closes #5
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
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
caff396264
feat(auth): add argon2id passwords, replay-safe totp and redis rate limits
...
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
96c1555889
feat(sealed): encrypt secrets at rest with a rotatable keyring
...
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
9667e121f1
feat(auth): add session middleware and csrf protection
...
Unsafe methods require the session's synchronizer token and a matching
Origin, which also covers login requests that have no session yet.
Refs #5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:49:08 +01:00
Sebastian Unterschütz and Claude Opus 5.5
dae55d8c18
feat(auth): store sessions in redis with sliding and absolute expiry
...
Tokens are only kept as SHA-256 hashes. A per-user index allows ending
all sessions of an account at once.
Closes #1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:49:08 +01:00
Sebastian Unterschütz and Claude Opus 5.5
ccc0fe58b8
feat(tenant): enforce tenant isolation with row-level security
...
Every query runs inside a transaction carrying app.org_id, app.user_id
or the explicit system scope. Without a scope no rows are visible.
Closes #2
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
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
c615c21af1
build(dev): connect as non-superuser role so row-level security applies
...
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
e9c7394c8b
feat(platform)!: log exclusively as structured json
...
Request access logs, panics, migration output and fatal errors are now
emitted through the JSON slog handler.
BREAKING CHANGE: UPTIME_LOG_FORMAT is removed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:41:57 +01:00
Sebastian Unterschütz and Claude Opus 5.5
8d1093cd2d
build: add sentinel topology to dev compose stack
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:37:48 +01:00
Sebastian Unterschütz and Claude Opus 5.5
2bd3d0a18e
feat(platform): support redis sentinel for failover
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:37:48 +01:00
Sebastian Unterschütz and Claude Opus 5.5
dbae2870bc
chore: license under AGPL-3.0-only
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:37:48 +01:00
Sebastian Unterschütz and Claude Opus 5.5
073668a5b4
build: add dev compose stack, container image and makefile
...
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
Sebastian Unterschütz and Claude Opus 5.5
3b3879d9b5
feat: add api, checker and statuspage entrypoints
...
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
Sebastian Unterschütz and Claude Opus 5.5
8ea459e5f1
feat(web): set up templ layout with tailwindcss 4.3 and axios
...
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
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
Sebastian Unterschütz and Claude Opus 5.5
018b24948e
feat(migrations): embed goose migrations with advisory locking
...
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
Sebastian Unterschütz and Claude Opus 5.5
1a6fadb030
feat(platform): add postgres, redis, logging and graceful http serving
...
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
Sebastian Unterschütz and Claude Opus 5.5
9662a3cea2
feat(config): load component configuration from environment
...
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
Sebastian Unterschütz and Claude Opus 5.5
b92474c272
chore: initialize go module and repository settings
...
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