Tree:
b7e0ada66e
main
v1.0.0
v1.1.0
v2.0.0
v2.1.0
v2.1.1
v3.0.0
v3.1.0
v3.10.0
v3.11.0
v3.2.0
v3.3.0
v3.3.1
v3.4.0
v3.5.0
v3.5.1
v3.6.0
v3.7.0
v3.8.0
v3.8.1
v3.9.0
v4.0.0
v4.1.0
v4.10.0
v4.11.0
v4.11.1
v4.12.0
v4.13.0
v4.14.0
v4.14.1
v4.14.2
v4.15.0
v4.16.0
v4.17.0
v4.18.0
v4.19.0
v4.2.0
v4.20.0
v4.21.0
v4.21.1
v4.22.0
v4.22.1
v4.3.0
v4.4.0
v4.4.1
v4.4.2
v4.4.3
v4.4.4
v4.4.5
v4.4.6
v4.5.0
v4.5.1
v4.5.2
v4.6.0
v4.6.1
v4.6.2
v4.7.0
v4.7.1
v4.7.2
v4.7.3
v4.7.4
v4.8.0
v4.8.1
v4.8.2
v4.8.3
v4.8.4
v4.9.0
v4.9.1
v4.9.2
v4.9.3
v4.9.4
v5.0.0
v5.1.0
v5.2.0
v5.2.1
v5.3.0
v5.3.1
v5.4.0
v5.5.0
v5.6.0
v5.6.1
v6.0.0
v6.0.1
v6.0.2
v6.0.3
v6.1.0
v6.1.1
${ noResults }
3 Commits (b7e0ada66e70e3ee7311aa8d78cde6b9ca8f7867)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
b7e0ada66e |
feat: wa status, enhance reply, update ui, multiple webhook
commit |
1 year ago |
|
|
93f42ecefe
|
feat: add postgres support (fixes #165) (#223)
This PR introduce a new flag --db-uri to define a way to specify where to store the db (either locally using `file:` schema, or via `postgres:` schema) > the database uri to store the connection data database uri (by default, we'll use sqlite3 under storages/whatsapp.db). database uri --db-uri <string> | example: --db-uri="file:storages/whatsapp.db?_foreign_keys=off or postgres://user:password@localhost:5432/whatsapp"`) Fixes #163 |
1 year ago |
|
|
c2c94d560e
|
fix: null webhook message when edit (#221)
* fix: update deps & bug fix fix(go.mod): update module dependencies to latest versions to ensure compatibility and security fix(whatsapp.go): enhance event message handling by adding quoted message field and streamline message building and media extraction functions * fix: make webhook call async and add retry mechanism fix(init.go): wrap forwardToWebhook call in a goroutine to make it async feat(webhook.go): add timestamp field to the webhook payload fix(webhook.go): implement retry logic for submitWebhook with exponential backoff * feat: update version * feat: add max download size validation for media files - settings.go: add WhatsappSettingMaxDownloadSize for file size validation (500MB) - utils.go: check file size before writing media to disk, returning an error if it exceeds the max limit * fix: improve error handling and logging fix(utils.go): replace panic with logrus error logging and return false fix(webhook.go): add logrus error logging when media download fails fix(webhook.go): add logrus info and warning logging for webhook submission attempts * fix: add omitempty tags to JSON fields to avoid empty values refactor(webhook.go): restructure createPayload to check and add fields conditionally, improving clarity and preventing unnecessary fields refactor(webhook.go): handle media extraction only when media is present, improving readability and maintainability * fix: add nil check for device in whatsapp init fix(init.go): add check for nil device and log error before panic Ensure proper error handling when no device is found |
1 year ago |