Commit graph dienst_echo_whatsappgroep/src
Author SHA1 Message Date
Eddy de Vink
be3dde4908 feat(ack): operational loglines voor ack-loop zichtbaarheid 2026-09-24 22:10:37 +02:00
Eddy de Vink
7b4e307438 feat: ack-tracking voor ghost-send detectie (message_ack) 2026-09-24 22:08:36 +02:00
Eddy de Vink
1d5a233f68 feat: server-state baseline (Appium-fallback, event-dedupe, retry-semantics, webhook-reg, unlimited-limit) 2026-09-24 22:07:14 +02:00
Eddy de Vink
c97d662856 Accept 5-digit dienst numbers and normalize lookup type 2026-09-14 15:06:34 +02:00
Eddy de Vink
bd8b5a5a66 feat: use canonical diensten root 2026-08-17 19:59:17 +02:00
Eddy de Vink
b3178ef3f2 fix: remove pinnedMessageService, fix port 3000→3001 in .env.example, annotate specs 2026-07-17 12:06:12 +02:00
Eddy de Vink
f03da1c541 fix: dienst-bot startup notification via Telegram, fix first health check no-op 2026-07-12 13:46:49 +02:00
Eddy de Vink
92289adc03 feat: add Telegram watchdog as backup notification channel
- New src/telegramBot.js: separate process for health checks + Telegram notifications
- Updated src/whatsappApi.js notifyAdmin(): falls back to Telegram when WhatsApp API is down
- Updated .env.example with TELEGRAM_* configuration variables
- Design doc and implementation plan
2026-07-12 13:34:04 +02:00
Eddy de Vink
2be27f70f1 Resilience: retry logic, graceful shutdown, SO_REUSEADDR, LoadDaemon ThrottleInterval
- whatsappApi.js: exponential backoff (3 retries) voor 5xx en connectiefouten op sendTextMessage en sendImageMessage
- index.js: SO_REUSEADDR port binding, EADDRINUSE retry, graceful shutdown (SIGTERM/SIGINT)
- README.md: documentatie resilience maatregelen bijgewerkt
- LoadDaemon plist: ThrottleInterval=10 tegen restart-loops
2026-06-17 12:40:43 +02:00
Eddy de Vink
e4d817ff80 refactor: switch to dedicated group, remove @mention requirement, add pinned message service
- Change ALLOWED_GROUP to Dienst opvragen EdGPT-EBS (120363407613652082@g.us)
- Remove isBotMentioned check (no @mention needed)
- Match only exact 4-digit messages (regex /^\s*(\d{4})\s*$/)
- Add pinnedMessageService.js: auto-repins welcome message when expired
- Move incrementDaily() to count all 4-digit messages, not just successful ones
- Update daily summary with emoji
- Update docs and .env.example
2026-05-26 09:20:49 +02:00
Eddy
2dabcf0a8e feat: add node-cron daily summary job at 10:00 2026-05-12 22:49:07 +02:00
Eddy
f7bc98eaed feat: integrate dailyStats counter into message handler 2026-05-12 22:49:07 +02:00
Eddy
64e239b368 feat: add dailyStats module for tracking daily request totals 2026-05-12 22:49:07 +02:00
Eddy
3d933c96a6 feat: integrate rate limiter into message handler 2026-05-11 20:07:07 +02:00
Eddy
52c51fbf3f feat: add rate limiter module 2026-05-11 20:02:16 +02:00
Eddy
a9459a16be feat: add README, .env.example, fix mention detection with spaces, add diensten to .gitignore 2026-05-11 19:38:11 +02:00
Eddy
3e6b33f103 feat: add core modules - dienstService, whatsappApi, messageHandler, webhook server 2026-05-11 18:52:50 +02:00