jaison-x
238b7618b4
feat(chatwoot): add some translations on chatwoot messages
...
Add typescript to transpile .json files inside src folder.
2024-02-21 12:05:41 -03:00
jaison-x
d35d755379
feat(chatwoot): command to clearcache from chatwoot inbox
2024-02-08 13:34:50 -03:00
jaison-x
b58fd78450
fix(chatwoot): fix qrcode filename
2024-02-08 13:33:16 -03:00
Judson Cairo
34c53d352a
Refactor code and remove commented out sections
2024-02-07 15:16:37 -03:00
Davidson Gomes
d8ca480b19
Merge pull request #395 from jaison-x/import-messages-chatwoot
...
feat(chatwoot): import history messages to chatwoot on whatsapp connection
2024-02-05 15:26:21 -03:00
Deivison Lincoln
cffb673fba
Include identifier to contact filter in chatwoot
2024-02-02 18:20:24 -03:00
jaison-x
8a5ebe83a3
feat(chatwoot): import history messages to chatwoot on whatsapp connection
...
Messages are imported direct to chatwoot database. Media and group messages are ignored.
New env.yml variables:
CHATWOOT_IMPORT_DATABASE_CONNECTION_URI: URI to connect direct on chatwoot database.
CHATWOOT_IMPORT_PLACEHOLDER_MEDIA_MESSAGE: Indicates to use a text placeholder on media messages.
New instance setting:
sync_full_history: Indicates to request a full history sync to baileys.
New chatwoot options:
import_contacts: Indicates to import contacts.
import_messages: Indicates to import messages.
days_limit_import_messages: Number of days to limit history messages to import.
2024-02-02 15:32:34 -03:00
Davidson Gomes
cc17d61016
Merge pull request #394 from deivisonrpg/feat/chatwoot-reject-message-wpp-not-exists
...
Feat Chatwoot - Reject Message If is not a valid wpp number
2024-02-02 14:05:45 -03:00
Deivison Lincoln
c130846fe8
Change message_type
...
Change message_type to 'outgoing'
2024-02-02 08:57:44 -03:00
Deivison Lincoln
b3adde3a7a
Feat Reject Message If is not a valid wpp number
2024-02-01 23:42:52 -03:00
Deivison Lincoln
54603002a6
Fix for brazil 9 digit
2024-02-01 22:13:19 -03:00
Deivison Lincoln
b995cdfc32
Fix for contats find payload
2024-02-01 18:53:36 -03:00
jaison-x
f41f3aaba8
Update chatwoot.service.ts
...
hotfix: bug on chatwoot sdk
2024-02-01 17:31:50 -03:00
Davidson Gomes
7dacd752d3
Merge pull request #382 from yvescleuder/fix-with-nine-number-brazil
...
Fix with nine number brazil
2024-01-31 11:51:45 -03:00
Davidson Gomes
cdf822291f
lint
2024-01-29 11:35:30 -03:00
Davidson Gomes
94aa3067f6
Merge pull request #380 from drauber/qr_translation
...
Add translate capabilities to QRMessages in CW
2024-01-29 11:30:00 -03:00
Yves Clêuder Lima de Jesus
535d5ee47f
fix: change method search for filter
2024-01-28 10:36:42 -03:00
Yves Clêuder Lima de Jesus
838905f3dd
fix: position splice
2024-01-27 22:37:58 -03:00
Yves Clêuder Lima de Jesus
59f5208c5c
fix: search number without 9 in number from brazil
2024-01-27 22:29:04 -03:00
Douglas Rauber at Nitro
0edc8a9284
Add translate capabilities to QRMessages in CW
2024-01-25 16:19:08 -03:00
Amilton Morais
0e50da324b
Implemented a function to synchronize message deletions on WhatsApp, automatically reflecting in Chatwoot
...
A new variable has been created, and a function has been implemented to manage the deletion of messages on WhatsApp. Now, when deleting a message for everyone on WhatsApp, the same action will be automatically performed on Chatwoot, ensuring consistency across platforms
2024-01-24 13:38:29 -03:00
jaison-x
f182436673
fix: message 'connection successfully' spamming
2024-01-17 19:56:26 -03:00
jaison-x
c75dfcd499
feat(chatwoot): read messages from whatsapp in chatwoot
...
It works only with messages read from whatsapp to chatwoot.
2024-01-15 20:40:29 -03:00
jaison-x
2d8b5f04e9
feat(cacheservice): add suport to use use redis in cacheservice
2024-01-12 16:04:55 -03:00
jaison-x
0bc12733a3
fix(chatwoot): invalidate the conversation cache if reopen_conversation is false and the conversation was resolved
2024-01-08 22:20:16 -03:00
jaison-x
f376047632
perf(chatwoot): create cache for the most used/expensive functions in chatwoot
2024-01-03 18:42:54 -03:00
Davidson Gomes
0c09c5e140
Merge pull request #338 from jaison-x/pr
...
fix(chatwoot): fix looping when deleting a message in chatwoot
2024-01-01 21:47:35 -03:00
jaison-x
b761fba8cb
fix(chatwoot): fix looping when deleting a message in chatwoot
2024-01-01 18:11:25 -03:00
Davidson Gomes
8f8c7e26c7
Merge branch 'develop' of github.com:EvolutionAPI/evolution-api into develop
2023-12-29 19:11:28 -03:00
Davidson Gomes
181768d91f
Merge pull request #336 from jaison-x/adjust-filename-chatwoot
...
perf(chatwoot): only use a axios request to get file mimetype if necessary
2023-12-29 19:11:22 -03:00
Davidson Gomes
2dcd4d8fd3
fix: Correction in chatwoot text formatting and render list message
2023-12-29 19:10:59 -03:00
jaison-x
d909550134
fix(chatwoot): add file extension to var fileName
2023-12-29 18:42:07 -03:00
jaison-x
c564ec41e2
perf(chatwoot): Only use a axios request to get mimetype file if necessary
2023-12-29 18:15:05 -03:00
Davidson Gomes
af94a0e174
Merge pull request #334 from jaison-x/adjust-filename-chatwoot
...
fix(chatwoot): when possible use the original file extension
2023-12-29 17:10:43 -03:00
jaison-x
fcd8815fca
fix(chatwoot): when possible use the original file extension
...
In some cases mimeTypes.extension() return false to csv and other file types
2023-12-29 14:52:16 -03:00
Davidson Gomes
5bd3f28117
Merge pull request #332 from jaison-x/adjust-filename-chatwoot
...
fix(chatwoot): when receiving a file from whatsapp, use the original filename in chatwoot if possible
2023-12-29 10:36:17 -03:00
Davidson Gomes
384bde333e
Merge pull request #331 from jaison-x/pr
...
refactor(chatwoot): remove message ids cache in chatwoot to use chatwoot's api itself
2023-12-29 10:36:01 -03:00
Davidson Gomes
3ccb983377
fix: chatwoot service
2023-12-28 18:24:29 -03:00
jaison-x
bfa7d429bd
refactor(chatwoot): remove message ids cache in chatwoot to use chatwoot's api itself.
...
Remove use of disc cache to optimize performance.
BREAKING CHANGE: to make this, we need to use the param `source_id` from message in chatwoot.
This param is only available from api in chatwoot version => 3.4.0.
2023-12-28 14:43:50 -03:00
jaison-x
8b5f73badd
fix: added support to use source_id to check chatwoot's webhook needs to be ignored.
...
With this, messageCache is used to support Chatwoot version <= 3.3.1.
After this version we can remove use of message cache and use only the source_id field to check chatwoot's webhook needs to be ignored. It's have much better performance.
2023-12-27 13:56:32 -03:00
jaison-x
49aa1ea17c
fix: when receiving a file from whatsapp, use the original filename in chatwoot when possible
2023-12-26 01:21:05 -03:00
jaison-x
7430897085
fix: when receiving a file from whatsapp, use the original filename in chatwoot when possible
2023-12-25 23:58:07 -03:00
jaison-x
82894a1c4f
refactor: change the message ids cache in chatwoot to use a in memory cache
...
Remove use of disc cache for optimize performance.
To make this, we need change to use only one instance of ChatwootService in entire application.
2023-12-25 22:29:03 -03:00
jaison-x
07e8449379
fix: when deleting a message in whatsapp, delete the message in chatwoot too
...
The message model schema was changed. Old format in message model was field chatwootMessageId. Now we have a document chatwoot with new properties.
I cant find a simple way to create a migration function up then the old field was no migrate to new format.
2023-12-20 17:53:37 -03:00
Davidson Gomes
d93a826e28
Merge pull request #309 from jaison-x/pr
...
fix: message can be undefined
2023-12-19 18:59:59 -03:00
jaison-x
244fe0835e
Update chatwoot.service.ts
...
fix: message can be undefined
2023-12-19 18:49:31 -03:00
Gabriel Pastori
a00ad20c08
chatwoot agent available_name
2023-12-19 16:41:52 -03:00
Gabriel Pastori
076f2b492e
fix: chatwoot media process
2023-12-18 21:23:56 -03:00
Gabriel Pastori
8d04198309
fix: monospace and bold
2023-12-17 13:24:43 -03:00
Gabriel Pastori
5aa89d85f3
fix: remove comments
2023-12-16 18:39:46 -03:00