Lizandro Guarnizo and Claude Sonnet 4.6
73fe73b04f
fix(cron): parse discos array correctly for disk alert threshold checks
...
The metrics JSON uses 'discos' (array) not 'disco' (single object),
so disk alerts were never firing. Also reports per-mountpoint label.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 10:47:04 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
71db59b005
perf(agent): read CPUPercent only on top-10 RAM processes, not all
...
Filter by RAM first (cheap), then call CPUPercent on just the 10 winners.
Reduces /proc reads from hundreds to 10 per interval.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 10:35:48 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
ad531c6dfc
perf(agent): sort top procs by RAM only, skip per-process CPUPercent
...
CPUPercent() on every process reads /proc/<pid>/stat for all processes,
causing ~19% CPU spike on servers with many containers. Sorting by RAM
is a single /proc read per process and much cheaper.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 10:34:46 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
42dc7020fc
fix(websms): return subid from LabsMobile response in ApiSendSms
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 10:18:20 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
c24248b2c3
fix(agent): restart systemd service on reinstall instead of no-op start
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 10:17:13 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
c3693d00db
fix: mostrar todos los discos con espacio real incluyendo overlay y tmpfs grandes
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 10:05:58 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
00d1e6121b
fix: descargar a /tmp primero para evitar error 23 en contenedores
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 09:17:59 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
2ff4d314de
fix: mejorar detección de errores en install.sh (espacio, permisos, HTTP code)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 09:00:31 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
34b9c81262
feat: agente con métricas de red, swap, top procesos y TCP; dashboard mejorado
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 08:49:39 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
491e908448
fix: corregir path de templates a resources/views
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 08:37:22 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
ffb54a5128
revert: quitar nice/ionice del Dockerfile (límites manejados por Coolify)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 08:25:03 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
c3739ae581
fix: reducir prioridad de CPU/IO en builds Docker con nice+ionice
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 08:12:57 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
d95e82034a
fix: excluir /api/sms/send del middleware AuthApi
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-25 08:05:31 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
cb9d984ee8
fix: capturar subid de LabsMobile como MsgID en logs de SMS
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-24 18:36:14 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
8a9235631c
feat: mostrar API Key en panel WebSMS
...
Agrega sección visible en /app/websms con el secret_key
y botón de copiar, para facilitar el uso del endpoint externo.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-23 23:17:45 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
704664afe7
feat: API pública para envío de SMS vía WebSMS
...
Agrega POST /api/sms/send autenticado con Bearer token (secret_key
auto-generado en WebSmsConfig). Recibe numero y mensaje, llama a
LabsMobile y registra el resultado en websms_log.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-23 23:13:57 -05:00
Lizandro Guarnizo
df1eb75bdd
feat: importar datos de BALANCE.numbers (facturas, IVA, retencion, cobros, pagos, consolidado)
2026-06-23 00:43:27 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
2136c46f42
fix: tratar code != 0 de LabsMobile como error
...
La API devuelve HTTP 200 con code:"401" para credenciales inválidas.
Ahora el service retorna error cuando code != "0".
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-22 17:16:24 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
f3d9794096
fix: corregir URL del API de LabsMobile
...
URL incorrecta: https://websms.labsmobile.com/SY0204/api
URL correcta: https://api.labsmobile.com/json/send
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-22 17:05:20 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
e5c6dba787
fix: exponer cuerpo real de respuesta en error de websms
...
El error "unmarshal: invalid character '<'" ocultaba qué devolvía
LabsMobile. Ahora el error incluye Content-Type y los primeros 200
bytes del cuerpo para diagnóstico.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-22 16:59:49 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
ab4e3252b1
fix: fidelizar websms_config con el diseño del resto del proyecto
...
Agrega bloque <style> con btn-primary, input-field, label, badge-* que
faltaban. Badge de status ahora muestra "Enviado"/"Error" en vez del
código numérico. Botones de copiar en la sección de webhooks.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-22 16:50:53 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
f94d01c089
fix: agregar bloque <style> faltante en todas las vistas de contabilidad
...
Los modales y controles no tenían estilos (btn-primary, btn-secondary,
btn-danger, btn-icon, input-field, label, badge-*) porque el bloque
<style> nunca fue incluido al crear estas vistas. También corregido
text-slate-800 en h2 de modales para alinearse con el patrón del proyecto.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-22 16:37:27 -05:00
Lizandro Guarnizo
24c4f6b26f
fix: modales contabilidad/websms alineados con diseño del proyecto (text-slate-800, gap-4, SVG, mt-5, color input)
2026-06-22 16:04:22 -05:00
Lizandro Guarnizo
39f56372c3
fix: tickets filtrados por proyecto, vistas contabilidad/websms en resources/view
2026-06-22 10:23:28 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
1d152b6de0
remove: eliminar GeoIP completamente, no era necesario
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-20 10:25:05 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
d66fe95514
fix: GeoIP opcional, no paniquea si falta GeoLite2-City.mmdb
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-20 10:22:55 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
e28e2823dc
fix: compilar agent/dist en builder stage y agregar módulos contabilidad/websms
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-20 10:13:17 -05:00
Lizandro Guarnizo
ca6a44f64e
up
2026-06-18 16:48:49 -05:00
Lizandro Guarnizo
fd410b3afc
Update vcard_api.html
2026-06-11 20:16:47 -05:00
Lizandro Guarnizo
89021f2e77
modificaciones de mejora
2026-06-11 18:06:21 -05:00
Lizandro Guarnizo
fa0991eed7
Update oss_service.go
2026-06-11 17:47:46 -05:00
Lizandro Guarnizo
cf078a6e5f
S3: add public_url, fix Content-Disposition, add oss-file proxy
2026-06-10 09:34:17 -05:00
Lizandro Guarnizo
0fc7b8b94d
contrato: M2M infra linking (servidores, conx_dbs, ai_configs)
2026-06-10 00:18:42 -05:00
Lizandro Guarnizo
03eb6d874e
contrato: M2M infra linking (servidores, conx_dbs, ai_configs)
2026-06-10 00:18:31 -05:00
Lizandro Guarnizo
478c2bde00
up
2026-06-10 00:18:20 -05:00
Lizandro Guarnizo
d701534537
Update hostinger.html
2026-06-06 21:57:30 -05:00
Lizandro Guarnizo
8bf6f19e54
Update install.sh
2026-06-06 10:32:57 -05:00
Lizandro Guarnizo
12c645b4b7
Update servidor.go
2026-06-06 09:34:58 -05:00
Lizandro Guarnizo
30dd4be9b2
Update contratos.html
2026-06-04 23:02:51 -05:00
Lizandro Guarnizo
7329bac898
up
2026-06-04 22:49:16 -05:00
Lizandro Guarnizo
72744a1325
Update oss_service.go
2026-06-03 23:49:00 -05:00
Lizandro Guarnizo
0d4151e6dd
Update oss_api.go
2026-06-03 23:42:27 -05:00
Lizandro Guarnizo
357d9e3404
Update oss_service.go
2026-06-03 23:01:15 -05:00
Lizandro Guarnizo
320b72c0b3
Update main.go
2026-06-03 22:55:03 -05:00
Lizandro Guarnizo
a9703300ab
Update oss_api_controller.go
2026-06-03 22:48:24 -05:00
Lizandro Guarnizo
ff72bd0269
up
2026-06-03 22:39:58 -05:00
Lizandro Guarnizo
35a384eeba
Update Dockerfile
2026-06-03 21:49:48 -05:00
Lizandro Guarnizo
b2617c1906
Update oss_service.go
2026-06-03 21:41:42 -05:00
Lizandro Guarnizo
c05a2a8137
up
2026-06-03 21:32:50 -05:00
Lizandro Guarnizo
f087fd46f1
up
2026-06-03 20:10:22 -05:00