Commit Graph

307 Commits

Author SHA1 Message Date
mlogclub 4ec529e860 feat: add user token secret management for channels
- Implemented user token secret generation and retrieval in channel service.
- Added ResetUserTokenSecret method to reset the user token secret for channels.
- Updated channel configuration parsing to include user token secret.
- Enhanced WebSocket service to utilize user token secret for external info retrieval.
- Modified dashboard channel edit component to support user token secret display and reset functionality.
- Introduced API endpoint for resetting user token secret.
- Updated IM and SDK configurations to include user token.
- Added tests for user token verification logic.
2026-04-28 10:15:15 +08:00
mlogclub d713bd5158 refactor: update Conversation model to include CustomerName, adjust related logic and queries 2026-04-27 19:27:24 +08:00
mlogclub 3a9bc4914a refactor: remove Subject field from Conversation model and related logic, replace with CustomerName 2026-04-27 19:22:40 +08:00
mlogclub 2d2d2d2051 feat: implement EnsureExternalCustomer method in CustomerService and refactor customer creation logic 2026-04-27 19:09:29 +08:00
mlogclub b3ef55b04e refactor: remove ExternalSource and ExternalID from Conversation model and related services, update references to use ChannelID instead 2026-04-27 19:04:10 +08:00
mlogclub 24105781d9 refactor: update visitor references to guest in WebSocket service and related files 2026-04-27 18:52:33 +08:00
mlogclub c14ade27e4 feat: update ExternalSource enum and labels to include User and adjust related mappings 2026-04-27 18:46:24 +08:00
mlogclub 9d2abcd702 fix: update CustomerSourceTypeWebChat to use ExternalSourceGuest and adjust related mappings
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 18:42:04 +08:00
mlogclub 73b78a817d refactor: remove ExternalType from CustomerIdentity and related structures 2026-04-27 18:40:25 +08:00
mlogclub f8b44ab127 feat: add ExternalType to ExternalInfo struct and update GetExternalInfo function 2026-04-27 18:22:14 +08:00
mlogclub feecbdf1d0 feat: add ExternalType to customer identity model and update related services and enums 2026-04-27 18:07:56 +08:00
mlogclub 1bb4608051 feat: add ChannelID to conversation model and update related services and responses 2026-04-27 17:59:23 +08:00
mlogclub bc98fc572f refactor: update externalName references in widget configuration and SDK 2026-04-27 16:51:13 +08:00
mlogclub cd9de63860 refactor: remove WeChat MP OAuth handling and related configurations 2026-04-27 16:30:58 +08:00
mlogclub 2220dcb0cb refactor: simplify WeChat MP OAuth handling and update channel configuration structure 2026-04-27 16:01:00 +08:00
mlogclub fbabb174d2 feat: add WeChat MP channel support and enhance widget configuration
- Updated output path for generated enums to reflect new structure.
- Enhanced ChannelController to handle WeChat MP OAuth authorization and callback.
- Introduced WechatMPChannelConfig DTO for WeChat MP specific configurations.
- Modified WidgetConfigResponse to include channel type and external source.
- Added enums for WeChat MP channel type and external source.
- Implemented OAuth flow for WeChat MP, including state signing and verification.
- Updated frontend forms to accommodate WeChat MP configurations.
- Enhanced API interactions to support WeChat MP external ID and source.
- Updated generated enums to include WeChat MP external source.
2026-04-27 15:42:04 +08:00
mlogclub 15d0d81fa1 refactor KefuChatShell component by removing unused host actions state and simplifying button rendering 2026-04-27 14:52:14 +08:00
mlogclub b4e26d2359 refactor KefuChatShell button layout to use ButtonGroup and update styles for better consistency 2026-04-27 14:31:16 +08:00
mlogclub 1e2a0c43d8 add web access guide component and enhance channel form with dynamic details 2026-04-27 14:16:38 +08:00
mlogclub 2dc4ff5980 refactor channel form layout and improve field labeling for better clarity 2026-04-27 11:57:40 +08:00
mlogclub cff474e392 improve error handling for WeCom KF accounts loading 2026-04-27 11:54:47 +08:00
mlogclub 12f66bcf27 add wxwork kf account management functionality 2026-04-27 11:43:34 +08:00
mlogclub 9a82a3ea52 update button layout and add SVG icon for customer service launcher 2026-04-27 11:20:36 +08:00
mlogclub e0b15c23d9 update gorm log config 2026-04-26 20:52:22 +08:00
mlogclub 3ab70bf049 update logo 2026-04-26 20:35:21 +08:00
mlogclub ce6994b15f update logo 2026-04-26 20:31:07 +08:00
mlogclub 603b8ff593 update logo 2026-04-26 20:22:09 +08:00
mlogclub 8dff6450b2 update wxwork.svg path 2026-04-26 20:13:16 +08:00
mlogclub a3cd67f80f update 2026-04-26 20:04:54 +08:00
mlogclub 6be1d74f09 update README.md 2026-04-26 19:59:29 +08:00
mlogclub 53d33fbb18 chore: update docs submodule for v1.2.0 2026-04-26 09:54:20 +08:00
mlogclub abda70eafd update 2026-04-25 21:48:09 +08:00
mlogclub 67900d9849 feat: replace ImMessageEditor with AgentMessageEditor and CustomerMessageEditor, refactor shared message editor logic
- Introduced AgentMessageEditor component for agent message handling.
- Created CustomerMessageEditor component to handle customer messages.
- Refactored shared message editor logic into SharedMessageEditor.
- Removed the old KefuMessageEditor component.
- Updated chat panel to use the new AgentMessageEditor.
- Updated KefuChatShell to use CustomerMessageEditor instead of KefuMessageEditor.
- Added quick reply fetching and handling in AgentMessageEditor.
2026-04-25 18:33:32 +08:00
mlogclub 9a2ae5c505 refactor: implement MessageImageExtension for enhanced image handling in message editors 2026-04-25 18:17:08 +08:00
mlogclub 7945fc32f6 refactor: enhance image uploading feedback in message editors with new class handling 2026-04-25 18:15:46 +08:00
mlogclub 65d8a9267c refactor: enhance image upload handling in message editors with centralized logic 2026-04-25 17:38:07 +08:00
mlogclub 2af8d831a7 refactor: enhance image handling in message editor with centralized functions 2026-04-25 17:37:34 +08:00
mlogclub 94ac7d613c refactor: standardize event type naming for resync handling 2026-04-25 17:26:27 +08:00
mlogclub 96fde7aaab refactor: enhance realtime message handling and conversation state management 2026-04-25 17:24:26 +08:00
mlogclub 0b22c003b0 refactor: implement centralized realtime connection manager and enhance message handling logic 2026-04-25 16:27:58 +08:00
mlogclub e109d19ea9 refactor: replace custom message merging logic with centralized mergeImMessagesByIdAsc function 2026-04-25 12:26:45 +08:00
mlogclub b48aa901d6 refactor: add resize observer to KefuMessageList for improved responsiveness 2026-04-25 11:37:33 +08:00
mlogclub 87e033c70e refactor: update styling in KefuMessageEditor for improved consistency and clarity 2026-04-25 11:35:50 +08:00
mlogclub 9d9c83a72c refactor: update styling for chat components to enhance visual consistency and accessibility 2026-04-25 11:31:16 +08:00
mlogclub 4da7e168fa refactor: enhance UI components and improve styling consistency across chat interface 2026-04-25 11:26:53 +08:00
mlogclub 25928c1b7d refactor: remove redundant devIndicators setting in next.config.ts 2026-04-25 11:19:25 +08:00
mlogclub 323db62512 refactor: reorganize WebSocket API route configuration for improved clarity 2026-04-25 10:51:41 +08:00
mlogclub 2c884c13cf refactor: update WebSocket API routes for improved clarity and structure 2026-04-25 10:50:23 +08:00
mlogclub 270bb83fdb refactor: remove commented-out API route configuration for clarity 2026-04-25 10:35:18 +08:00
mlogclub 1b3fc8159c feat: implement ExternalInfoMiddleware and update routing for improved context handling 2026-04-25 10:31:35 +08:00