feat/avatar-upload #1

Merged
lars merged 2 commits from feat/avatar-upload into main 2026-11-23 21:41:56 +01:00
Owner
No description provided.
- `user.setAvatar`: PNG/JPEG/GIF/WebP up to 2 MB, format checked by the file's first bytes; stored as
  avatars/<uuid>.<ext> via Bun's S3Client, `/api/avatars/<uuid>.<ext>` goes into user.image, the previous
  upload is deleted
- the server serves /api/avatars/* from the bucket (immutable cache), so the bucket stays private
- dashboard: "Change picture" button (de translations)
- RustFS in docker-compose.yml (S3 :9000, console :9001); `bun run db:up` (and so `setup`) creates the
  bucket via the one-shot `storage-init` service
- docker-compose.prod.yml: RustFS + bucket init before the app starts (new: S3_SECRET_ACCESS_KEY)
- oRPC request bodies are limited to 3 MB (413)
- tests mock the storage; E2E covers the upload against a real RustFS (CI: service + curl --aws-sigv4)
feat: expose mailpit ports
Some checks failed
ci / check (pull_request) Successful in 25s
ci / e2e (pull_request) Failing after 5m45s
3177321f32
lars merged commit 92680e6e2a into main 2026-11-23 21:41:56 +01:00
lars deleted branch feat/avatar-upload 2026-11-23 21:41:57 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hampe.work/app-starter!1
No description provided.