Skip to content

1.0.5-beta

Latest

Choose a tag to compare

@HGHugo HGHugo released this 12 Dec 14:27
· 5 commits to main since this release
fix: Docker healthcheck, Express 5 routing, VM display + feat: EPG timeline

## Merged PR
- #49 EPG Timeline with smart lazy loading (@Guizmo091)
  - Interactive TV guide with horizontal scrolling
  - Smart lazy loading for performance
  - Current time indicator and program details

## Bug Fixes

### Docker (issue #9)
- Fix healthcheck "unhealthy" status
- Changed localhost → 127.0.0.1 in Dockerfile, docker-compose.yml, docker-compose.local.yml
- Alpine containers resolve localhost to IPv6 [::1] which fails

### Server (issue #47)
- Fix "Cannot GET /" in production mode
- Express 5 no longer accepts `*` wildcard route
- Replaced with middleware filtering /api/ and /ws/ routes
- Added cross-env for NODE_ENV in npm start (Windows compatibility)

### VM Display (issues #5, #6 from plan)
- Show allocated resources (vCPU, RAM, Disk) instead of fake usage bars
- Per-VM real-time stats not available in Freebox API
- Global VM stats from /vm/info/ displayed correctly

### Model Detection
- Added checkActualStorage() to detect internal/sata/nvme disks
- Fixes hasInternalStorage=false on Delta with installed disk

## Files Modified
- server/index.ts - SPA fallback middleware for Express 5
- server/services/modelDetection.ts - checkActualStorage()
- server/routes/vm.ts - Mock data cleanup
- src/stores/vmStore.ts - VmSystemInfo interface
- src/pages/VmsPage.tsx - Global VM resources display
- src/components/widgets/VmPanel.tsx - Allocated resources display
- Dockerfile - healthcheck IPv4
- docker-compose.yml - healthcheck IPv4
- docker-compose.local.yml - healthcheck IPv4
- docker-compose.dev.yml - Port documentation
- package.json - Added cross-env, updated start script
- README.md - Updated ports and API version

## Dependencies
- Added cross-env ^7.0.3