93 Commits (db790064af2d3baced8024173fd3150916a9fae6)

Author SHA1 Message Date
borja 703ea61c67 refactor: migrar a bun:sqlite y adaptar servicio/tareas y pruebas
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
6 months ago
borja 7b9928937b feat: añadir TaskService con dbInstance y tests unitarios
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
6 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>
6 months ago
borja 939cf1ac9f feat: normalizar evento webhook y registrar rawEvent en logs
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
6 months ago
borja 8bdb851062 feat: iniciar worker de ResponseQueue y mejorar procesamiento
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
6 months ago
borja 6c70e1dce7 feat: persistir respuestas en la cola con DB
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 months ago
borja (aider) 015204f1cc fix: manejar error EEXIST al crear directorio data 6 months ago
borja (aider) 5fce8e72e9 feat: mover base de datos a carpeta data 6 months ago
borja (aider) 6e4720d7cd debug: añade logging temporal para diagnóstico de sincronización 6 months ago
borja (aider) ff0923f3cb fix: maneja WHATSAPP_COMMUNITY_ID no definido mostrando comunidades 6 months ago
borja (aider) e59ce7319e feat: Muestra IDs de comunidades disponibles cuando WHATSAPP_COMMUNITY_ID no está definido 6 months ago
borja (aider) d0f8442e65 fix: use strftime for millisecond timestamp precision in SQLite 10 months ago
borja (aider) fbf76036f5 feat: implement ensureUserExists, add foreign keys and tests 10 months ago
borja (aider) be653f0355 feat: add WhatsApp ID normalization utility 10 months ago
borja (aider) dd32a3dd11 test: use in-memory database for tests 10 months ago
borja (aider) 17437c6e28 feat: improve command parsing to handle multiple dates and invalid date formats 10 months ago
borja (aider) 0477530757 fix: properly extract dates and count mentions in /tarea command 11 months ago
borja (aider) d232e8db5f fix: skip debug logs in test environment 11 months ago
borja (aider) 284e35b0eb feat: update database schema for user tracking 12 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 12 months ago
borja (aider) e762a7c840 docs: document EvolutionGroup type with API response format 12 months ago
borja (aider) 50133ecb9a feat: handle direct array response in group sync API 12 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 12 months ago
borja 3bf5e33763 fuerzo http/2 a ver si así rula 12 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 12 months ago
borja (aider) ae8e3fad2b feat: add detailed logging for group sync API calls 12 months ago
borja (aider) a2487e5c2f feat: add initial group sync check at startup 12 months ago
borja (aider) 6832192d93 docs: Improve sync interval documentation and logging 12 months ago
borja (aider) 73fdf950dd feat: make group sync interval configurable via env var 12 months ago
borja (aider) ed7b209c1b fix: update last_verified when marking groups inactive 12 months ago
borja (aider) 98a01dad19 fix: properly commit group sync transactions and update counts 12 months ago
borja (aider) 1ade146a3b feat: Add error handling and logging to group sync service 12 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
12 months ago
borja (aider) d4869aa178 fix: resolve module import paths in group-sync tests 12 months ago
borja (aider) 4644e7a588 feat: add group sync service with API integration 12 months ago
borja (aider) 1ef8ac55c7 feat: add active column to groups table with default true 12 months ago
borja (aider) c9c990b815 feat: Add last_verified timestamp to groups table 12 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 12 months ago
borja 3d87aead2c simplifica un poco los logs para que no sean tan pesados de parsear 12 months ago
borja (aider) 8c08ec763c feat: add created_by field to Task interface 12 months ago
borja (aider) 1b89c845ef fix: Correct static method binding in webhook handler 12 months ago