Commit Graph

2379 Commits

Author SHA1 Message Date
ricael
24c339343f fix: ajustar a manipulação do remoteJid na mensagem do serviço WhatsApp para garantir a utilização da chave alternativa quando disponível 2025-09-17 17:41:07 -03:00
ricael
20c8a2ff0e Merge branch 'fix/business_api' into fix/evolution_baileys_7 2025-09-17 08:18:20 -03:00
ricael
e623269a18 fix: ajustar o tratamento da chave de mídia na mensagem do serviço WhatsApp para usar Uint8Array 2025-09-17 08:13:33 -03:00
ricael
0363fa979d improv 2025-09-16 13:35:06 -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
ricaelchiquetti
f72b1f7717
Merge branch 'EvolutionAPI:main' into fix/business_api 2025-09-11 11:10:41 -03:00
ricael
06081f6502 fix: adicionado tratamento para evitar envio de filename e caption em mensagens de vídeo e áudio no BusinessStartupService 2025-09-10 16:59:04 -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
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
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
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
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
Davidson Gomes
2513f96178 chore: bump version to 2.3.2 in package.json and package-lock.json
Some checks failed
Build Docker image / Build and Deploy (push) Has been cancelled
2025-09-02 13:33:34 -03:00
Davidson Gomes
70a2c18146 Merge branch 'release/2.3.2' 2025-09-02 10:53:10 -03:00
Davidson Gomes
b8953f1431 chore: update CHANGELOG for version 2.3.2
- Added support for socks proxy.
- Included key id in webhook payload for n8n service.
- Enhanced RabbitMQ controller with improved connection management and shutdown procedures.
- Converted outgoing images to JPEG format before sending with Chatwoot.
- Updated baileys dependency to version 6.7.19.
2025-09-02 10:53:00 -03:00
Davidson Gomes
a91a4ad19c
Merge pull request #1889 from codingbox2022/main
Some checks failed
Build Docker image / Build and Deploy (push) Has been cancelled
update version
2025-09-01 11:00:37 -03:00
Davidson Gomes
00ba227e15 chore: update baileys dependency to version 6.7.19 2025-09-01 10:43:12 -03:00
codingbox2022
c02d37028b
Merge branch 'main' into main 2025-08-29 22:08:52 -05:00
Davidson Gomes
14771ab84e
Merge pull request #1851 from caiquezanetoni/patch-1
Some checks failed
Build Docker image / Build and Deploy (push) Has been cancelled
Update 20250116001415_add_wavoip_token_to_settings_table
2025-08-29 07:17:02 -03:00
Davidson Gomes
20352e77ef
Merge pull request #1878 from LuisSantosJS/reconnect-rabbitmq
Reconnect rabbitmq
2025-08-29 07:16:13 -03:00
Davidson Gomes
78f7618d04
Merge pull request #1884 from nestordavalos/feat/whatsapp/convert-to-jpeg
Feat/whatsapp/convert-to-jpeg
2025-08-29 07:14:56 -03:00
nestordavalos
57b19d85d5 feat(whatsapp): Convert outgoing images to JPEG before sending
All images sent via the Baileys integration are now pre-processed and converted to JPEG format using the `sharp` library. This ensures better compatibility and prevents potential issues with unsupported formats.

- Images from URLs are now downloaded via axios before processing, which allows for the use of a proxy.
- The default filename and mimetype are updated to `image.jpg` and `image/jpeg` to reflect the conversion.
2025-08-28 00:17:15 -03:00
luissantosjs
b325500310 improve rabbit controller 2025-08-26 19:15:59 +01:00
luissantosjs
4681576cfc up 2025-08-22 22:49:40 +01:00
luissantosjs
7a99fba556 feat: enhance RabbitMQ controller with improved connection management and shutdown procedures 2025-08-20 12:29:45 +01:00
Caíque Zanetoni Fim
6e652d6ea2
Update migration.sql 2025-08-18 08:43:21 -03:00
Davidson Gomes
33a922995b
Merge pull request #1838 from bilaliqbalr/patch-2
Some checks failed
Build Docker image / Build and Deploy (push) Has been cancelled
Added key id into webhook payload in n8n service
2025-08-15 12:49:10 -03:00