Commit Graph

232 Commits

Author SHA1 Message Date
mlogclub a06ce7074e fix(ticket): close backend core review gaps 2026-05-02 18:57:40 +08:00
mlogclub fce0b5709d refactor(ticket): contract backend ticket core 2026-05-02 18:49:10 +08:00
mlogclub 0609ad758c fix: remove redundant human support suggestion in fallback reply 2026-05-02 15:37:04 +08:00
mlogclub a8f032d332 fix: bypass answerability gate for runtime actions 2026-05-02 15:04:17 +08:00
mlogclub 3eff8b5c3a fix: simplify fallback reply handling in knowledge guard 2026-05-02 14:51:39 +08:00
mlogclub 2737f660f7 fix: close answerability gate review gaps 2026-05-02 14:40:16 +08:00
mlogclub 8f968fe3ca feat: wire answerability gate into ai runtime 2026-05-02 14:21:49 +08:00
mlogclub 0230e05dce fix: harden rag answerability gate 2026-05-02 14:14:31 +08:00
mlogclub 9e30167eaf feat: implement rag answerability gate graph 2026-05-02 14:06:23 +08:00
mlogclub 269042b9d4 feat: add rag answerability gate types 2026-05-02 13:56:01 +08:00
mlogclub 28913ad440 feat: add answerability runtime trace fields 2026-05-02 13:51:26 +08:00
mlogclub a959477617 fix(knowledge-guard): enhance fallback logic for knowledge retrieval and add tests 2026-05-02 13:38:44 +08:00
mlogclub 1f36717d17 feat(conversation): send welcome message on new chat 2026-05-02 12:30:27 +08:00
mlogclub 84a0dba286 fix(customer): sync conversation name callback 2026-05-02 11:36:32 +08:00
mlogclub 0e0747bfc4 feat(conversation): expose current team in responses 2026-05-02 11:34:32 +08:00
mlogclub 11998799c9 feat(conversation): support team-pool dispatch fallback 2026-05-02 11:33:58 +08:00
mlogclub 24802b23ce feat(conversation): add schedule-aware handoff decisions 2026-05-02 11:32:39 +08:00
mlogclub 56d57f10c5 fix(auth): keep lockout window stable 2026-04-30 18:20:36 +08:00
mlogclub 3d4d5e116e test(auth): avoid closing shared service test db 2026-04-30 18:12:46 +08:00
mlogclub 34e27dffca fix(auth): align lockout check ordering 2026-04-30 17:57:28 +08:00
mlogclub 9d74df5b37 fix(auth): align session validation and lockout semantics 2026-04-30 17:48:58 +08:00
mlogclub fbafb13a8a refactor(auth): simplify admin session token flow 2026-04-30 17:42:24 +08:00
mlogclub 8be2d06283 fix(knowledge): paginate document list without content 2026-04-30 13:43:22 +08:00
mlogclub c9d1ae13f4 refactor: move batch schedule response mapping to builder 2026-04-29 20:33:30 +08:00
mlogclub a2ba3784fb feat: expose batch schedule endpoints 2026-04-29 19:48:19 +08:00
mlogclub c7e6c8a0db feat: implement batch schedule service 2026-04-29 19:41:16 +08:00
mlogclub 60119355d7 test: cover batch schedule service rules 2026-04-29 19:27:03 +08:00
mlogclub 630f25df95 feat: add batch schedule dto and repository methods 2026-04-29 19:03:58 +08:00
mlogclub 6331ce32c4 feat(schedule): remove sourceType from schedule models and payloads 2026-04-29 15:09:35 +08:00
mlogclub 2589c1da13 feat(schedule): add validation to prevent cross-day and historical schedule entries 2026-04-29 14:16:26 +08:00
mlogclub 8646b002c1 feat: add calendar scheduling feature for agent teams
- Implemented FindCalendarSchedules method in agentTeamScheduleService to retrieve schedules within a specified time range.
- Added new API endpoint fetchAgentTeamScheduleCalendar to fetch schedules for the calendar view.
- Created ScheduleCalendar component to display agent team schedules in a calendar format with drag-and-drop functionality for moving and resizing schedules.
- Updated EditDialog component to support deleting schedules and handling default values for new entries.
- Enhanced DashboardAgentTeamSchedulesPage to toggle between calendar and list views, and to load calendar data based on selected week.
- Added tests for FindCalendarSchedules to ensure correct schedule retrieval and validation of time ranges.
2026-04-29 09:23:54 +08:00
mlogclub bcd2c603f4 fix(notification): ensure BuildNotificationList returns an empty slice instead of nil 2026-04-28 23:09:50 +08:00
mlogclub 28d1cfc160 fix(customer_service): update EnsureExternalCustomer to use TxContext 2026-04-28 23:03:06 +08:00
mlogclub 21a08f3cb1 fix(notification): sync notification permissions 2026-04-28 23:00:22 +08:00
mlogclub 55d55101df feat(widget-demo): add direct chat URL generation and copy functionality 2026-04-28 23:00:22 +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 bfc9b317dc fix(ticket_service): update user retrieval to use UserRepository 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 0ad2ef83df refactor: rename VerifyUserToken function to verifyUserToken for consistency 2026-04-28 10:46:58 +08:00
mlogclub 864c3cc61a refactor: rename parsing functions for clarity and consistency 2026-04-28 10:46:28 +08:00
mlogclub fe4a6e63af refactor: streamline UserTokenClaims structure and simplify VerifyUserToken function 2026-04-28 10:43:38 +08:00
mlogclub 2900e0a3d2 refactor: simplify ExternalInfoMiddleware and update GetExternalInfo to accept user token secret
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 10:40:53 +08:00
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