Davidson Gomes
cea1fa0979
Merge pull request #2247 from msantosjader/fix/postgres-chat-constraint
...
fix(prisma): add unique constraint to Chat model in Postgres
2025-12-05 10:59:22 -03:00
Davidson Gomes
38be0b49d9
Merge pull request #2280 from micaelmz/feature/wildcard-for-websocket-allowed-hosts
...
feat: add wildcard "*" to allow all hosts to connect via websocket
2025-12-05 10:59:03 -03:00
Davidson Gomes
3864366e75
Merge pull request #2273 from kay0ramon/fix/minio-messagecontextinfo-upload-error
...
fix: handle messageContextInfo in media upload to prevent MinIO errors
2025-12-05 10:57:55 -03:00
Davidson Gomes
2756d7e61c
Merge pull request #2264 from lucascampuus/patch-1
...
Fix Typebot message routing for @lid JIDs
2025-12-05 10:57:31 -03:00
Davidson Gomes
bb36bfe424
Merge pull request #2249 from rodps/fix/fetch-messages-jid
...
fix: unify remoteJid filtering using OR with remoteJidAlt
2025-12-05 10:55:50 -03:00
Davidson Gomes
6277c5d084
Merge branch 'develop' into patch-1
2025-12-05 10:55:05 -03:00
Davidson Gomes
b1d77019f5
Merge pull request #2275 from Vitordotpy/fix/all-wrong-things-in-this-api
...
Fix: @lid problems, messages events and chatwoot integration errors
2025-12-05 10:51:49 -03:00
Davidson Gomes
8d5c7d875e
Merge pull request #2240 from JefersonRamos/bugfix/media-upload-failed-on-all-hosts
...
Bugfix/media upload failed on all hosts
2025-12-05 10:48:04 -03:00
micaelmz
abd0351f8f
feat: add wildcard "*" to allow all hosts to connect via websocket
2025-12-02 18:01:19 -03:00
Vitordotpy
c7a2aa51ee
fix: reorganize imports and improve message handling in BaileysStartupService
2025-11-30 19:56:03 -03:00
Vitor Manoel Santos Moura
bbf60e30b0
Refactor imports and clean up code structure
2025-11-30 18:51:34 -03:00
Vitor Manoel Santos Moura
2408384b0f
Refactor message handling and polling updates
...
Refactor message handling and polling updates, including decryption logic for poll votes and cache management for message updates. Improved event processing flow and added handling for various message types.
2025-11-30 00:25:17 -03:00
Vitordotpy
250ddd2e89
fix(chatwoot): improve jid normalization and type safety in chatwoot integration
...
Refactor to preserve LID identifiers and update parameter type for better type safety as per code review feedback.
2025-11-28 21:28:45 -03:00
Vitordotpy
bee309cd28
fix: streamline message handling logic and improve cache management in BaileysStartupService
2025-11-28 21:14:19 -03:00
Vitordotpy
92c2ace7bc
fix: enhance remoteJid processing to handle '@lid' cases
2025-11-28 19:03:24 -03:00
Vitordotpy
faed3f4574
fix: improve error handling for existing contacts and simplify remoteJid processing
2025-11-28 16:32:06 -03:00
Vitordotpy
baff4e8f5e
fix: update remoteJid handling to avoid unnecessary splitting for message number
2025-11-28 16:18:33 -03:00
Kayo Ramon Oliveira
1c3a7ab027
fix: handle messageContextInfo in media upload to prevent MinIO errors
2025-11-28 15:59:09 -03:00
Lucas Luiz Campos
338cc93cfc
Fix Typebot message routing for @lid JIDs
...
O Typebot não respondia mensagens vindas de JIDs que terminam com "@lid", apenas "@s.whatsapp.net".
O comportamento ocorria porque o número era sempre extraído via:
remoteJid.split('@')[0]
Com a atualização do WhatsApp Web, algumas mensagens de mídia chegam com JID "@lid", e nesses casos o JID completo precisa ser mantido.
Ajuste realizado:
ANTES:
number: remoteJid.split('@')[0]
DEPOIS:
number: remoteJid.includes('@lid') ? remoteJid : remoteJid.split('@')[0]
Com essa condição, mensagens vindas de ambos os formatos passam a ser tratadas corretamente pelo Typebot.
2025-11-27 09:31:40 -03:00
Jeferson Ramos
5c58cb7eae
lint
2025-11-24 14:19:48 -03:00
Jeferson Ramos
879bee962b
lint
2025-11-24 14:17:27 -03:00
Jeferson Ramos
af47b859e4
socks5 update
2025-11-24 13:59:50 -03:00
Jeferson Ramos
1c61116a3e
Merge remote-tracking branch 'upstream/develop' into bugfix/media-upload-failed-on-all-hosts
...
# Conflicts:
# package-lock.json
# src/utils/makeProxyAgent.ts
2025-11-24 13:58:25 -03:00
Davidson Gomes
13f96a366b
chore(dependencies): update baileys and AWS SDK packages to latest versions
...
Check Code Quality / check-lint-and-build (push) Has been cancelled
Build Docker image / Build and Deploy (push) Has been cancelled
Security Scan / CodeQL Analysis (javascript) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
- Upgraded baileys to version 7.0.0-rc.9 in package.json and package-lock.json.
- Updated AWS SDK packages to version 3.936.0 for improved functionality and compatibility.
- Adjusted various dependencies to ensure stability and performance enhancements.
2025-11-24 12:02:09 -03:00
Rodrigo da Silva
302e219f7f
fix: unify remoteJid filtering using OR with remoteJidAlt
2025-11-23 18:46:06 -03:00
Jader Santos
1e036ba3ae
fix(migration): add deduplication step before creating index
2025-11-21 22:09:15 -03:00
Jader Santos
377993e4b0
fix(prisma): add unique constraint to Chat model in Postgres
...
Generated migration to add unique index on instanceId and remoteJid.
2025-11-21 21:40:27 -03:00
Davidson Gomes
689f347457
Merge pull request #2241 from victoreduardo/evo/main
...
Check Code Quality / check-lint-and-build (push) Has been cancelled
Build Docker image / Build and Deploy (push) Has been cancelled
Security Scan / CodeQL Analysis (javascript) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
Fix: Using all IPs including x-forwarded-for when checking if the requester has access to metrics
2025-11-19 17:47:10 -03:00
Davidson Gomes
7743063439
Merge pull request #2220 from victoreduardo/evo/feature-pix
...
feature: handle with interactive button message for pix
2025-11-19 17:45:02 -03:00
Davidson Gomes
f5e43a3b3f
chore(dependencies): update baileys and AWS SDK packages
...
Check Code Quality / check-lint-and-build (push) Waiting to run
Build Docker image / Build and Deploy (push) Waiting to run
Security Scan / CodeQL Analysis (javascript) (push) Waiting to run
Security Scan / Dependency Review (push) Waiting to run
- Updated baileys to version 7.0.0-rc.8 in package.json and package-lock.json.
- Downgraded AWS SDK packages to specific versions for compatibility.
- Adjusted various dependencies to maintain stability and performance.
2025-11-19 16:52:33 -03:00
Jeferson Ramos
ea88edd512
socks
2025-11-19 16:51:59 -03:00
Victor Eduardo
e6a9ed92ce
Fix: Using all IPs including x-forwarded-for when checking if the requester has access to metrics
2025-11-19 16:20:54 -03:00
Victor Eduardo
8707520a3e
lint
2025-11-19 16:12:16 -03:00
Jeferson Ramos
d3e3c458a0
lint
2025-11-19 14:09:07 -03:00
Jeferson Ramos
067f0999b5
lint
2025-11-19 14:07:23 -03:00
Jeferson Ramos
179af3f41c
lint
2025-11-19 14:02:52 -03:00
Jeferson Ramos
31a6f2d92e
;
2025-11-19 14:00:17 -03:00
Jeferson Ramos
dc72f01625
Merge remote-tracking branch 'upstream/main' into bugfix/media-upload-failed-on-all-hosts
2025-11-19 13:34:47 -03:00
Jeferson Ramos
3b139078c3
Removendo uso do undici com proxy socks
2025-11-19 13:34:33 -03:00
Davidson Gomes
73fb376602
Merge pull request #2219 from victoreduardo/evo/main
...
Security Scan / CodeQL Analysis (javascript) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
Check Code Quality / check-lint-and-build (push) Has been cancelled
Build Docker image / Build and Deploy (push) Has been cancelled
Fix: Chatwoot service fails when processing read message
2025-11-13 14:03:09 -03:00
Victor Eduardo
27633aad53
feature: handle with interactive button message for pix
2025-11-13 09:47:53 -03:00
Victor Eduardo
06543e89e5
fix: await chatwootRequest in update_last_seen method for proper asynchronous handling
2025-11-12 22:47:05 -03:00
Davidson Gomes
90640b7cee
Merge pull request #2203 from RaFaeL-Cunha/patch-1
...
Check Code Quality / check-lint-and-build (push) Has been cancelled
Build Docker image / Build and Deploy (push) Has been cancelled
Security Scan / CodeQL Analysis (javascript) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
fix(chatwoot): corrige erro de duplicação na importação de contatos
2025-11-11 08:45:00 -03:00
Rafael Freire Cunha
da8774caa2
fix(chatwoot): corrige erro de duplicação na importação de contatos
...
Resolve o erro 'ON CONFLICT DO UPDATE command cannot affect row a second time' que ocorria ao importar histórico de contatos duplicados.
A correção remove a tentativa de atualizar o campo 'identifier' no ON CONFLICT, já que este campo faz parte da constraint de conflito e não pode ser atualizado.
Erro original:
- identifier = EXCLUDED.identifier
Correção:
- updated_at = NOW()
Isso permite que contatos duplicados sejam atualizados corretamente sem causar erro.
2025-11-09 14:56:53 -04:00
Davidson Gomes
4ae3139163
chore(changelog): update to version 2.3.7 with new features and fixes
...
Check Code Quality / check-lint-and-build (push) Has been cancelled
Build Docker image / Build and Deploy (push) Has been cancelled
Security Scan / CodeQL Analysis (javascript) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
- Added update and delete endpoints for WhatsApp Business Meta templates.
- Fixed issues with incoming message events and authentication states after reconnection.
- Resolved unique constraint errors in OnWhatsapp cache and optimized database writes.
- Improved proxy integration for media uploads and fixed handling of base64, filename, and caption in the WhatsApp Business API.
- Enhanced chat service reliability and contact filtering capabilities.
- Made multiple integration improvements between Chatwoot and Baileys.
- Refactored code for better quality and consistency.
2025-11-07 14:45:38 -03:00
Davidson Gomes
f4043a9141
fix(whatsapp-cache): improve error logging in save function
...
Updated the error handling in the saveOnWhatsappCache function to log the error message separately, improving clarity on issues encountered during item processing.
2025-11-07 14:41:40 -03:00
Davidson Gomes
139ad9b3cb
Merge pull request #2186 from muriloleal13/fix/baileys-message-processor-reconnection
...
fix(baileys): resolve incoming message events not working after reconnection
2025-11-07 14:39:26 -03:00
Davidson Gomes
fca39a2b34
Merge pull request #2191 from JefersonRamos/bugfix/waiting-for-message
...
Durante o processo de logout de uma instância, as chaves associadas a…
2025-11-07 14:38:36 -03:00
Davidson Gomes
1e3a23588e
Merge pull request #2163 from ricaelchiquetti/feat/update_delete_meta_templates
...
Feat/update and delete meta templates
2025-11-07 14:36:14 -03:00
Davidson Gomes
27be03ea95
Merge pull request #2162 from moothz/fix/saveOnWhatsappCache-remoteJid-failed-constraint
...
fix: Erro ao enviar mensagem para grupos (remoteJid failed constraint)
2025-11-07 14:35:23 -03:00