chore(ops): restart policy + todo notes #46

Open
cesnimda wants to merge 4 commits from chore/restart-policy into develop

4 Commits

Author SHA1 Message Date
cesnimda be715e3cea fix(ci): semgrep install fails on Gitea Act runner (no sudo/pipx)
CI / backend (pull_request) Successful in 58s
CI / frontend (pull_request) Successful in 14s
CI / format (pull_request) Failing after 30s
CI / db-tests (pull_request) Failing after 30s
Security / secrets (pull_request) Successful in 7s
Security / dependencies (pull_request) Failing after 42s
Security / sast (pull_request) Failing after 11s
Runner has no sudo binary but already runs as root, and no pipx. Call
apt-get directly and pip install --user semgrep instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-12 15:53:35 +02:00
cesnimda cb740c0515 fix(dashboard): grid fills available width instead of fixed 1200px
CI / backend (pull_request) Successful in 58s
CI / frontend (pull_request) Successful in 14s
CI / format (pull_request) Successful in 56s
CI / db-tests (pull_request) Failing after 1m15s
Security / secrets (pull_request) Successful in 12s
Security / dependencies (pull_request) Successful in 1m3s
Security / sast (pull_request) Failing after 6s
Wrap GridLayout with WidthProvider (already ships with react-grid-layout, no
new dep) so tiles reflow to actual container width on resize/sidebar-collapse
instead of leaving dead space or overflowing on a hardcoded 1200px canvas.
compactType=vertical already auto-packs the bento-style variable-size tiles.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-12 15:20:10 +02:00
cesnimda c9f1437860 fix(proxy): honor upstream X-Forwarded-Proto so OAuth redirect is https behind traefik
CI / backend (pull_request) Has been cancelled
CI / frontend (pull_request) Has been cancelled
CI / format (pull_request) Has been cancelled
CI / db-tests (pull_request) Has been cancelled
Security / secrets (pull_request) Successful in 6s
Security / dependencies (pull_request) Successful in 1m12s
Security / sast (pull_request) Failing after 5s
The SPA nginx overwrote the reverse proxy's X-Forwarded-Proto with $scheme (http on the
traefik->frontend hop), so the API built http:// OAuth redirects that Google rejects. Map
the incoming proto through (fallback to $scheme for direct access). Needed for login via
https://inboxintel.cesnimda.uk behind traefik.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 22:03:23 +02:00
cesnimda eee7ef6055 chore(ops): restart:unless-stopped so the stack survives host reboots
CI / backend (pull_request) Has been cancelled
CI / frontend (pull_request) Has been cancelled
CI / format (pull_request) Has been cancelled
CI / db-tests (pull_request) Has been cancelled
Security / secrets (pull_request) Has been cancelled
Security / dependencies (pull_request) Has been cancelled
Security / sast (pull_request) Has been cancelled
The Pi stack stayed down after a reboot (services had no restart policy). Add
restart:unless-stopped to postgres/backup/api/frontend (not the init-keys one-shot).
Also commits todo.md (running follow-ups: drafts fetch, live OAuth/subdomain, sent re-sync).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 21:56:33 +02:00