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

@@ -16,7 +16,7 @@ import Select from '@/components/ui/Select'
import { SkeletonCard } from '@/components/ui/Skeleton'
import { LineChart } from '@/components/charts/LineChart'
import { BarChart } from '@/components/charts/BarChart'
import { FuelGauge } from '@/components/charts/FuelGauge'
import { CircularGauge } from '@/components/charts/FuelGauge'
import { Combustible } from '@/types'
export default function CombustiblePage() {
@@ -247,7 +247,7 @@ export default function CombustiblePage() {
<Card padding="lg">
<CardHeader title="Rendimiento promedio" />
<div className="flex items-center justify-center h-[300px]">
<FuelGauge
<CircularGauge
value={stats.promedioRendimiento}
maxValue={20}
label="km/L"

View File

@@ -49,7 +49,7 @@ export default function Login() {
<MapPinIcon className="w-7 h-7 text-white" />
</div>
<div>
<h1 className="text-2xl font-bold text-white">ADAN GPS</h1>
<h1 className="text-2xl font-bold text-white">ATLAS GPS</h1>
<p className="text-sm text-slate-500">Sistema de Monitoreo</p>
</div>
</div>
@@ -138,7 +138,7 @@ export default function Login() {
{/* Footer */}
<p className="mt-8 text-center text-sm text-slate-600">
ADAN GPS v1.0.0 | Sistema de Monitoreo de Flota
ATLAS GPS v1.0.0 | Sistema de Monitoreo de Flota
</p>
</div>
</div>