Commit Graph

10 Commits

Author SHA1 Message Date
84055a25de refactor: migrate fully to Supabase, remove Firebase/Render/Python backend
- DELETED: entire backend/ (Python/FastAPI — replaced by Supabase)
- DELETED: old/ directory (obsolete code)
- DELETED: render.yaml, inject_api.py, check_tags.py, PENDING_FOR_TOMORROW.md
- DELETED: frontend/src/firebaseConfig.ts (Firebase Auth replaced by Supabase Auth)
- DELETED: frontend/src/services/apiClient.ts (HTTP client for dead backend)

- MIGRATED services to Supabase native:
  schedulesService, favoritesService, usersService,
  telemetryService (stub), reportsService, analyticsService (stub)

- MIGRATED stores/favorites.ts to Supabase direct queries
- MIGRATED views: SplashScreen, AdminTaxis, AdminDrivers, StrategicAnalytics
- MIGRATED utils/imageUrl.ts to Supabase Storage URLs

- FIXED router/index.ts: guard now uses supabase.auth.getSession()
  instead of old localStorage auth_token (fixes logout + map loading)
- FIXED AuthView.vue: removed aggressive watch({ immediate: true })
  that caused wrong redirects on map route
- FIXED SplashScreen.vue: navigate() now reads Supabase session + role
- FIXED RLS: added INSERT policy on public.users for trigger
- CONFIRMED: admin@sibu.com assigned ADMIN role in Supabase
2026-02-25 21:49:26 -05:00
7cd97365f2 🚀 Feat(Core): Migración oficial y total B a Supabase (Auth, DB, APIs) + Eliminación de Backend Python y Fixes Firebase + Soporte Vite Vercel 2026-02-25 21:01:18 -05:00
dc827bcbf4 fix: manejar error 401 automaticamente y agregar migracion de columnas routes 2026-02-25 19:49:29 -05:00
ac4c9e8389 Fix Google Login CORS and role-based redirection 2026-02-24 20:52:11 -05:00
259bbd1fed feat: update routes with color and direction, improve admin routes view, and update firebase config/auth 2026-02-24 16:39:38 -05:00
6d4f50cafb feat: habilitar set completo de APIs de Google Maps y actualizar llaves funcionales para produccion 2026-02-24 10:46:17 -05:00
f5fa086356 fix: Google Sign-In - Firebase Admin credentials via env var + mobile redirect flow 2026-02-23 19:31:47 -05:00
69061a081f fix: redesign auth UI to match SIBU design system, fix login bug
- AuthView: removed Tailwind/HUD aesthetic, uses SIBU CSS variables and Space Grotesk font, tab-based login/register switch
- LoginForm: fix critical bug - email now sent lowercase to backend (was causing 401 errors), added show/hide password toggle, human labels replacing sci-fi terminology
- RegisterForm: same fixes - lowercase email, human UX, SIBU theme variables
- Both forms: removed all hardcoded Tailwind colors, now consistent with dark/light theme system
2026-02-22 18:04:52 -05:00
33154169c8 feat: redesign Login/Register with HUD aesthetic and Google Auth integration 2026-02-22 15:31:02 -05:00
0c7aa53c8b Initial commit: SIBU 2.0 MISSION 2026-02-21 09:53:31 -05:00