Skip to content

Commit d8d5605

Browse files
authored
Merge pull request #1 from adaptwebtech/main_2
merging cherry picks into my main
2 parents 427c994 + ab1d0e8 commit d8d5605

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2160
-923
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.git
22
*Dockerfile*
33
*docker-compose*
4+
package-lock.json
5+
.env
46
node_modules
57
dist

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ DATABASE_CONNECTION_URI='postgresql://user:pass@postgres:5432/evolution?schema=p
3030
# Client name for the database connection
3131
# It is used to separate an API installation from another that uses the same database.
3232
DATABASE_CONNECTION_CLIENT_NAME=evolution_exchange
33+
DATABASE_PORT=5432
3334

3435
# Choose the data you want to save in the application's database
3536
DATABASE_SAVE_DATA_INSTANCE=true
@@ -62,6 +63,7 @@ RABBITMQ_EVENTS_MESSAGES_EDITED=false
6263
RABBITMQ_EVENTS_MESSAGES_UPDATE=false
6364
RABBITMQ_EVENTS_MESSAGES_DELETE=false
6465
RABBITMQ_EVENTS_SEND_MESSAGE=false
66+
RABBITMQ_EVENTS_SEND_MESSAGE_UPDATE=false
6567
RABBITMQ_EVENTS_CONTACTS_SET=false
6668
RABBITMQ_EVENTS_CONTACTS_UPSERT=false
6769
RABBITMQ_EVENTS_CONTACTS_UPDATE=false
@@ -108,6 +110,7 @@ PUSHER_EVENTS_MESSAGES_EDITED=true
108110
PUSHER_EVENTS_MESSAGES_UPDATE=true
109111
PUSHER_EVENTS_MESSAGES_DELETE=true
110112
PUSHER_EVENTS_SEND_MESSAGE=true
113+
PUSHER_EVENTS_SEND_MESSAGE_UPDATE=true
111114
PUSHER_EVENTS_CONTACTS_SET=true
112115
PUSHER_EVENTS_CONTACTS_UPSERT=true
113116
PUSHER_EVENTS_CONTACTS_UPDATE=true
@@ -149,6 +152,7 @@ WEBHOOK_EVENTS_MESSAGES_EDITED=true
149152
WEBHOOK_EVENTS_MESSAGES_UPDATE=true
150153
WEBHOOK_EVENTS_MESSAGES_DELETE=true
151154
WEBHOOK_EVENTS_SEND_MESSAGE=true
155+
WEBHOOK_EVENTS_SEND_MESSAGE_UPDATE=true
152156
WEBHOOK_EVENTS_CONTACTS_SET=true
153157
WEBHOOK_EVENTS_CONTACTS_UPSERT=true
154158
WEBHOOK_EVENTS_CONTACTS_UPDATE=true
@@ -221,6 +225,8 @@ CACHE_REDIS_PREFIX_KEY=evolution
221225
CACHE_REDIS_SAVE_INSTANCES=false
222226
# Local Cache enabled
223227
CACHE_LOCAL_ENABLED=false
228+
#Redis Port
229+
REDIS_PORT=6379
224230

225231
# Amazon S3 - Environment variables
226232
S3_ENABLED=false

.github/workflows/publish_docker_image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: meta
2121
uses: docker/metadata-action@v5
2222
with:
23-
images: atendai/evolution-api
23+
images: evoapicloud/evolution-api
2424
tags: type=semver,pattern=v{{version}}
2525

2626
- name: Set up QEMU

.github/workflows/publish_docker_image_homolog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: meta
2121
uses: docker/metadata-action@v5
2222
with:
23-
images: atendai/evolution-api
23+
images: evoapicloud/evolution-api
2424
tags: homolog
2525

2626
- name: Set up QEMU

.github/workflows/publish_docker_image_latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: meta
2121
uses: docker/metadata-action@v5
2222
with:
23-
images: atendai/evolution-api
23+
images: evoapicloud/evolution-api
2424
tags: latest
2525

2626
- name: Set up QEMU

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
/dist
33
/node_modules
44

5+
.cursor*
6+
57
/Docker/.env
68

79
.vscode

Docker/swarm/evolution_api_v2.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.7"
22

33
services:
44
evolution_v2:
5-
image: atendai/evolution-api:v2.1.2
5+
image: evoapicloud/evolution-api:latest
66
volumes:
77
- evolution_instances:/evolution/instances
88
networks:
@@ -34,6 +34,7 @@ services:
3434
- RABBITMQ_EVENTS_MESSAGES_UPDATE=false
3535
- RABBITMQ_EVENTS_MESSAGES_DELETE=false
3636
- RABBITMQ_EVENTS_SEND_MESSAGE=false
37+
- RABBITMQ_EVENTS_SEND_MESSAGE_UPDATE=false
3738
- RABBITMQ_EVENTS_CONTACTS_SET=false
3839
- RABBITMQ_EVENTS_CONTACTS_UPSERT=false
3940
- RABBITMQ_EVENTS_CONTACTS_UPDATE=false
@@ -71,6 +72,7 @@ services:
7172
- WEBHOOK_EVENTS_MESSAGES_UPDATE=true
7273
- WEBHOOK_EVENTS_MESSAGES_DELETE=true
7374
- WEBHOOK_EVENTS_SEND_MESSAGE=true
75+
- WEBHOOK_EVENTS_SEND_MESSAGE_UPDATE=true
7476
- WEBHOOK_EVENTS_CONTACTS_SET=true
7577
- WEBHOOK_EVENTS_CONTACTS_UPSERT=true
7678
- WEBHOOK_EVENTS_CONTACTS_UPDATE=true

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
FROM node:20-alpine AS builder
22

33
RUN apk update && \
4-
apk add git ffmpeg wget curl bash openssl
4+
apk add --no-cache git ffmpeg wget curl bash openssl
55

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

1010
WORKDIR /evolution
1111

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a. LOGO and copyright information: In the process of using Evolution API's front
88

99
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.
1010

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

1313
2. As a contributor, you should agree that:
1414

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<div align="center">
44

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

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

112114
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.
113115

114-
Please contact contato@atendai.com to inquire about licensing matters.
116+
Please contact contato@evolution-api.com to inquire about licensing matters.
115117

116118
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).
117119

0 commit comments

Comments
 (0)