Commit Graph
16 Commits
Author SHA1 Message Date
PablinuxandClaude Sonnet 4.6 3e2294faf6 feat: perfil BD, historial sesiones, UX login y config Android
- Perfil conectado a BD: nombre real, edición con iniciales auto
- Historial de sesiones: nueva página con duración y badge activa
- Ayuda y soporte navega a MensajeriaPage
- InicioPage: nombre real desde BD, click avatar → tab perfil
- Login: foco automático, Enter = ingresar, click card = foco
- ApplicationId: net.siaxsystem.sentinelone en todos los manifests
- Linux: libsqlite3-dev requerido en CMakeLists, error amigable en app
- BD ruta Linux corregida a ~/.local/share/sentinel_one/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 01:25:33 -05:00
PablinuxandClaude Sonnet 4.6 1184ab5fe2 feat: add SQLite data layer, local auth and security settings
- Add offline-first SQLite architecture with DatabaseHelper singleton,
  12 CREATE TABLE statements and full seed data on first launch
- Add 10 models (fromMap/toMap) and 12 DAOs with CRUD + getPendientes()
- Add ApiAuthService (JWT via SharedPreferences) and Sincronizador skeleton
- Move login auth from SQLite to SharedPreferences with SHA-256 PIN hash;
  default PIN 123456, platform-independent (no native plugin required)
- Add seguridad_page.dart: change PIN form (current → new → confirm)
- Add Cerrar Sesión with confirmation dialog and full stack clear
- Redesign settings_page.dart with AppColors dark theme; add Sistema
  section with "Inicializar base de datos" and "Inicializar sincronización"
- Fix Linux desktop: sqflite_common_ffi with platform detection in DatabaseHelper
- Fix ScrollController conflict on Linux: primary: false on all IndexedStack pages
- Update plan_proyecto.md with session 2–3 progress and auth roadmap

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 01:56:13 -05:00
PablinuxandClaude Sonnet 4.6 8f13d57839 docs: add complete README with project overview and roadmap
Documentación completa con stack tecnológico, estructura de archivos,
navegación, paleta de colores, instrucciones de instalación y roadmap.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:47:41 -05:00
PablinuxandClaude Sonnet 4.6 e01beca7b8 chore: add platform-specific build files
Archivos de configuración generados para Android, iOS, Linux,
macOS, Windows y Web. Tests iniciales del proyecto.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:45:33 -05:00
PablinuxandClaude Sonnet 4.6 6780c62eb8 docs: add project plan with SQLite integration roadmap
Plan completo con estado de módulos, descripción de lo implementado,
pendientes priorizados y plan de integración SQLite (tablas, DAOs,
modelos y pasos de implementación).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:45:25 -05:00
PablinuxandClaude Sonnet 4.6 6114c6f7c5 feat: add messaging page with WhatsApp-style chat
Chat con burbujas enviados/recibidos, timestamps y doble check.
Tarjetas de acción fijas: Botón de Pánico y Soporte/Asistencia.
Input multi-línea, botón de llamada a central con diálogo de confirmación.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:45:16 -05:00
PablinuxandClaude Sonnet 4.6 b01ba892b7 feat: add inicio page with user section, banner slider and event log
Sección de usuario (nombre + avatar con online indicator) sobre tarjeta
de empresa ALARM WORK. Banner slider con auto-avance 4s, dots tappables
y flechas de navegación. Métricas rápidas, log de eventos con timeline
y FAB de pánico animado (ping pulsante) que navega a MensajeriaPage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:45:08 -05:00
PablinuxandClaude Sonnet 4.6 ec1328105d feat: add register and settings pages (pending visual redesign)
Páginas funcionales de registro de usuario y configuración del sistema.
Pendiente aplicar el tema oscuro AppColors consistente con el resto.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:45:02 -05:00
PablinuxandClaude Sonnet 4.6 e1795410ec feat: add user profile page with stats and account options
Perfil con avatar, badge de nivel de acceso, estadísticas del turno
y menú de cuenta (Configuración, Seguridad, Historial, Ayuda).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:44:56 -05:00
PablinuxandClaude Sonnet 4.6 93e61da450 feat: add access control page with door management
Control de 3 puertas con toggle bloqueo/desbloqueo, registro de
accesos con avatar y estado OK/denegado, snapshot de cámara simulado.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:44:50 -05:00
PablinuxandClaude Sonnet 4.6 885e84d176 feat: add monitoreo alarma page with dashboard and animations
Página de monitoreo con tarjeta de estado animada (pulso), mini-stats,
gráfico de frecuencia semanal, eventos críticos, registro de eventos
con timeline y vista táctica con grid y ping animado.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:44:46 -05:00
PablinuxandClaude Sonnet 4.6 ff5844b6d9 feat: add main layout with bottom navigation and shared header
MainPage con IndexedStack, bottom nav (INICIO/ACCESO/ALARMAS/PERFIL),
header compartido con logo SENTINEL ONE y título de sección.
AppMenuButton con Configuración, Sincronización, Términos y Privacidad.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:44:37 -05:00
PablinuxandClaude Sonnet 4.6 d28f41f3dd feat: add login page with 6-digit PIN authentication
Pantalla de login con 6 cajas individuales animadas, auto-avance
de foco, retroceso con backspace y validación mínima de 4 dígitos.
Al ingresar navega a MainPage en tab INICIO.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:44:31 -05:00
PablinuxandClaude Sonnet 4.6 dd2fb28827 feat: add theme system with colors and typography
Define paleta de colores AppColors (dark theme) y helpers
appHeadline() (Manrope) y appLabel() (Inter) centralizados.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:44:25 -05:00
PablinuxandClaude Sonnet 4.6 ff009bb31d chore: project setup and dependencies
Configuración inicial del proyecto Flutter con dependencias
google_fonts (Manrope + Inter) y flutter_lints.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 00:44:19 -05:00
Pablinux 53c8bebd8e inicio del proyecto sistema de seguridad 2026-04-14 00:42:02 -05:00