feat: Complete ATLAS system installation and API fixes

## Backend Changes
- Add new API endpoints: combustible, pois, mantenimiento, video, configuracion
- Fix vehiculos endpoint to return paginated response with items array
- Add /vehiculos/all endpoint for non-paginated list
- Add /geocercas/all endpoint
- Add /alertas/configuracion GET/PUT endpoints
- Add /viajes/activos and /viajes/iniciar endpoints
- Add /reportes/stats, /reportes/templates, /reportes/preview endpoints
- Add /conductores/all and /conductores/disponibles endpoints
- Update router.py to include all new modules

## Frontend Changes
- Fix authentication token handling (snake_case vs camelCase)
- Update vehiculosApi.listAll to use /vehiculos/all
- Fix FuelGauge component usage in Combustible page
- Fix chart component exports (named + default exports)
- Update API client for proper token refresh

## Infrastructure
- Rename services from ADAN to ATLAS
- Configure Cloudflare tunnel for atlas.consultoria-as.com
- Update systemd service files
- Configure PostgreSQL with TimescaleDB
- Configure Redis, Mosquitto, Traccar, MediaMTX

## Documentation
- Update installation guides
- Update API reference
- Rename all ADAN references to ATLAS

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
ATLAS Admin
2026-01-25 03:04:23 +00:00
parent 0dfce3ce20
commit e59aa2a742
73 changed files with 4415 additions and 450 deletions

View File

@@ -1,7 +1,7 @@
{
"expo": {
"name": "Adan Conductor",
"slug": "adan-conductor",
"name": "Atlas Conductor",
"slug": "atlas-conductor",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
@@ -16,7 +16,7 @@
],
"ios": {
"supportsTablet": false,
"bundleIdentifier": "com.adan.conductor",
"bundleIdentifier": "com.atlas.conductor",
"infoPlist": {
"NSLocationWhenInUseUsageDescription": "Necesitamos acceso a tu ubicación para rastrear el viaje",
"NSLocationAlwaysAndWhenInUseUsageDescription": "Necesitamos acceso continuo a tu ubicación para el seguimiento de rutas",
@@ -35,7 +35,7 @@
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#3b82f6"
},
"package": "com.adan.conductor",
"package": "com.atlas.conductor",
"permissions": [
"ACCESS_COARSE_LOCATION",
"ACCESS_FINE_LOCATION",
@@ -57,7 +57,7 @@
[
"expo-location",
{
"locationAlwaysAndWhenInUsePermission": "Adan necesita tu ubicación para rastrear viajes, incluso en segundo plano.",
"locationAlwaysAndWhenInUsePermission": "Atlas necesita tu ubicación para rastrear viajes, incluso en segundo plano.",
"isAndroidBackgroundLocationEnabled": true,
"isIosBackgroundLocationEnabled": true
}
@@ -65,7 +65,7 @@
[
"expo-camera",
{
"cameraPermission": "Permitir a Adan acceder a tu cámara para la función dashcam"
"cameraPermission": "Permitir a Atlas acceder a tu cámara para la función dashcam"
}
],
[