Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
787d90f
Update src/api/services/channel.service.ts
pedro-php Mar 25, 2025
b760d98
fix_and_add_name_to_find_chats_and_paginate_get_contacts_and_get_chats
pedro-php Mar 25, 2025
d44ae48
Adding a new webhook that triggers when a message is updated by the user
pedro-php Mar 27, 2025
047044d
merging with develop
pedro-php Mar 28, 2025
8e49e50
treating errors gracefully
pedro-php Mar 28, 2025
2619e94
lint changes
pedro-php Mar 28, 2025
23177cf
lint changes
pedro-php Mar 28, 2025
8bcca98
fixing build error on prisma
pedro-php Mar 28, 2025
23bbd25
lint changes
pedro-php Mar 28, 2025
ff8f124
Fixing chatname on the events message.upsert and message.update in or…
pedro-php Apr 9, 2025
312b289
lint fixes
pedro-php Apr 9, 2025
ab1d0e8
evolution api
pedro-php Apr 11, 2025
d8d5605
Merge pull request #1 from adaptwebtech/main_2
pedro-php Apr 11, 2025
0546a3f
ENVIROMNENT
pedro-php Apr 11, 2025
2805cdd
ENVIROMNENT
pedro-php Apr 11, 2025
37b7aa2
docker changes
pedro-php Apr 11, 2025
11177d3
hotfix
pedro-php Apr 15, 2025
dde7aa2
gambiarra grupos
pedro-php Apr 15, 2025
1ddbd4c
message sent logs
pedro-php Apr 15, 2025
7c5499f
message sent logs
pedro-php Apr 15, 2025
8bbab93
message sent logs
pedro-php Apr 15, 2025
eb825bd
ppp
pedro-php Apr 15, 2025
c119b52
ppp
pedro-php Apr 15, 2025
c4f7572
ppp
pedro-php Apr 15, 2025
dabf878
ppp
pedro-php Apr 15, 2025
ff2e79b
logs
pedro-php Apr 16, 2025
a2315c9
logs
pedro-php Apr 16, 2025
d65de7d
logs
pedro-php Apr 16, 2025
65b3eb4
logs
pedro-php Apr 16, 2025
d35159e
logs
pedro-php Apr 16, 2025
37c4b2d
logs
pedro-php Apr 25, 2025
507ba86
logs
pedro-php Apr 25, 2025
58e1f68
logs
pedro-php Apr 25, 2025
52a6279
reverse
pedro-php Apr 25, 2025
7d7bd90
evolution_fix_delete_message
pedro-php May 5, 2025
2e42c77
evolution_fix_delete_message
pedro-php May 5, 2025
5f530e1
gitignore changes
pedro-php May 6, 2025
855c24f
new_feature_lottieMessage_healthCheck
pedro-php May 14, 2025
50c583e
Merge pull request #2 from adaptwebtech/new_feature_lottieMessage_hea…
pedro-php May 14, 2025
d656727
lint changes
pedro-php May 14, 2025
b8a0b71
hotfix_lint
pedro-php May 14, 2025
d70e538
Merge pull request #3 from adaptwebtech/new_feature_lottieMessage_hea…
pedro-php May 14, 2025
98b245c
new_feature_sigterm
pedro-php May 15, 2025
8ab198f
lint_changes
pedro-php May 29, 2025
7968057
hotfix_group_update
pedro-php May 30, 2025
16a9d1f
fixes
pedro-php Jun 13, 2025
1b1eb03
eovlution_api_hotfix_id_group
pedro-php Jun 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.git
*Dockerfile*
*docker-compose*
package-lock.json
.env
node_modules
dist
12 changes: 9 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ DATABASE_CONNECTION_URI='postgresql://user:pass@postgres:5432/evolution?schema=p
# Client name for the database connection
# It is used to separate an API installation from another that uses the same database.
DATABASE_CONNECTION_CLIENT_NAME=evolution_exchange
DATABASE_PORT=5432

# Choose the data you want to save in the application's database
DATABASE_SAVE_DATA_INSTANCE=true
Expand Down Expand Up @@ -62,6 +63,7 @@ RABBITMQ_EVENTS_MESSAGES_EDITED=false
RABBITMQ_EVENTS_MESSAGES_UPDATE=false
RABBITMQ_EVENTS_MESSAGES_DELETE=false
RABBITMQ_EVENTS_SEND_MESSAGE=false
RABBITMQ_EVENTS_SEND_MESSAGE_UPDATE=false
RABBITMQ_EVENTS_CONTACTS_SET=false
RABBITMQ_EVENTS_CONTACTS_UPSERT=false
RABBITMQ_EVENTS_CONTACTS_UPDATE=false
Expand Down Expand Up @@ -108,6 +110,7 @@ PUSHER_EVENTS_MESSAGES_EDITED=true
PUSHER_EVENTS_MESSAGES_UPDATE=true
PUSHER_EVENTS_MESSAGES_DELETE=true
PUSHER_EVENTS_SEND_MESSAGE=true
PUSHER_EVENTS_SEND_MESSAGE_UPDATE=true
PUSHER_EVENTS_CONTACTS_SET=true
PUSHER_EVENTS_CONTACTS_UPSERT=true
PUSHER_EVENTS_CONTACTS_UPDATE=true
Expand Down Expand Up @@ -149,6 +152,7 @@ WEBHOOK_EVENTS_MESSAGES_EDITED=true
WEBHOOK_EVENTS_MESSAGES_UPDATE=true
WEBHOOK_EVENTS_MESSAGES_DELETE=true
WEBHOOK_EVENTS_SEND_MESSAGE=true
WEBHOOK_EVENTS_SEND_MESSAGE_UPDATE=true
WEBHOOK_EVENTS_CONTACTS_SET=true
WEBHOOK_EVENTS_CONTACTS_UPSERT=true
WEBHOOK_EVENTS_CONTACTS_UPDATE=true
Expand All @@ -174,13 +178,13 @@ WEBHOOK_EVENTS_ERRORS=false
WEBHOOK_EVENTS_ERRORS_WEBHOOK=

# Name that will be displayed on smartphone connection
CONFIG_SESSION_PHONE_CLIENT=Evolution API
CONFIG_SESSION_PHONE_CLIENT=Whizapp
# Browser Name = Chrome | Firefox | Edge | Opera | Safari
CONFIG_SESSION_PHONE_NAME=Chrome

# Whatsapp Web version for baileys channel
# https://web.whatsapp.com/check-update?version=0&platform=web
CONFIG_SESSION_PHONE_VERSION=2.3000.1015901307
CONFIG_SESSION_PHONE_VERSION=2.3000.1020885143

# Set qrcode display limit
QRCODE_LIMIT=30
Expand Down Expand Up @@ -213,14 +217,16 @@ DIFY_ENABLED=false
# Cache - Environment variables
# Redis Cache enabled
CACHE_REDIS_ENABLED=true
CACHE_REDIS_URI=redis://localhost:6379/6
CACHE_REDIS_URI=redis://redis:6379/6
CACHE_REDIS_TTL=604800
# Prefix serves to differentiate data from one installation to another that are using the same redis
CACHE_REDIS_PREFIX_KEY=evolution
# Enabling this variable will save the connection information in Redis and not in the database.
CACHE_REDIS_SAVE_INSTANCES=false
# Local Cache enabled
CACHE_LOCAL_ENABLED=false
#Redis Port
REDIS_PORT=6379

# Amazon S3 - Environment variables
S3_ENABLED=false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: atendai/evolution-api
images: evoapicloud/evolution-api
tags: type=semver,pattern=v{{version}}

- name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker_image_homolog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: atendai/evolution-api
images: evoapicloud/evolution-api
tags: homolog

- name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker_image_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: atendai/evolution-api
images: evoapicloud/evolution-api
tags: latest

- name: Set up QEMU
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
/dist
/node_modules

.cursor*

/Docker/.env

.vscode

#k8s
k8s
# Logs
logs/**.json
*.log
Expand Down
6 changes: 4 additions & 2 deletions Docker/swarm/evolution_api_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.7"

services:
evolution_v2:
image: atendai/evolution-api:v2.1.2
image: evoapicloud/evolution-api:latest
volumes:
- evolution_instances:/evolution/instances
networks:
Expand Down Expand Up @@ -34,6 +34,7 @@ services:
- RABBITMQ_EVENTS_MESSAGES_UPDATE=false
- RABBITMQ_EVENTS_MESSAGES_DELETE=false
- RABBITMQ_EVENTS_SEND_MESSAGE=false
- RABBITMQ_EVENTS_SEND_MESSAGE_UPDATE=false
- RABBITMQ_EVENTS_CONTACTS_SET=false
- RABBITMQ_EVENTS_CONTACTS_UPSERT=false
- RABBITMQ_EVENTS_CONTACTS_UPDATE=false
Expand All @@ -43,7 +44,7 @@ services:
- RABBITMQ_EVENTS_CHATS_UPDATE=false
- RABBITMQ_EVENTS_CHATS_DELETE=false
- RABBITMQ_EVENTS_GROUPS_UPSERT=false
- RABBITMQ_EVENTS_GROUP_UPDATE=false
- RABBITMQ_EVENTS_GROUPS_UPDATE=false
- RABBITMQ_EVENTS_GROUP_PARTICIPANTS_UPDATE=false
- RABBITMQ_EVENTS_CONNECTION_UPDATE=true
- RABBITMQ_EVENTS_CALL=false
Expand Down Expand Up @@ -71,6 +72,7 @@ services:
- WEBHOOK_EVENTS_MESSAGES_UPDATE=true
- WEBHOOK_EVENTS_MESSAGES_DELETE=true
- WEBHOOK_EVENTS_SEND_MESSAGE=true
- WEBHOOK_EVENTS_SEND_MESSAGE_UPDATE=true
- WEBHOOK_EVENTS_CONTACTS_SET=true
- WEBHOOK_EVENTS_CONTACTS_UPSERT=true
- WEBHOOK_EVENTS_CONTACTS_UPDATE=true
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:20-alpine AS builder

RUN apk update && \
apk add git ffmpeg wget curl bash openssl
apk add --no-cache git ffmpeg wget curl bash openssl

LABEL version="2.2.3" description="Api to control whatsapp features through http requests."
LABEL maintainer="Davidson Gomes" git="https://github.com/DavidsonGomes"
LABEL contact="contato@atendai.com"
LABEL contact="contato@evolution-api.com"

WORKDIR /evolution

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ a. LOGO and copyright information: In the process of using Evolution API's front

b. Usage Notification Requirement: If Evolution API is used as part of any project, including closed-source systems (e.g., proprietary software), the user is required to display a clear notification within the system that Evolution API is being utilized. This notification should be visible to system administrators and accessible from the system's documentation or settings page. Failure to comply with this requirement may result in the necessity for a commercial license, as determined by the producer.

Please contact contato@atendai.com to inquire about licensing matters.
Please contact contato@evolution-api.com to inquire about licensing matters.

2. As a contributor, you should agree that:

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<div align="center">

[![Docker Image (https://img.shields.io/badge/Docker-Image-blue)](https://hub.docker.com/r/evoapicloud/evolution-api)]
[![Whatsapp Group](https://img.shields.io/badge/Group-WhatsApp-%2322BC18)](https://evolution-api.com/whatsapp)
[![Discord Community](https://img.shields.io/badge/Discord-Community-blue)](https://evolution-api.com/discord)
[![Postman Collection](https://img.shields.io/badge/Postman-Collection-orange)](https://evolution-api.com/postman)
Expand Down Expand Up @@ -87,6 +88,7 @@ https://github.com/sponsors/EvolutionAPI
We are proud to collaborate with the following content creators who have contributed valuable insights and tutorials about Evolution API:

- [Promovaweb](https://www.youtube.com/@promovaweb)
- [Sandeco](https://www.youtube.com/@canalsandeco)
- [Comunidade ZDG](https://www.youtube.com/@ComunidadeZDG)
- [Francis MNO](https://www.youtube.com/@FrancisMNO)
- [Pablo Cabral](https://youtube.com/@pablocabral)
Expand All @@ -111,7 +113,7 @@ Evolution API is licensed under the Apache License 2.0, with the following addit

2. **Usage Notification Requirement**: If Evolution API is used as part of any project, including closed-source systems (e.g., proprietary software), the user is required to display a clear notification within the system that Evolution API is being utilized. This notification should be visible to system administrators and accessible from the system's documentation or settings page. Failure to comply with this requirement may result in the necessity for a commercial license, as determined by the producer.

Please contact contato@atendai.com to inquire about licensing matters.
Please contact contato@evolution-api.com to inquire about licensing matters.

Apart from the specific conditions mentioned above, all other rights and restrictions follow the Apache License 2.0. Detailed information about the Apache License 2.0 can be found at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).

Expand Down
23 changes: 13 additions & 10 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
services:
api:
container_name: evolution_api
image: atendai/evolution-api:homolog
container_name: evolution_api_${ENVIROMNENT}
build: .
image: adaptweb/evolution-api:1.7.1
restart: always
depends_on:
- redis
- postgres
ports:
- 8080:8080
- ${MIRROR_PORT}:8080
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- evolution_instances:/evolution/instances
networks:
- evolution-net
env_file:
- .env
expose:
- 8080
- ${MIRROR_PORT}

redis:
image: redis:latest
networks:
- evolution-net
container_name: redis
container_name: redis_${ENVIROMNENT}
command: >
redis-server --port 6379 --appendonly yes
redis-server --port 11235 --appendonly yes
volumes:
- evolution_redis:/data
ports:
- 6379:6379
- ${REDIS_PORT}:11235

postgres:
container_name: postgres
container_name: postgres_${ENVIROMNENT}
image: postgres:15
networks:
- evolution-net
command: ["postgres", "-c", "max_connections=1000", "-c", "listen_addresses=*"]
restart: always
ports:
- 5432:5432
- ${DATABASE_PORT}:11234
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=pass
Expand All @@ -46,7 +49,7 @@ services:
volumes:
- postgres_data:/var/lib/postgresql/data
expose:
- 5432
- ${DATABASE_PORT}

volumes:
evolution_instances:
Expand Down
2 changes: 1 addition & 1 deletion manager/dist/assets/index-CFAZX6IV.js

Large diffs are not rendered by default.

Loading