Davidson Gomes
e321609b93
refactor: Simplify conditional check for contact updates in ChatwootService
Build Docker image / Build and Deploy (push) Has been cancelled
2025-07-14 14:52:02 -03:00
Davidson Gomes
196617507e
Merge pull request #1700 from guilherme-aguilar/guilheme_aguilar/develop
...
feat(database): add pgbouncer support and optimize postgres config
2025-07-14 14:51:49 -03:00
Davidson Gomes
6da71f5161
Merge pull request #1683 from pauloboc/develop
...
added missing migrations in mysql prisma
2025-07-14 14:51:21 -03:00
Davidson Gomes
2fb3eac383
Merge pull request #1715 from AlexisJusviack/fix/getBase64-template-support
...
Fix: Support media extraction from templateMessage in getBase64FromMediaMessage
2025-07-14 14:44:43 -03:00
Davidson Gomes
4a5696eda9
Merge pull request #1704 from rafwell/develop
...
Throw exception if download media fail
2025-07-14 14:44:29 -03:00
Davidson Gomes
11520481ba
Merge pull request #1705 from KokeroO/develop
...
fix: Tratar conversas @lid no inicio do recebimento dos eventos e novo erro da libsignal
2025-07-14 14:43:57 -03:00
Davidson Gomes
95a53d33ef
Merge pull request #1701 from leonardocintra/patch-1
...
Update README.md - 2025
2025-07-14 14:43:20 -03:00
Davidson Gomes
d458c978f3
Merge branch 'develop' into develop
2025-07-14 14:42:18 -03:00
AlexisJusviack
bd35d7977c
Fix: Support media extraction from templateMessage in getBase64FromMediaMessage
...
### Fix: Add support for templateMessage media in getBase64FromMediaMessage
#### What this does
Adds support to download media from `templateMessage` structures in `getBase64FromMediaMessage`, by checking for `hydratedTemplate` and `hydratedFourRowTemplate`.
#### Why it's needed
Currently, media inside templates (e.g. `imageMessage`, `videoMessage`, `documentMessage`) is not processed by the method, which leads to errors or media being skipped.
#### How it works
If a `templateMessage` is detected, the code looks into the inner hydrated template and assigns the correct `mediaMessage` and `mediaType`. Then it proceeds as usual with the download logic.
#### Example message
```json
{
"message": {
"templateMessage": {
"hydratedTemplate": {
"imageMessage": {
"mimetype": "image/jpeg",
"fileLength": 123456,
"url": "https://..."
}
}
}
}
}
2025-07-11 23:50:58 -03:00
guilherme
e92961e7b0
feat(database): add psql_bouncer support and simplify postgresql config
...
- Add new psql_bouncer database provider option
- Update database scripts to handle psql_bouncer provider
- Comment out pgbouncer service in docker-compose
- Simplify postgresql schema by removing directUrl
- Add new psql_bouncer-schema.prisma file
- Update .env.example with psql_bouncer configuration
- Modify runWithProvider.js to handle psql_bouncer migrations
2025-07-10 01:08:08 -03:00
Rafael Souza
f11d490f7a
Remove package-lock.json do .gititnore
2025-07-09 18:56:32 -03:00
Willian Coqueiro
37319966db
Remove redudantent code
2025-07-09 18:42:35 +00:00
Willian Coqueiro
630f5c5624
fix:
...
- [Baileys] Trocar @lids em remoteJid por senderPn em todos os serviços;
- [Baileys] Adicionar valor @lid recebido em remoteJid para previousRemoteJid (Posteriormente utilizasse em ChatwootService);
- Minors fixes;
2025-07-09 18:35:57 +00:00
Leonardo Nascimento Cintra
3e690fe9e2
Update README.md - 2025
2025-07-08 20:00:42 -03:00
guilherme
09429e68fe
docs: update database name in .env.example from evolution to evolution_db
2025-07-08 18:09:59 -03:00
Rafael Souza
9acccf723d
Throw exception if download media fail
2025-07-08 17:43:21 -03:00
guilherme
3b920f93c5
feat(database): add pgbouncer support and optimize postgres config
...
- Add pgbouncer service to handle connection pooling
- Update database connection URIs to support direct and pooled connections
- Optimize postgres configuration with better memory settings
- Update prisma schema to support directUrl connection
2025-07-08 17:14:37 -03:00
Paulo Ferreira
8dd51b0302
added missing migrations in mysql prisma
2025-07-03 15:20:03 -03:00
Davidson Gomes
e6ec706a38
Merge pull request #1665 from pauloboc/fix-prisma-type-mysql
...
Fix prisma type mysql
2025-07-02 11:22:48 -03:00
Davidson Gomes
53101d4571
Merge pull request #1664 from pauloboc/fix-setup-mysql
...
(mysql): remove out-of-order wavoipToken migration
2025-07-01 08:15:26 -03:00
Davidson Gomes
c7b5abce6e
Merge pull request #1670 from Santosl2/fix/typebot-variables
...
fix: correçao do typebot não conseguir ouvir mensagens de input
2025-07-01 08:14:28 -03:00
Santosl2
5b1b5ff9d2
fix: bind applyFormatting method in processMessages to maintain context
2025-06-29 20:23:31 -03:00
Paulo Ferreira
3efe69ada3
fix(prisma) Mysql: update data types for N8n, N8nSetting, Evoai, and EvoaiSetting models
2025-06-28 09:34:52 -03:00
Paulo Ferreira
287c679ce4
(mysql): remove out-of-order wavoipToken migration
...
Delete prisma/mysql-migrations/1707735894523_add_wavoip_token_to_settings_table, which executes before the initial Setting table is created and breaks fresh MySQL installs.
The later migration 20250214181954_add_wavoip_token_column, line 145, already adds the column correctly, so keeping only that directory guarantees a clean deploy.
2025-06-28 09:27:13 -03:00
Davidson Gomes
918697866f
fix(package-lock): update baileys dependency to latest commit hash
2025-06-27 09:59:40 -03:00
Davidson Gomes
3c917af602
Merge pull request #1660 from KokeroO/develop
...
fix(whatsapp-baileys): Verifica eventos com falhas e fallback para erro ao baixar mídias
2025-06-27 09:55:22 -03:00
KokeroO
52798fd761
fix(whatsapp-baileys): adjust indentation and access modifier for getBase64FromMediaMessage method
2025-06-27 09:29:12 -03:00
KokeroO
34446d188e
fix(whatsapp-baileys):
...
- Implement broken event checking before duplicate message checking. (Do not process failed events).
- Implement error handling when downloading media with a fallback mechanism.
2025-06-27 09:03:32 -03:00
Davidson Gomes
ef31b6de1f
Merge pull request #1655 from KokeroO/develop
...
fix/references-instanceName-typebot
2025-06-26 17:10:58 -03:00
KokeroO
d7afe5d7ab
fix(typebot): update instance query to use instance name instead of instance ID
2025-06-26 14:53:54 -03:00
Davidson Gomes
72fb2f408b
feat(rabbitmq): implement robust connection handling with reconnection logic and error logging
2025-06-26 14:25:37 -03:00
KokeroO
e4f7856ca9
fix(typebot): update instance query to use instanceName instead of instanceId
2025-06-26 14:05:28 -03:00
Davidson Gomes
e86b6463fd
Merge pull request #1652 from KokeroO/patch-1
...
Corrige ref. instance typebot.controller.ts
2025-06-26 11:49:41 -03:00
Willian Coqueiro
0302944654
Corrige ref. instance typebot.controller.ts
2025-06-26 11:42:27 -03:00
Davidson Gomes
1b0d81b022
Merge pull request #1641 from caduzin02/patch-1
...
Create railway.json
2025-06-25 16:32:30 -03:00
Davidson Gomes
854d357518
chore(package-lock): update Baileys dependency to version 6.7.18
2025-06-25 16:25:16 -03:00
caduzin02
6e8da4a8dc
Create railway.json
2025-06-24 11:02:00 -03:00
Davidson Gomes
e92e98dd22
chore: optimize Dockerfile by using npm ci for dependency installation and streamlining file copy operations
2025-06-23 16:55:04 -03:00
Davidson Gomes
cdd2e59755
chore: update CHANGELOG for version 2.3.1 to include fix for S3 media upload
2025-06-23 16:51:54 -03:00
Davidson Gomes
1a1d9fc957
refactor: add validation for media content in Evolution and Business services to enhance error handling
2025-06-23 16:42:29 -03:00
Davidson Gomes
8ea4d65bc2
refactor: enhance media handling in Baileys service with validation for valid media content
2025-06-23 16:42:24 -03:00
Davidson Gomes
af713dee55
chore: update Dockerfile to use npm run build instead of npm run build:docker
2025-06-23 16:00:01 -03:00
Davidson Gomes
ee9ccb55ca
chore: update version to 2.3.1 in Dockerfile, package.json, and package-lock.json
2025-06-23 15:41:49 -03:00
Davidson Gomes
977f686233
chore: update CHANGELOG for version 2.3.1 and fix package.json formatting
2025-06-23 15:38:54 -03:00
Davidson Gomes
a38caeaf5f
chore(package-lock): update Baileys dependency to version 6.7.18
2025-06-23 15:36:54 -03:00
Davidson Gomes
873fdcb22a
Merge pull request #1633 from VCalazans/FIX/ISSUE-28
...
🐛 fix: Phone number as message ID for Evo AI #ISSUE 28
2025-06-23 15:35:56 -03:00
Davidson Gomes
2e077a77ef
Merge pull request #1626 from fernandeshenrique15/main
...
add unreadMessages in the response
2025-06-23 15:35:44 -03:00
Davidson Gomes
4be818a436
Merge pull request #1605 from ToniShelby/patch-2
...
Update Dockerfile
2025-06-23 15:35:33 -03:00
Davidson Gomes
a7badb9af5
Merge pull request #1624 from matheusfterra/main
...
Correção do envio de variáveis pelo typeboy
2025-06-23 15:35:20 -03:00
Davidson Gomes
ba5fb567eb
Merge branch 'develop' into patch-2
2025-06-23 15:34:54 -03:00