senke
76d95ecfb4
incus deployement fully implemented, Makefile updated and make fmt ran
2026-01-13 19:47:57 +01:00
senke
cc8aaffa92
[T0-006] test(backend): Ajout tests pour playback_analytics_handler
...
- Tests complets pour playback_analytics_handler.go (18 tests)
- Interfaces créées pour permettre le mock (PlaybackAnalyticsServiceInterfaceForHandler, PlaybackAnalyticsRateLimiterInterface, PlaybackHeatmapServiceInterface)
- Tests couvrent RecordAnalytics, GetQuotaInfo, GetDashboard, GetSummary, GetHeatmap
- Gestion des erreurs et validation complète
- Couverture actuelle: 36.3% (objectif: 80%)
Files: veza-backend-api/internal/handlers/playback_analytics_handler.go
veza-backend-api/internal/handlers/playback_analytics_handler_test.go
Hours: 16 estimated, 25 actual
2026-01-04 01:44:22 +01:00
senke
27517ae916
[INT-017] int: Add session management integration
...
- Fixed GetSessions handler to identify current session by comparing token hash
- Added session creation during token refresh to ensure sessions are tracked
- Sessions are now correctly identified as current in the frontend
- Updated Refresh handler to accept sessionService parameter
Files modified:
- veza-backend-api/internal/handlers/session.go
- veza-backend-api/internal/handlers/auth.go
- veza-backend-api/internal/api/router.go
- VEZA_COMPLETE_MVP_TODOLIST.json
2025-12-25 15:47:33 +01:00
senke
d294245761
[BE-API-031] be-api: Implement session stats endpoint
...
- Standardized GetSessionStats handler to use RespondSuccess/RespondWithAppError
- Replaced c.Get with GetUserIDUUID helper
- Handler retrieves session statistics via SessionService.GetSessionStats
- Handler returns total_active sessions and unique_users count
- Handler uses standard API response format
Phase: PHASE-2
Priority: P2
Progress: 38/267 (14.2%)
2025-12-24 11:48:43 +01:00
senke
5886fba2ec
[BE-API-030] be-api: Implement session refresh endpoint validation
...
- Standardized RefreshSession handler to use RespondSuccess/RespondWithAppError
- Replaced c.Get with GetUserIDUUID helper
- Handler validates Authorization header and extracts Bearer token
- Handler extends session timeout to 24 hours via SessionService.RefreshSession
- Handler properly handles errors (session not found, expired, internal errors)
- Handler returns message, expires_in, and expires_at
- Handler uses standard API response format
Phase: PHASE-2
Priority: P1
Progress: 37/267 (13.9%)
2025-12-24 11:47:15 +01:00
okinrev
1e4f7b1756
STABILISATION: phase 3–5 – API contract, tests & chat-server hardening
2025-12-06 17:21:59 +01:00
okinrev
2425c15b09
adding initial backend API (Go)
2025-12-03 20:29:37 +01:00