iachat/app/javascript/dashboard/i18n/locale/en
Cayo P. R. Oliveira acd1e56a28 feat: baileys provider for whatsapp (#7)
* feat: baileys provider and placeholder for link device modal

* chore: drop qrcode.vue in favor of just img tag

* chore: update modal props

* feat: setup channel provider connection

* chore: update .env.example with Baileys API default configuration

* feat: add support for Baileys provider in WhatsApp events processing

* chore: rename Baileys API default host variable to DEFAULT_BAILEYS_URL

* feat: add setup and disconnect methods for Baileys channel provider in inboxes controller that will be implemented

* feat: add CHANNEL_CONNECTION_UPDATE event and include it in broadcast data preparation

* refactor: simplify channel retrieval logic in WhatsappEventsJob

* refactor: revert CHANNEL_UPDATE_EVENTS constant from ActionCableBroadcastJob

* feat: add 'baileys' as a provider option in Whatsapp channel model

* feat: add provider_connection field to Whatsapp channel model and migration

* refactor: remove unnecessary  CHANNEL_CONNECTION_UPDATE event type

* feat: implement channel provider connection with baileys API

* feat: add inbox association to Whatsapp channel model and update webhook URL handling

* feat: enhance Baileys service to handle webhook multiple event types

* refactor: simplify webhook verification logic in Baileys service

* feat: add setup channel provider call, and refactor some logic

* chore: adapt logic to new API

* refactor: fix typo

* refactor: fix import

* refactor: fix typo

* chore: add fixme comment about race condition

* fix: remove double disconnect call

* feat: implement message processing for incoming WhatsApp messages

* refactor: streamline message type determination and improve readability

* chore: increase cache key granularity

provider connection info might be updated multiple times within 1 second, so updates might be lost due to cache key not being updated. changing cache key to milliseconds solves this

* feat: add `is-loading` to buttons

* feat: update send_message method to use 'to' parameter and improve error handling

* refactor: simplify test setup and update API key in specs

* chore: add setup and disconnect channel provider specs

* test: fix spec after increase cache key granularity

* feat: handle reconnecting state on modal

* style: centered error text

* feat: advanced options on create inbox

* feat: handle new reconnecting on backend

* refactor: update inbox controller specs and leave a FIXME note

* test: add specs for Whatsapp::IncomingMessageBaileysService

* feat: add baileys configuration page

* feat: link device button when disconnected on conversation

* chore: refactor .env.example

* feat: add TODO for unimplemented methods in IncomingMessageBaileysService

* fix: correct method name and update environment variable references in WhatsappBaileysService

* refactor: simplify channel lookup by removing redundant method and handling phone number check directly

* chore: add TODO for unimplemented event processing methods in IncomingMessageBaileysService

* fix: update environment variable references in WhatsappBaileysService tests

* chore(webhook): add pt-BR translations

* chore: add pt-br translations

* chore: inboxname component margin

* refactor: inboxname computed prop

* feat: enhance WhatsApp provider connection handling and message processing

* test: inbox controller

* chore: improve baileys connection and messages handling

* test: incoming message service baileys

* refactor: update provider config validation and improve test setup for WhatsApp Baileys service

* fix: ensure only text messages are sent and update message source ID

* fix: create message

* fix: only update message on success

* test: fix broken specs

* chore: raise error on unsupported message content type

* feat: hide provider connection data from non-admins

* fix: update advanced options

* chore: move class definition

* fix: issue with send_message not returning id

---------

Co-authored-by: gabrieljablonski <contact@gabrieljablonski.com>
2025-04-03 23:28:38 -03:00
..
advancedFilters.json feat(v4): Add new conversation filters component (#10502) 2024-11-27 20:05:54 -08:00
agentBots.json chore: Update settings to match the new design (#11084) 2025-03-14 14:28:14 +05:30
agentMgmt.json fix: Translate "None" option in agent assignment dropdown (#11060) 2025-03-11 14:49:27 -07:00
attributesMgmt.json chore: update interpolation syntax for i18n files (#10198) 2024-10-07 11:12:40 -07:00
auditLogs.json chore: update interpolation syntax for i18n files (#10198) 2024-10-07 11:12:40 -07:00
automation.json chore(i18n): Improvements in automation and macros (#11231) 2025-04-02 15:48:42 -07:00
bulkActions.json chore: update interpolation syntax for i18n files (#10198) 2024-10-07 11:12:40 -07:00
campaign.json feat(v4): Update the campaigns page design (#10371) 2024-10-31 11:57:13 +05:30
cannedMgmt.json feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
chatlist.json feat: Adds support for telegram contact sharing (#10841) 2025-02-06 14:23:08 +05:30
components.json feat: Add support for feature spotlight components (#11012) 2025-03-18 13:17:42 -07:00
contact.json fix: Incorrect translation in contact merge modal and resolve z-index issue (#10943) 2025-02-20 22:01:36 -08:00
contactFilters.json fix: Contact filter attribute groups (#10080) 2024-09-06 13:41:48 +05:30
conversation.json feat: baileys provider for whatsapp (#7) 2025-04-03 23:28:38 -03:00
csatMgmt.json feat: more CSAT filters (#7038) 2023-05-18 22:50:46 +05:30
customRole.json feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
datePicker.json feat: Custom date picker (#9247) 2024-04-29 14:43:57 +05:30
emoji.json feat: Adds the ability to set an emoji for help center category (#8111) 2023-10-20 13:52:30 +05:30
general.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
generalSettings.json feat: Ability to delete account for administrators (#1874) 2025-04-03 10:41:39 +05:30
helpCenter.json feat(v4): Help center portal redesign improvements (#10349) 2024-10-28 21:04:43 -07:00
inbox.json feat(v4): Update Inbox view card design (#10599) 2025-01-07 21:11:54 +05:30
inboxMgmt.json feat: baileys provider for whatsapp (#7) 2025-04-03 23:28:38 -03:00
index.js chore: Update translations, add pnpm sync:i18n command (#10893) 2025-02-12 17:43:46 -08:00
integrationApps.json chore: Update settings to match the new design (#11084) 2025-03-14 14:28:14 +05:30
integrations.json feat: webhook inbox (#5) 2025-04-03 23:28:38 -03:00
labelsMgmt.json feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
login.json feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
macros.json feat: Add webhook event support for macros (#11235) 2025-04-02 20:26:55 -07:00
report.json feat: Add per-page support for agent and team overview report pagination (#11110) 2025-03-19 16:45:59 +05:30
resetPassword.json feat: Support dark mode in login pages (#7420) 2023-07-01 07:49:52 +05:30
search.json feat: show email subject in conversation search results (#10843) 2025-02-06 10:38:57 +05:30
setNewPassword.json feat: update product copy [CWM-45] (#6372) 2023-04-25 22:02:15 -07:00
settings.json chore: Remove old buttons from Vue2 design (#11159) 2025-03-31 17:51:38 -07:00
signup.json fix: signup form broken in production (#10206) 2024-10-03 11:23:30 +05:30
sla.json feat: Update the design for integration page (#9825) 2024-07-24 16:35:40 -07:00
teamsSettings.json chore: update interpolation syntax for i18n files (#10198) 2024-10-07 11:12:40 -07:00
webhooks.json Feature: As a admin, I should be able to add webhooks to account (#572) 2020-02-29 17:43:49 +05:30
whatsappTemplates.json chore: update interpolation syntax for i18n files (#10198) 2024-10-07 11:12:40 -07:00