241 Commits (5f8b494a7fb9b20e86c113e0c81b4b60a88b56f8)

Author SHA1 Message Date
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