BetterFrame/server/src/shared
Mitchell R 0c74e26e42
feat: expand BF_DATA on first boot + wire update progress banner + partition reporting
- Add betterframe-expand-data systemd service: growpart + resize2fs on
  BF_DATA (last partition) so it fills the full SD card on first boot.
  Solves the "No space left on device" issue with OS update downloads.
- Change OS update staging dir from /var/tmp/betterframe to
  /var/lib/betterframe/tmp (on BF_DATA partition, not rootfs).
- Wire firmware and OS update progress callbacks into the GTK overlay
  banner — shows "OS Update v1.2.3: Downloading — 45%" etc.
- Add per-partition disk reporting in heartbeat (/, /boot/firmware,
  /var/lib/betterframe) with total/used/free/percent.
- Display partition table on kiosk detail page in admin UI.
- PG + SQLite migrations for partitions_json column on kiosks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-26 08:09:20 +02:00
..
cloud-cameras feat(cloud-cameras): add EZVIZ, Reolink, Eagle Eye providers 2026-05-24 02:54:49 +02:00
db feat: expand BF_DATA on first boot + wire update progress banner + partition reporting 2026-05-26 08:09:20 +02:00
artifact-cleanup.ts refactor(db): move service-store from BSB plugin to shared/db library 2026-05-24 02:48:32 +02:00
audit.ts refactor: migrate all auto-increment PKs to UUIDv7 text IDs 2026-05-26 07:11:45 +02:00
auth.ts refactor: migrate all auto-increment PKs to UUIDv7 text IDs 2026-05-26 07:11:45 +02:00
backup.ts feat(server): backup + restore (AES-256-GCM, PBKDF2, admin UI) 2026-05-14 07:44:01 +02:00
bundle.ts refactor: migrate all auto-increment PKs to UUIDv7 text IDs 2026-05-26 07:11:45 +02:00
camera-health.ts refactor(db): move service-store from BSB plugin to shared/db library 2026-05-24 02:48:32 +02:00
cec-relay.ts refactor: collapse 6 non-service plugins into shared modules 2026-05-10 02:29:25 +02:00
coordinator-registry.ts refactor: migrate all auto-increment PKs to UUIDv7 text IDs 2026-05-26 07:11:45 +02:00
firmware.ts refactor: remove all process.env and envStr() from server code 2026-05-23 13:22:44 +02:00
kiosk-lan.ts feat(preview): pull entity snapshot from active kiosk first 2026-05-21 10:35:27 +02:00
mqtt-bridge.ts refactor: migrate all auto-increment PKs to UUIDv7 text IDs 2026-05-26 07:11:45 +02:00
nodered-bridge.ts feat(os-ota-ui): admin pages for OS releases + rollouts + per-kiosk panel 2026-05-21 11:30:33 +02:00
onvif.ts feat(onvif): event routing config + GetEventProperties + subscription status 2026-05-23 00:38:54 +02:00
os-updates.ts feat(os-ota): resumable chunked download with Range header support 2026-05-23 01:44:34 +02:00
pairing.ts refactor: migrate all auto-increment PKs to UUIDv7 text IDs 2026-05-26 07:11:45 +02:00
rate-limit.ts feat(server): rate limit (login + pair) + CSP/security headers 2026-05-14 07:40:22 +02:00
secrets.ts refactor: remove all process.env and envStr() from server code 2026-05-23 13:22:44 +02:00
snapshot.ts feat: multi-display + snapshot + health + GPIO + nodered embed 2026-05-13 01:18:22 +02:00
strip-secrets.ts feat: restructure Node-RED nodes + server event emission 2026-05-13 02:26:08 +02:00
tenant.ts feat(multi-tenant): schema-per-tenant model + PostgreSQL migration DDL 2026-05-23 01:15:49 +02:00
types.ts feat: implement multi-tenant support with PG schema isolation 2026-05-26 07:22:01 +02:00
version.ts fix: resolve merge conflict + align BSB workdir /home/bsb 2026-05-23 23:58:36 +02:00