Guilherme Gomes
383805aa95
feat(whatsapp): enhance message fetching and processing logic
...
- Added a new method `fetchMessages` to retrieve messages based on various query parameters.
- Improved handling of `pushName` for messages, ensuring proper assignment based on participant information.
- Refactored user devices cache initialization for better readability.
- Cleaned up commented-out code related to message recovery.
2025-05-14 21:12:45 -03:00
Davidson Gomes
bb0b9b94ff
Merge branch 'develop' into main
2025-05-13 06:28:07 -03:00
luiis716
a449fdf0ef
Findchat group name treatment
2025-05-12 16:14:59 -03:00
Davidson Gomes
ec9de49647
Merge pull request #1435 from edisonmartinsmkt/fix/audio-caption-fallback
...
fix(chatwoot): only fallback audio caption when audioMessage exists
2025-05-10 19:14:41 -03:00
edisoncm-ti
a7a9de2903
fix: only fallback caption when audioMessage exists
2025-05-10 16:20:05 -03:00
Davidson Gomes
e6a72bd829
Merge pull request #1406 from Faelst/hotfix/issues-1385
...
fix: when you set jpegThumbnail, image not appear on app mobile
2025-05-10 13:07:06 -03:00
Davidson Gomes
341a0d884f
Merge pull request #1332 from theeusmartins/main
...
Defininando TTL no userDivicesCache igual usado no Baileys
2025-05-10 11:26:23 -03:00
edisoncm-ti
60a58ca037
fix: not show undefined in caption for received audio messages in group chats
2025-05-10 11:12:44 -03:00
Davidson Gomes
bff3bf564b
Merge pull request #1415 from victoreduardo/victoreduardos/fix-conversation-not-found
...
fix: Erro na criação de conversation quando já existe uma conversation de outro inbox para o mesmo usuário
2025-05-10 10:31:06 -03:00
Davidson Gomes
c74eee8e52
Merge pull request #1414 from onerrogus/fix_link_preview
...
Corrigir utilização do linkPreview no WhatsApp Business API
2025-05-10 10:30:54 -03:00
Davidson Gomes
d1a28ea4f7
Merge pull request #1318 from victoreduardo/victoreduardos/jwt-webhook
...
Tornando Webhook mais seguro com JWT token
2025-05-10 10:28:07 -03:00
edisoncm-ti
c4ddfe6804
style: fix linting issues with Prettier
2025-05-07 18:18:47 -03:00
edisoncm-ti
aaa103a842
fix(audio): ensure full WhatsApp compatibility for audio conversion (libopus, 48kHz, mono)
2025-05-07 13:41:09 -03:00
luiis716
d52256718d
Findchat group name treatment
...
ajusta para endpoint puxa o nome do grupo correntemente quando for grupo usando nomenclatura @g.us
2025-05-03 14:55:07 -03:00
Victor Eduardo
8f0ede4207
fix: preventing use conversation from other inbox for the same user
2025-05-03 09:56:28 -03:00
Victor Eduardo
95827a2d70
lint
2025-05-03 09:42:18 -03:00
Victor Eduardo
b064e512e2
Merge branch 'develop' into victoreduardos/jwt-webhook
2025-05-03 09:40:37 -03:00
OnerRogus
db5f0d0891
fix: corrigido erro que não exibia o preview das urls quando utilizado o whatsapp business api
2025-05-02 15:32:47 -03:00
Rafael Silverio
dc67039b39
fix: when you set jpegThumbnail, image not appear on app mobile
2025-04-29 14:54:42 -03:00
Leandro Santos Rocha
eeedfb0e2a
fetchContacts - nestordavalos
2025-04-22 16:12:47 -03:00
Leandro Santos Rocha
3ab75faff7
fix lint
2025-04-21 00:42:33 -03:00
Leandro Santos Rocha
095754d173
perf(api): otimiza paginação em fetchChats usando LIMIT/OFFSET no SQL
2025-04-21 00:38:25 -03:00
Leandro Rocha
b94b452597
fix(api): modifica fetchChats para trazer mensagens de contatos não salvos
...
- Muda tabela base da consulta de Contact para Message
- Altera INNER JOIN para LEFT JOIN entre Message e Contact
- Usa COALESCE para campos que podem estar vazios
- Adiciona flag isSaved para identificar contatos salvos/não salvos
- Preserva toda funcionalidade de filtros existente
Resolve issue #1376
2025-04-21 00:30:48 -03:00
pedro-php
4c8c7ee19b
lint fixes
2025-04-09 15:15:48 -03:00
pedro-php
8c6f95fbef
Fixing chatname on the events message.upsert and message.update in order to return always the chatname from the user correctly
2025-04-09 14:55:22 -03:00
Davidson Gomes
09f79c94be
Merge pull request #1362 from Deyvi-dev/develop
...
feat(s3): add S3_SKIP_POLICY env variable to disable setBucketPolicy
2025-04-08 10:51:52 -03:00
Davidson Gomes
7c7dca9da9
Merge pull request #1354 from jeffersonfelixdev/hotfix/issue-1348
...
Hotfix - shell injection vulnerability
2025-04-08 10:51:35 -03:00
deyvi-dev
1d2e029b54
feat(s3): add S3_SKIP_POLICY env variable to disable setBucketPolicy for incompatible providers
2025-04-07 20:23:33 -03:00
Jefferson Felix
3f8d89e970
fix: remove wildcard
2025-04-02 12:04:07 -03:00
Jefferson Felix
2a020928e8
fix: change execSync to execFileSync
2025-04-02 11:55:23 -03:00
Davidson Gomes
9889035ddc
Merge pull request #1344 from alvestassio/fix/multiple-files-sent-via-whatsapp
...
Adicionando um timestamp ao filename para possibilitar enviar o mesmo arquivo mais de uma vez na mesma conversa.
2025-03-30 12:09:01 -03:00
Davidson Gomes
07ce09d8e2
Merge pull request #1322 from marceloapd/fix/animated-stickers
...
Fix/animated stickers
2025-03-30 12:08:15 -03:00
pedro-php
7e8044a777
lint changes
2025-03-28 11:10:48 -03:00
pedro-php
645f305cd6
fixing build error on prisma
2025-03-28 11:08:38 -03:00
pedro-php
3d40b0850b
lint changes
2025-03-28 10:57:59 -03:00
pedro-php
17bd108251
treating errors gracefully
2025-03-28 10:56:19 -03:00
pedro-php
f695e8bdc9
merging with develop
2025-03-28 10:36:34 -03:00
Tassio Alves
bf59ff1287
[FIX] Run lint
2025-03-27 14:36:39 -04:00
Tassio Alves
ce1680f515
[FIX] Adding a timestamp to the filename to make it possible to send the same file more than once in the same conversation.
2025-03-27 10:46:13 -04:00
pedro-php
119ceba1ca
Adding a new webhook that triggers when a message is updated by the user
2025-03-27 11:13:22 -03:00
Marcelo Assis
9710fbdac4
remove animated to webp
2025-03-26 13:09:08 -03:00
Marcelo Assis
658dae0b59
lint fix
2025-03-26 10:45:09 -03:00
Davidson Gomes
b89f1144b4
Merge pull request #1334 from adaptwebtech/fix_and_add_name_to_find_chats_and_paginate_get_contacts_and_get_chats
...
Corrigindo um bug no endpoint de findChats e permitindo paginação nos endpoints de findChats e findContacts
2025-03-26 10:34:56 -03:00
Pedro Afonso
d196590862
Update src/api/services/channel.service.ts
...
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-03-25 11:17:46 -03:00
pedro-php
c5c354ffe7
fix_and_add_name_to_find_chats_and_paginate_get_contacts_and_get_chats
2025-03-25 10:52:19 -03:00
Matheus Martins Piedade
36757dddc2
Defininando TTL no userDivicesCache igual usado no Baileys
2025-03-24 15:15:45 -03:00
Marcelo Assis
027401b839
fix: normalize file extension checks for case insensitivity in sticker conversion
2025-03-20 19:13:19 -03:00
Marcelo Assis
6e7dd51679
fix: preserve animation in GIF and WebP stickers
2025-03-20 19:00:02 -03:00
Marcelo Assis
f8b1c6e0fa
fix: preserve animation in GIF and WebP stickers
2025-03-20 18:37:58 -03:00
Victor Eduardo
cee2bc4d71
sending JWT token when sending webhook if jwt_key exists in webhook header record
2025-03-19 18:04:42 -03:00