Commit Graph

16 Commits

Author SHA1 Message Date
mlogclub fce0b5709d refactor(ticket): contract backend ticket core 2026-05-02 18:49:10 +08:00
mlogclub 14e3df64f1 feat: add customer session refresh functionality and improve session management
- Introduced RealtimeCustomerSessionRefreshPayload and RealtimeCustomerSessionRefreshEvent types for handling session refresh events.
- Updated ws_service to verify customer session and handle session refresh notifications.
- Enhanced API client to manage customer session tokens and expiration.
- Implemented customer session validation and storage in session storage.
- Added functions to exchange and ensure customer sessions.
- Updated IM real-time connection to include customer session tokens in WebSocket requests.
- Modified SDK and widget configurations to support external IDs and user tokens.
2026-04-28 23:00:22 +08:00
mlogclub 909854cd03 feat(notification): add dashboard notification center 2026-04-28 19:20:38 +08:00
mlogclub cf63b75590 refactor: rename ExternalInfo to ExternalUser and update related functions for consistency
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 11:10:47 +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 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
mlogclub 96168dc6fb Refactor API routes and controllers for improved structure and clarity
- Updated API route structure to remove versioning and consolidate endpoints.
- Refactored routing in `server.go` to use a unified `/api` prefix for all controllers.
- Added new `ChannelController`, `ConversationController`, and `MessageController` to handle specific API functionalities.
- Removed deprecated `OpenImContextMiddleware` and related logic.
- Enhanced channel validation logic in `ChannelService` and `ChannelRepository`.
- Updated frontend API calls to align with new endpoint structure.
2026-04-25 10:27:43 +08:00
mlogclub f55ff09db3 Remove widget 2026-04-24 21:24:24 +08:00
mlogclub 6616b66e72 refactor(Makefile): update targets and directory references for web app integration 2026-04-24 12:04:05 +08:00
mlogclub 1ca7493f31 refactor: update productionBasePath to empty string and adjust static resource handling for dashboard 2026-04-15 18:18:06 +08:00
mlogclub 3209e40a98 refactor: update static resource registration to use dashboard path instead of web 2026-04-15 17:32:42 +08:00
mlogclub 62416baabc Refactor API endpoints to use /api/dashboard instead of /api/console
- Updated all relevant API functions in agent.ts, company.ts, customer-contact.ts, customer.ts, dashboard.ts, ticket-config.ts, and ticket.ts to point to the new /api/dashboard paths.
- Ensured that all request methods and payload structures remain unchanged to maintain existing functionality.
2026-04-15 17:12:30 +08:00
mlogclub efe801b8bf Init 2026-04-09 10:01:23 +08:00