Commit graph

420 commits

Author SHA1 Message Date
senke
32886d43cc [DOC] Update troubleshooting guide with Redis system service solution 2026-01-04 01:44:13 +01:00
senke
e9335a8063 [DOC] Add simple startup guide for integration testing 2026-01-04 01:44:13 +01:00
senke
1a4f1f27d4 [FIX] Fix migration SQL syntax and add troubleshooting guide
- Fix 050_data_validation_constraints.sql: Replace IF NOT EXISTS with DO blocks
- PostgreSQL doesn't support IF NOT EXISTS with ADD CONSTRAINT
- Add quick troubleshooting guide (DEPANNAGE_RAPIDE.md)
- Note: .env file is gitignored (as expected)
2026-01-04 01:44:13 +01:00
senke
2a14fa89a9 [DOC] Fix all remaining port 5173 references to 3000 2026-01-04 01:44:13 +01:00
senke
6218981bc2 [DOC] Fix remaining port 5173 references to 3000 2026-01-04 01:44:13 +01:00
senke
16dcd0657b [DOC] Fix frontend port to 3000 in startup guides
- Update port from 5173 to 3000 (actual Vite config)
- Update CORS_ALLOWED_ORIGINS examples
- Fix all URL references
2026-01-04 01:44:13 +01:00
senke
9176af563b [DOC] Add quick commands reference for integration testing 2026-01-04 01:44:13 +01:00
senke
cafe649a96 [DOC] Add integration testing startup guide
- Complete guide for testing backend/frontend integration
- Docker Compose setup instructions
- Environment variables configuration
- Troubleshooting section
- Quick start commands
2026-01-04 01:44:13 +01:00
okinrev
d4cd229ea2 Merge pull request #3 from okinrev/production-ready-fixes-10504759203042880560
feat: Prepare production-ready environment and fix frontend build
2025-12-31 17:32:59 +01:00
google-labs-jules[bot]
dafe4602b3 feat: prepare production environment and fix frontend build
- Create .env file with production configuration for local testing.
- Fix frontend compilation errors:
  - Correct import paths for `useToast` hook in `WebhooksPage.tsx` and `AdminDashboardPage.tsx`.
  - Update `WebhooksPage.tsx` to use the existing custom `Dialog` component API.
- Improve Nginx configuration in `apps/web/nginx.conf`:
  - Use resolver and variables for upstream proxies to prevent crash when backend services are down.
  - Fix stream server proxy path to route `/stream` to `/ws` as expected by the backend.
- Update `docker-compose.production.yml` to use correct `Dockerfile` name for stream server.
2025-12-31 16:27:36 +00:00
senke
21b768d991 final remediation 2025-12-26 09:56:47 +01:00
senke
447027a37a [INTEGRATION] Achieve 10/10 integration score
 All 3 V2 tasks completed:
- INT-V2-001: Fixed legacy auth store reference
- INT-V2-002: Use TrackStatus enum in types/api.ts
- INT-V2-003: Updated documentation with id: string

Integration score: 8.5/10 → 10/10
All 35 tasks completed (32 initial + 3 V2)
2025-12-26 09:55:05 +01:00
senke
69fdb68cc0 [INT-V2-003] Update documentation with id: string
- Replace id: number with id: string in player/README.md
- Replace id: number with id: string in Table.test.tsx
- Update test data to use string IDs
- Aligns with UUID standard (id: string everywhere)
2025-12-26 09:54:51 +01:00
senke
27982e807f [INT-V2-002] Use TrackStatus enum in types/api.ts
- Replace string literal union with TrackStatus enum
- Import TrackStatus from @/features/tracks/types/track
- Improves type-safety for Track.status field
2025-12-26 09:54:32 +01:00
senke
a205768c09 [INT-V2-001] Fix legacy auth store reference in stateInvalidation.ts
- Replace require('@/stores/auth') with require('@/features/auth/store/authStore')
- Aligns with INT-AUTH-002: single auth store migration
2025-12-26 09:54:08 +01:00
senke
248f8be58f [AUDIT] Post-implementation integration audit - Score: 8.5/10
- 32/32 tâches d'intégration complétées (100%)
- Score amélioré: 6.5/10 → 8.5/10 (+2.0)
- Production-ready avec 3 améliorations mineures optionnelles
- Rapport complet: INTEGRATION_AUDIT_POST_IMPLEMENTATION.md
- TodoList V2: VEZA_INTEGRATION_V2_TODOLIST.json (3 tâches P3)
2025-12-26 09:41:52 +01:00
senke
2ce90f67c9 [INT-DOC-001] Generate OpenAPI/Swagger documentation (already configured, added /docs alias) 2025-12-26 09:32:56 +01:00
senke
9fcc5163ee [INT-TEST-002] Create E2E test for CRUD operations 2025-12-26 09:32:00 +01:00
senke
dade023108 [INT-TEST-001] Create E2E test for complete auth flow 2025-12-26 09:31:16 +01:00
senke
8bcae328b5 [INT-ENDPOINT-006] Implement backend conversation management endpoints (already implemented) 2025-12-26 09:29:24 +01:00
senke
e246cb6de9 [INT-ENDPOINT-005] Implement backend playlist collaborator endpoints (already implemented) 2025-12-26 09:28:54 +01:00
senke
06430b4fca [INT-ENDPOINT-004] Implement backend GET /api/v1/playlists/search (already implemented) 2025-12-26 09:28:26 +01:00
senke
ba23ee0af0 [INT-ENDPOINT-003] Implement backend GET /api/v1/tracks/search (already implemented) 2025-12-26 09:27:56 +01:00
senke
7744a6bf2d [INT-ENDPOINT-002] Implement backend GET /api/v1/users/search (already implemented) 2025-12-26 09:27:26 +01:00
senke
a4a9bcda71 [INT-ENDPOINT-001] Add frontend service for GET /api/v1/sessions/stats 2025-12-26 09:26:50 +01:00
senke
1d7cd3cce0 [INT-CLEANUP-004] Add barrel exports for clean imports 2025-12-26 09:25:52 +01:00
senke
b716b0fac5 [INT-CLEANUP-003] Remove legacy hooks using old API client (already completed - no legacy hooks found) 2025-12-26 09:24:01 +01:00
senke
0ba99548c0 [INT-CLEANUP-002] Consolidate type definitions in single location 2025-12-26 09:22:05 +01:00
senke
6d1e3cea3d [INT-CLEANUP-001] Remove all unused API service files (offline-storage.ts, secure-auth.ts) 2025-12-26 09:17:31 +01:00
senke
c171d66b0c [INT-AUTH-004] Add token expiration pre-check 2025-12-26 09:15:13 +01:00
senke
25c38d10b7 [INT-AUTH-003] Verify refresh token flow handles edge cases 2025-12-26 09:13:36 +01:00
senke
c70dc23e70 [INT-AUTH-002] Remove duplicate auth store - migrate to features/auth/store/authStore.ts 2025-12-26 09:11:46 +01:00
senke
55f357803a [INT-API-005] Add retry logic for 429 rate limit responses 2025-12-26 09:10:26 +01:00
senke
8d35484e14 [INT-API-004] Add request timeout configuration per endpoint type 2025-12-25 22:42:56 +01:00
senke
c2af450fd5 [INT-API-003] Standardize error handling across all services 2025-12-25 22:42:07 +01:00
senke
4c98715877 [INT-API-002] Verify response unwrapping in interceptor 2025-12-25 22:40:59 +01:00
senke
c6f4a25833 [INT-API-001] Remove duplicate API client (lib/apiClient.ts) - already completed 2025-12-25 22:40:05 +01:00
senke
e21ece089b [INT-TYPE-008] Validate AuthResponse matches backend exactly 2025-12-25 22:39:41 +01:00
senke
fa5c4e83ca [INT-TYPE-007] Create PaginatedResponse generic type 2025-12-25 22:38:20 +01:00
senke
8a484833ec [INT-TYPE-006] Complete ApiError interface with all backend fields 2025-12-25 22:37:36 +01:00
senke
2b81d5156d [INT-TYPE-005] Create PlaylistVisibility enum aligned with backend 2025-12-25 22:36:51 +01:00
senke
8b4ef0abae [INT-TYPE-004] Create TrackStatus enum aligned with backend 2025-12-25 22:36:20 +01:00
senke
6aff5a7383 [INT-TYPE-003] Standardize Playlist.id to string everywhere 2025-12-25 22:35:38 +01:00
senke
e4ba1ef215 [INT-TYPE-002] Standardize Track.id to string everywhere 2025-12-25 22:34:55 +01:00
senke
9fe0328794 [INT-TYPE-001] Standardize User.id to string everywhere 2025-12-25 22:33:16 +01:00
senke
0441c2adf6 [INT-AUTH-001] Ensure CSRF protection active in production 2025-12-25 22:28:46 +01:00
senke
e6ff9a65f6 [INT-CORS-002] Add preflight request handling validation 2025-12-25 22:27:05 +01:00
senke
6af931c114 [INT-CORS-001] Configure CORS_ALLOWED_ORIGINS for production 2025-12-25 22:26:41 +01:00
senke
652d474cc1 [INFRA-012] infra: Set up auto-scaling
🎉 ALL 267 TASKS COMPLETED! 🎉
2025-12-25 21:43:00 +01:00
senke
9bd3ec8fec [INFRA-011] infra: Set up load balancing 2025-12-25 21:41:39 +01:00