Davidson Gomes
b1b2d18e5d
Remove redundant migration cleanup step for wavoip_token
in PostgreSQL migration file. This change simplifies the migration process by eliminating unnecessary deletion of previous migration records, ensuring a cleaner migration history.
2025-01-22 12:01:17 -03:00
Davidson Gomes
37a9e316a8
Refactor database migrations and schema for Chat
and Setting
tables
...
- Removed the unique constraint on `remoteJid` and `instanceId` in the `Chat` model to prevent potential migration failures due to existing duplicates.
- Deleted the old migration file for adding `wavoipToken` to the `Setting` table and created a new migration that includes a check for the column's existence before adding it, ensuring smoother migration processes.
- Updated migration logic to clear previous migrations related to `wavoip_token` to maintain a clean migration history.
2025-01-22 11:58:34 -03:00
Davidson Gomes
b0219e5e5a
Update version to 2.2.1, enhance database migration, and update dependencies
...
- Updated version labels in Dockerfile and package-lock.json to 2.2.1.
- Added a new column `wavoipToken` to the `Setting` table in the PostgreSQL migration.
- Implemented a cleanup step to remove duplicate records in the `Chat` table before creating a unique index.
- Upgraded various package dependencies to their latest versions for improved functionality and security.
2025-01-21 17:39:03 -03:00
Davidson Gomes
540467293c
Enhance settings and integrate Baileys controller for WhatsApp functionality
...
- Added `wavoipToken` field to `Setting` model in both MySQL and PostgreSQL schemas.
- Updated `package.json` and `package-lock.json` to include `mime-types` and `socket.io-client` dependencies.
- Introduced `BaileysController` and `BaileysRouter` for handling WhatsApp interactions.
- Refactored media type handling to use `mime-types` instead of `mime` across various services.
- Updated DTOs and validation schemas to accommodate the new `wavoipToken` field.
- Implemented voice call functionalities using the Wavoip service in the Baileys integration.
- Enhanced event handling in the WebSocket controller to support new features.
2025-01-16 11:58:33 -03:00
Pedro Ivo
5d13f7055b
Merge remote-tracking branch 'refs/remotes/evo/develop'
...
# Conflicts:
# prisma/mysql-schema.prisma
# src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
2024-11-22 10:11:50 -03:00
Davidson Gomes
d5a7e03ec2
Merge pull request #1012 from yousseefspires/fix/chats-messages
...
Add unique in Chat by instance/remotejid
2024-11-21 14:48:40 -03:00
Pedro Ivo
cefe3ef6c3
fix: chats must be unique
2024-11-15 17:38:26 -03:00
Rafael Souza
c8410bd146
Fix Message.Status as String
2024-11-08 07:15:23 -03:00
yousseefs
f6ccd58dee
some fixs
2024-10-29 18:43:31 +00:00
Richards0n
287f387e82
refactor: Add indexes to improve performance in ChatwootService
2024-10-17 11:50:28 -03:00
Davidson Gomes
3af8f968c2
Add support for splitMessages and timePerChar in Integrations
2024-10-11 18:52:56 -03:00
Davidson Gomes
d50da79f22
feat: Add support for splitMessages and timePerChar in Integrations
2024-10-11 07:45:50 -03:00
Davidson Gomes
29e2cfaf96
feat: pusher event integration
2024-10-11 07:01:38 -03:00
João Victor Souza
e19ee05e9f
fix: migration update after alter
2024-10-10 13:41:07 -03:00
Davidson Gomes
f5f778ecbe
feat: Added unreadMessages to chats
2024-10-07 13:45:19 -03:00
Davidson Gomes
f2bb01a640
Merge branch 'v2.0.0' of github.com:EvolutionAPI/evolution-api into v2.0.0
2024-10-07 13:37:56 -03:00
Jesus
edb3875b91
Added unreadMessages to chats
2024-10-07 17:39:00 +02:00
Davidson Gomes
e66f877b4c
fix: migrations
2024-10-07 10:49:26 -03:00
Davidson Gomes
c823f84c70
fix: status on send message
2024-10-06 10:04:02 -03:00
vagnersantos
af56b06f50
fix: add migration field message status
2024-10-01 15:11:36 -03:00
Felipe Medeiros
65c6ecff88
feat: adiciona headers no cadastro de webhook da instância
2024-09-06 20:46:10 -03:00
Davidson Gomes
ff78954383
Revert "V2 fix chatwoot reply quote"
2024-09-05 09:26:33 -03:00
Judson Cairo
b93725dd32
Merge branch 'v2.0.0' into v2
2024-09-04 13:24:12 -03:00
Judson Cairo
4cdf76f381
Refactor database table name for IsOnWhatsapp
2024-08-30 16:37:20 -03:00
Judson Junior
47d56f9c52
Merge pull request #18 from judsonjuniorr/v2-is-on-whatsapp-cache
...
V2 is on whatsapp cache
2024-08-30 10:38:55 -03:00
Judson Cairo
a57842519b
Change tables & columns maps
2024-08-29 15:45:42 -03:00
Judson Cairo
8b5ca0c9c4
Add DIRECT_URI on env and prisma
2024-08-29 15:10:04 -03:00
Judson Cairo
ce6438b9a8
Save is on whatsapp on the database
2024-08-28 11:19:47 -03:00
Davidson Gomes
d776770d09
refactor: evolution bot
2024-08-25 10:22:22 -03:00
Davidson Gomes
238c332df5
fix: get integrations sessions by type
2024-08-24 13:20:30 -03:00
Davidson Gomes
aeea61ef4b
fix: get integrations sessions by type
2024-08-24 13:18:58 -03:00
Davidson Gomes
e9f4477d11
feat: flowise integration
2024-08-21 17:33:45 -03:00
Davidson Gomes
0e6a78d011
feat: flowise integration
2024-08-21 17:21:23 -03:00
Davidson Gomes
35bde8498b
feat: generic chatbot
2024-08-21 14:42:26 -03:00
Davidson Gomes
8876797172
refactor: openai integration
2024-08-21 09:29:49 -03:00
Davidson Gomes
046c64c65d
feat: translation in manager: English, Portuguese, Spanish and French
2024-08-20 07:29:14 -03:00
Judson Cairo
fcd038924d
Advanced operators trigger fro OpenAI/Dify/Typebot
2024-08-17 08:32:05 -03:00
Davidson Gomes
975f41d58e
fix: migrations
2024-08-15 13:13:08 -03:00
Davidson Gomes
061696e140
feat: dify now identifies images
2024-08-15 11:12:07 -03:00
Judson Cairo
448aefb989
Typo fix
2024-08-14 17:50:11 -03:00
Judson Cairo
1059c92583
Unification of integrations, Typebot & OpenAI & Dify
2024-08-14 17:47:31 -03:00
Davidson Gomes
b3991cf6bb
feat: Added ignoreJids in chatwoot settings
2024-08-14 14:59:47 -03:00
Davidson Gomes
78da13fcab
Merge pull request #759 from judsonjuniorr/V2-duplicated-label-creation
...
Changed labels to be unique on the same instance
2024-08-13 15:56:24 -03:00
Davidson Gomes
04f6e11cbd
fix: adjusts in migrations
2024-08-13 13:15:13 -03:00
Judson Cairo
48febec36a
Changed labels to be unique on the same instance
2024-08-12 21:35:31 -03:00
Davidson Gomes
404edaa4e1
Merge pull request #747 from judsonjuniorr/v2-update-contacts-database
...
V2 update contacts database
2024-08-12 09:41:18 -03:00
Judson Cairo
93cc25b513
Add migration for unique index in contacts
2024-08-11 15:33:46 -03:00
Judson Cairo
77cf4125dd
Added migration for name column in chats
2024-08-11 15:29:39 -03:00
Judson Cairo
dacd408f8d
Make contacts unique for the same instance
...
Avoid duplicated contacts in the database
2024-08-10 23:42:45 -03:00
Judson Cairo
926197b1ba
Save chat names for groups identification
2024-08-10 23:15:20 -03:00