Commit Graph

  • 90fc363293 refactor: reduce mocks in server tests using real DB and simulated queue borja 2025-09-05 15:35:01 +0200
  • e33fb646f1 test: actualizar tests para validación de grupos borja 2025-09-05 13:51:01 +0200
  • 206949aabe feat: agregar verificación de grupos activos borja 2025-09-05 13:49:40 +0200
  • e03121be89 docs: actualizar estado del proyecto y próximos pasos borja 2025-09-05 13:44:26 +0200
  • 3b27558eed test: actualizar expectativas de pruebas para CommandService borja 2025-09-05 13:42:30 +0200
  • baf3590f32 fix: ajustar tests para ID normalizado y quitar test problemático borja 2025-09-05 13:41:42 +0200
  • 74b0b0d125 test: agregar tests de integración para validación de usuarios borja 2025-09-05 13:35:50 +0200
  • d6604dfb2f feat: integrar validación de usuarios en procesamiento de mensajes borja 2025-09-05 13:32:43 +0200
  • c248012a97 docs: actualizar estado del proyecto en README y STATUS borja 2025-09-05 13:22:51 +0200
  • 048bd4f80b fix: arregla test de validación de ID de usuario inválido borja 2025-09-05 13:20:08 +0200
  • 93bbd923ae fix: inyectar base de datos de prueba en WebhookServer para tests unitarios borja 2025-09-05 13:15:28 +0200
  • 37f3594117 test: arreglar inicialización de DB en tests de servidor borja 2025-09-05 13:07:23 +0200
  • 7462e3c5bd fix: agregar mock a importaciones en server.test.ts borja 2025-09-05 12:41:32 +0200
  • e2e9a4ccdb test: usar DB real en tests de validación de usuario borja 2025-09-05 12:38:23 +0200
  • 536076d8f9 refactor: refactorizar mocks de validación de usuario para aislamiento local borja 2025-09-05 11:53:52 +0200
  • d898cd2500 fix: arreglar mocking en tests de validación de usuario borja 2025-09-05 11:39:26 +0200
  • 1846491c07 fix: hacer beforeEach asíncrono en tests de servidor para permitir await import borja 2025-09-05 11:35:29 +0200
  • a4ee9155e5 test: agregar pruebas para validación de usuario en servidor borja 2025-09-05 11:32:15 +0200
  • d97db3507d feat: integrar verificación de existencia de usuario en manejo de mensajes borja 2025-09-05 11:13:15 +0200
  • de90e6d6c3 test: añadir pruebas para manejo de ID de remitente borja 2025-09-05 11:07:31 +0200
  • 02f931e055 feat: Añadir normalización del ID del remitente borja 2025-09-05 11:06:36 +0200
  • 4e96c71910 docs: actualizar README y STATUS con estado actual de desarrollo borja 2025-09-05 11:02:21 +0200
  • 48af9ff07d fix: corregir test de sincronización de grupos para WHATSAPP_COMMUNITY_ID faltante borja 2025-09-05 10:54:08 +0200
  • 015204f1cc fix: manejar error EEXIST al crear directorio data borja (aider) 2025-06-20 16:42:42 +0200
  • aed544690f feat: mover base de datos a carpeta data borja 2025-06-20 16:41:13 +0200
  • 5fce8e72e9 feat: mover base de datos a carpeta data borja (aider) 2025-06-20 16:40:13 +0200
  • 6e4720d7cd debug: añade logging temporal para diagnóstico de sincronización borja (aider) 2025-06-20 16:32:40 +0200
  • ff0923f3cb fix: maneja WHATSAPP_COMMUNITY_ID no definido mostrando comunidades borja (aider) 2025-06-20 16:13:04 +0200
  • e59ce7319e feat: Muestra IDs de comunidades disponibles cuando WHATSAPP_COMMUNITY_ID no está definido borja (aider) 2025-06-20 16:10:14 +0200
  • a850630da0 añado 100 segundos de delay en startup porque si no no me da tiempo a trastear, quiero ver si encuentro la comunidad adecuada en la db borja 2025-06-19 11:50:53 +0200
  • 3cbfd2a309 actualiza status con commit supuestamente correcto borja 2025-06-19 11:30:31 +0200
  • 9bc46551d5 fix: Pasa instancia de db correctamente a initializeDatabase borja (aider) 2025-06-19 10:24:39 +0200
  • 1e8977e654 docs: añade documento de estado del proyecto borja (aider) 2025-06-19 10:16:13 +0200
  • a57582d739 docs: update README with current project status borja (aider) 2025-05-05 18:40:33 +0200
  • d0f8442e65 fix: use strftime for millisecond timestamp precision in SQLite borja (aider) 2025-05-05 15:11:14 +0200
  • d3fd7f144d test: compare timestamps numerically in ensureUserExists last_seen test borja (aider) 2025-05-05 15:10:06 +0200
  • fbf76036f5 feat: implement ensureUserExists, add foreign keys and tests borja (aider) 2025-05-05 15:08:35 +0200
  • 3309385348 test: add unit tests for whatsapp utils borja (aider) 2025-05-05 15:06:42 +0200
  • be653f0355 feat: add WhatsApp ID normalization utility borja (aider) 2025-05-05 15:06:02 +0200
  • 5f457097b5 docs: Update README with current status and development plan borja (aider) 2025-05-05 14:58:55 +0200
  • dd32a3dd11 test: use in-memory database for tests borja (aider) 2025-05-05 14:52:38 +0200
  • 0ecd0a6f8e docs: restructure README with architecture, security model, and roadmap ALL TESTS PASS borja (aider) 2025-05-05 12:37:08 +0200
  • 17437c6e28 feat: improve command parsing to handle multiple dates and invalid date formats borja (aider) 2025-05-05 12:16:43 +0200
  • b0f5a83b44 fix: update test to use dynamic dates instead of hardcoded ones borja (aider) 2025-05-02 17:04:22 +0200
  • 0477530757 fix: properly extract dates and count mentions in /tarea command borja (aider) 2025-05-02 16:49:55 +0200
  • 60ed1d1f82 fix: update test expectations for command logging borja (aider) 2025-05-02 16:46:15 +0200
  • d232e8db5f fix: skip debug logs in test environment borja (aider) 2025-05-02 16:44:13 +0200
  • 0b42d5923a fix: update test to expect 3 console.log calls for command logging borja (aider) 2025-05-02 16:00:43 +0200
  • cf6526661f añade un todo borja 2025-04-08 23:55:40 +0200
  • c102ad38f5 remove done items from readme borja 2025-03-31 20:51:17 +0200
  • b3a76dfd8e actualiza el README.md para limpiar de cosas que no necesito y dejarlo con lo más importante que viene ahora borja 2025-03-31 14:35:13 +0200
  • a1491cdb5a test: add duplicate user ID constraint test borja (aider) 2025-03-31 14:20:01 +0200
  • 56e3486a84 refactor: reorganize database tests into logical groups with descriptive names borja (aider) 2025-03-31 14:08:10 +0200
  • 284e35b0eb feat: update database schema for user tracking borja (aider) 2025-03-31 14:02:58 +0200
  • b00fa4ac23 test: update db tests for new schema with users table borja (aider) 2025-03-31 14:01:11 +0200
  • 3b8f8552f8 docs: Add future steps for user verification system design borja (aider) 2025-03-31 02:00:47 +0200
  • 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 borja 2025-03-31 01:33:44 +0200
  • e762a7c840 docs: document EvolutionGroup type with API response format borja (aider) 2025-03-30 16:45:29 +0200
  • 98fbd3df6a fix: update group sync test to match error message format borja (aider) 2025-03-30 16:41:04 +0200
  • 43bd5080ea fix: update group sync tests to use proper Response mocks borja (aider) 2025-03-30 16:39:54 +0200
  • 50133ecb9a feat: handle direct array response in group sync API borja (aider) 2025-03-30 16:35:23 +0200
  • 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 borja 2025-03-30 16:27:14 +0200
  • 3bf5e33763 fuerzo http/2 a ver si así rula borja 2025-03-30 16:20:54 +0200
  • 7c8143d9c3 aumenta el tiempo de espera al fetchAllGroups hasta algo más de 5 minutos a ver si el problema es ese u otro borja 2025-03-30 14:26:17 +0200
  • ae8e3fad2b feat: add detailed logging for group sync API calls borja (aider) 2025-03-30 14:23:24 +0200
  • 67bd0a3f94 feat: initialize database before starting server borja (aider) 2025-03-30 14:15:30 +0200
  • a2487e5c2f feat: add initial group sync check at startup borja (aider) 2025-03-30 14:11:25 +0200
  • 081ed51bab añado la variable de cuanto tiempo entre api calls de fetchAllGroups borja 2025-03-30 00:17:03 +0100
  • 6832192d93 docs: Improve sync interval documentation and logging borja (aider) 2025-03-30 00:13:30 +0100
  • 73fdf950dd feat: make group sync interval configurable via env var borja (aider) 2025-03-30 00:10:38 +0100
  • ed7b209c1b fix: update last_verified when marking groups inactive borja (aider) 2025-03-30 00:03:34 +0100
  • 98a01dad19 fix: properly commit group sync transactions and update counts borja (aider) 2025-03-30 00:01:48 +0100
  • 1ade146a3b feat: Add error handling and logging to group sync service borja (aider) 2025-03-29 23:59:25 +0100
  • 7778a5f366 fix: reset database sequences in group sync tests borja (aider) 2025-03-29 23:57:22 +0100
  • df6d9926af test: fix group sync test by resetting lastSyncAttempt and improving assertions borja (aider) 2025-03-29 23:54:06 +0100
  • 89c4b27897 test: fix group sync test by mocking console.error borja (aider) 2025-03-29 23:52:33 +0100
  • 1d29fedc18 Based on the diffs, here's the concise commit message: borja (aider) 2025-03-29 23:48:47 +0100
  • ff82f62659 test: fix group sync test mocks to match API format borja (aider) 2025-03-29 23:46:31 +0100
  • 99b4845a8f fix: correct group sync test mocks and assertions borja (aider) 2025-03-29 23:45:33 +0100
  • 936a864a9e fix: correct test setup and cleanup in group-sync tests borja (aider) 2025-03-29 22:25:07 +0100
  • 86de177b94 fix: correct fetch mocking in group-sync tests borja (aider) 2025-03-29 22:24:20 +0100
  • 7cef5448c4 fix: correct import paths and env mocking in group-sync tests borja (aider) 2025-03-29 22:23:39 +0100
  • d4869aa178 fix: resolve module import paths in group-sync tests borja (aider) 2025-03-29 22:22:44 +0100
  • 7b9f9f2478 fix: correct test import paths and improve mocks borja (aider) 2025-03-29 22:21:56 +0100
  • 3be7783aa8 test: add bun tests for group-sync service borja (aider) 2025-03-29 22:21:11 +0100
  • 4644e7a588 feat: add group sync service with API integration borja (aider) 2025-03-29 22:19:01 +0100
  • 8302db6bca creo un .env.example borja 2025-03-29 22:17:57 +0100
  • 1ef8ac55c7 feat: add active column to groups table with default true borja (aider) 2025-03-29 22:14:20 +0100
  • c9c990b815 feat: Add last_verified timestamp to groups table borja (aider) 2025-03-29 21:26:42 +0100
  • 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 borja 2025-03-29 13:54:07 +0100
  • 3d87aead2c simplifica un poco los logs para que no sean tan pesados de parsear borja 2025-03-29 00:32:10 +0100
  • 4bc78f476c test: update command test context with createdBy field borja (aider) 2025-03-28 16:57:05 +0100
  • 8c08ec763c feat: add created_by field to Task interface borja (aider) 2025-03-28 16:55:53 +0100
  • 1b89c845ef fix: Correct static method binding in webhook handler borja (aider) 2025-03-28 16:36:20 +0100
  • 57efb00929 fix: make handleMessageUpsert static to fix webhook processing borja (aider) 2025-03-28 16:34:31 +0100
  • 2cb368b711 fix: correct test assertions and mention handling in webhook server borja (aider) 2025-03-28 16:30:09 +0100
  • c8b4b5592b fix: update test assertions for command logging borja (aider) 2025-03-28 16:27:52 +0100
  • 27ffa8cdae fix: update test expectations to match actual logging format borja (aider) 2025-03-28 16:26:40 +0100
  • 869c695d0a feat: Update /tarea command parsing to use action-first format borja (aider) 2025-03-28 16:25:33 +0100
  • b1449bb80b fix: update test expectations to match new logging format borja (aider) 2025-03-28 16:21:31 +0100