Commit Graph

2498 Commits

Author SHA1 Message Date
Davidson Gomes
e75dae38ee
Merge pull request #1947 from elizandropacheco/feat/prometheus-metrics
Feat/prometheus metrics
2025-09-17 14:25:22 -03:00
Davidson Gomes
1fabb1f3bd
Merge pull request #1951 from Nocelli/develop
feat: add extra fields to object sent to Flowise bot
2025-09-17 14:23:52 -03:00
Elizandro Pacheco
edfcb0c082 style(metrics): linted index.router.ts after eslint --fix 2025-09-17 12:05:30 -03:00
Davidson Gomes
827604644b
Merge pull request #1918 from ricaelchiquetti/main
feat: implement standardized error handling for WhatsApp API responses
2025-09-17 11:40:23 -03:00
Rafael Nocelli Soares
481e179cc5
feat: add extra fields to object sent to Flowise bot 2025-09-17 10:49:13 -03:00
Davidson Gomes
5a39f1ae49
Merge pull request #1948 from furious/fix/download-media-bad-decrypt
fix: convert mediaKey from media messages to avoid bad decrypt errors
2025-09-17 08:52:50 -03:00
ricael
4378c33f42 Merge branch 'develop' into main_ 2025-09-17 08:51:16 -03:00
ricael
ab4bec3b54 Merge branch 'develop' into main 2025-09-17 08:50:39 -03:00
furious
3eeffe4586 fix: convert mediaKey from media messages to avoid bad decrypt errors 2025-09-16 23:02:36 -03:00
Elizandro Pacheco
0e737d48c1 chore(metrics): use 'unknown' as fallback for clientName label 2025-09-16 19:40:21 -03:00
Elizandro Pacheco
a3223ec890 chore: local compose/image tweaks for testing metrics (not part of PR) 2025-09-16 19:35:23 -03:00
Elizandro Pacheco
875b874a7b feat: add Prometheus-compatible /metrics endpoint (gated by PROMETHEUS_METRICS) 2025-09-16 19:35:23 -03:00
Davidson Gomes
486645fb08 chore: update Baileys dependency to version 7.0.0-rc.3 and improve message key handling in WhatsApp service
Some checks failed
Build Docker image / Build and Deploy (push) Has been cancelled
2025-09-15 16:21:33 -03:00
Davidson Gomes
bfe7030fab docs: add CLAUDE.md for development guidance and project architecture overview 2025-09-10 13:07:41 -03:00
Davidson Gomes
1320ec8d4f chore: update Baileys dependency to version 7.0.0-rc.2 in package-lock.json
Some checks failed
Build Docker image / Build and Deploy (push) Has been cancelled
2025-09-10 10:56:15 -03:00
Davidson Gomes
d31d6fa554 refactor: replace JSON path queries with raw SQL in Baileys and Chatwoot services to improve message retrieval and update logic
Some checks are pending
Build Docker image / Build and Deploy (push) Waiting to run
2025-09-09 16:18:15 -03:00
Davidson Gomes
edbf36019e
Merge pull request #1929 from moothz/main
Customizable Websockets Security
2025-09-09 16:06:31 -03:00
moothz
d67eb3202b Fix lint 2025-09-09 15:46:26 -03:00
moothz
0aa6c96765 Customizable Websockets Security
Enables the option to specify safe remote addresses using WEBSOCKET_ALLOWED_HOSTS enviroment variables. Defaults to the secure only localhost.
2025-09-09 14:56:11 -03:00
Davidson Gomes
8619e320bc
Merge pull request #1928 from josiasmaceda/hotfix/chatbot-not-return-after-human
fix: allowing the chatbot return after the time expires and after human interaction (stopBotFromMe)
2025-09-09 14:33:20 -03:00
Davidson Gomes
5015cfbc9d
Merge pull request #1927 from josiasmaceda/hotfix/change-typebot-status-webhook
fix: integrate Typebot status change events for webhook in chatbot controller e service
2025-09-09 14:31:57 -03:00
Josias Maceda
cf548eedbe fix: lint with npm run lint 2025-09-09 14:19:54 -03:00
Josias Maceda
b9ae40145d fix: the lint with npm run lint 2025-09-09 14:15:16 -03:00
Josias Maceda
bc9724a929 fix: remove abort process when status is paused, allowing the chatbot return after the time expires and after being paused due to human interaction (stopBotFromMe) 2025-09-09 13:54:53 -03:00
Davidson Gomes
21502b996d fix: enhance message content sanitization in Baileys service and improve message retrieval logic in Chatwoot service 2025-09-09 12:50:51 -03:00
Davidson Gomes
d9c04fc866
Merge pull request #1906 from andres99x/enhancmenet/check-chatwoot-cron-id
fix: Prevent Duplicate Cron Jobs for Chatwoot Message Sync
2025-09-09 12:20:27 -03:00
Davidson Gomes
d6a76a096d
Merge pull request #1908 from dersonbsb2022/main
feat: implement disable/enable linkPreview support for Evolution Bot
2025-09-09 12:19:57 -03:00
Josias Maceda
0116bc4c9f fix: integrate Typebot status change events for webhook in chatbot controller and service 2025-09-09 11:49:13 -03:00
Davidson Gomes
6da79f0313 chore: update CHANGELOG for Baileys v7.0.0-rc.2 and implement message content sanitization in Baileys service
Some checks are pending
Build Docker image / Build and Deploy (push) Waiting to run
2025-09-08 19:53:52 -03:00
Davidson Gomes
8830f476e8 chore: bump version to 2.3.3 in package-lock.json and update remoteJid handling in Baileys service
Some checks are pending
Build Docker image / Build and Deploy (push) Waiting to run
2025-09-08 15:48:38 -03:00
Davidson Gomes
e864b18561 chore: update .gitignore to include 'Baileys' directory 2025-09-08 15:33:54 -03:00
Davidson Gomes
9cb703a427
Merge pull request #1919 from EvolutionAPI/revert-1732-testmsg
Revert "Ignore events that are not messages (like EPHEMERAL_SYNC_RESPONSE)"
2025-09-08 14:49:20 -03:00
ricael
05fcdd9ffc refactor: melhora na formatação do log de erro da API do WhatsApp 2025-09-08 14:45:33 -03:00
Davidson Gomes
3ecf288daf
Revert "Ignore events that are not messages (like EPHEMERAL_SYNC_RESPONSE)" 2025-09-08 14:45:29 -03:00
Davidson Gomes
3989ff928b chore: update CHANGELOG for version 2.3.3 and update baileys dependency to latest commit 2025-09-08 14:44:28 -03:00
ricael
16c0a8033f add stringify 2025-09-08 14:36:09 -03:00
ricael
79438c9445 refactor: lint fix 2025-09-08 09:11:45 -03:00
ricael
10a2c001ab feat: implement standardized error handling for WhatsApp API responses 2025-09-08 08:48:49 -03:00
Marlon Alves
7486d22ed1 feat/change variable messageGroupId 2025-09-05 07:18:07 -03:00
Anderson Silva
4f13a8ac28 style: clean up code formatting for linkPreview implementation
- Remove unnecessary trailing whitespace
- Use shorthand property syntax for linkPreview parameter
- Apply ESLint formatting standards
- Maintain code consistency and readability
2025-09-04 14:35:56 -03:00
Anderson Silva
1be58c8487 refactor: improve linkPreview implementation based on PR feedback
- Default linkPreview to true when not specified for backward compatibility
- Validate linkPreview is boolean before passing to textMessage
- Consolidate debug logs and remove sensitive data from logging
- Sanitize API keys in debug output ([REDACTED])
- Reduce log verbosity while maintaining debugging capability
- Ensure robust fallback behavior for malformed responses

Addresses PR feedback regarding:
- Backward compatibility preservation
- Security considerations in logging
- Input validation and error handling
2025-09-04 12:19:51 -03:00
Andres Pache
613d486fc2 stop tasks with missmatch cronId 2025-09-04 09:03:52 -03:00
Marlon Alves
025b183ebf feat/change variable GROUP_UPDATE to GROUPS_UPDATE 2025-09-04 03:18:35 -03:00
Anderson Silva
ceddace915 chore: remove documentation .md files
- Remove evolution-bot-documentation.md
- Remove evolution-bot-linkpreview-example.md
- Remove send-text-api-documentation.md
- Keep only the core linkPreview implementation
2025-09-03 19:59:24 -03:00
Anderson Silva
02b81beb7a feat: implement linkPreview support for Evolution Bot
- Add linkPreview extraction from webhook/n8n response
- Implement linkPreview parameter in textMessage calls
- Add debug logging for linkPreview functionality
- Support for disabling link previews when linkPreview: false
- Add comprehensive documentation for linkPreview feature

Usage:
- Return { "message": "text", "linkPreview": false } from webhook to disable preview
- Return { "message": "text", "linkPreview": true } from webhook to enable preview
- Omit linkPreview for default WhatsApp behavior
2025-09-03 16:08:15 -03:00
Andres Pache
43cc6d3608 check cronId before executing syncChatwootLostMessages 2025-09-03 12:16:00 -03:00
Marlon Alves
edb4fa3b3e feat/force MessageGroupId 2025-09-03 06:21:24 -03:00
Marlon Alves
17120e91a4 feat/force MessageGroupId 2025-09-03 05:57:18 -03:00
Marlon Alves
23cd6d2fd8 feat/force to save all evolution events in a single SQS queue 2025-09-02 17:44:44 -03:00
Davidson Gomes
c2085b59ea Merge branch 'release/2.3.2'
Some checks failed
Build Docker image / Build and Deploy (push) Has been cancelled
2025-09-02 13:33:39 -03:00