842 Commits

Author SHA1 Message Date
tt
25a98786d2 fix: json-rpc change recvackRequest to recvackNotification 2025-05-09 21:30:21 +08:00
tt
c9c38f56da fix: add check conn valid 2025-05-09 21:05:28 +08:00
tt
d7633d80c8 feat: sync conversation api support exclude_channel_types 2025-05-09 16:06:32 +08:00
tt
a2c324964d feat: sync conversation api support exclude_channel_types 2025-05-09 11:58:20 +08:00
tt
9a74000d47 feat: sync conversation api support exclude_channel_types 2025-05-09 11:05:03 +08:00
tt
0b8358ad6d fix: concurrent map writes 2025-05-06 13:14:45 +08:00
tt
26b5665cda docs: add client usage 2025-05-03 18:01:30 +08:00
tt
8f0742cc2e feat: add message flow log 2025-05-03 17:49:04 +08:00
tt
529b0fd1bb other: 优化协议解析 2025-04-30 17:20:26 +08:00
tt
91d6732c9e fix: 修复node有时候出现多个领导的问题 2025-04-29 11:00:23 +08:00
tt
00e8787c56 fix: 1. 修复添加黑名单后 还能收到离线消息 2. 直播频道不应该产生最近会话 2025-04-29 10:30:02 +08:00
tt
9310bb4542 fix: 修正投票逻辑,确保当前任期大于候选人任期时拒绝投票 2025-04-28 18:32:29 +08:00
tt
190a0cecf3 fix: 修复踢出设备接口报错问题 2025-04-28 18:28:00 +08:00
tt
be6767c158 feat: 增加日志冲突检查接口(未完成) 2025-04-28 18:28:00 +08:00
tt
a06f9e849e fix: 1. 修复node出现多个领导的问题 2. 修复同步离线CMD时出现循环同步问题 2025-04-28 18:28:00 +08:00
WuKongIM
04f356d8f0 Update README.md 2025-04-27 10:19:48 +08:00
WuKongIM
2d4a164ff7 Update README.md 2025-04-27 10:19:11 +08:00
tt
dacba3c4b3 fix: Update Makefile v2.1.5-20250424 2025-04-26 10:56:00 +08:00
tt
0fc61aa8ed fix: no build conversation when person first message 2025-04-26 10:50:32 +08:00
tt
355f8f74da docs: update Makefile v2.1.4-20250319 2025-04-24 12:50:59 +08:00
tt
04f46373eb fix: remove conversation when subscriber removed #354 2025-04-24 11:12:44 +08:00
fulei
7a747b52ad fix: User getOnlineConnsForCluster方法 conns增加锁 2025-04-22 14:27:42 +08:00
tt
3c3941f464 feat: implement cache deletion for subscribers and blacklist removal 2025-04-21 16:59:07 +08:00
tt
4ff953fe88 fix: enhance token verification logging with uid and sourceNodeId 2025-04-21 15:18:26 +08:00
tt
e3f453742f feat: add DisableJSONRPC option #353 2025-04-21 10:42:52 +08:00
tt
90d23a86a8 fix: webhook offline msg to_uids has duplicate uid 2025-04-18 11:06:19 +08:00
tt
d329914c8d fix: not should display reddot if last msg is sent by self 2025-04-18 10:59:16 +08:00
tt
c6c0dee8cb fix: print warn log when conversation is half of max 2025-04-18 10:59:16 +08:00
tt
01a787878b fix: client displayed the cmd channel 2025-04-18 10:59:16 +08:00
tt
1ad06ac247 docs: update README 2025-04-18 10:59:02 +08:00
tt
dc01861359 feat: support websocket ping 2025-04-18 10:46:58 +08:00
tt
9fbc5d9804 Refactors JSON-RPC implementation for improved handling
Updates the JSON-RPC implementation to enhance error handling and streamline data processing.

The changes include removing the `ReqId` field from the `Conn` struct and adding it to the `Event` struct for better context management in asynchronous operations. Modifies the `ConnWrite` method in `eventbus/user.go` to accept a `reqId`, ensuring proper association of requests and responses in JSON-RPC flows. Implements error handling in `handleAuthenticatedConn` to send errors to the client, preventing connection closures due to JSON-RPC processing issues.

These changes enhance the reliability and maintainability of the JSON-RPC communication within the system.
2025-04-18 09:20:51 +08:00
tt
16dde49bb5 feat: support json-rpc #350 2025-04-17 22:10:42 +08:00
tt
2f38b35262 feat: 添加 JSON-RPC 编码解码功能及相关数据结构定义 2025-04-17 16:19:34 +08:00
tt
c72639e34c fix: update conversation only if readed_msg_seq change 2025-04-17 10:55:14 +08:00
tt
260399bc35 fix: #338 2025-04-17 09:40:59 +08:00
tt
9aad5136b0 fix: Ai judges to increase the cache mechanism 2025-04-17 09:31:24 +08:00
tt
936d4b250f feat: Live channels do not maintain recent conversations 2025-04-17 09:15:14 +08:00
tt
8c2d63cab6 fix: Solve the problem that the customer service channel has no recent conversations 2025-04-17 09:02:43 +08:00
tt
d275860684 feat: 优化会话管理逻辑,直播频道不再添加会话 2025-04-17 08:53:49 +08:00
tt
a70aeb4403 feat: 添加更新会话已删除消息序号位置的功能,优化会话管理逻辑 2025-04-17 08:40:32 +08:00
tt
56b0bc3d2f fix: Fixed the issue of triggering channel election each time when the machine is in standalone mode 2025-04-16 20:24:51 +08:00
tt
62bca42777 Implement DisableEncryption option logic 2025-04-16 16:23:59 +08:00
tt
224e235d1c Refactor(manager): Implement ConversationManager with persistence and worker model 2025-04-16 16:22:38 +08:00
tt
99a82040f7 docs: update README 2025-04-15 15:37:12 +08:00
tt
b774f59abd docs: update README 2025-04-15 15:34:27 +08:00
tt
6db7d96871 docs: update README 2025-04-15 15:18:21 +08:00
tt
0a524b414e fix: Fixed the issue where visitors to the customer service channel could not receive messages 2025-03-27 13:46:53 +08:00
tt
289c8faf62 docs: replace video with image in README.md and remove obsolete video file 2025-03-20 15:15:58 +08:00
tt
58e23314e2 docs: add video demonstration section to README.md 2025-03-20 14:49:20 +08:00