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,6 +1,6 @@
#!/bin/bash
# ============================================
# Sistema de ADAN - Visor de Logs
# Sistema de ATLAS - Visor de Logs
# ============================================
# Muestra logs de los diferentes servicios
#
@@ -39,7 +39,7 @@ while [[ $# -gt 0 ]]; do
shift 2
;;
--help|-h)
echo "Sistema de ADAN - Visor de Logs"
echo "Sistema de ATLAS - Visor de Logs"
echo ""
echo "Uso: $0 [servicio] [opciones]"
echo ""
@@ -91,10 +91,10 @@ show_logs() {
case $SERVICE in
api)
show_logs "adan-api" "API Backend"
show_logs "atlas-api" "API Backend"
;;
web)
show_logs "adan-web" "Frontend"
show_logs "atlas-web" "Frontend"
;;
traccar)
show_logs "traccar" "Traccar GPS"
@@ -121,10 +121,10 @@ case $SERVICE in
echo "Mostrando todos los logs en tiempo real..."
echo "Presiona Ctrl+C para salir"
echo ""
journalctl -u adan-api -u adan-web -u traccar -u mediamtx -u mosquitto -f
journalctl -u atlas-api -u atlas-web -u traccar -u mediamtx -u mosquitto -f
else
show_logs "adan-api" "API Backend"
show_logs "adan-web" "Frontend"
show_logs "atlas-api" "API Backend"
show_logs "atlas-web" "Frontend"
show_logs "traccar" "Traccar GPS"
show_logs "mediamtx" "MediaMTX"
show_logs "mosquitto" "Mosquitto MQTT"