5 Commits
Author SHA1 Message Date
Pablinux 4aaae043fe feat: servicios WhatsApp, Bitácora WebControl, SQLite v4, UI y store listing 2026-11-22 17:40:46 -05:00
PablinuxandClaude Sonnet 4.6 33f0b8aa29 feat: foto de perfil seleccionable desde archivo
- file_picker ^4.6.1 — abre galería/archivos (en Android incluye cámara)
- BD v3: columna foto_path en usuarios, migración onUpgrade
- Usuario modelo: campo fotoPath + copyWith
- UsuariosDao: método updateFoto(id, path)
- PerfilUsuarioPage:
  · Avatar muestra foto si hay, iniciales si no
  · Toque en avatar o ícono cámara → FilePicker → guarda ruta en BD
  · Ícono editar nombre movido junto al texto del nombre

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 03:10:47 -05:00
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 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