borja
|
845fb86f57
|
fix: ajustar ver todos para mostrar sin responsable por grupo
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
de544c42de
|
feat: agregar verificación de membresía y filtrado por snapshot
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
e11978663d
|
fix: quitar bypass de rate limit en pruebas de GroupSync
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
c306b2a762
|
fix: usar process.env en GroupSync y mejorar parseo de participantes
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
a092a25234
|
feat: agregar sincronización de miembros con Evolution API y webhooks
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
61add46ede
|
feat: crear tabla group_members y reconciliar miembros de grupos
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
bdba776b5c
|
feat: activar WAL en SQLite y actualizar STATUS.md y .gitignore
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
bff4c99876
|
feat: hacer dinámico el mensaje del límite por minuto y README
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
21e01c7470
|
fix: ajustar formato del mensaje de tarea completada
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
3b41c01360
|
fix: cambiar 'dueño' a 'responsable' y quitar comillas en descripciones
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
f22fff887c
|
feat: centralizar iconos en ICONS y actualizar mensajes a nuevos iconos
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
5c49f16c4e
|
feat: añadir recordatorios por DM diarios/semanales y configuración
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
530c0f6f70
|
fix: shouldNotify maneja undefined y admite primer aviso por usuario
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
9668802cbe
|
feat: añade limitador de tasa por usuario (15/min) y tests
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
831778ce51
|
feat: usar TZ por entorno y parsear 'hoy'/'mañana' como fechas
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
57f5dd04e6
|
feat: añadir soporte de tomar y soltar tareas (claim/unassign)
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
a4c0d49991
|
fix: añadir cabecera 'Tus tareas' y aplicar COALESCE en filtros
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
137e0d2d07
|
feat: añade alias para tomar/soltar y ver sin/todos con consultas por grupo
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
3f9280eb1a
|
feat: añadir limpieza/retención de response_queue (borrado duro)
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
79b5d83f5b
|
feat: habilitar reintentos con backoff exponencial + jitter en cola
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
efe8aaef89
|
feat: añadir migrador de migraciones up-only para SQLite
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
4a305dc007
|
fix: usar remitente correcto en DMs y evitar Invalid sender ID
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
a1df163db0
|
feat: añadir conteos de pendientes y mostrar… y X más en /t ver
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
218080ae45
|
feat: Fase 3: listar pendientes y completar tareas por DM (dd/MM)
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
48d750b648
|
fix: silenciar errores DB en webhook y actualizar pruebas de TaskService
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
90d78bf195
|
refactor: asegurar created_by y usuarios al asignarlos en TaskService
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
714c7a6c4e
|
feat: habilita /t y /tarea con parsing de fechas y respuestas compactas
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
2a3345e21c
|
fix: evitar llamadas de red en tests desde ContactsService
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
89398d2dfd
|
fix: añadir metadata a response_queue y unificar ack en CommandService
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
4f6f483a27
|
feat: añadir menciones del creador y de asignados en notificaciones
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
4a1baca559
|
feat: agregar notificaciones DM a creador y asignados; grupo desactivado
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
bfb9f44b69
|
refactor: añade rutas Evolution para obtener nombre de contacto
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
8fdac8b49f
|
fix: enviar siempre la respuesta por DM al creador
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
3ff63f1503
|
feat: añadir ContactsService y usar nombres en menciones de usuarios
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
7a901c9d95
|
feat: enviar al grupo si está activo; si no, al creador
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
133058caeb
|
feat: aceptar tokens @user como asignados y combinar con menciones
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
de70cd863b
|
fix: usar assignmentUserIds para mentionsForSending
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
59605e01e8
|
le pido que me console loguee lo que manda de payload para ver cómo hace lo de las menciones
|
2 months ago |
borja
|
a6ec631329
|
feat: agregar columna metadata a response_queue
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
6c9f744f1f
|
feat: habilita menciones en mensajes y limpia descripciones de tareas
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
a209c40ac3
|
feat: centralizar /tarea en CommandService y usar DB
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
703ea61c67
|
refactor: migrar a bun:sqlite y adaptar servicio/tareas y pruebas
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
7b9928937b
|
feat: añadir TaskService con dbInstance y tests unitarios
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
94f6813cb2
|
fix: persistir tarea con created_by y asignaciones en transacción
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
939cf1ac9f
|
feat: normalizar evento webhook y registrar rawEvent en logs
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
8bdb851062
|
feat: iniciar worker de ResponseQueue y mejorar procesamiento
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
6c70e1dce7
|
feat: persistir respuestas en la cola con DB
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
b80cc3ea3c
|
feat: crear tabla response_queue, actualizar tests DB y README
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
|
2 months ago |
borja
|
9f339ad218
|
fix: hacer público el cache de grupos para tests
Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <aider@aider.chat>
|
2 months ago |
borja
|
69a5747cf9
|
fix: arreglar cache de grupos en tests unitarios
Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <aider@aider.chat>
|
2 months ago |
borja
|
8177a8eaa9
|
refactor: implementar procesamiento de comandos directamente en handleMessageUpsert
Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <aider@aider.chat>
|
2 months ago |
borja
|
206949aabe
|
feat: agregar verificación de grupos activos
Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <aider@aider.chat>
|
2 months ago |
borja
|
d6604dfb2f
|
feat: integrar validación de usuarios en procesamiento de mensajes
Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <aider@aider.chat>
|
2 months ago |
borja
|
93bbd923ae
|
fix: inyectar base de datos de prueba en WebhookServer para tests unitarios
Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <aider@aider.chat>
|
2 months ago |
borja
|
d97db3507d
|
feat: integrar verificación de existencia de usuario en manejo de mensajes
Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <aider@aider.chat>
|
2 months ago |
borja
|
02f931e055
|
feat: Añadir normalización del ID del remitente
Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <aider@aider.chat>
|
2 months ago |
borja (aider)
|
015204f1cc
|
fix: manejar error EEXIST al crear directorio data
|
2 months ago |
borja (aider)
|
5fce8e72e9
|
feat: mover base de datos a carpeta data
|
2 months ago |
borja (aider)
|
6e4720d7cd
|
debug: añade logging temporal para diagnóstico de sincronización
|
2 months ago |
borja (aider)
|
ff0923f3cb
|
fix: maneja WHATSAPP_COMMUNITY_ID no definido mostrando comunidades
|
2 months ago |
borja (aider)
|
e59ce7319e
|
feat: Muestra IDs de comunidades disponibles cuando WHATSAPP_COMMUNITY_ID no está definido
|
2 months ago |
borja (aider)
|
d0f8442e65
|
fix: use strftime for millisecond timestamp precision in SQLite
|
6 months ago |
borja (aider)
|
fbf76036f5
|
feat: implement ensureUserExists, add foreign keys and tests
|
6 months ago |
borja (aider)
|
be653f0355
|
feat: add WhatsApp ID normalization utility
|
6 months ago |
borja (aider)
|
dd32a3dd11
|
test: use in-memory database for tests
|
6 months ago |
borja (aider)
|
17437c6e28
|
feat: improve command parsing to handle multiple dates and invalid date formats
|
6 months ago |
borja (aider)
|
0477530757
|
fix: properly extract dates and count mentions in /tarea command
|
6 months ago |
borja (aider)
|
d232e8db5f
|
fix: skip debug logs in test environment
|
6 months ago |
borja (aider)
|
284e35b0eb
|
feat: update database schema for user tracking
|
7 months ago |
borja
|
da659f2130
|
añado que loguee lo que pilla para mostrar el grupo y el mensaje y así poder ver cómo hago para ver usuarios
|
7 months ago |
borja (aider)
|
e762a7c840
|
docs: document EvolutionGroup type with API response format
|
7 months ago |
borja (aider)
|
50133ecb9a
|
feat: handle direct array response in group sync API
|
7 months ago |
borja
|
244a6e9483
|
toqueteo un poco en cómo hago el fetchAllGroups a ver si consigo que me mande la respuesta que sí me funciona con curl pero no haciendo un fetch
|
7 months ago |
borja
|
3bf5e33763
|
fuerzo http/2 a ver si así rula
|
7 months ago |
borja
|
7c8143d9c3
|
aumenta el tiempo de espera al fetchAllGroups hasta algo más de 5 minutos a ver si el problema es ese u otro
|
7 months ago |
borja (aider)
|
ae8e3fad2b
|
feat: add detailed logging for group sync API calls
|
7 months ago |
borja (aider)
|
a2487e5c2f
|
feat: add initial group sync check at startup
|
7 months ago |
borja (aider)
|
6832192d93
|
docs: Improve sync interval documentation and logging
|
7 months ago |
borja (aider)
|
73fdf950dd
|
feat: make group sync interval configurable via env var
|
7 months ago |
borja (aider)
|
ed7b209c1b
|
fix: update last_verified when marking groups inactive
|
7 months ago |
borja (aider)
|
98a01dad19
|
fix: properly commit group sync transactions and update counts
|
7 months ago |
borja (aider)
|
1ade146a3b
|
feat: Add error handling and logging to group sync service
|
7 months ago |
borja (aider)
|
1d29fedc18
|
Based on the diffs, here's the concise commit message:
fix: handle API response format and improve group sync tests
|
7 months ago |
borja (aider)
|
d4869aa178
|
fix: resolve module import paths in group-sync tests
|
7 months ago |
borja (aider)
|
4644e7a588
|
feat: add group sync service with API integration
|
7 months ago |
borja (aider)
|
1ef8ac55c7
|
feat: add active column to groups table with default true
|
7 months ago |
borja (aider)
|
c9c990b815
|
feat: Add last_verified timestamp to groups table
|
7 months ago |
borja
|
0154ffc8d0
|
añado más logs a esto para que, cuando salte el mensaje de que hay missing required fields podamos ver qué pasa en realidad
|
7 months ago |
borja
|
3d87aead2c
|
simplifica un poco los logs para que no sean tan pesados de parsear
|
7 months ago |
borja (aider)
|
8c08ec763c
|
feat: add created_by field to Task interface
|
7 months ago |
borja (aider)
|
1b89c845ef
|
fix: Correct static method binding in webhook handler
|
7 months ago |
borja (aider)
|
57efb00929
|
fix: make handleMessageUpsert static to fix webhook processing
|
7 months ago |
borja (aider)
|
2cb368b711
|
fix: correct test assertions and mention handling in webhook server
|
7 months ago |
borja (aider)
|
c8b4b5592b
|
fix: update test assertions for command logging
|
7 months ago |
borja (aider)
|
869c695d0a
|
feat: Update /tarea command parsing to use action-first format
|
7 months ago |
borja (aider)
|
163c2b183f
|
fix: properly parse command action and due date in webhook handler
|
7 months ago |
borja (aider)
|
62e8a38525
|
feat: Improve logging for webhook and command processing
|
7 months ago |
borja (aider)
|
11702142d5
|
feat: enhance /tarea command logging with detailed parsing
|
7 months ago |
borja
|
e3fe256384
|
y un tercer console.log que quito porque en este caso me muestra todos los handling message upsert y es un poco too much
|
7 months ago |
borja
|
356cfb69e2
|
quito otro console.log que se hace un poco excesivo creo yo porque muestra cada webhook event received
|
7 months ago |
borja
|
99b2011254
|
Quito un console.log que de momento es excesivo porque me muestra absolutamente todo lo que toca server.ts
|
7 months ago |
borja (aider)
|
812b0dadd8
|
feat: Add port validation for internal Docker URLs
|
7 months ago |
borja (aider)
|
58200854bc
|
feat: Add debug logging for webhook requests and events
|
7 months ago |
borja (aider)
|
8663bbf1a8
|
fix: skip webhook self-test for internal production URLs
|
7 months ago |
borja (aider)
|
0245ef15e9
|
feat: add reverse proxy support and port configuration
|
7 months ago |
borja
|
4df2fc776e
|
pruebo a forzar el puerto a 80
|
7 months ago |
borja (aider)
|
88e0c2edfd
|
feat: add webhook endpoint testing and improved logging
|
7 months ago |
borja (aider)
|
7003e50a41
|
fix: improve webhook verification with retries and better error handling
|
7 months ago |
borja (aider)
|
abb3decd40
|
fix: update webhook event names to match API enum values
|
7 months ago |
borja
|
a3fae9876b
|
refactor: simplify webhook events list
|
7 months ago |
borja (aider)
|
2d8a40e3b8
|
fix: handle undefined webhook config and improve URL validation
|
7 months ago |
borja (aider)
|
72e7a804b5
|
feat: update webhook config to match API requirements
|
7 months ago |
borja (aider)
|
6cfb741157
|
fix: enable instance verification in test environment when flagged
|
7 months ago |
borja (aider)
|
a408f86172
|
fix: skip instance verification in test environment
|
7 months ago |
borja (aider)
|
4b1659689f
|
refactor: remove redundant INSTANCE_NAME env var
|
7 months ago |
borja (aider)
|
08ad11a719
|
feat: Add debug logging for webhook registration and env vars
|
7 months ago |
borja (aider)
|
ea79efab54
|
fix: correct webhook event names and required env vars
|
7 months ago |
borja
|
a86beb81b7
|
intento arreglar server.ts y webhook-manager.ts
|
7 months ago |
borja (aider)
|
f472d8cba4
|
fix: Resolve syntax error in server.ts by adding missing brace
|
7 months ago |
borja (aider)
|
6710c4fd73
|
feat: implement webhook registration service
|
7 months ago |
borja (aider)
|
027e11523e
|
fix: deployment issues and add health check
|
7 months ago |
borja (aider)
|
7099342520
|
fix: correct server startup and env validation in server.ts
|
7 months ago |
borja (aider)
|
d5c7cb715d
|
feat: add environment variable validation to server startup
|
7 months ago |
borja (aider)
|
7d68cd5329
|
fix: Remove incorrect Bun import and add proper type declarations
|
7 months ago |
borja (aider)
|
d7390db8d6
|
fix: reset mocks between tests and improve message validation
|
7 months ago |
borja (aider)
|
f63852b23f
|
fix: Add missing closing brace and fix indentation in server.ts
|
7 months ago |
borja (aider)
|
ca03135aea
|
fix: Remove extra braces and properly format WebhookServer class
|
7 months ago |
borja (aider)
|
8b928078f0
|
fix: Correct server.ts class syntax and static method placement
|
7 months ago |
borja (aider)
|
2b4d95d3ab
|
fix: correct server class structure and improve error handling
|
7 months ago |
borja (aider)
|
352d201db5
|
refactor: encapsulate server startup in static method
|
7 months ago |
borja (aider)
|
63c3bb20e9
|
feat: implement command service with response queue
|
7 months ago |
borja (aider)
|
b7ed60a471
|
feat: implement base webhook server with validation and tests
|
7 months ago |
borja (aider)
|
fa19fe8950
|
fix: correct SQL syntax and improve db test coverage
|
7 months ago |
borja (aider)
|
644883109f
|
feat: add initial database schema and task service
|
7 months ago |