Skip to content

Fix/create bucket if no exist minio#19

Open
oismaelash wants to merge 8 commits intoEvolutionAPI:mainfrom
oismaelash:fix/create-bucket-if-no-exist-minio
Open

Fix/create bucket if no exist minio#19
oismaelash wants to merge 8 commits intoEvolutionAPI:mainfrom
oismaelash:fix/create-bucket-if-no-exist-minio

Conversation

@oismaelash
Copy link
Copy Markdown

Description

add automatic bucket creation check to MinIO storage initialization

z

Related Issue

Closes #(issue_number)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement

Testing

  • Manual testing completed
  • Functionality verified in development environment
  • No breaking changes introduced

Screenshots (if applicable)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have tested my changes thoroughly
  • Any dependent changes have been merged and published

Additional Notes

Add centralized swagger models in pkg/core/swagger_models.go to provide consistent API response structures.
Update all handler Swagger annotations to reference these core models instead of generic gin.H responses.
This improves API documentation clarity and ensures consistent response formats across all endpoints.

Additionally, refactor version initialization in main.go to use a function and add WebSocket endpoint documentation.
Update README to recommend using the new start.sh script for easier Docker setup.
Add docker-compose.yml to define all required services (PostgreSQL, RabbitMQ, MinIO).
Add start.sh script to automate submodule initialization, environment configuration, and container startup.
…mage tag

Remove explicit image tag for evolution-go service to rely on build context
Standardize container names by removing project prefix (evolution-)
Add POSTGRES_DB environment variable for postgres service
Introduce TELEMETRY_ENABLED environment variable to control telemetry collection.
When disabled, middleware skips telemetry entirely. When enabled, common network
errors (DNS lookup failures, connection refused) are silently ignored to avoid
log spam in restricted environments.
Extend webhook event filtering to support GROUP and NEWSLETTER subscriptions
for Message, SendMessage, and Receipt events. When the main subscription
(e.g., MESSAGE) is not present, check if the event originates from a group
or newsletter chat and forward it if the corresponding subscription exists.
Copy link
Copy Markdown

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @oismaelash, your pull request is larger than the review limit of 150000 diff characters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant