Davidson Gomes
5f44da61fb
feat(evolution-manager): add evolution-manager-v2 as a submodule and update changelog
...
- Introduced evolution-manager-v2 as a git submodule for easier access and integration.
- Updated CHANGELOG to reflect the addition of evolution-manager-v2 with details on its features and open-source setup.
- Adjusted media message handling in EvolutionStartupService to use null instead of undefined for base64 and mediaUrl properties, ensuring better data consistency.
2025-09-18 17:00:15 -03:00
Davidson Gomes
8ab41fcfc9
feat(kafka): add Kafka integration for event streaming
...
- Introduced Kafka support in the Evolution API, allowing for real-time event streaming and processing.
- Updated environment configuration to include Kafka-related variables.
- Added KafkaController and KafkaRouter for managing Kafka events.
- Enhanced event management to support Kafka alongside existing integrations.
- Updated database schemas and migrations for Kafka integration in both MySQL and PostgreSQL.
- Documented Kafka integration in the README file.
2025-09-18 15:44:56 -03:00
Davidson Gomes
5e08628d89
refactor(eslint): change unused vars rule to error and update error handling in services
...
- Update ESLint configuration to set `@typescript-eslint/no-unused-vars` from 'warn' to 'error' for stricter linting.
- Refactor error handling in various services to omit error variable in catch blocks for cleaner code.
2025-09-18 14:59:33 -03:00
Davidson Gomes
9d42ad3495
refactor(eslint): update TypeScript object type usage and adjust linting rules
...
- Change usage of `Object` to `object` in various files for better type safety.
- Update ESLint configuration to change `@typescript-eslint/no-unused-vars` from 'error' to 'warn' and disable certain rules related to object types.
2025-09-18 14:48:56 -03:00
Davidson Gomes
ff9ff60e3b
Merge pull request #1955 from ricaelchiquetti/fix/upsert_remote_jid_alt
...
Fix/Adjust remote message key handling in WhatsApp service to include alternative JID
2025-09-18 09:30:28 -03:00
ricael
c6a7e2368b
fix: ajustar a manipulação da chave remota da mensagem no serviço WhatsApp para incluir JID alternativo
2025-09-18 09:22:40 -03:00
ricael
24c339343f
fix: ajustar a manipulação do remoteJid na mensagem do serviço WhatsApp para garantir a utilização da chave alternativa quando disponível
2025-09-17 17:41:07 -03:00
Davidson Gomes
3ddbd6a7fb
feat(config): add telemetry and metrics configuration options
...
- Introduce new environment variables for telemetry and Prometheus metrics in .env.example
- Create example configuration files for Prometheus and Grafana dashboards
- Update main application to utilize new configuration settings for Sentry, audio converter, and proxy
- Enhance channel services to support audio conversion API integration
- Implement middleware for metrics IP whitelisting and basic authentication in routes
2025-09-17 16:50:36 -03:00
Davidson Gomes
09ee2e6296
feat: integrate Husky and lint-staged for automated code quality checks; update changelog and README for new features
2025-09-17 14:49:26 -03:00
Davidson Gomes
55822f9443
style: improve code formatting for better readability in WhatsApp service files
2025-09-17 14:30:27 -03:00
Davidson Gomes
00780157db
style(sqs): format messageGroupId assignment for improved readability
2025-09-17 14:27:19 -03:00
Davidson Gomes
b514fab30e
fix: address Path Traversal vulnerability in /assets endpoint by implementing security checks
2025-09-17 14:27:19 -03:00
Davidson Gomes
7ba878742e
Merge pull request #1897 from nolramaf/feat/validate-video-type-before-uploading-to-s3
...
Build Docker image / Build and Deploy (push) Waiting to run
feat/validate video type before uploading to S3
2025-09-17 14:27:03 -03:00
Davidson Gomes
d998baa839
Merge pull request #1896 from nolramaf/feat/add-global-sqs-mode
...
feat/add global SQS mode with single-queue-per-event and payload size control
2025-09-17 14:26:15 -03:00
Davidson Gomes
e75dae38ee
Merge pull request #1947 from elizandropacheco/feat/prometheus-metrics
...
Feat/prometheus metrics
2025-09-17 14:25:22 -03:00
Davidson Gomes
1fabb1f3bd
Merge pull request #1951 from Nocelli/develop
...
feat: add extra fields to object sent to Flowise bot
2025-09-17 14:23:52 -03:00
Elizandro Pacheco
edfcb0c082
style(metrics): linted index.router.ts after eslint --fix
2025-09-17 12:05:30 -03:00
Davidson Gomes
827604644b
Merge pull request #1918 from ricaelchiquetti/main
...
feat: implement standardized error handling for WhatsApp API responses
2025-09-17 11:40:23 -03:00
Rafael Nocelli Soares
481e179cc5
feat: add extra fields to object sent to Flowise bot
2025-09-17 10:49:13 -03:00
ricael
ab4bec3b54
Merge branch 'develop' into main
2025-09-17 08:50:39 -03:00
ricael
20c8a2ff0e
Merge branch 'fix/business_api' into fix/evolution_baileys_7
2025-09-17 08:18:20 -03:00
ricael
e623269a18
fix: ajustar o tratamento da chave de mídia na mensagem do serviço WhatsApp para usar Uint8Array
2025-09-17 08:13:33 -03:00
furious
3eeffe4586
fix: convert mediaKey from media messages to avoid bad decrypt errors
2025-09-16 23:02:36 -03:00
Elizandro Pacheco
0e737d48c1
chore(metrics): use 'unknown' as fallback for clientName label
2025-09-16 19:40:21 -03:00
Elizandro Pacheco
875b874a7b
feat: add Prometheus-compatible /metrics endpoint (gated by PROMETHEUS_METRICS)
2025-09-16 19:35:23 -03:00
Davidson Gomes
486645fb08
chore: update Baileys dependency to version 7.0.0-rc.3 and improve message key handling in WhatsApp service
Build Docker image / Build and Deploy (push) Has been cancelled
2025-09-15 16:21:33 -03:00
ricaelchiquetti
f72b1f7717
Merge branch 'EvolutionAPI:main' into fix/business_api
2025-09-11 11:10:41 -03:00
ricael
06081f6502
fix: adicionado tratamento para evitar envio de filename e caption em mensagens de vídeo e áudio no BusinessStartupService
2025-09-10 16:59:04 -03:00
Davidson Gomes
d31d6fa554
refactor: replace JSON path queries with raw SQL in Baileys and Chatwoot services to improve message retrieval and update logic
Build Docker image / Build and Deploy (push) Waiting to run
2025-09-09 16:18:15 -03:00
Davidson Gomes
edbf36019e
Merge pull request #1929 from moothz/main
...
Customizable Websockets Security
2025-09-09 16:06:31 -03:00
moothz
d67eb3202b
Fix lint
2025-09-09 15:46:26 -03:00
moothz
0aa6c96765
Customizable Websockets Security
...
Enables the option to specify safe remote addresses using WEBSOCKET_ALLOWED_HOSTS enviroment variables. Defaults to the secure only localhost.
2025-09-09 14:56:11 -03:00
Davidson Gomes
8619e320bc
Merge pull request #1928 from josiasmaceda/hotfix/chatbot-not-return-after-human
...
fix: allowing the chatbot return after the time expires and after human interaction (stopBotFromMe)
2025-09-09 14:33:20 -03:00
Davidson Gomes
5015cfbc9d
Merge pull request #1927 from josiasmaceda/hotfix/change-typebot-status-webhook
...
fix: integrate Typebot status change events for webhook in chatbot controller e service
2025-09-09 14:31:57 -03:00
Josias Maceda
cf548eedbe
fix: lint with npm run lint
2025-09-09 14:19:54 -03:00
Josias Maceda
b9ae40145d
fix: the lint with npm run lint
2025-09-09 14:15:16 -03:00
Josias Maceda
bc9724a929
fix: remove abort process when status is paused, allowing the chatbot return after the time expires and after being paused due to human interaction (stopBotFromMe)
2025-09-09 13:54:53 -03:00
Davidson Gomes
21502b996d
fix: enhance message content sanitization in Baileys service and improve message retrieval logic in Chatwoot service
2025-09-09 12:50:51 -03:00
Davidson Gomes
d9c04fc866
Merge pull request #1906 from andres99x/enhancmenet/check-chatwoot-cron-id
...
fix: Prevent Duplicate Cron Jobs for Chatwoot Message Sync
2025-09-09 12:20:27 -03:00
Davidson Gomes
d6a76a096d
Merge pull request #1908 from dersonbsb2022/main
...
feat: implement disable/enable linkPreview support for Evolution Bot
2025-09-09 12:19:57 -03:00
Josias Maceda
0116bc4c9f
fix: integrate Typebot status change events for webhook in chatbot controller and service
2025-09-09 11:49:13 -03:00
Davidson Gomes
6da79f0313
chore: update CHANGELOG for Baileys v7.0.0-rc.2 and implement message content sanitization in Baileys service
Build Docker image / Build and Deploy (push) Waiting to run
2025-09-08 19:53:52 -03:00
Davidson Gomes
8830f476e8
chore: bump version to 2.3.3 in package-lock.json and update remoteJid handling in Baileys service
Build Docker image / Build and Deploy (push) Waiting to run
2025-09-08 15:48:38 -03:00
ricael
05fcdd9ffc
refactor: melhora na formatação do log de erro da API do WhatsApp
2025-09-08 14:45:33 -03:00
Davidson Gomes
3ecf288daf
Revert "Ignore events that are not messages (like EPHEMERAL_SYNC_RESPONSE)"
2025-09-08 14:45:29 -03:00
ricael
16c0a8033f
add stringify
2025-09-08 14:36:09 -03:00
ricael
79438c9445
refactor: lint fix
2025-09-08 09:11:45 -03:00
ricael
10a2c001ab
feat: implement standardized error handling for WhatsApp API responses
2025-09-08 08:48:49 -03:00
Marlon Alves
7486d22ed1
feat/change variable messageGroupId
2025-09-05 07:18:07 -03:00
Anderson Silva
4f13a8ac28
style: clean up code formatting for linkPreview implementation
...
- Remove unnecessary trailing whitespace
- Use shorthand property syntax for linkPreview parameter
- Apply ESLint formatting standards
- Maintain code consistency and readability
2025-09-04 14:35:56 -03:00