Compare commits

..

2219 Commits

Author SHA1 Message Date
wangchuxiao 37aab966df close conn 2023-06-21 10:49:26 +08:00
wangchuxiao d1347c3db0 group 2023-06-21 10:43:10 +08:00
wangchuxiao fa9ff6709d group 2023-06-21 10:37:18 +08:00
wangchuxiao 2005a91891 grpc 2023-06-21 10:25:17 +08:00
wangchuxiao ee8ee48418 AUTH 2023-06-20 22:12:01 +08:00
wangchuxiao 5e634ac91f conn 2023-06-20 21:15:23 +08:00
wangchuxiao 84afa86db2 test conn 2023-06-20 20:50:15 +08:00
wangchuxiao ce16ce0aba Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-20 19:08:09 +08:00
wangchuxiao d8396c2b46 add ppoff 2023-06-20 19:08:04 +08:00
withchao a1fc6e4e65 statistics 2023-06-20 17:03:20 +08:00
withchao fe08e8b6c9 zk logger 2023-06-20 15:12:35 +08:00
withchao fbbd651f05 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-20 14:49:10 +08:00
withchao e66b474ab9 logger 2023-06-20 14:48:53 +08:00
wangchuxiao bba7f47767 fix conversation created 2023-06-20 12:13:25 +08:00
wangchuxiao df888d22e7 zklogger update 2023-06-20 10:32:35 +08:00
wangchuxiao e2cdc6a645 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-19 13:02:55 +08:00
wangchuxiao ba56e67129 remove rtc 2023-06-19 13:02:49 +08:00
withchao bf887e6bdb gin CVE-2023-26125 2023-06-19 10:57:04 +08:00
withchao c5dd8ad548 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-19 10:22:50 +08:00
withchao 698515549b second reset seq 2023-06-19 10:22:25 +08:00
wangchuxiao 710e67ff83 hasReadSeq 2023-06-19 10:19:01 +08:00
wangchuxiao eb91b83c83 sh 2023-06-16 14:04:26 +08:00
wangchuxiao 24c1f43b2b sh 2023-06-16 13:58:12 +08:00
wangchuxiao 55cc61d676 dockerfiles 2023-06-16 13:49:11 +08:00
wangchuxiao 66c384d9c8 dockerfile 2023-06-16 13:30:35 +08:00
wangchuxiao 4e84153a5a dockerfile 2023-06-16 13:22:26 +08:00
wangchuxiao 94724ca443 dockerfile 2023-06-16 13:20:45 +08:00
wangchuxiao b372451a76 docker file 2023-06-16 13:16:20 +08:00
wangchuxiao 0714ff780a Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-16 12:30:31 +08:00
wangchuxiao fb35d550b1 sh 2023-06-16 12:30:25 +08:00
Xinwei Xiong(cubxxw) 8891274ccd feat: gitignore file
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
2023-06-16 12:24:27 +08:00
wangchuxiao 39fd6e5407 sh 2023-06-16 12:23:54 +08:00
wangchuxiao 685511981a update sh 2023-06-16 12:14:30 +08:00
wangchuxiao 2acff68f4c docker 2023-06-16 11:53:58 +08:00
wangchuxiao f921793af7 docker 2023-06-16 11:51:01 +08:00
wangchuxiao 9818cc08f4 dockerfile 2023-06-16 11:45:33 +08:00
wangchuxiao 66194cf624 docker file 2023-06-16 11:44:13 +08:00
wangchuxiao ab0d8477b9 docker file 2023-06-16 11:36:29 +08:00
wangchuxiao 72f8c6841b script 2023-06-16 11:33:41 +08:00
wangchuxiao e41c50d461 docker file 2023-06-16 11:28:49 +08:00
wangchuxiao 1c1e05a8eb docker file 1 2023-06-16 11:22:47 +08:00
wangchuxiao 1614ca1def update rc 2023-06-15 18:37:47 +08:00
wangchuxiao fe0c549bf7 redis 2023-06-15 18:26:06 +08:00
wangchuxiao 2d09096317 replace v8 2 v9 2023-06-15 18:25:13 +08:00
wangchuxiao 22e0df5c11 replace redis v8 2 v9 2023-06-15 18:25:06 +08:00
wangchuxiao 092df7ecbd Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-15 18:12:53 +08:00
wangchuxiao 67cb0327fa fix group bug 2023-06-15 18:12:47 +08:00
Gordon e3615c6c99 test: log 2023-06-15 17:42:33 +08:00
Gordon 65a76072df Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-15 15:14:15 +08:00
Gordon 120101fdcc fix: zap log panic 2023-06-15 15:13:45 +08:00
wangchuxiao e8427ee33e group 2023-06-15 14:20:05 +08:00
wangchuxiao 1b35ab4cf7 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-15 11:46:48 +08:00
wangchuxiao 180c888ba7 cache 2023-06-15 11:46:43 +08:00
withchao e0fd13bf4f Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-15 10:53:15 +08:00
withchao a8fa943142 PageGetGroupMember 2023-06-15 10:52:41 +08:00
wangchuxiao 61953f4f7d get con from cache 2023-06-15 10:22:37 +08:00
wangchuxiao fef5543392 get con from cache 2023-06-15 10:22:28 +08:00
wangchuxiao 3bc98aae2d Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-14 18:17:37 +08:00
wangchuxiao 923e943591 err 2023-06-14 18:17:32 +08:00
Gordon 230513d61b fix: msg rpc panic 2023-06-14 16:30:56 +08:00
Gordon 636b00fe36 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-14 15:32:47 +08:00
Gordon e7f76f44de fix: friend add create time 2023-06-14 15:32:22 +08:00
withchao 48a8dda4f7 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-14 15:31:50 +08:00
withchao caf5b0d7c7 WsVerifyToken 2023-06-14 15:31:36 +08:00
wangchuxiao 0a4a7daf71 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-14 15:25:31 +08:00
wangchuxiao 5cd0f8f1ec hasRead 2023-06-14 15:25:25 +08:00
Gordon 1fb13fa5de refactor: ws add 2023-06-14 15:07:53 +08:00
wangchuxiao d714e16333 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-14 14:28:10 +08:00
wangchuxiao f2e55fbf12 seq 2023-06-14 14:28:01 +08:00
Gordon 61a7c0f09a refactor: add rpc func 2023-06-14 14:23:55 +08:00
Gordon 996eefc1a0 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-14 14:20:24 +08:00
Gordon 5ae56fc449 refactor: kick user 2023-06-14 14:20:02 +08:00
wangchuxiao e3b9b5a8cd fix name 2023-06-14 12:23:51 +08:00
wangchuxiao bef052ed8c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-14 12:20:52 +08:00
wangchuxiao c1b843ea2e set conversation has read max seq 2023-06-14 12:20:47 +08:00
Gordon d3a92132a1 refactor: kick user 2023-06-14 11:53:12 +08:00
withchao 638d2d4282 WsVerifyToken 2023-06-14 11:26:20 +08:00
withchao aa8c250c61 WsVerifyToken 2023-06-14 11:00:44 +08:00
Gordon b3c60aaf10 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/msggateway/n_ws_server.go
2023-06-14 10:49:28 +08:00
Gordon 0124a5c05d refactor: token platformID update 2023-06-14 10:47:18 +08:00
withchao 82e85c7083 WsVerifyToken 2023-06-14 10:15:58 +08:00
Gordon 87d64c6afe Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-14 09:58:38 +08:00
Gordon ad42eaed11 feat: kick user when same terminal login 2023-06-14 09:58:10 +08:00
wangchuxiao dd3f29be68 remove memberList 2023-06-13 20:52:20 +08:00
wangchuxiao 1055a11b03 eng 2 chn 2023-06-13 14:55:58 +08:00
wangchuxiao cefeec9823 msg 2023-06-13 11:05:02 +08:00
wangchuxiao f6dcc2ba44 notification 2023-06-12 20:59:53 +08:00
wangchuxiao 662584a115 is read 2023-06-12 20:45:42 +08:00
wangchuxiao 43f782b6ce isread 2023-06-12 20:43:09 +08:00
wangchuxiao 24120b61c0 mark fix 2023-06-12 20:26:28 +08:00
wangchuxiao 78635e3f2b mark 2023-06-12 20:04:14 +08:00
wangchuxiao be0b5422ee mark log 2023-06-12 20:04:08 +08:00
wangchuxiao 53c28a954a add route 2023-06-12 19:40:01 +08:00
wangchuxiao 6cc801ed06 mark as read and modify pb 2023-06-12 18:52:35 +08:00
wangchuxiao 2e457d5a74 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-12 11:54:49 +08:00
wangchuxiao dacee9e86f cache 2023-06-12 11:54:44 +08:00
Gordon 9d596e76dd Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-12 10:56:02 +08:00
Gordon 358f57fb17 refactor: remove code 2023-06-12 10:55:37 +08:00
wangchuxiao df68e1cb4f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-11 19:04:11 +08:00
wangchuxiao 75bff3a3dd fix 2023-06-11 19:04:05 +08:00
withchao 493e9b0570 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-11 16:52:16 +08:00
withchao 24e7941b48 WsVerifyToken 2023-06-11 16:52:01 +08:00
wangchuxiao 89f6bbc6a4 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-11 16:20:05 +08:00
wangchuxiao 086835a31b mark as read 2023-06-11 16:19:59 +08:00
Gordon e04f633fab feat: add background to conn args when client ws recon 2023-06-11 15:32:53 +08:00
withchao 3d119d4632 ws token 2023-06-11 14:51:17 +08:00
withchao c16e7fc022 ws token 2023-06-11 14:48:30 +08:00
withchao a990e6f19d Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-11 14:36:40 +08:00
withchao 7d69e35dcf WsVerifyToken 2023-06-11 14:36:25 +08:00
wangchuxiao 52fa046346 msg 2023-06-11 13:00:24 +08:00
wangchuxiao 7d7842c54e conn 2023-06-11 12:37:36 +08:00
wangchuxiao 8cd9f730d7 zk 2023-06-11 11:53:29 +08:00
wangchuxiao e98d17b1b7 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-11 11:50:00 +08:00
wangchuxiao cb060ac585 zk 2023-06-11 11:49:54 +08:00
withchao 8749e52809 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-11 11:49:53 +08:00
withchao e616136f33 WsVerifyToken 2023-06-11 11:46:42 +08:00
wangchuxiao 931991f926 callback 2023-06-09 19:44:45 +08:00
wangchuxiao 3c02880098 ctx 2023-06-09 19:30:40 +08:00
wangchuxiao 2637e81fa1 callback 2023-06-09 19:21:40 +08:00
wangchuxiao ab99be68e8 callback log 2023-06-09 19:19:27 +08:00
wangchuxiao 2c0ec630fd msg 2023-06-09 19:05:06 +08:00
wangchuxiao 08f9bc705b callback 2023-06-09 18:40:44 +08:00
wangchuxiao 16f215a82b callback log 2023-06-09 17:55:41 +08:00
wangchuxiao 518d63b9bc Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-09 17:35:32 +08:00
wangchuxiao 98837edfdd callback 2023-06-09 17:35:27 +08:00
withchao 3b56c41406 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-09 16:33:43 +08:00
withchao 44737777b6 QuitGroup 2023-06-09 16:33:29 +08:00
wangchuxiao 3c8ae2370b fix array range panic 2023-06-09 16:09:20 +08:00
wangchuxiao b762650588 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-09 14:32:43 +08:00
wangchuxiao f3ec6346e0 update zap 2023-06-09 14:32:37 +08:00
withchao 8d6bd95c62 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-09 14:21:10 +08:00
withchao 1ded8b64b1 group member nickname face_url 2023-06-09 14:19:49 +08:00
wangchuxiao 202a90ab65 fix del seq 2023-06-09 13:04:18 +08:00
wangchuxiao 2a78974cc1 both stdout and file 2023-06-09 10:58:12 +08:00
wangchuxiao 03d910028b del 2023-06-08 20:29:10 +08:00
wangchuxiao 89a1bf4742 del 2023-06-08 19:55:08 +08:00
wangchuxiao 331d90f198 fix del 2023-06-08 19:52:11 +08:00
wangchuxiao 34370e4cad Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-08 19:30:21 +08:00
wangchuxiao fa72d06d80 del list cache 2023-06-08 19:30:16 +08:00
withchao c1975d4bb3 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-08 19:18:55 +08:00
withchao 2e876dd58b group api 2023-06-08 19:18:05 +08:00
wangchuxiao dfb6c8e3d1 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-08 19:08:04 +08:00
wangchuxiao 1f543e70b1 fix redis key 2023-06-08 19:07:59 +08:00
withchao b536f489a4 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-08 17:37:08 +08:00
withchao 442426d2b9 group level 2023-06-08 17:36:43 +08:00
wangchuxiao f230c06244 ctx 2023-06-08 17:00:46 +08:00
wangchuxiao cd0acbba87 fix notification bug 2023-06-08 16:13:11 +08:00
wangchuxiao 85e82b95ba add log 2023-06-08 16:03:01 +08:00
wangchuxiao e8dd795f4c groupMemberNotification log 2023-06-08 15:55:25 +08:00
wangchuxiao 47541c1d87 zk 2023-06-08 15:19:08 +08:00
wangchuxiao 8d574b242b Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-08 15:16:46 +08:00
wangchuxiao 51ee11f7d8 del msg 2023-06-08 15:16:40 +08:00
Gordon c672e5b702 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-08 11:55:19 +08:00
Gordon c7e684211d feat: log add prefixName 2023-06-08 11:54:52 +08:00
withchao 9069170b3d group mute 2023-06-08 11:42:06 +08:00
withchao 296def6596 adjustment group role level 2023-06-07 20:30:25 +08:00
wangchuxiao 6a43ca8302 pull msg bug 2023-06-07 20:08:45 +08:00
wangchuxiao ec35cf5e49 conversationID 2023-06-07 19:43:57 +08:00
wangchuxiao b902c9f266 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-07 19:26:15 +08:00
wangchuxiao 38e1eee0e5 conversation 2023-06-07 19:26:10 +08:00
Gordon 67612967f5 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-07 19:05:07 +08:00
Gordon bd2d333a8d fix: conn args validation 2023-06-07 19:04:41 +08:00
wangchuxiao 0d966603c4 quit group set user maxSeq 2023-06-07 18:59:45 +08:00
wangchuxiao cb13707d64 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-07 17:39:47 +08:00
wangchuxiao ffcc6743fd mark as read 2023-06-07 17:39:41 +08:00
withchao 83321ad925 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-07 17:22:55 +08:00
withchao 21cef30ca0 adjustment group role level 2023-06-07 17:22:41 +08:00
wangchuxiao e382e6ad93 msg 2023-06-07 17:14:14 +08:00
wangchuxiao 9f8cce569e msg 2023-06-07 17:11:43 +08:00
wangchuxiao d03d9d5383 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-07 16:52:34 +08:00
wangchuxiao 6b24877924 del api 2023-06-07 16:52:25 +08:00
withchao 383334efbe Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-07 16:41:22 +08:00
withchao 661871dd8d group notification 2023-06-07 16:41:09 +08:00
wangchuxiao 5b3c270468 del logs 2023-06-07 16:35:39 +08:00
wangchuxiao 36fee3f14a clear msg tools 2023-06-07 15:54:23 +08:00
wangchuxiao c7d2f7f3b2 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-07 15:38:28 +08:00
wangchuxiao b9ffab4a33 fix del bug 2023-06-07 15:38:19 +08:00
Gordon 8b76ecd84e Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-07 15:12:00 +08:00
Gordon 73fc29f93a fix: rename fields 2023-06-07 15:11:35 +08:00
wangchuxiao 6360980b66 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-07 15:06:55 +08:00
wangchuxiao 74ea708893 conn 2023-06-07 15:06:50 +08:00
withchao b8e469fb2e groupInfoSet 2023-06-07 15:01:42 +08:00
withchao a62860266b GroupInfoSetAnnouncementTips GroupInfoSetNameTips 2023-06-07 14:34:24 +08:00
withchao e103e9ad3b Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-07 14:28:34 +08:00
withchao 95cbf28b99 GroupInfoSetAnnouncementTips GroupInfoSetNameTips 2023-06-07 14:28:10 +08:00
Gordon 1e075a2468 fix: rename fields 2023-06-07 11:00:07 +08:00
Gordon b96707ea51 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-06 21:07:17 +08:00
wangchuxiao da3f9670e9 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-06 21:06:01 +08:00
wangchuxiao 84ca9e560c api log 2023-06-06 21:05:55 +08:00
Gordon 05460a1b7e fix: platform client conn delete 2023-06-06 21:05:32 +08:00
withchao 1f0aca8441 GroupApplicationResponse 2023-06-06 20:51:19 +08:00
withchao 8413db3f03 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-06 20:41:20 +08:00
withchao 8beb5c2e7b GroupApplicationResponse 2023-06-06 20:41:07 +08:00
Gordon 8ab6d91708 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-06 20:33:16 +08:00
Gordon 8d892da5a7 fix: platform client conn delete 2023-06-06 20:32:54 +08:00
withchao aac13ebae2 GroupApplicationResponse 2023-06-06 20:32:09 +08:00
wangchuxiao b188083452 group 2023-06-06 20:12:39 +08:00
wangchuxiao ba7b9194c3 group hash cache 2023-06-06 20:01:50 +08:00
wangchuxiao 6a23a0dde9 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-06 18:46:12 +08:00
wangchuxiao 85da9e0ac8 as read 2023-06-06 18:46:06 +08:00
Gordon f75fabd664 fix: platform client conn delete 2023-06-06 18:42:13 +08:00
Gordon b5e16aeb2c Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-06 17:51:22 +08:00
Gordon 6c8f368908 test: push log add 2023-06-06 17:51:01 +08:00
withchao 43172ac8de GroupApplicationResponse 2023-06-06 17:47:40 +08:00
Gordon 35ceb7542a test: push log add 2023-06-06 17:37:23 +08:00
Gordon f661245d9f Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-06 17:26:32 +08:00
Gordon 78cab78197 test: push log add 2023-06-06 17:26:00 +08:00
wangchuxiao adb572a88f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-06 16:57:53 +08:00
wangchuxiao 2411f4b8d5 fix quit group invite user 2023-06-06 16:57:48 +08:00
withchao 6859352556 GetJoinedGroupList 2023-06-06 16:33:58 +08:00
withchao 485abaa8f3 GroupApplicationResponse 2023-06-06 15:41:23 +08:00
withchao d968c1f976 DismissGroup 2023-06-06 11:43:00 +08:00
withchao edcd883b10 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-06 10:50:18 +08:00
withchao 1a842c3e48 TakeGroupOwner 2023-06-06 10:49:52 +08:00
wangchuxiao 22cea07266 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-05 19:49:27 +08:00
wangchuxiao 8278528aeb grpc 2023-06-05 19:49:21 +08:00
withchao 9ce683cd45 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-05 18:13:06 +08:00
withchao 99c92a18fe CommonCallbackResp 2023-06-05 18:12:42 +08:00
wangchuxiao 44b622af37 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-05 18:02:04 +08:00
wangchuxiao b50dd674ab mark msg as read server 2023-06-05 18:01:59 +08:00
withchao dc83136d81 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-05 17:47:46 +08:00
withchao e06b9ac674 callback config 2023-06-05 17:47:32 +08:00
Gordon 4b77839202 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-05 17:40:13 +08:00
Gordon 89ae83850a fix: message add dismissed err 2023-06-05 17:39:45 +08:00
withchao 6d0728bdc2 callback log 2023-06-05 17:39:09 +08:00
withchao 03a5f19816 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-05 17:35:55 +08:00
withchao 69cf9dbcbe callback 2023-06-05 17:35:41 +08:00
wangchuxiao d3a2859b41 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-05 16:45:35 +08:00
wangchuxiao 4dc9b86942 notification changed 2023-06-05 16:45:29 +08:00
withchao f3387c3787 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-05 16:38:09 +08:00
withchao a241ac1dd4 GetMsgBySeqIndexIn1Doc 2023-06-05 16:37:49 +08:00
wangchuxiao 3d252540af Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-05 15:52:00 +08:00
wangchuxiao 4bf8a030ab fix black 2023-06-05 15:51:55 +08:00
withchao deb049c01c Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-05 15:50:17 +08:00
withchao 13e64c129c SetGroupMemberInfo 2023-06-05 15:50:06 +08:00
wangchuxiao b8f29e9c66 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-05 15:28:42 +08:00
wangchuxiao 6dd16d2b67 fix cache key 2023-06-05 15:28:36 +08:00
withchao ea39ae5ce2 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-05 15:28:19 +08:00
withchao bd9b5757f8 GroupMemberSetToAdminNotification 2023-06-05 15:21:57 +08:00
wangchuxiao 727a28d993 notification 2023-06-05 14:31:02 +08:00
wangchuxiao e045f562e7 conn 2023-06-05 14:30:51 +08:00
wangchuxiao a3662d16d1 push 2023-06-04 17:57:21 +08:00
wangchuxiao 728a78d48c gorm key 2023-06-04 17:51:59 +08:00
wangchuxiao 5ec28faceb fix friend db bug 2023-06-04 17:49:03 +08:00
wangchuxiao 6224c937ad fix black bug 2023-06-04 17:27:40 +08:00
withchao 05ffb44ed5 DismissGroup 2023-06-04 17:17:55 +08:00
withchao 6acc0a18b5 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-04 17:01:32 +08:00
withchao 75df8db438 DismissGroup 2023-06-04 17:01:00 +08:00
Gordon e926878e24 log: add detail of conn 2023-06-04 16:09:33 +08:00
Gordon e0a12924b8 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-04 14:59:24 +08:00
Gordon 16e5710d68 log: add detail of conn 2023-06-04 14:58:53 +08:00
withchao fb37bea439 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-04 14:45:24 +08:00
withchao aac22db8fc DismissGroup 2023-06-04 14:45:11 +08:00
Gordon 85b45583f4 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-04 14:43:03 +08:00
Gordon 705e08a277 log: add detail of conn 2023-06-04 14:42:36 +08:00
wangchuxiao 4a8f1d8392 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-04 14:37:56 +08:00
wangchuxiao 5693bd3f07 conversation changed 2023-06-04 14:37:50 +08:00
withchao 5ca104c6fe DismissGroup 2023-06-04 14:37:45 +08:00
withchao b039e56b8a Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-04 14:27:13 +08:00
withchao 557980c63f DismissGroup 2023-06-04 14:27:00 +08:00
Gordon fa274c2c40 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-04 14:22:48 +08:00
Gordon 2faf9698db fix: log panic 2023-06-04 14:22:20 +08:00
wangchuxiao 12f6091122 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-04 12:39:15 +08:00
wangchuxiao dbb4e92e5d pb 2023-06-04 12:39:09 +08:00
withchao f6921161a0 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-04 12:26:43 +08:00
withchao b191d204ed GroupDismissedNotification 2023-06-04 12:25:30 +08:00
wangchuxiao 27f0dc282b Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-04 11:00:44 +08:00
wangchuxiao a3055f53af conn 2023-06-04 11:00:39 +08:00
withchao 212c692228 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-04 10:58:57 +08:00
withchao f8bacd1dc2 GroupDismissedNotification 2023-06-04 10:58:32 +08:00
wangchuxiao 7051c06c09 conn 2023-06-04 10:56:23 +08:00
wangchuxiao 37e8dbfb94 round robin 2023-06-04 10:56:17 +08:00
wangchuxiao 97aa17af6c grpcconn 2023-06-02 20:52:16 +08:00
wangchuxiao 0ab9294fab Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-02 20:41:58 +08:00
wangchuxiao 0ad86f0cb4 c 2023-06-02 20:41:52 +08:00
withchao 246fce1136 MuteGroupMember 2023-06-02 20:12:10 +08:00
withchao 2fcdd62149 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-02 20:00:59 +08:00
withchao a9c0a9a364 MuteGroupMember 2023-06-02 20:00:45 +08:00
wangchuxiao c097ce5ef7 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-02 19:54:23 +08:00
wangchuxiao 1fd1db9e64 revoke group 2023-06-02 19:54:17 +08:00
Gordon 0e8589b068 refactor: remove limit 2023-06-02 17:12:52 +08:00
Gordon b46e668f2e Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-02 17:06:05 +08:00
Gordon 7625892baa refactor: remove limit 2023-06-02 17:05:42 +08:00
wangchuxiao b262103e48 mark as read 2023-06-02 16:38:15 +08:00
wangchuxiao 0058cda6ee Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-02 16:00:43 +08:00
wangchuxiao a918281625 delete sync 2023-06-02 16:00:38 +08:00
withchao 3bd0553c6c find group member 2023-06-02 15:43:14 +08:00
withchao 68e48a39a6 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-02 14:57:29 +08:00
withchao 9f07887329 CreateGroup 2023-06-02 14:57:17 +08:00
Gordon e676a48c2c Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-02 14:40:56 +08:00
Gordon 826b6113f8 refactor: remove limit 2023-06-02 14:40:22 +08:00
wangchuxiao ff7b6e200c rpc 2023-06-01 21:28:16 +08:00
wangchuxiao a641f44486 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-01 21:01:35 +08:00
wangchuxiao 7bf5a629af discov 2023-06-01 21:01:30 +08:00
wangchuxiao 1a9df45ef6 conn 2023-06-01 20:35:08 +08:00
wangchuxiao 1598c72794 conn 2023-06-01 20:30:59 +08:00
wangchuxiao 8158a03b2d fix friend 2023-06-01 19:55:47 +08:00
wangchuxiao b5ff464efc opt 2023-06-01 18:49:15 +08:00
wangchuxiao 2000b26049 test discov 2023-06-01 18:44:43 +08:00
wangchuxiao 7087bbe76d c 2023-06-01 18:36:20 +08:00
wangchuxiao 228514b1bf test discov 2023-06-01 18:29:25 +08:00
wangchuxiao 80c46919dd test discov 2023-06-01 18:08:12 +08:00
wangchuxiao 2aa7ed27e1 resolver 2023-06-01 17:44:36 +08:00
wangchuxiao f3dacda90e test discov 2023-06-01 17:21:05 +08:00
wangchuxiao cd273a9094 test discov 2023-06-01 16:49:08 +08:00
wangchuxiao d9d64d810b test fix dead lock 2023-06-01 16:38:33 +08:00
wangchuxiao dcd46e2363 resolver 2023-06-01 16:07:25 +08:00
wangchuxiao a81ed61683 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-01 15:22:58 +08:00
wangchuxiao 3554a89c41 sync delete msg 2023-06-01 15:22:53 +08:00
withchao 09e63b293e Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-01 15:22:28 +08:00
withchao 21d7646431 del unexistSeqs 2023-06-01 15:21:46 +08:00
wangchuxiao b8d6440d6a Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-01 15:05:25 +08:00
wangchuxiao bc6e694149 seq 2023-06-01 15:05:19 +08:00
withchao 55099274fc GetMsgBySeqIndexIn1Doc 2023-06-01 14:52:48 +08:00
withchao 9651549005 test GetMsgBySeqIndexIn1Doc 2023-06-01 14:15:10 +08:00
withchao d41fddbba5 Merge remote-tracking branch 'origin/errcode' into errcode 2023-06-01 11:58:51 +08:00
withchao af4a6bddb2 test GetMsgBySeqIndexIn1Doc 2023-06-01 11:58:01 +08:00
wangchuxiao b291d43d8f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-06-01 11:11:44 +08:00
wangchuxiao bca8cdee5c del office pb 2023-06-01 11:11:39 +08:00
withchao b1459cd7c7 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-31 19:19:42 +08:00
withchao 90d77652ab RevokeMsgTips 2023-05-31 19:19:04 +08:00
wangchuxiao e0d1a8b4e2 notification change 2023-05-31 18:24:19 +08:00
withchao 1d4b5960d2 remove office 2023-05-31 17:54:05 +08:00
Gordon 54b651765b Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-31 17:07:06 +08:00
withchao abb976fd53 office 2023-05-31 17:06:40 +08:00
Gordon 16b41f83fe test: log add 2023-05-31 17:06:33 +08:00
withchao 26c3c30b82 office 2023-05-31 16:54:11 +08:00
withchao e8763f32d0 gen group pb 2023-05-31 15:54:42 +08:00
wangchuxiao f61a5429a0 pbMsg 2023-05-31 11:54:11 +08:00
wangchuxiao afacafbc97 revoke 2023-05-31 11:52:55 +08:00
withchao dd283c1007 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-31 11:50:12 +08:00
withchao 765a33db1f PullMessageBySeqs 2023-05-31 11:49:47 +08:00
wangchuxiao 7a5c2f0038 msg 2023-05-31 11:48:33 +08:00
wangchuxiao f534a45c67 resolver log 2023-05-31 10:46:32 +08:00
wangchuxiao 32c7029e63 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-31 10:38:58 +08:00
withchao 634247a5c7 PullMessageBySeqs 2023-05-31 10:36:58 +08:00
wangchuxiao 89bb7c14e1 resolver 2023-05-31 10:15:12 +08:00
wangchuxiao 21e4fcf7df seq 2023-05-30 20:28:25 +08:00
Gordon 38285c8885 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-30 20:27:14 +08:00
Gordon b884b059e8 refactor: pb update 2023-05-30 20:26:47 +08:00
wangchuxiao 3b7705943c grpc 2023-05-30 20:22:32 +08:00
wangchuxiao 96bcc1bd4c grpc 2023-05-30 20:21:41 +08:00
wangchuxiao 72244b82f5 opts 2023-05-30 20:21:20 +08:00
wangchuxiao 01ab3d28cc grpc 2023-05-30 20:19:26 +08:00
wangchuxiao 313a8c3a4a Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-30 20:18:15 +08:00
wangchuxiao bcf5362316 grpc 2023-05-30 20:18:09 +08:00
Gordon 08b9af8254 refactor: pb update 2023-05-30 20:07:13 +08:00
Gordon d26c9da4e0 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/proto/msg/msg.pb.go
#	pkg/proto/sdkws/sdkws.pb.go
#	pkg/proto/sdkws/sdkws.proto
2023-05-30 20:03:43 +08:00
Gordon da88ca85d4 refactor: pb update 2023-05-30 20:01:55 +08:00
wangchuxiao 4c17c64403 builder 2023-05-30 19:18:12 +08:00
wangchuxiao 4c45148eca conn 2023-05-30 18:31:19 +08:00
wangchuxiao e00b686c80 grpc 2023-05-30 18:25:32 +08:00
wangchuxiao 40045710d4 conn 2023-05-30 18:24:19 +08:00
wangchuxiao fcd747ec88 k 2023-05-30 17:57:33 +08:00
wangchuxiao 5bb8d7fd0d debug log 2023-05-30 17:46:28 +08:00
wangchuxiao 0a71526698 discov 2023-05-30 17:09:09 +08:00
wangchuxiao b64f621b40 user 2023-05-30 16:24:07 +08:00
wangchuxiao 85bf1f44e0 grpc conn reuse 2023-05-30 16:15:11 +08:00
wangchuxiao 1b109964ff del notifi 2023-05-30 14:29:54 +08:00
wangchuxiao 2663c60850 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-30 11:18:12 +08:00
wangchuxiao 703b5ebda0 del notification 2023-05-30 11:18:07 +08:00
withchao d446516be8 findMsgInfoBySeq 2023-05-29 20:33:36 +08:00
withchao 576b699495 NotificationWithSesstionType 2023-05-29 20:23:50 +08:00
withchao 6e08f66ba7 RevokeMsg 2023-05-29 20:20:44 +08:00
wangchuxiao 11d3f4af0c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-29 20:18:52 +08:00
wangchuxiao 02a1d10a8b delete notification 2023-05-29 20:18:47 +08:00
withchao f17de168d6 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-29 20:03:08 +08:00
withchao 57028450df findMsgInfoBySeq 2023-05-29 20:02:15 +08:00
wangchuxiao 32d9eb83d1 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-29 19:20:02 +08:00
wangchuxiao acff4e01c2 v 2023-05-29 19:19:57 +08:00
withchao 25faf3579a sdkws 2023-05-29 19:17:54 +08:00
withchao efac87fbcf Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/proto/sdkws/sdkws.pb.go
2023-05-29 19:12:54 +08:00
wangchuxiao f4c51d1377 delete 2023-05-29 19:11:32 +08:00
wangchuxiao 290d7cffde grpc conn 2023-05-29 18:04:22 +08:00
wangchuxiao 232abf46a4 split notificationSender 2023-05-29 17:42:55 +08:00
wangchuxiao 02b4c012ad sync opt 2023-05-29 16:26:24 +08:00
wangchuxiao b4844a8a88 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-29 15:47:57 +08:00
wangchuxiao b7b988dff5 fix redis conversation key 2023-05-29 15:47:27 +08:00
withchao b6a0c32fdd PullMessageBySeqs 2023-05-29 15:22:10 +08:00
withchao b8974f09fb GetMsgBySeqIndexIn1Doc 2023-05-29 14:43:17 +08:00
withchao aa9042bd62 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/db/cache/msg.go
#	pkg/common/db/controller/msg.go
#	pkg/common/db/controller/msg_test.go
#	pkg/common/db/table/unrelation/msg.go
#	pkg/common/db/unrelation/msg.go
2023-05-29 14:39:54 +08:00
withchao edad1eee41 GetMsgBySeqIndexIn1Doc 2023-05-29 14:36:41 +08:00
wangchuxiao be79131498 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-26 20:55:01 +08:00
wangchuxiao de185a74ea Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-26 20:54:54 +08:00
withchao 4d7b49aa1f RevokeMsg 2023-05-26 20:34:46 +08:00
withchao 8b31f676c2 RevokeMsg 2023-05-26 19:47:57 +08:00
withchao 6c7c5dea7b RevokeMsg 2023-05-26 18:52:47 +08:00
wangchuxiao dd1c6154d8 msg 2023-05-26 18:45:00 +08:00
withchao 3bdeb29483 RevokeMsg 2023-05-26 18:44:39 +08:00
withchao 2b14eae33d RevokeMsg 2023-05-26 18:33:32 +08:00
withchao e2e1cb19c7 RevokeMsg 2023-05-26 17:56:34 +08:00
withchao f1d2d4321c RevokeMsg 2023-05-26 17:32:48 +08:00
withchao 668f213974 RevokeMsg 2023-05-26 17:20:04 +08:00
withchao c3fca48b9f RevokeMsg 2023-05-26 17:14:16 +08:00
wangchuxiao 5fbfafb1ab msg 2023-05-26 17:03:36 +08:00
wangchuxiao d10f14e934 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-26 16:56:32 +08:00
wangchuxiao df3f8b5a58 msg 2023-05-26 16:56:27 +08:00
withchao 53a560afac RevokeMsg 2023-05-26 16:43:51 +08:00
wangchuxiao e804358c8f msg del 2023-05-26 16:23:34 +08:00
wangchuxiao 753c0d9803 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-26 16:22:08 +08:00
wangchuxiao 60670c5012 del msg 2023-05-26 16:22:03 +08:00
withchao 41c5b084ea RevokeMsg 2023-05-26 15:56:34 +08:00
withchao e8042c9e3e BatchInsertBlock 2023-05-26 15:15:42 +08:00
withchao 1ba6bef27a BatchInsertBlock 2023-05-26 14:30:10 +08:00
wangchuxiao 501e03e57e Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-26 11:27:23 +08:00
wangchuxiao 1d441a9623 del msg 2023-05-26 11:11:48 +08:00
wangchuxiao 5f783fa078 delete msg 2023-05-26 11:11:34 +08:00
withchao 2401cd3525 BatchInsertBlock 2023-05-26 11:08:45 +08:00
Gordon b17037f8d5 fix: user logout recycle resources 2023-05-26 10:20:10 +08:00
Gordon f34996f6e3 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-25 20:57:46 +08:00
Gordon 8a21e07d6d fix: user logout recycle resources 2023-05-25 20:57:19 +08:00
withchao f389359dd0 BatchInsertBlock 2023-05-25 17:31:46 +08:00
withchao 85de9aaefb Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-25 15:40:31 +08:00
withchao df148ae5af RevokeMsg 2023-05-25 15:40:19 +08:00
wangchuxiao d1728463b0 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-25 14:58:58 +08:00
wangchuxiao 6c271ef546 del msg 2023-05-25 14:58:51 +08:00
withchao 30d8276986 BatchInsertBlock 2023-05-25 14:57:15 +08:00
withchao b8c3400145 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-25 12:24:35 +08:00
withchao 4c8c30f496 BatchInsertBlock 2023-05-25 12:24:21 +08:00
wangchuxiao c16c78aca5 delete 2023-05-25 12:18:02 +08:00
wangchuxiao b2e67b38c7 del pb 2023-05-25 11:09:10 +08:00
wangchuxiao 0c73b03e45 msg 2023-05-25 11:04:41 +08:00
wangchuxiao af406c3be4 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-25 11:04:37 +08:00
wangchuxiao f9d6ffdc1b delete msg pb 2023-05-25 10:57:46 +08:00
withchao 597a3cf9b5 SetGroupMemberInfo 2023-05-24 18:10:36 +08:00
withchao 103cb3cb99 test 2023-05-24 16:39:12 +08:00
Gordon 7bfd9aef2f test: mongo concurrent test 2023-05-24 16:36:17 +08:00
withchao 8f21e7dcd2 Test_BatchInsertChat2DB 2023-05-24 15:29:17 +08:00
withchao 1d22b44dd4 Test_BatchInsertChat2DB 2023-05-24 12:26:59 +08:00
withchao 95cf1e292b Test_BatchInsertChat2DB 2023-05-24 12:13:45 +08:00
withchao 9b271da739 RevokeMsg 2023-05-23 17:20:34 +08:00
withchao 5061047164 RevokeMsg 2023-05-23 17:11:56 +08:00
withchao 9e7bc1b769 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-23 15:30:02 +08:00
withchao 724d8bcd97 RevokeMsgReq pb 2023-05-23 15:29:44 +08:00
wangchuxiao ba3aa74469 cron 2023-05-23 14:52:44 +08:00
wangchuxiao 2039b760b1 cron 2023-05-23 11:54:10 +08:00
wangchuxiao 5983f429eb del test 2023-05-23 10:49:30 +08:00
wangchuxiao 219d57528b cron 2023-05-23 10:38:43 +08:00
withchao 02f8003b4d Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-22 19:54:04 +08:00
withchao d35dd21374 BatchInsertChat2DB 2023-05-22 19:53:53 +08:00
wangchuxiao 708f55004c conversation 2023-05-22 19:00:46 +08:00
wangchuxiao 60bc755b36 tidy 2023-05-22 18:42:20 +08:00
wangchuxiao df7e64513f revoke 2023-05-22 18:38:46 +08:00
wangchuxiao d0f0fd6e66 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-22 18:38:33 +08:00
wangchuxiao 0eaceafcf9 RevokeMsgTip 2023-05-22 18:38:28 +08:00
withchao 6230b53501 BatchInsertChat2DB 2023-05-22 18:36:49 +08:00
wangchuxiao c5f1d874c8 RevokeMsgTip 2023-05-22 18:14:22 +08:00
wangchuxiao 14801b0e4e revoke tips 2023-05-22 16:29:22 +08:00
wangchuxiao 5974012fba revokeMsg route 2023-05-22 16:04:12 +08:00
wangchuxiao 416bf4921c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-22 15:15:06 +08:00
wangchuxiao 6a6283f2e4 revoke msg Pb 2023-05-22 15:15:01 +08:00
withchao 1b21dd6ee7 DismissGroup 2023-05-22 11:01:10 +08:00
withchao 74289e912f DismissGroup 2023-05-22 10:48:18 +08:00
withchao 7f585330ae DismissGroup 2023-05-22 10:36:23 +08:00
withchao 241a4ad0b5 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-22 10:21:57 +08:00
withchao 0467a24813 DismissGroup 2023-05-22 10:21:34 +08:00
wangchuxiao fc49325bb8 remove mcontext 2023-05-22 10:08:30 +08:00
wangchuxiao 0394ee34e2 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-22 10:08:09 +08:00
wangchuxiao 568f6abe80 remove logrus 2023-05-22 10:08:04 +08:00
withchao ec5e3b269d DismissGroup 2023-05-19 21:06:17 +08:00
withchao d78db822a1 DismissGroup 2023-05-19 21:00:15 +08:00
withchao 3b382aca99 DismissGroup 2023-05-19 20:53:58 +08:00
withchao d402115d66 DismissGroup 2023-05-19 20:48:36 +08:00
withchao 3039cd5fc4 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-19 20:45:40 +08:00
withchao faa0522f41 DismissGroup 2023-05-19 20:45:29 +08:00
withchao ae0947efa3 DismissGroup 2023-05-19 20:44:55 +08:00
Gordon 62d4a4dd9c Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-19 20:18:14 +08:00
Gordon 5f571f962f refactor: ctx message update 2023-05-19 20:17:50 +08:00
withchao e0c70742a8 DismissGroup 2023-05-19 20:13:04 +08:00
withchao b87fd91dd7 DismissGroup 2023-05-19 20:06:34 +08:00
withchao 22a93d814c DismissGroup 2023-05-19 20:02:19 +08:00
withchao 16f0d0875d Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-19 20:00:01 +08:00
withchao 16475f3a70 DismissGroup 2023-05-19 19:59:39 +08:00
wangchuxiao 73c74a929b merge 2023-05-19 19:50:52 +08:00
wangchuxiao 76fd103a82 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-19 19:50:46 +08:00
wangchuxiao 5fab4d3138 kafka key 2023-05-19 19:43:43 +08:00
Gordon 8ec4ebbc32 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-19 17:10:30 +08:00
Gordon 6ce26f93cc refactor: ctx message update 2023-05-19 17:10:00 +08:00
wangchuxiao ca2eee17bc Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-19 17:09:55 +08:00
wangchuxiao eb6cf53a0a mysql consumer 2023-05-19 17:09:49 +08:00
withchao f6e9104fa3 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-19 16:34:30 +08:00
withchao 720c351da8 group notification 2023-05-19 16:34:16 +08:00
wangchuxiao 37dd079129 mysql storage 2023-05-19 16:20:20 +08:00
wangchuxiao d0aa0a8772 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-19 16:12:06 +08:00
wangchuxiao e8e306eb98 conversationID 2023-05-19 16:12:00 +08:00
withchao b6b77376d5 group notification 2023-05-19 15:49:48 +08:00
withchao 37f8718bbb group notification 2023-05-19 15:26:32 +08:00
withchao 628a18c3ed group notification 2023-05-19 15:22:56 +08:00
withchao b776b3f15e group notification 2023-05-19 15:19:11 +08:00
withchao 3a1dd0cb1d group notification 2023-05-19 15:18:19 +08:00
withchao e7797167cb group notification 2023-05-19 14:41:16 +08:00
withchao 4ae5acefc0 group notification 2023-05-19 14:21:18 +08:00
withchao 044741ff20 group notification 2023-05-19 11:51:11 +08:00
withchao 49d391d9bd group notification 2023-05-19 11:46:39 +08:00
withchao 6f273832ea group notification 2023-05-19 11:38:02 +08:00
withchao 394b609a44 sec 2023-05-19 11:32:40 +08:00
withchao 04b9e328b1 groupServer 2023-05-19 10:54:23 +08:00
withchao 8e41e7cbbd Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-19 10:49:15 +08:00
withchao af38f09faf groupServer 2023-05-19 10:49:03 +08:00
wangchuxiao 01f773c0f8 init 2023-05-19 10:44:37 +08:00
wangchuxiao 71fd442c44 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-19 10:44:24 +08:00
wangchuxiao a2f3d11110 init 2023-05-19 10:44:19 +08:00
withchao d01bd205ca groupServer 2023-05-19 10:40:08 +08:00
Gordon 97c08e982b refactor: notification sessionType update 2023-05-19 10:24:24 +08:00
withchao f57f838e39 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-19 10:08:45 +08:00
withchao a9d7c5c33e groupServer 2023-05-19 10:08:30 +08:00
Gordon a6e6476fef refactor: notification data struct change 2023-05-19 10:05:32 +08:00
wangchuxiao 9614d1f31b Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-18 18:57:03 +08:00
wangchuxiao 1f5259d36a fix: notification pull 2023-05-18 18:56:58 +08:00
withchao 711c4878a8 groupServer 2023-05-18 18:13:58 +08:00
wangchuxiao 405a9b75b0 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-18 17:35:05 +08:00
wangchuxiao 833c052cea notification 2023-05-18 17:35:00 +08:00
withchao fb429c70c4 groupServer 2023-05-18 17:08:48 +08:00
withchao c53daa76f2 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-18 16:42:19 +08:00
withchao 6646c393cb groupServer 2023-05-18 16:42:08 +08:00
wangchuxiao 1dad0b06d1 mongo 2023-05-18 16:22:59 +08:00
wangchuxiao 70758c306a sg notification 2023-05-18 15:41:08 +08:00
wangchuxiao 2358ec3d90 get seqs 2023-05-18 15:04:11 +08:00
withchao 8a8cd8655a groupServer 2023-05-18 14:33:28 +08:00
withchao c3345af45a groupServer 2023-05-18 14:16:09 +08:00
withchao 1c8df25603 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-18 11:56:52 +08:00
withchao a19d4eb44e groupServer 2023-05-18 11:56:35 +08:00
Gordon 5c610fd24d Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-18 11:35:59 +08:00
Gordon a2bdd3d30a test: log add 2023-05-18 11:35:37 +08:00
withchao bdb110a88c Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-18 11:30:57 +08:00
withchao 8f1988e23c groupServer 2023-05-18 11:30:46 +08:00
wangchuxiao 731ee8b49f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-18 11:08:56 +08:00
wangchuxiao fd1527e112 friend 2023-05-18 11:08:51 +08:00
withchao 87fb6d95ee Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-18 10:32:18 +08:00
withchao 7f66185798 groupServer 2023-05-18 10:31:52 +08:00
wangchuxiao 99429a75fa msg 2023-05-17 19:33:56 +08:00
wangchuxiao c7684fe026 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-17 18:45:00 +08:00
wangchuxiao eb0bd2f4dd msg split 2023-05-17 18:44:55 +08:00
withchao 3131a4f83a Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-17 18:42:11 +08:00
withchao d81b294384 groupServer 2023-05-17 18:41:57 +08:00
wangchuxiao dacf6cca31 conversationLocalCache 2023-05-17 17:09:26 +08:00
wangchuxiao 9b633b6729 conversationLocalCache 2023-05-17 17:09:13 +08:00
wangchuxiao 9fd8dfcf53 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-17 11:42:30 +08:00
wangchuxiao b004811809 group 2023-05-17 11:42:25 +08:00
withchao 3533dbd354 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-17 11:42:13 +08:00
withchao eccb8b7b30 GroupClient 2023-05-17 11:42:00 +08:00
wangchuxiao b89d5ec0ab seqs 2023-05-16 20:28:26 +08:00
wangchuxiao cf8d52d305 pull 2023-05-16 20:06:49 +08:00
wangchuxiao 510cf9ff29 pull notification 2023-05-16 20:04:01 +08:00
wangchuxiao fc3c38ab65 msg 2023-05-16 19:08:43 +08:00
wangchuxiao 6530bb65e4 notification 2023-05-16 18:49:16 +08:00
wangchuxiao 4f6fb10006 notification 2023-05-16 18:37:14 +08:00
wangchuxiao 5377f1501d Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-16 17:28:26 +08:00
wangchuxiao 316d766511 push 2023-05-16 17:28:20 +08:00
Gordon 9e84009f74 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-16 17:22:34 +08:00
Gordon 478357fec3 fix: message encode 2023-05-16 17:22:11 +08:00
wangchuxiao 6b6c6cabaa rpc 2023-05-16 16:50:16 +08:00
wangchuxiao cad7b76d97 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-16 16:31:40 +08:00
wangchuxiao 2446a5d48c msgCache 2023-05-16 16:31:35 +08:00
withchao 7a3ff78d5a Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-16 12:17:54 +08:00
withchao 4451da23e8 ctx 2023-05-16 12:17:43 +08:00
wangchuxiao 67ad00ab04 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-16 10:25:10 +08:00
wangchuxiao 9d3237e0ab delete k8s 2023-05-16 10:25:05 +08:00
withchao 9e66fd6263 group 2023-05-15 19:26:10 +08:00
withchao ea8e5b241e group 2023-05-15 19:20:35 +08:00
withchao 20fc982f1f group 2023-05-15 19:17:29 +08:00
withchao 5e64903ca0 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-15 19:12:00 +08:00
withchao fbb9014fa6 group 2023-05-15 19:11:17 +08:00
wangchuxiao ba8d14a5bf Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-15 17:28:42 +08:00
wangchuxiao 10c1e1df5a push 2023-05-15 17:28:37 +08:00
withchao 311192a122 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-15 17:13:06 +08:00
withchao 4abf6d51ea friend 2023-05-15 17:06:28 +08:00
wangchuxiao 32c2e7f5b1 push 2023-05-15 17:04:23 +08:00
wangchuxiao 437800d269 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-15 16:56:27 +08:00
wangchuxiao edaa6aefe6 reply 2023-05-15 16:56:21 +08:00
withchao 41b8c242a7 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-15 16:52:52 +08:00
withchao 95c1259d65 friend 2023-05-15 16:52:39 +08:00
wangchuxiao 2e1d852095 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-15 16:45:06 +08:00
wangchuxiao 03679caed9 pull 2023-05-15 16:44:59 +08:00
withchao fc1425b797 friend 2023-05-15 16:42:26 +08:00
withchao ed29bc1b5c group 2023-05-15 16:17:36 +08:00
withchao b52e111de9 group 2023-05-15 15:37:48 +08:00
withchao e679ddcde2 group 2023-05-15 12:11:46 +08:00
withchao 6ba457d7f9 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-15 11:55:54 +08:00
withchao f7d347ff4a group 2023-05-15 11:55:41 +08:00
wangchuxiao 0b5838c79b Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-15 11:44:57 +08:00
wangchuxiao dbec5f2191 msg 2023-05-15 11:44:51 +08:00
withchao ccccf35344 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-15 10:59:19 +08:00
withchao a313dddaa6 group 2023-05-15 10:59:06 +08:00
wangchuxiao 54a5e06f37 getui 2023-05-15 10:04:11 +08:00
wangchuxiao 2d6c837f0d err 2023-05-15 10:01:05 +08:00
wangchuxiao f7cf573ba8 push 2023-05-15 09:53:14 +08:00
wangchuxiao 63f4757071 notification 2023-05-12 20:50:14 +08:00
wangchuxiao f35da7b8ba noti 2023-05-12 20:41:10 +08:00
wangchuxiao 6bef075122 notification 2023-05-12 20:23:37 +08:00
wangchuxiao 0d881c2139 notification conversationIDs 2023-05-12 20:19:28 +08:00
wangchuxiao b64e9af92f msg 2023-05-12 20:05:25 +08:00
wangchuxiao cc20c7af4b conversations 2023-05-12 16:51:04 +08:00
wangchuxiao e6b7fe43d3 conversation 2023-05-12 16:46:45 +08:00
wangchuxiao 7456d3e8c0 conversation 2023-05-12 16:45:50 +08:00
wangchuxiao 01ccb6f404 modify dic 2023-05-12 11:37:53 +08:00
wangchuxiao 9abff13008 max seq 2023-05-12 10:50:59 +08:00
wangchuxiao 8aff2e86a8 msg 2023-05-11 21:32:12 +08:00
wangchuxiao dd99f52355 msg 2023-05-11 20:35:59 +08:00
wangchuxiao 303e2c4ecc decode 2023-05-11 20:27:05 +08:00
wangchuxiao 6b204c6066 msg 2023-05-11 20:24:05 +08:00
wangchuxiao d4cb40c390 msg 2023-05-11 20:15:06 +08:00
wangchuxiao 1dab783299 GetMsgBySeqIndexIn1Doc 2023-05-11 20:12:34 +08:00
wangchuxiao 945b638d4d log 2023-05-11 20:02:21 +08:00
wangchuxiao 52b079a582 msg 2023-05-11 16:01:02 +08:00
wangchuxiao 2c58335b9b seqs 2023-05-11 15:51:25 +08:00
wangchuxiao 482ea572c4 seq 2023-05-11 15:41:46 +08:00
wangchuxiao 351c5bacfa pipeline 2023-05-11 15:30:06 +08:00
wangchuxiao 89d5f7bd45 cache 2023-05-11 15:15:16 +08:00
wangchuxiao 798f946651 seq 2023-05-11 15:09:45 +08:00
wangchuxiao 6fc7fd1318 seq 2023-05-11 15:03:06 +08:00
wangchuxiao c4e23c09df msg 2023-05-11 14:54:47 +08:00
wangchuxiao 1ebe0294ac m 2023-05-11 14:49:40 +08:00
wangchuxiao 5d4b290d06 zk 2023-05-11 13:14:36 +08:00
wangchuxiao ce7686800c keeper 2023-05-11 12:08:27 +08:00
Gordon 46d2d04b20 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-11 11:52:32 +08:00
Gordon f95e970de8 test: log add 2023-05-11 11:51:58 +08:00
wangchuxiao e8b46663ab Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-10 20:50:54 +08:00
wangchuxiao b2bf50a4f2 msgs 2023-05-10 20:50:46 +08:00
Gordon 24dbbb3857 test: log add 2023-05-10 20:35:18 +08:00
wangchuxiao 150089c2b9 log 2023-05-10 20:27:39 +08:00
wangchuxiao 042d4ca670 mongo 2023-05-10 18:36:02 +08:00
wangchuxiao eb841d0e0d consumer log 2023-05-10 18:30:21 +08:00
wangchuxiao 2043abb24b mongo consumer 2023-05-10 18:18:30 +08:00
wangchuxiao 651c904aff mongo 2023-05-10 18:03:21 +08:00
wangchuxiao 32ea0d4fcc options 2023-05-10 18:00:05 +08:00
wangchuxiao e05d617893 notification 2023-05-10 17:48:26 +08:00
wangchuxiao c3b16aa678 ctx 2023-05-10 17:21:58 +08:00
wangchuxiao e283e66f00 conversationID 2023-05-10 17:18:04 +08:00
wangchuxiao ead25c24ec zk 2023-05-10 16:32:44 +08:00
wangchuxiao b357f8508f zap 2023-05-10 16:20:36 +08:00
wangchuxiao 6035bd5683 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-10 15:57:17 +08:00
withchao ec5f617437 fix bug 2023-05-10 15:47:15 +08:00
withchao 20afd0a51f fix bug 2023-05-10 15:21:08 +08:00
wangchuxiao 1e6e8ebf23 zk 2023-05-10 15:17:07 +08:00
wangchuxiao ac357f93eb grpc 2023-05-10 12:21:43 +08:00
wangchuxiao a1d194266e zk 2023-05-10 12:08:37 +08:00
wangchuxiao 73f31df60b zk 2023-05-10 11:59:47 +08:00
wangchuxiao 16ca6313e8 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-10 11:52:20 +08:00
wangchuxiao 143def1b0d zk 2023-05-10 11:52:12 +08:00
withchao 84b26f1ac9 fix bug 2023-05-10 11:49:55 +08:00
withchao 28c9f7fb77 fix bug 2023-05-10 11:33:32 +08:00
withchao 30479902a0 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-10 11:09:30 +08:00
withchao 563ed58544 fix bug 2023-05-10 11:09:15 +08:00
Gordon 2afe26336d Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-10 10:40:42 +08:00
Gordon 88a2df00bd fix: reset read deadline when message come 2023-05-10 10:40:12 +08:00
withchao d0c2def5f6 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-10 10:27:13 +08:00
withchao d0e650b1d8 msg 2023-05-10 10:23:55 +08:00
withchao 8df2b2357a Merge branch 'errcode' of https://github.com/OpenIMSDK/Open-IM-Server into errcode 2023-05-09 20:32:55 +08:00
withchao 68bc2c53b3 test 2023-05-09 20:32:39 +08:00
wangchuxiao 5c50be3c50 group 2023-05-09 20:29:49 +08:00
wangchuxiao 9884dcd7b1 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-09 20:29:24 +08:00
withchao dbb8c889ef test 2023-05-09 20:20:00 +08:00
wangchuxiao de2f3a8582 conn 2023-05-09 20:05:56 +08:00
wangchuxiao 22f4c3bf89 WithRoundRobin 2023-05-09 19:36:41 +08:00
wangchuxiao 1ab8e42dd8 rpc 2023-05-09 18:44:42 +08:00
wangchuxiao b6f20d1772 group 2023-05-09 18:40:35 +08:00
wangchuxiao 9ea3e4c758 test group 2023-05-09 18:34:20 +08:00
wangchuxiao 17e747049c group 2023-05-09 18:23:28 +08:00
wangchuxiao 1ef3f527f3 group 2023-05-09 18:04:02 +08:00
wangchuxiao f82b15e12b group 2023-05-09 18:01:41 +08:00
wangchuxiao f8a2721406 rpc 2023-05-09 17:23:43 +08:00
wangchuxiao aaf746d6dc max seq 2023-05-09 17:02:44 +08:00
wangchuxiao 6ac95de7b7 seq 2023-05-09 16:55:04 +08:00
wangchuxiao 7397928acf Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-09 15:23:46 +08:00
wangchuxiao d5b8c32433 user 2023-05-09 15:23:36 +08:00
withchao 2073c4bf46 rpc mv 2023-05-09 15:15:17 +08:00
wangchuxiao 6f3b4a9f02 route 2023-05-09 11:58:21 +08:00
wangchuxiao c31b7af944 prome 2023-05-09 11:49:15 +08:00
wangchuxiao 20828746ea promethues 2023-05-09 11:46:18 +08:00
wangchuxiao 22e0fc216b grpc mw 2023-05-09 11:35:59 +08:00
wangchuxiao f5c80ffd50 grpc interceptor 2023-05-09 11:24:58 +08:00
wangchuxiao d18c7e2c52 exception msgs 2023-05-08 20:50:41 +08:00
wangchuxiao f6c6ea8706 transfer 2023-05-08 15:16:47 +08:00
wangchuxiao c8b4b9b669 transfer 2023-05-08 14:45:00 +08:00
wangchuxiao c402621359 auth 2023-05-08 12:52:12 +08:00
wangchuxiao ed978c40b2 conf 2023-05-08 12:50:53 +08:00
wangchuxiao b95496df73 refactor 2023-05-08 12:39:45 +08:00
wangchuxiao b34d1e7ee7 pb 2023-05-06 19:21:41 +08:00
wangchuxiao 12b2cc79ca pb 2023-05-06 19:20:45 +08:00
wangchuxiao 2d57c94d0e Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-06 18:51:16 +08:00
wangchuxiao 121523626d msg 2023-05-06 18:51:10 +08:00
Gordon 4eb311dd21 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-06 12:01:34 +08:00
Gordon 573a669ac2 pb update 2023-05-06 12:01:03 +08:00
wangchuxiao 287b028ba8 msg 2023-05-06 11:48:03 +08:00
wangchuxiao d369d05ee4 options 2023-05-06 11:31:04 +08:00
wangchuxiao a62335a910 msg pull 2023-05-06 11:13:38 +08:00
wangchuxiao 4509530859 pb 2023-05-06 11:11:54 +08:00
wangchuxiao 4cca3b54e4 msg 2023-05-06 11:04:28 +08:00
wangchuxiao 3b4c8ad2f0 conversation 2023-05-06 10:57:49 +08:00
wangchuxiao 7df211ca18 notification 2023-05-06 10:52:29 +08:00
wangchuxiao a94ef2c290 notification 2023-05-06 10:52:03 +08:00
wangchuxiao 0fd38ece0a Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-06 10:42:19 +08:00
wangchuxiao c9334ca827 conversationID 2023-05-06 10:42:11 +08:00
Gordon 8d998ad63c pb update 2023-05-06 10:27:07 +08:00
wangchuxiao 72aa6d5eab msg 2023-05-05 21:30:32 +08:00
wangchuxiao b00bd8bc35 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-05 12:20:48 +08:00
wangchuxiao 6b612ec345 pull msg 2023-05-05 12:19:04 +08:00
withchao 66757099f6 Merge remote-tracking branch 'origin/errcode' into errcode 2023-05-05 12:03:44 +08:00
withchao d03e8634fb notification 2023-05-05 12:03:32 +08:00
Gordon 137751e5a9 pb update 2023-05-05 10:53:36 +08:00
Gordon e24d89ce52 pb update 2023-05-05 10:43:32 +08:00
Gordon 455aa79dad pb update 2023-05-04 21:03:11 +08:00
wangchuxiao 5f7fa2a7a2 conversations 2023-05-04 20:34:20 +08:00
wangchuxiao c0f8b9910a conversation 2023-05-04 20:07:20 +08:00
wangchuxiao 640313386b conversation create 2023-05-04 17:27:29 +08:00
wangchuxiao cfa543802e commonMsgDatabase 2023-05-04 16:51:50 +08:00
wangchuxiao 5d617cc240 conversation 2023-05-04 16:06:17 +08:00
wangchuxiao 9c76988225 merge 2023-05-04 16:00:06 +08:00
wangchuxiao 334e1b77b6 merge 2023-05-04 15:57:43 +08:00
wangchuxiao 076551594b Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-04 15:54:10 +08:00
wangchuxiao 4f01e10f65 merge 2023-05-04 15:54:04 +08:00
wangchuxiao 8793271541 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-05-04 15:53:58 +08:00
withchao 180b8c2d3f notification 2023-05-04 15:46:22 +08:00
wangchuxiao 5c8208e0f8 sourceID2conversationID 2023-05-04 15:06:23 +08:00
withchao 3e1f97e300 notification 2023-05-04 12:11:29 +08:00
withchao 0935f1d57b msg 2023-05-04 10:02:01 +08:00
withchao 3b5ab4cb41 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/msgtransfer/init.go
#	internal/msgtransfer/online_history_msg_handler.go
#	internal/msgtransfer/online_msg_to_mongo_handler.go
#	pkg/common/db/controller/msg.go
#	pkg/proto/msg/msg.pb.go
#	pkg/proto/msg/msg.proto
2023-04-28 18:45:28 +08:00
withchao 7a7a912352 msg 2023-04-28 18:39:21 +08:00
wangchuxiao d855beb354 aggres 2023-04-28 18:38:12 +08:00
wangchuxiao 573b39f248 ConversationType 2023-04-28 18:33:33 +08:00
wangchuxiao e6b2a9f8f9 msg 2023-04-28 11:01:48 +08:00
wangchuxiao 45ad252a44 msg 2023-04-28 10:26:27 +08:00
wangchuxiao 6da0c38927 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-26 18:57:47 +08:00
wangchuxiao d7401e085d redis consumer split notification 2 msg 2023-04-26 18:57:41 +08:00
withchao 508cdf06ba group 2023-04-26 16:14:50 +08:00
withchao f0a8b828be group 2023-04-26 15:42:43 +08:00
withchao cf39ea7364 group 2023-04-26 15:16:56 +08:00
withchao 122f649da7 Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-26 15:14:43 +08:00
withchao 84ee1cdf9f group 2023-04-26 15:10:20 +08:00
wangchuxiao 4214521dea groupID 2023-04-26 14:44:45 +08:00
wangchuxiao 5c9ecf38df friend&user 2023-04-26 14:30:52 +08:00
wangchuxiao 16231ee077 conversation 2023-04-26 14:10:12 +08:00
wangchuxiao 0dc16d54a5 modify dictory 2023-04-26 11:19:49 +08:00
wangchuxiao c2a5f664af conversation 2023-04-26 10:48:43 +08:00
wangchuxiao 88427518b0 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-26 10:48:16 +08:00
wangchuxiao 0a227f8731 msg 2023-04-26 10:47:55 +08:00
withchao aaf62f3e27 group 2023-04-26 10:10:26 +08:00
withchao 554445eeba group 2023-04-26 09:44:14 +08:00
wangchuxiao 83541fbbc8 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-25 20:42:08 +08:00
withchao 64bb44d181 group 2023-04-25 17:40:01 +08:00
withchao 1fc2264028 group 2023-04-25 14:18:26 +08:00
withchao 66d996cbc1 group 2023-04-25 10:36:13 +08:00
wangchuxiao cae843a6e3 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-25 10:20:05 +08:00
withchao 469458dd2a group 2023-04-24 19:45:29 +08:00
wangchuxiao 180309c878 notification 2023-04-24 17:28:39 +08:00
wangchuxiao 56a04aaf82 notification 2023-04-24 17:02:36 +08:00
wangchuxiao dc637059ab validate 2023-04-24 14:57:35 +08:00
wangchuxiao f4ba537328 notification 2023-04-24 14:50:21 +08:00
wangchuxiao 9c594dacde notification 2023-04-24 11:06:58 +08:00
wangchuxiao 0071252777 notification 2023-04-23 21:14:40 +08:00
wangchuxiao f6cebdbdef notification 2023-04-23 20:07:41 +08:00
wangchuxiao 94b5703399 notification 2023-04-23 19:50:42 +08:00
wangchuxiao c80babaef6 friend 2023-04-23 16:47:41 +08:00
wangchuxiao b94dfae6b8 noti 2023-04-23 15:34:20 +08:00
wangchuxiao f57bdf42dd n 2023-04-23 15:20:39 +08:00
wangchuxiao 95e4506279 notification 2023-04-23 15:20:35 +08:00
wangchuxiao 2ab6136b2f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-23 14:21:45 +08:00
wangchuxiao 4dccfd0a81 notification 2023-04-23 14:21:36 +08:00
withchao cfbf1593c6 s3 2023-04-23 11:44:33 +08:00
withchao f815e9bd9a s3 2023-04-23 10:46:52 +08:00
withchao 2196f69804 third 2023-04-23 10:30:38 +08:00
wangchuxiao e3d907f113 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-21 20:29:13 +08:00
wangchuxiao 2a7e305992 notification 2023-04-21 20:29:08 +08:00
withchao 705ec6f65e Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-21 19:54:02 +08:00
withchao b5fc6dbf04 third 2023-04-21 19:52:57 +08:00
wangchuxiao 9ec692585d page 1 2023-04-21 19:26:07 +08:00
wangchuxiao c0ef0a8660 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-21 17:51:33 +08:00
wangchuxiao fde574be1b conn 2023-04-21 17:51:28 +08:00
withchao d891a1ca8e Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-21 16:45:48 +08:00
withchao 681c0747dd third 2023-04-21 16:44:21 +08:00
withchao 9d8f86f778 friend 2023-04-21 16:39:04 +08:00
wangchuxiao 7f805e89bb conversations 2023-04-21 15:06:29 +08:00
wangchuxiao 4bcad908da conversation 2023-04-21 14:58:42 +08:00
wangchuxiao 886f59e19d conversation 2023-04-21 14:55:24 +08:00
wangchuxiao 8ad343e97c conversationID 2023-04-21 14:51:57 +08:00
wangchuxiao 22c1b8eb59 con 2023-04-21 11:48:47 +08:00
wangchuxiao 2bd22b42b7 conversation 2023-04-21 11:26:48 +08:00
wangchuxiao e1d2c52519 conversation 2023-04-20 16:31:36 +08:00
wangchuxiao 5bf165d2c3 Updates 2023-04-20 16:28:02 +08:00
wangchuxiao 934e531840 conversation 2023-04-20 16:23:41 +08:00
wangchuxiao b05bedf243 conversation 2023-04-20 16:05:22 +08:00
withchao 9f523d980a friend 2023-04-19 20:06:20 +08:00
withchao d2068857e1 friend 2023-04-19 19:13:31 +08:00
withchao e6e5268df9 friend 2023-04-19 18:31:52 +08:00
withchao f86fd1fd95 friend 2023-04-19 18:28:30 +08:00
withchao 8d57409392 friend 2023-04-19 17:57:22 +08:00
wangchuxiao 6b9353d7b5 cache 2023-04-19 17:21:05 +08:00
withchao 3fa1a5c485 friend 2023-04-19 17:13:54 +08:00
withchao ee7016753a friend 2023-04-19 17:11:09 +08:00
withchao 0b0f38da20 group 2023-04-19 16:37:50 +08:00
withchao 1f02053ed3 group 2023-04-19 16:16:06 +08:00
withchao d30fc3ef54 group 2023-04-19 15:51:47 +08:00
withchao da180aacdd group 2023-04-19 15:51:23 +08:00
withchao 88ef5251f4 group 2023-04-19 15:22:00 +08:00
withchao 2b58579c0a Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-19 15:12:18 +08:00
withchao df7c98e27d config 2023-04-19 15:11:24 +08:00
wangchuxiao b7de5c46cf cache 2023-04-18 19:15:06 +08:00
wangchuxiao a927215197 group 2023-04-18 18:40:20 +08:00
wangchuxiao ba45e9d50c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-18 18:37:55 +08:00
wangchuxiao 57d623af9a getcache 2023-04-18 18:35:16 +08:00
withchao 4faced7d51 Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-18 18:20:03 +08:00
withchao 36da39e5ab config 2023-04-18 18:19:25 +08:00
wangchuxiao a6f30db53b group 2023-04-18 18:10:58 +08:00
wangchuxiao 255c5ed1c3 debug 2023-04-18 17:58:53 +08:00
withchao 5da12839fb config 2023-04-18 17:52:08 +08:00
withchao a49f69ba8f config 2023-04-18 17:26:34 +08:00
withchao 5ddc04e992 config 2023-04-18 16:49:23 +08:00
withchao 984686e073 config 2023-04-18 16:38:11 +08:00
withchao 72e6f8bc99 group 2023-04-18 16:23:07 +08:00
withchao ea299b73aa group 2023-04-18 16:11:23 +08:00
withchao 68563d4edd group 2023-04-18 15:54:41 +08:00
withchao 5432ea0869 Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-18 14:48:17 +08:00
withchao e860991f06 group 2023-04-18 14:48:06 +08:00
wangchuxiao fedee55842 logger 2023-04-18 14:47:34 +08:00
wangchuxiao c739b32e24 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-18 14:43:59 +08:00
wangchuxiao cfb600a632 zap 2023-04-18 14:43:54 +08:00
withchao c2f4550166 group 2023-04-18 14:37:52 +08:00
withchao 2152f5d45d Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-18 14:22:21 +08:00
withchao 1394f5add7 group 2023-04-18 14:22:05 +08:00
wangchuxiao a2e845ec9f zap 2023-04-18 14:18:48 +08:00
wangchuxiao f118705a8f zap 2023-04-18 14:12:51 +08:00
wangchuxiao 7dd93aa395 zap 2023-04-18 13:11:40 +08:00
wangchuxiao 554c0961c1 zap 2023-04-18 12:21:01 +08:00
wangchuxiao d61bede62a logger 2023-04-18 12:20:20 +08:00
wangchuxiao 5a1ba91872 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-18 12:11:43 +08:00
wangchuxiao 7b48444a85 zap 2023-04-18 12:11:37 +08:00
withchao bf86c53915 Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-18 10:50:29 +08:00
withchao 0488ce6428 group 2023-04-18 10:50:15 +08:00
wangchuxiao f4020a2508 zap 2023-04-18 10:45:23 +08:00
wangchuxiao fb668b3f0c color 2023-04-18 10:37:12 +08:00
wangchuxiao c04b85aa29 zap 2023-04-17 21:39:31 +08:00
wangchuxiao f18b03987e zap 2023-04-17 21:37:04 +08:00
wangchuxiao a2b0edf8de zap 2023-04-17 21:33:08 +08:00
wangchuxiao 3202b6869d zap 2023-04-17 21:26:04 +08:00
wangchuxiao 22633cbe77 color 2023-04-17 21:22:54 +08:00
wangchuxiao 5f0346be77 zap 2023-04-17 21:18:11 +08:00
wangchuxiao 9445f74e1a color 2023-04-17 21:18:05 +08:00
wangchuxiao bbcc6c212a zap 2023-04-17 20:58:21 +08:00
wangchuxiao aed8536080 zap 2023-04-17 20:49:38 +08:00
wangchuxiao cce90a109d zap 2023-04-17 20:35:27 +08:00
wangchuxiao 1039d44284 zap 2023-04-17 20:28:38 +08:00
wangchuxiao ede2097678 caller 2023-04-17 20:26:24 +08:00
wangchuxiao bde01538a0 zap 2023-04-17 20:18:00 +08:00
wangchuxiao 3fa96b0700 caller 2023-04-17 20:12:52 +08:00
wangchuxiao 111fbdcccf caller 2023-04-17 20:12:26 +08:00
wangchuxiao c81d958b78 log 2023-04-17 20:09:58 +08:00
wangchuxiao 0d3a1ba6f6 zap 2023-04-17 19:58:15 +08:00
wangchuxiao 1a56deeb21 zap 2023-04-17 19:49:35 +08:00
wangchuxiao 987e6b1004 zap 2023-04-17 19:18:40 +08:00
wangchuxiao 85461165e8 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-17 19:13:39 +08:00
wangchuxiao 15f6626282 zap 2023-04-17 19:13:34 +08:00
withchao c33eb316b3 Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-17 19:05:58 +08:00
withchao f6d63cca46 group 2023-04-17 19:05:47 +08:00
wangchuxiao 085fc7adbf Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-17 19:03:49 +08:00
wangchuxiao 97bcab6c64 zap 2023-04-17 19:03:44 +08:00
withchao efa8d9297a Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-17 19:02:55 +08:00
withchao 96100501e7 group 2023-04-17 19:02:31 +08:00
wangchuxiao 2558e2a1db zap 2023-04-17 18:59:22 +08:00
wangchuxiao 682eda06b2 zap 2023-04-17 18:47:03 +08:00
wangchuxiao 7818bb100d log 2023-04-17 15:20:11 +08:00
wangchuxiao e3b4ea7977 log 2023-04-17 15:19:01 +08:00
wangchuxiao 1578176f39 log level 2023-04-17 11:57:38 +08:00
wangchuxiao f6761d2544 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-13 10:05:33 +08:00
wangchuxiao 993d048989 cmd utils 2023-04-13 10:05:28 +08:00
withchao 9910f98d1a Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-12 18:16:14 +08:00
withchao 80505ca74c group 2023-04-12 18:16:02 +08:00
wangchuxiao dec9761a17 exclude node exporter 2023-04-11 17:13:15 +08:00
wangchuxiao a882e12092 script 2023-04-11 17:03:28 +08:00
wangchuxiao 9b7451fa92 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-11 16:48:37 +08:00
wangchuxiao 430d9e0a84 install guide 2023-04-11 16:48:31 +08:00
withchao cb40e47c21 Merge remote-tracking branch 'origin/errcode' into errcode 2023-04-11 14:45:15 +08:00
withchao bd07c964a4 friend 2023-04-11 14:44:51 +08:00
wangchuxiao 20c20ce01a sh 2023-04-11 14:29:44 +08:00
wangchuxiao 33be38339e install sh 2023-04-11 14:28:51 +08:00
wangchuxiao 32343e17f8 script 2023-04-10 20:59:51 +08:00
wangchuxiao 97c1b235b5 script 2023-04-10 20:34:03 +08:00
wangchuxiao 5ece607224 script 2023-04-10 20:25:39 +08:00
wangchuxiao c90eb51177 script 2023-04-10 20:16:28 +08:00
wangchuxiao b0c06e9ee7 script 2023-04-10 20:02:21 +08:00
wangchuxiao f5b618f76d script 2023-04-10 19:53:59 +08:00
wangchuxiao 00282652ea script 2023-04-10 19:50:09 +08:00
wangchuxiao c021922213 script 2023-04-10 19:46:47 +08:00
wangchuxiao 2409d17892 compose 2023-04-10 19:42:24 +08:00
wangchuxiao b5234ad226 errcode 2023-04-10 19:40:51 +08:00
wangchuxiao fe517070f9 script 2023-04-10 19:29:11 +08:00
wangchuxiao 0dec7e3a3c script 2023-04-10 18:39:32 +08:00
wangchuxiao 2fbe46eb6c script 2023-04-10 18:31:01 +08:00
wangchuxiao cbe6005212 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-04-10 18:26:01 +08:00
wangchuxiao d55bb2c529 script 2023-04-10 18:25:56 +08:00
withchao 387a3cbe96 wrapperspb 2023-04-07 15:35:23 +08:00
withchao c81fb9ceca group 2023-04-07 12:07:54 +08:00
withchao a83b4fc5d8 fix bug 2023-04-03 11:49:59 +08:00
withchao ffecab72d8 user db model 2023-03-31 09:45:15 +08:00
withchao 063062a0ad third 2023-03-30 14:28:45 +08:00
withchao c2cd2e5d7c third 2023-03-30 14:26:09 +08:00
withchao ee712593d1 third 2023-03-30 14:19:58 +08:00
withchao 8843933d45 third 2023-03-30 10:52:45 +08:00
withchao b27efd54cc third 2023-03-30 10:20:25 +08:00
withchao 39aeabcd24 third 2023-03-29 18:52:49 +08:00
withchao 267cfe24ce third 2023-03-29 18:48:07 +08:00
withchao 12b19bdf64 third 2023-03-29 18:41:30 +08:00
withchao c7f7e7c782 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-29 18:34:26 +08:00
withchao bd07594ae0 third 2023-03-29 18:33:02 +08:00
wangchuxiao 909b57558e group 2023-03-29 18:26:03 +08:00
wangchuxiao 0345099e99 group 2023-03-29 17:59:52 +08:00
wangchuxiao 38f0f37ece group 2023-03-29 15:57:00 +08:00
wangchuxiao bb73b7e675 group 2023-03-29 15:00:30 +08:00
wangchuxiao 666e1f9273 group 2023-03-29 14:44:44 +08:00
wangchuxiao bd6fb0b831 group 2023-03-29 14:42:00 +08:00
wangchuxiao 66ad26b71b group 2023-03-29 14:32:02 +08:00
wangchuxiao b4e228c33e groupMember 2023-03-29 14:30:38 +08:00
wangchuxiao e2710958e2 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-29 11:39:36 +08:00
wangchuxiao 3dac37b89b group 2023-03-29 11:39:29 +08:00
withchao 73747e0b38 third 2023-03-29 11:17:16 +08:00
withchao 5edcb9908d Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-29 11:04:50 +08:00
withchao 9b89b5c782 third 2023-03-29 11:04:34 +08:00
wangchuxiao 53a5ab4ebc Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-29 11:01:11 +08:00
wangchuxiao 2c3b6669d6 group 2023-03-29 11:01:03 +08:00
withchao 23daab441c Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-29 10:47:32 +08:00
withchao 1f59d9cda4 third 2023-03-29 10:47:10 +08:00
wangchuxiao 42f8709150 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-29 10:19:27 +08:00
wangchuxiao 728aa97c86 group 2023-03-29 10:19:20 +08:00
withchao 2a33eaf4ea Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-29 10:16:03 +08:00
withchao 8ec04f46b0 third 2023-03-29 10:15:21 +08:00
wangchuxiao 93fe0d3cd7 gormpage 2023-03-28 19:33:35 +08:00
wangchuxiao 2fd768df75 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-28 19:25:05 +08:00
wangchuxiao 55c79c805f group 2023-03-28 19:24:59 +08:00
Gordon d1875af9be msg add permission judge 2023-03-28 19:08:33 +08:00
withchao ff65eeddba third 2023-03-28 17:11:04 +08:00
withchao 18156980d9 third 2023-03-28 17:04:34 +08:00
withchao 8c5970e527 third 2023-03-28 17:03:52 +08:00
withchao 102072ef24 third 2023-03-28 17:01:27 +08:00
withchao e7e287b6c1 third 2023-03-28 16:33:22 +08:00
withchao 3613787a6b third 2023-03-28 16:26:02 +08:00
withchao e27be8f698 third 2023-03-28 15:14:14 +08:00
withchao ca04748862 third 2023-03-28 15:04:40 +08:00
withchao d0c042844e third 2023-03-28 14:53:57 +08:00
withchao 3c1b0e3994 third 2023-03-28 14:40:51 +08:00
Gordon 330e8d0f05 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-27 19:34:25 +08:00
Gordon 3390dfff8d msg add permission judge 2023-03-27 19:33:51 +08:00
wangchuxiao 01f4a206c7 group 2023-03-27 19:24:16 +08:00
wangchuxiao 7becc2cfdd group 2023-03-27 19:09:58 +08:00
wangchuxiao 82a33d1c8c group 2023-03-27 18:59:06 +08:00
wangchuxiao de661a54cd group 2023-03-27 18:31:25 +08:00
wangchuxiao cb26321847 group 2023-03-27 17:20:36 +08:00
wangchuxiao cfb157d2e4 group 2023-03-27 15:05:40 +08:00
wangchuxiao a999b9d0c4 GROUP 2023-03-27 11:03:50 +08:00
wangchuxiao 96321a2469 group 2023-03-27 10:42:24 +08:00
wangchuxiao 4777bdeb7e group 2023-03-27 10:18:37 +08:00
wangchuxiao 4706d830a2 group 2023-03-27 10:07:41 +08:00
wangchuxiao de7d4fac85 group 2023-03-24 20:24:38 +08:00
wangchuxiao 4c7986e1b8 group 2023-03-24 20:02:16 +08:00
wangchuxiao 5873ed3b51 group 2023-03-24 19:55:01 +08:00
wangchuxiao 94847770bf Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-24 19:49:58 +08:00
wangchuxiao 4a013de0f1 group 2023-03-24 19:49:50 +08:00
Gordon 3d46297aa4 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-24 19:21:38 +08:00
Gordon 9843d5c7ba ws update 2023-03-24 19:21:08 +08:00
wangchuxiao 53abc2703d group 2023-03-24 19:03:20 +08:00
wangchuxiao aea5525de3 group 2023-03-24 18:59:37 +08:00
wangchuxiao becbba877a cache 2023-03-24 18:53:49 +08:00
wangchuxiao fa477c2d17 cache 2023-03-24 18:42:19 +08:00
wangchuxiao 862fca1019 cache 2023-03-24 18:38:14 +08:00
wangchuxiao 83d91c7dc9 cache 2023-03-24 18:32:25 +08:00
wangchuxiao 9158b62789 cache fix bug 2023-03-24 18:27:17 +08:00
wangchuxiao 81d6ca8b31 conversation 2023-03-24 18:09:54 +08:00
wangchuxiao 8399613018 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-24 17:59:28 +08:00
wangchuxiao 2fa02983fb cache 2023-03-24 17:59:20 +08:00
withchao 9f19fd46e7 ctx 2023-03-24 17:43:52 +08:00
withchao 7975a377a0 Merge branch 'errcode' of https://github.com/OpenIMSDK/Open-IM-Server into errcode 2023-03-24 17:37:38 +08:00
withchao eba6993726 ctx 2023-03-24 17:36:36 +08:00
withchao 05ae254d3d Merge branch 'errcode' of https://github.com/OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/apiresp/gin.go
#	pkg/apiresp/resp.go
2023-03-24 17:35:22 +08:00
wangchuxiao 3d647ee41b Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-24 17:34:40 +08:00
wangchuxiao 8a073a9dfb conversation 2023-03-24 17:34:33 +08:00
Gordon 3239dfe0a0 ws update 2023-03-24 17:34:16 +08:00
withchao 429d5da1d2 ctx 2023-03-24 17:34:00 +08:00
Gordon 4c18e47e96 ws update 2023-03-24 16:57:50 +08:00
Gordon 1199a45784 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-24 16:56:39 +08:00
Gordon c8ba439a2c ws update 2023-03-24 16:56:02 +08:00
wangchuxiao d9afe8a562 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-24 16:41:17 +08:00
wangchuxiao 6fb9992957 conversation 2023-03-24 16:41:11 +08:00
Gordon 7e7d5fc41b Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-24 16:40:13 +08:00
Gordon 1291420db0 ws update 2023-03-24 16:39:33 +08:00
wangchuxiao ad7fa572b5 fix cache 2023-03-24 16:06:37 +08:00
wangchuxiao 07309b872b del user field 2023-03-24 15:44:45 +08:00
withchao 5017c61e28 ctx 2023-03-24 14:50:35 +08:00
withchao d2a4ea5c4e Merge branch 'errcode' of https://github.com/OpenIMSDK/Open-IM-Server into errcode 2023-03-24 14:48:17 +08:00
withchao 3ccdc96229 ctx 2023-03-24 14:47:57 +08:00
wangchuxiao dce1769bcc Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-24 11:29:47 +08:00
wangchuxiao 59fe9f0ca9 add redis pipeline 2023-03-24 11:29:39 +08:00
Gordon 98e22cc699 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-23 20:06:23 +08:00
Gordon 735c35bd0f ws update 2023-03-23 20:05:49 +08:00
wangchuxiao 39c35e840d cache 2023-03-23 19:06:35 +08:00
wangchuxiao 2baf208c02 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-23 19:05:20 +08:00
wangchuxiao 132e1b987c cache 2023-03-23 19:02:20 +08:00
Gordon a0d61769b2 ws update 2023-03-23 17:51:38 +08:00
Gordon 52f49140b2 ws update 2023-03-23 17:06:21 +08:00
Gordon f109ead705 ws update 2023-03-23 16:53:25 +08:00
Gordon 393dfa5902 ws update 2023-03-23 15:56:47 +08:00
Gordon a5380a971b ws update 2023-03-23 15:42:31 +08:00
Gordon 2ba38d30f9 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-23 15:15:35 +08:00
Gordon e08a127213 ws update 2023-03-23 15:14:50 +08:00
withchao 53ed7728f5 ctx 2023-03-23 14:54:40 +08:00
Gordon 6382528360 ws update 2023-03-23 14:22:02 +08:00
Gordon 889e6b0d84 ws update 2023-03-23 14:18:33 +08:00
Gordon be3c866dc0 ws update 2023-03-23 14:05:49 +08:00
Gordon ac8a53b1b3 ws update 2023-03-23 13:17:06 +08:00
Gordon c96d6b48d1 ws update 2023-03-23 13:04:35 +08:00
Gordon e794769eea ws update 2023-03-23 12:49:18 +08:00
Gordon 87ae907df1 ws update 2023-03-23 12:33:25 +08:00
Gordon d88c45c415 ws update 2023-03-23 12:05:25 +08:00
Gordon 985fa74b34 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-23 10:46:16 +08:00
withchao 2564c2f06e ctx 2023-03-23 10:39:03 +08:00
Gordon 0a90986d14 ws update 2023-03-23 10:34:53 +08:00
withchao 3ea2128b93 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-23 09:48:48 +08:00
withchao 1e683fcf95 api error 2023-03-23 09:48:11 +08:00
Gordon 646cf767f9 log 2023-03-22 20:33:37 +08:00
Gordon 56cd2b0a46 log 2023-03-22 20:24:13 +08:00
Gordon 77a9fad102 log 2023-03-22 19:39:20 +08:00
Gordon 1f80758ebb log 2023-03-22 19:38:35 +08:00
Gordon d2d3ee4979 log 2023-03-22 19:31:43 +08:00
Gordon 19b8bd0ff6 msg update 2023-03-22 19:24:38 +08:00
Gordon 2b0e0eb9e5 msg update 2023-03-22 19:11:44 +08:00
Gordon 254313d11f msg update 2023-03-22 18:47:29 +08:00
Gordon 1bb33a2dfc Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-22 18:35:55 +08:00
Gordon 11ebe4e234 msg update 2023-03-22 18:35:21 +08:00
withchao 486e69fd33 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-22 17:25:52 +08:00
withchao ea7d61d281 rpc custom header 2023-03-22 17:25:30 +08:00
Gordon b07bb1765e msg update 2023-03-22 15:28:25 +08:00
Gordon 74e4c1cf2c Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-22 10:55:14 +08:00
Gordon c21523f863 msg update 2023-03-22 10:54:39 +08:00
withchao 900858e4ea rpc custom header 2023-03-22 10:11:18 +08:00
Gordon c0d72d91fb msg update 2023-03-21 20:09:50 +08:00
withchao 008efc56d8 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-21 19:21:07 +08:00
withchao 97608e47cd verify req key 2023-03-21 19:20:54 +08:00
Gordon be98943d2a Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-21 19:06:15 +08:00
Gordon b05e89cd67 msg update 2023-03-21 19:05:02 +08:00
withchao 119f8bf820 OpenIMCommonConfigKey 2023-03-21 15:33:33 +08:00
Gordon c036d27b36 msg update 2023-03-21 12:28:21 +08:00
Gordon 7eb28e7d0a msg update 2023-03-21 11:45:48 +08:00
Gordon 1e8eb76013 test 2023-03-21 11:27:20 +08:00
Gordon c92e48dfa3 msg update 2023-03-21 10:32:09 +08:00
Gordon adfd117926 msg update 2023-03-21 10:30:40 +08:00
Gordon 71156eca21 msg update 2023-03-21 10:18:53 +08:00
Gordon 33a09acdee user update 2023-03-20 20:57:51 +08:00
Gordon 4230136064 user update 2023-03-20 20:52:52 +08:00
Gordon aa09e77ab6 user update 2023-03-20 20:43:36 +08:00
Gordon b24960449d user update 2023-03-20 20:42:02 +08:00
Gordon 357245691d user update 2023-03-20 20:00:16 +08:00
Gordon c5974781fb Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-20 19:35:21 +08:00
Gordon 78d5fa30ba user update 2023-03-20 19:34:50 +08:00
withchao 762d6516a5 db 2023-03-20 15:11:00 +08:00
withchao e0a422fd16 code error 2023-03-20 14:36:42 +08:00
Gordon 99c486295b msg update 2023-03-20 12:58:18 +08:00
Gordon 7e2db9cd43 msg update 2023-03-20 12:36:41 +08:00
Gordon 0aaa8cb36b msg update 2023-03-20 11:30:14 +08:00
Gordon c2862424f2 msg update 2023-03-20 10:44:22 +08:00
Gordon 26de3bd859 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-20 10:43:31 +08:00
Gordon eec9446abe msg update 2023-03-20 10:43:02 +08:00
wangchuxiao 3e15014e0a user 2023-03-17 19:55:05 +08:00
wangchuxiao 69106a4cca user 2023-03-17 19:54:23 +08:00
wangchuxiao 0bd80a81eb Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-17 19:41:52 +08:00
wangchuxiao 13adde5223 group 2023-03-17 19:41:44 +08:00
wangchuxiao 607fa18f27 group 2023-03-17 19:41:37 +08:00
Gordon f03c72541a Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-17 19:21:58 +08:00
Gordon 05fc63a350 user update 2023-03-17 19:21:24 +08:00
withchao 54e6299dc4 pb 2023-03-17 17:27:12 +08:00
withchao 3519cfb3ab pb 2023-03-17 17:26:58 +08:00
wangchuxiao 8e8270b090 pb 2023-03-17 17:18:50 +08:00
wangchuxiao 2f6aa39824 friend 2023-03-17 17:04:27 +08:00
wangchuxiao d1c07f2e5c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-17 16:24:53 +08:00
wangchuxiao fd19cd89a3 friend 2023-03-17 16:24:47 +08:00
withchao 58206f983e Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-17 16:08:21 +08:00
withchao 2e24846e15 wrap 2023-03-17 16:08:13 +08:00
wangchuxiao 7c8c809fb8 errcode 2023-03-17 16:01:56 +08:00
wangchuxiao c9fd336812 friend 2023-03-17 15:54:54 +08:00
wangchuxiao 04347bcc0d friend 2023-03-17 15:48:48 +08:00
wangchuxiao 19f5354721 page 2023-03-17 15:24:07 +08:00
wangchuxiao 2f8c65f930 friend 2023-03-17 15:17:40 +08:00
wangchuxiao c8fd03a693 friend 2023-03-17 15:04:01 +08:00
wangchuxiao 40333d62e3 friend 2023-03-17 14:59:32 +08:00
wangchuxiao a765160ee3 friend 2023-03-17 14:19:53 +08:00
wangchuxiao 40da937c4c friend 2023-03-17 13:44:30 +08:00
wangchuxiao 91e2f3caeb err 2023-03-17 12:41:04 +08:00
wangchuxiao befd5c8636 err 2023-03-17 12:36:26 +08:00
wangchuxiao 1921e5b030 err 2023-03-17 12:32:26 +08:00
wangchuxiao 506a417b0b err 2023-03-17 12:29:19 +08:00
wangchuxiao 9716d478bd freind 2023-03-17 12:23:49 +08:00
wangchuxiao 553606d2a8 err 2023-03-17 12:18:33 +08:00
wangchuxiao 7fd9a84271 error 2023-03-17 12:12:32 +08:00
wangchuxiao 7445f96e66 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-17 11:42:57 +08:00
wangchuxiao cf968c0b4c friend 2023-03-17 11:41:20 +08:00
withchao 26341a5187 Merge branch 'errcode' of https://github.com/OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	internal/rpc/friend/friend.go
2023-03-17 11:33:40 +08:00
withchao 2ce1bc84f2 pkg 2023-03-17 11:27:34 +08:00
wangchuxiao 67e1faefd8 friend db 2023-03-17 11:26:34 +08:00
withchao 835cd6d14a pkg 2023-03-17 11:14:14 +08:00
wangchuxiao 22fa9dc0ba Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-17 11:03:02 +08:00
wangchuxiao ea9c9a496b friend 2023-03-17 11:02:54 +08:00
withchao 15610438d8 is all fields private 2023-03-17 09:40:45 +08:00
wangchuxiao 2966afca6b friend 2023-03-16 20:35:55 +08:00
wangchuxiao 47637175d7 friend 2023-03-16 20:32:58 +08:00
wangchuxiao 3f65376a35 fix friend 2023-03-16 20:30:28 +08:00
wangchuxiao 3d9945393a Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-16 20:21:17 +08:00
wangchuxiao ba6dddf986 fix add friend 2023-03-16 20:21:10 +08:00
withchao f38bac44b4 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-16 19:16:03 +08:00
withchao 202f033c02 is empty struct 2023-03-16 19:15:45 +08:00
wangchuxiao 0ffce32f62 black 2023-03-16 19:06:57 +08:00
wangchuxiao d2cd3618e0 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-16 19:02:21 +08:00
wangchuxiao e7b1377444 black bug 2023-03-16 19:01:15 +08:00
wangchuxiao 73e6fbbe91 black bug 2023-03-16 19:00:17 +08:00
withchao c331d6f200 code error 2023-03-16 18:54:01 +08:00
Gordon 5c38ffa15e user update 2023-03-16 18:18:59 +08:00
Gordon a60dc3189c user update 2023-03-16 18:11:03 +08:00
Gordon 92d941b747 user update 2023-03-16 17:49:36 +08:00
Gordon 007e0cff26 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-16 17:44:03 +08:00
Gordon 1117488eec user update 2023-03-16 17:43:30 +08:00
wangchuxiao 57c082c545 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-16 17:01:31 +08:00
wangchuxiao 5a886f6837 db 2023-03-16 17:01:17 +08:00
Gordon f3937499fa user update 2023-03-16 17:00:10 +08:00
withchao 0fd1e785fe Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-16 16:33:33 +08:00
withchao 1f935531f6 code error 2023-03-16 16:32:42 +08:00
wangchuxiao d725b9538f db 2023-03-16 16:23:56 +08:00
wangchuxiao 962c39f3c2 db 2023-03-16 16:11:34 +08:00
wangchuxiao 62920d3dd0 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-16 16:10:29 +08:00
wangchuxiao 12d25e91bf db 2023-03-16 16:10:08 +08:00
Gordon 9539f93640 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-16 15:11:35 +08:00
wangchuxiao 23c704e93b Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-16 15:10:37 +08:00
Gordon ce87ef0a04 conversation update 2023-03-16 15:10:23 +08:00
wangchuxiao 31833d06ba db 2023-03-16 15:10:21 +08:00
Gordon 38d3c5d94d user update 2023-03-16 13:01:42 +08:00
Gordon 1f03ebdbe7 user update 2023-03-16 12:53:29 +08:00
Gordon 6ce1c6c048 user update 2023-03-16 12:42:34 +08:00
Gordon 9a0f9c2270 user update 2023-03-16 12:32:25 +08:00
Gordon baae7875aa Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-16 12:07:57 +08:00
Gordon e99753f188 user update 2023-03-16 12:07:21 +08:00
wangchuxiao a8dd306196 db 2023-03-16 12:00:14 +08:00
wangchuxiao 642743957e db 2023-03-16 11:43:08 +08:00
wangchuxiao be847d5d5e db 2023-03-16 11:41:38 +08:00
wangchuxiao 690a2195da Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	pkg/common/db/controller/friend.go
2023-03-16 11:03:57 +08:00
wangchuxiao 63f5169dbe db 2023-03-16 11:03:14 +08:00
withchao a529ba4f5b packet name pb 2023-03-16 10:52:50 +08:00
withchao 1680b96b65 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	cmd/api/main.go
#	internal/api/a2r/api2rpc.go
#	internal/apiresp/resp.go
#	internal/msgtransfer/online_history_msg_handler.go
#	internal/push/consumer_init.go
#	pkg/common/db/controller/conversation.go
#	pkg/common/mw/gin.go
#	pkg/statistics/statistics.go
2023-03-16 10:51:00 +08:00
withchao 17de3e7927 packet name pb 2023-03-16 10:46:06 +08:00
wangchuxiao 69f147a70c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-16 10:46:04 +08:00
wangchuxiao a0f3307fe3 db 2023-03-16 10:45:56 +08:00
Gordon 574399669c log remove 2023-03-16 10:20:40 +08:00
wangchuxiao e888910f3c db 2023-03-15 18:41:22 +08:00
wangchuxiao cc93335d7f db 2023-03-15 18:36:00 +08:00
wangchuxiao 74d1d760aa db 2023-03-15 18:35:06 +08:00
wangchuxiao 2a60974ebd Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-15 17:59:56 +08:00
wangchuxiao 51d8c0ba51 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 17:59:38 +08:00
Gordon f2d33991e1 parse token 2023-03-15 17:11:23 +08:00
Gordon 970e6c40b4 parse token 2023-03-15 17:01:54 +08:00
Gordon 7b17ed6303 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-15 16:52:58 +08:00
Gordon 808cd69429 parse token 2023-03-15 16:52:29 +08:00
wangchuxiao cbfe679f06 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-15 16:51:44 +08:00
wangchuxiao 42c9cc61ab Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 16:51:29 +08:00
wangchuxiao d75d1f57e4 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 16:45:17 +08:00
Gordon 460cf8d8ba parse token 2023-03-15 16:39:11 +08:00
Gordon b8ef0b3513 parse token 2023-03-15 16:37:09 +08:00
wangchuxiao becd3eb8f1 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 16:30:10 +08:00
wangchuxiao 8dea2cacf4 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 16:29:04 +08:00
wangchuxiao d5b721be30 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 16:10:34 +08:00
wangchuxiao 14e3e561ea Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 15:56:37 +08:00
wangchuxiao 4866e88eab Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 15:56:13 +08:00
wangchuxiao fab8277086 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 15:40:19 +08:00
wangchuxiao e2421d7aa2 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 15:33:23 +08:00
wangchuxiao ea8de45a6c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 15:29:58 +08:00
wangchuxiao 6c1525bd62 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-15 15:27:01 +08:00
wangchuxiao 15d48fb0ad Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-15 15:26:37 +08:00
Gordon 5b4cc786ed log update 2023-03-15 14:50:23 +08:00
Gordon a40ad5df68 log update 2023-03-15 14:38:11 +08:00
Gordon cb4b41476b log update 2023-03-15 13:41:58 +08:00
Gordon 4680b1e6be log update 2023-03-15 13:37:17 +08:00
Gordon 8d8c5071b5 remove statistic 2023-03-15 12:03:14 +08:00
Gordon a03bdb35ff Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-15 11:40:54 +08:00
Gordon 41fb79d995 remove statistic 2023-03-15 11:40:22 +08:00
withchao 8437c9a38b s3 config 2023-03-15 11:39:56 +08:00
withchao eba9b8ad44 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-15 11:25:18 +08:00
withchao e9865539de s3 2023-03-15 11:24:59 +08:00
Gordon a74c60927f Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-15 11:09:31 +08:00
Gordon 49f855e1d1 log update 2023-03-15 11:09:01 +08:00
wangchuxiao 3bc6e66b1a Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-14 20:30:04 +08:00
wangchuxiao 6de048d84f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-14 20:16:52 +08:00
wangchuxiao fcbcfbb17c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-14 20:09:26 +08:00
wangchuxiao fd2fb3dcaa Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-14 20:06:41 +08:00
wangchuxiao 2a49abc74a zap 2023-03-14 20:05:48 +08:00
Gordon d827c9c598 log update 2023-03-14 20:02:54 +08:00
Gordon 37999fe322 log update 2023-03-14 19:50:54 +08:00
withchao 316fa10257 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-14 19:47:07 +08:00
withchao 384cca3689 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-14 19:46:56 +08:00
wangchuxiao 19f3a9e077 zap 2023-03-14 19:45:48 +08:00
wangchuxiao 64db33a6fd Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-14 19:43:30 +08:00
Gordon 16561e1589 log update 2023-03-14 19:43:08 +08:00
wangchuxiao 9995b1c8ab zap 2023-03-14 19:41:26 +08:00
withchao acb7a8be2d s3 2023-03-14 19:40:35 +08:00
withchao 188dc6d322 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/db/controller/storage.go
2023-03-14 19:39:34 +08:00
withchao 6a95025e41 s3 2023-03-14 19:33:44 +08:00
wangchuxiao df78784ede Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-14 19:28:10 +08:00
wangchuxiao 6b98f27656 zap 2023-03-14 19:27:43 +08:00
Gordon e96ae5907e Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-14 19:27:30 +08:00
Gordon 0c5e5207e6 log update 2023-03-14 19:26:26 +08:00
wangchuxiao f6f4409357 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-14 19:23:44 +08:00
wangchuxiao 714a68fc44 zap 2023-03-14 19:23:31 +08:00
wangchuxiao a3410beaec zap 2023-03-14 19:23:26 +08:00
Gordon 85b6f00b66 log update 2023-03-14 19:23:14 +08:00
Gordon a2b7c4da7e Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
2023-03-14 19:07:29 +08:00
Gordon b7413dffb2 log update 2023-03-14 19:06:43 +08:00
wangchuxiao fdf20f31c3 zap 2023-03-14 18:55:32 +08:00
wangchuxiao 726f83a683 zap 2023-03-14 18:54:43 +08:00
wangchuxiao 5a3cea56fa zap 2023-03-14 18:50:49 +08:00
wangchuxiao 104b5748b8 zap 2023-03-14 18:47:40 +08:00
wangchuxiao 1d04b6c924 zap 2023-03-14 18:13:35 +08:00
wangchuxiao b3031ea529 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-14 18:08:16 +08:00
wangchuxiao b2e4dce77a zap 2023-03-14 18:07:32 +08:00
Gordon e6c02fcb8f conversation update 2023-03-14 17:58:51 +08:00
wangchuxiao 5310f60422 zap 2023-03-14 17:51:11 +08:00
wangchuxiao 5c6141d0e6 zap 2023-03-14 16:19:28 +08:00
wangchuxiao c33dab0e30 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-14 16:14:19 +08:00
withchao 9bb30406ee api error 2023-03-14 16:13:00 +08:00
wangchuxiao 845f858e7a zap 2023-03-14 16:09:20 +08:00
withchao b8a1b6644b Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-14 15:43:24 +08:00
withchao b5a080623c special error 2023-03-14 15:42:52 +08:00
wangchuxiao dffc8da28f zap 2023-03-14 15:40:51 +08:00
wangchuxiao 8c87b0c595 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	pkg/common/mw/rpc.go
2023-03-14 15:40:18 +08:00
wangchuxiao 6afb47ba06 zap 2023-03-14 15:35:58 +08:00
withchao e9eea7cd9a Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-14 15:08:47 +08:00
withchao ce72365842 special error 2023-03-14 15:06:45 +08:00
wangchuxiao d0211ebd89 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-14 14:35:53 +08:00
wangchuxiao 2f6c5c6fe2 zap 2023-03-14 14:35:31 +08:00
withchao 0536a5fee2 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-14 14:31:24 +08:00
withchao c3b109ad4a special error 2023-03-14 14:31:05 +08:00
wangchuxiao 3f74d076f2 zap 2023-03-14 14:29:34 +08:00
wangchuxiao ef94239727 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-14 14:28:31 +08:00
wangchuxiao 247c45db9d zap 2023-03-14 14:26:44 +08:00
withchao 8dd2d3054f Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-14 14:25:16 +08:00
withchao 6d03169f12 special error 2023-03-14 14:25:02 +08:00
wangchuxiao 9d80220d68 zap 2023-03-14 13:35:41 +08:00
wangchuxiao 2c08e1c361 zap 2023-03-14 13:32:35 +08:00
wangchuxiao 656206c95a zap 2023-03-14 13:26:49 +08:00
wangchuxiao 2d476021a6 zap 2023-03-14 12:36:53 +08:00
wangchuxiao b67ce3c462 zap 2023-03-14 12:33:26 +08:00
wangchuxiao 311cdbfdae zap 2023-03-14 12:21:12 +08:00
wangchuxiao 102c300f24 zap 2023-03-14 12:11:22 +08:00
wangchuxiao daffe8a7b7 zap 2023-03-14 12:07:25 +08:00
wangchuxiao 23c2d81c2c zap 2023-03-14 11:57:37 +08:00
wangchuxiao 7631629468 zap 2023-03-14 11:52:21 +08:00
wangchuxiao 351b59020d zap 2023-03-14 11:47:40 +08:00
wangchuxiao eeffefc9fc zap 2023-03-14 11:09:55 +08:00
wangchuxiao 8c931818fd connID to md5 2023-03-13 19:54:19 +08:00
wangchuxiao a018245d43 connID to md5 2023-03-13 19:47:49 +08:00
wangchuxiao 8b3ca92457 connID to md5 2023-03-13 19:41:35 +08:00
wangchuxiao 2986227f1c connID to md5 2023-03-13 19:36:19 +08:00
wangchuxiao 0b1c198dfe connID to md5 2023-03-13 18:58:45 +08:00
wangchuxiao 54a74c0b82 connID to md5 2023-03-13 18:55:00 +08:00
wangchuxiao e28e6891d4 connID to md5 2023-03-13 18:41:14 +08:00
wangchuxiao 83b7794836 connID to md5 2023-03-13 18:36:11 +08:00
wangchuxiao 4547e809bf connID to md5 2023-03-13 18:23:43 +08:00
wangchuxiao 27a1197a97 connID to md5 2023-03-13 18:08:24 +08:00
wangchuxiao bd4c6b1a97 connID to md5 2023-03-13 17:57:52 +08:00
wangchuxiao 217765be6e Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-13 15:39:54 +08:00
wangchuxiao eb946ad181 log 2023-03-13 15:39:47 +08:00
Gordon 9a68a9645a rpc add data 2023-03-13 14:21:41 +08:00
Gordon 59b99edf79 rpc add data 2023-03-13 14:18:33 +08:00
Gordon 8867c5e14a rpc add data 2023-03-13 14:10:51 +08:00
Gordon cf29bd6227 zk add client options 2023-03-13 13:59:39 +08:00
Gordon 8a44305440 zk add client options 2023-03-13 13:52:25 +08:00
Gordon fed4dbd54f zk add client options 2023-03-13 13:31:40 +08:00
wangchuxiao 6187b15a88 log 2023-03-13 13:21:55 +08:00
wangchuxiao 4792ab7489 log 2023-03-13 13:16:53 +08:00
wangchuxiao 380ba11af0 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-13 13:12:00 +08:00
wangchuxiao 0fa6ff2136 log 2023-03-13 13:11:47 +08:00
Gordon 63cf4a60ae ctx error 2023-03-13 13:05:50 +08:00
Gordon e243012438 ctx error 2023-03-13 12:59:44 +08:00
Gordon 863e32898a ctx error 2023-03-13 12:51:35 +08:00
wangchuxiao 639e0c403a Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-13 12:37:18 +08:00
wangchuxiao 9fcfdc9fab log 2023-03-13 12:34:56 +08:00
Gordon 78a30a7663 user bug fix 2023-03-13 12:15:25 +08:00
Gordon 9645d16b2d test 2023-03-13 11:42:27 +08:00
Gordon bc2ae99ba7 test 2023-03-13 11:40:16 +08:00
Gordon cddf35fb2b test 2023-03-13 11:32:32 +08:00
Gordon 6780be6d56 test 2023-03-13 11:25:52 +08:00
Gordon 53d13ee17c Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-13 10:35:14 +08:00
Gordon 3e8edce014 test 2023-03-13 10:34:42 +08:00
wangchuxiao 0b086e19a9 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-13 10:22:56 +08:00
Gordon d9b1bc6c41 test 2023-03-13 10:22:12 +08:00
wangchuxiao 9709271ae3 log 2023-03-13 10:21:50 +08:00
wangchuxiao 04068d25cb fix cron 2023-03-13 10:14:02 +08:00
wangchuxiao c7a8536278 fix cron 2023-03-13 10:10:50 +08:00
wangchuxiao 5feffcef42 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-13 10:04:04 +08:00
wangchuxiao d73ab781fe fix cron 2023-03-13 10:03:23 +08:00
Gordon 0b39dd9097 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-10 21:05:27 +08:00
Gordon 01a27008a1 Revert "test"
This reverts commit b61ab1201a.
2023-03-10 21:04:38 +08:00
wangchuxiao a348af74fa fix cron 2023-03-10 20:58:44 +08:00
wangchuxiao ee738e11cd fix cron 2023-03-10 20:58:24 +08:00
wangchuxiao 8ea9484255 fix cron 2023-03-10 20:55:34 +08:00
wangchuxiao 012a173629 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-10 20:46:35 +08:00
wangchuxiao e326acb578 fix cron 2023-03-10 20:46:06 +08:00
Gordon b61ab1201a test 2023-03-10 20:33:37 +08:00
Gordon ef0b9a9ebe test 2023-03-10 20:16:27 +08:00
Gordon 1e1fc188b4 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-10 20:05:26 +08:00
Gordon 768f1ce032 test 2023-03-10 20:04:53 +08:00
wangchuxiao c624880863 fix cron 2023-03-10 20:02:07 +08:00
wangchuxiao bebe89162f fix cron 2023-03-10 19:57:53 +08:00
wangchuxiao a86bb8dddf Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-10 19:53:22 +08:00
wangchuxiao fd186e9e82 fix cron 2023-03-10 19:53:08 +08:00
Gordon abc303d1b3 add log 2023-03-10 19:34:24 +08:00
wangchuxiao 7a248377f0 fix cron 2023-03-10 18:46:30 +08:00
wangchuxiao 6f09dfecd6 fix cron 2023-03-10 18:45:23 +08:00
wangchuxiao 662254f30f fix cron 2023-03-10 18:37:36 +08:00
wangchuxiao d545a7f753 fix cron 2023-03-10 16:47:22 +08:00
wangchuxiao e7de7b4b64 log 2023-03-10 15:15:07 +08:00
wangchuxiao c558bfa3ee log 2023-03-10 15:06:57 +08:00
wangchuxiao a9c093ac59 log 2023-03-10 12:20:01 +08:00
wangchuxiao 4f0813889c log 2023-03-10 11:59:50 +08:00
wangchuxiao c0afe5d24a log 2023-03-10 11:47:53 +08:00
wangchuxiao 49e7f15130 log 2023-03-10 11:44:26 +08:00
wangchuxiao f6600edea0 log 2023-03-10 11:42:06 +08:00
wangchuxiao cfefc757af log 2023-03-09 20:12:58 +08:00
wangchuxiao 549a0aceb0 log 2023-03-09 20:05:18 +08:00
wangchuxiao 745c96349d log 2023-03-09 16:49:46 +08:00
wangchuxiao 78034dc83a log 2023-03-09 16:43:42 +08:00
wangchuxiao c15edd11ad log 2023-03-09 16:40:27 +08:00
wangchuxiao 7f861fa5c3 log 2023-03-09 16:36:47 +08:00
withchao 6f3320ab55 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-09 16:18:49 +08:00
withchao aca2843224 pb path 2023-03-09 16:18:01 +08:00
Gordon 4ac827020d gateway update 2023-03-09 16:15:35 +08:00
withchao 232a1be53e protobuf 2023-03-09 16:09:38 +08:00
withchao 2cd0b34f5b Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-09 15:53:30 +08:00
wangchuxiao 7e622ae784 script 2023-03-09 15:47:51 +08:00
wangchuxiao 5447f27c80 script 2023-03-09 15:47:00 +08:00
withchao 1e24f651c8 protobuf 2023-03-09 15:41:28 +08:00
wangchuxiao 2be3c9b0ad script 2023-03-09 15:34:42 +08:00
wangchuxiao 05f4333152 script 2023-03-09 15:30:02 +08:00
wangchuxiao 4081ed2ac6 script 2023-03-09 15:26:29 +08:00
wangchuxiao acadfd2c35 script 2023-03-09 15:17:46 +08:00
wangchuxiao 955e776d3f script 2023-03-09 15:09:36 +08:00
wangchuxiao 946fba17ef script 2023-03-09 15:07:35 +08:00
wangchuxiao a957f2227b script 2023-03-09 15:00:32 +08:00
wangchuxiao ae2e09e48b script 2023-03-09 14:59:45 +08:00
wangchuxiao 82f499f942 script 2023-03-09 14:54:05 +08:00
wangchuxiao 3bcc696826 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-09 14:43:28 +08:00
wangchuxiao 10cf431ccf script 2023-03-09 14:43:09 +08:00
withchao 7776db83ea Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-09 14:42:21 +08:00
withchao 8368b670e1 protobuf 2023-03-09 14:41:57 +08:00
wangchuxiao a3aa965b37 script 2023-03-09 14:41:46 +08:00
wangchuxiao 48722ebe36 script 2023-03-09 14:34:58 +08:00
wangchuxiao f693b6f335 script 2023-03-09 14:31:41 +08:00
wangchuxiao 1f089cbbe3 script 2023-03-09 14:27:57 +08:00
wangchuxiao b828f1d3d1 script 2023-03-09 13:28:39 +08:00
wangchuxiao 0c98231fcd script 2023-03-09 13:26:58 +08:00
wangchuxiao 046d645ef6 script 2023-03-09 12:50:39 +08:00
wangchuxiao 944b1a6680 script 2023-03-09 12:48:21 +08:00
wangchuxiao 8904ebccbc script 2023-03-09 12:46:56 +08:00
wangchuxiao fae6fdc3ed script 2023-03-09 12:34:08 +08:00
wangchuxiao 889f3031bf script 2023-03-09 11:35:52 +08:00
wangchuxiao ee11636d7e script 2023-03-09 11:30:13 +08:00
wangchuxiao 471b9cbea6 script 2023-03-09 11:28:11 +08:00
wangchuxiao 90c6130bc6 script 2023-03-09 11:26:01 +08:00
wangchuxiao 3421610acb script 2023-03-09 11:20:36 +08:00
wangchuxiao 4c25686060 script 2023-03-09 11:16:01 +08:00
wangchuxiao 2bc2b4cf24 script 2023-03-09 11:10:12 +08:00
wangchuxiao 9aea3b4981 script 2023-03-09 11:08:28 +08:00
wangchuxiao 12a0ab8ae8 script 2023-03-09 10:57:55 +08:00
wangchuxiao 2ccf040fbb script 2023-03-09 10:43:49 +08:00
wangchuxiao 0aa0b257ee script 2023-03-09 10:33:54 +08:00
wangchuxiao 90974298cd script 2023-03-09 10:30:15 +08:00
wangchuxiao e10b0743dc script 2023-03-09 10:28:48 +08:00
wangchuxiao 040fd345e0 script 2023-03-08 20:02:34 +08:00
wangchuxiao 4c5210af59 script 2023-03-08 19:59:22 +08:00
wangchuxiao b9edc90349 script 2023-03-08 19:42:22 +08:00
wangchuxiao 415f1f41c7 script 2023-03-08 19:37:53 +08:00
wangchuxiao 6d4cee96c8 script 2023-03-08 19:34:36 +08:00
wangchuxiao 7789b2251a script 2023-03-08 19:28:18 +08:00
wangchuxiao c8717c88ea script 2023-03-08 19:26:17 +08:00
wangchuxiao d3b711e91b script 2023-03-08 19:25:27 +08:00
Gordon 7f3ee77116 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	cmd/msggateway/main.go
#	go.sum
#	internal/msggateway/init.go
2023-03-08 18:42:25 +08:00
Gordon 52e03b0149 gateway update 2023-03-08 18:39:18 +08:00
wangchuxiao 540c33ba74 script 2023-03-08 18:38:35 +08:00
wangchuxiao 74ba5ba614 script 2023-03-08 18:30:20 +08:00
wangchuxiao 1043142970 cobra 2023-03-08 18:19:56 +08:00
wangchuxiao 4c4a8341c4 cobra 2023-03-08 17:50:43 +08:00
wangchuxiao 4beb348333 cobra 2023-03-08 17:48:14 +08:00
wangchuxiao a87a8c1fb3 cobra 2023-03-08 17:29:27 +08:00
wangchuxiao 9ce50095b5 cobra 2023-03-08 17:29:03 +08:00
wangchuxiao 345bf3a882 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-08 16:35:40 +08:00
wangchuxiao ca1cdbdeb7 cobra 2023-03-08 16:35:18 +08:00
withchao 5813d13fe4 pb package name add OpenIMServer 2023-03-08 16:10:43 +08:00
wangchuxiao ff6a503f53 cobra 2023-03-08 14:21:06 +08:00
wangchuxiao f8ad35a6f7 cobra 2023-03-08 13:34:12 +08:00
wangchuxiao 107f4c950b Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-08 11:46:03 +08:00
wangchuxiao e55167d0bf test cobra 2023-03-08 11:45:54 +08:00
withchao 5df6847f7d version 2023-03-08 11:42:15 +08:00
withchao c63f7c9e48 utils todo 2023-03-08 11:24:51 +08:00
wangchuxiao 60876e865b test cobra 2023-03-08 10:51:45 +08:00
wangchuxiao 30e9b44054 test cobra 2023-03-07 20:41:09 +08:00
wangchuxiao f0943276cb test cobra 2023-03-07 20:39:07 +08:00
wangchuxiao 5dfda23ded test cobra 2023-03-07 20:36:30 +08:00
wangchuxiao e7f6f0f93e test cobra 2023-03-07 20:32:57 +08:00
wangchuxiao 2c91185102 test cobra 2023-03-07 20:31:40 +08:00
wangchuxiao c1746fb32e test cobra 2023-03-07 20:12:36 +08:00
wangchuxiao 380bf1cc8c test cobra 2023-03-07 20:07:44 +08:00
wangchuxiao 320c978e94 test cobra 2023-03-07 20:07:13 +08:00
wangchuxiao f5309ee3b8 test cobra 2023-03-07 19:56:22 +08:00
wangchuxiao 6bb8160a99 test cobra 2023-03-07 18:32:20 +08:00
wangchuxiao 6eb13df2e2 test cobra 2023-03-07 18:06:57 +08:00
wangchuxiao 13132efc6c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	cmd/cmdutils/main.go
2023-03-07 18:02:57 +08:00
wangchuxiao 32af58e861 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	cmd/cmdutils/main.go
2023-03-07 18:01:36 +08:00
wangchuxiao ea614167a6 test cobra 2023-03-07 17:59:34 +08:00
withchao d80cf34f26 rpc mw 2023-03-07 17:21:48 +08:00
withchao 37d04c9fa0 rpc mw 2023-03-07 16:57:59 +08:00
withchao 102ab98276 rpc mw 2023-03-07 16:57:49 +08:00
withchao 555fc52acc Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-07 12:19:38 +08:00
withchao 4c5613084c error 2023-03-07 12:19:30 +08:00
wangchuxiao d6704aed80 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-07 12:12:34 +08:00
wangchuxiao 52d8ec6aee test cobra 2023-03-07 12:12:16 +08:00
withchao 3fe9ee22fe Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-07 11:12:53 +08:00
withchao 1513933922 error 2023-03-07 11:12:39 +08:00
wangchuxiao 6ad93962aa test cobra 2023-03-06 18:52:49 +08:00
wangchuxiao 373b317b1a test cobra 2023-03-06 18:47:48 +08:00
wangchuxiao 757fd4bf0b test cobra 2023-03-06 18:41:59 +08:00
wangchuxiao 5a77f91fa0 test cobra 2023-03-06 18:35:17 +08:00
wangchuxiao 757a668047 test cobra 2023-03-06 18:29:44 +08:00
wangchuxiao 427376977c test cobra 2023-03-06 18:28:34 +08:00
wangchuxiao 5604ec9902 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-06 18:26:36 +08:00
wangchuxiao 6ca1d403b2 test cobra 2023-03-06 18:26:23 +08:00
withchao 5ca36ebc10 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-06 17:43:48 +08:00
withchao 3ea0d1f765 s3 complete 2023-03-06 16:40:57 +08:00
wangchuxiao 94b0d55516 makefile 2023-03-06 16:31:46 +08:00
wangchuxiao b26f115e67 makefile 2023-03-06 16:28:42 +08:00
wangchuxiao 5b175377ee makefile 2023-03-06 16:26:40 +08:00
wangchuxiao 9575ba74e8 makefile 2023-03-06 16:25:00 +08:00
wangchuxiao 23c24308f7 makefile 2023-03-06 16:23:16 +08:00
wangchuxiao 8143d589aa makefile 2023-03-06 16:00:23 +08:00
wangchuxiao bfb67ed6b7 makefile 2023-03-06 15:03:29 +08:00
wangchuxiao 8ae9c2a278 test name 2023-03-06 14:25:49 +08:00
wangchuxiao a2674bfe9f modify dictory 2023-03-06 12:09:42 +08:00
wangchuxiao 612fe2173e modify dictory 2023-03-06 12:07:25 +08:00
wangchuxiao a6562e5a0e modify dictory 2023-03-06 12:06:50 +08:00
wangchuxiao 77b2d4aad0 modify dictory 2023-03-06 12:04:44 +08:00
wangchuxiao97@outlook.com 120477c092 pb generate 2023-03-06 11:56:17 +08:00
wangchuxiao 8f0e6149be modify dictory 2023-03-06 11:55:21 +08:00
wangchuxiao 7342d2ebd0 modify dictory 2023-03-06 11:55:13 +08:00
wangchuxiao 65cd769645 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-06 11:24:27 +08:00
wangchuxiao 15ff930661 modify dictory 2023-03-06 11:24:13 +08:00
wangchuxiao df6eb2e6f1 modify dictory 2023-03-06 11:09:56 +08:00
wangchuxiao 9b830eb559 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-06 11:01:09 +08:00
wangchuxiao 9945a2f8dc modify dictory 2023-03-06 10:58:15 +08:00
withchao 56306f33d7 validator 2023-03-06 10:39:02 +08:00
wangchuxiao 79f7e17759 proto modify 2023-03-06 10:24:18 +08:00
wangchuxiao e07c9077ca proto modify 2023-03-06 10:17:55 +08:00
wangchuxiao a862fa3960 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-03 19:59:33 +08:00
wangchuxiao 0ed07dfa2a proto modify 2023-03-03 19:59:10 +08:00
withchao db89a13f65 solve error 2023-03-03 19:51:03 +08:00
wangchuxiao 080dfa5563 proto modify 2023-03-03 19:45:15 +08:00
wangchuxiao 2ca3f4673b Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-03 19:44:49 +08:00
wangchuxiao de6fbf82e2 proto modify 2023-03-03 19:44:34 +08:00
withchao b2ea5036db solve error 2023-03-03 19:05:57 +08:00
withchao a743a2cfd2 solve error 2023-03-03 19:02:09 +08:00
withchao cdb8197156 Merge remote-tracking branch 'origin/errcode' into errcode 2023-03-03 18:59:43 +08:00
withchao b74e6b52f3 solve error 2023-03-03 18:59:28 +08:00
wangchuxiao 3a93f60555 proto modify 2023-03-03 18:55:51 +08:00
wangchuxiao ebe689324b Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-03-03 18:44:27 +08:00
wangchuxiao 3a23153e48 proto modify 2023-03-03 18:44:14 +08:00
withchao ebd1de919d Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/api/auth.go
2023-03-03 18:43:54 +08:00
withchao 4deedb6856 api to rpc 2023-03-03 18:42:33 +08:00
withchao 5e845c8fb6 api to rpc 2023-03-03 18:14:48 +08:00
wangchuxiao d06235d28e proto modify 2023-03-03 18:08:26 +08:00
wangchuxiao f177715ada Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	internal/api/auth.go
	internal/api/route.go
	internal/api/user.go
	internal/rpc/third/third.go
2023-03-03 17:45:15 +08:00
wangchuxiao 96d9b25b57 proto modify 2023-03-03 17:42:26 +08:00
withchao e93425c574 api rpc third 2023-03-03 17:20:36 +08:00
withchao 6150419842 api 2023-03-02 14:41:59 +08:00
wangchuxiao97@outlook.com 7050b64b19 pb 2023-03-02 12:12:54 +08:00
wangchuxiao 9c59b4d21d proto modify 2023-03-02 12:10:52 +08:00
wangchuxiao 90fc925360 proto modify 2023-03-02 12:10:30 +08:00
wangchuxiao bff7d0923a proto modify 2023-03-02 12:07:32 +08:00
wangchuxiao d991947d4c proto modify 2023-03-02 12:00:31 +08:00
wangchuxiao fc009c7c6c proto modify 2023-03-01 15:36:04 +08:00
wangchuxiao 8d0148c4ba proto modify 2023-03-01 15:32:26 +08:00
root 9ecd43af73 proto modify 2023-02-28 17:17:21 +08:00
wangchuxiao 82c3f871f4 proto 2023-02-28 17:14:44 +08:00
wangchuxiao 84904b7eca proto 2023-02-28 17:13:56 +08:00
wangchuxiao acfdb90b6e pb 2023-02-28 16:05:33 +08:00
wangchuxiao 0c417d3471 pb 2023-02-28 15:53:38 +08:00
wangchuxiao c2cfb32c45 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/config/config.go
#	pkg/discoveryregistry/discovery_register.go
2023-02-28 15:48:42 +08:00
wangchuxiao ab6fa41438 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/config/config.go
#	pkg/discoveryregistry/discovery_register.go
2023-02-28 15:47:42 +08:00
wangchuxiao 2edb3cfd8c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/config/config.go
#	pkg/discoveryregistry/discovery_register.go
2023-02-28 15:28:04 +08:00
wangchuxiao 4ac9943565 conf 2023-02-28 15:20:57 +08:00
withchao 886818e54c api pack move 2023-02-28 14:20:26 +08:00
withchao 1538917089 api 2023-02-28 11:38:05 +08:00
withchao e30e391756 gen group pb json no omitempty 2023-02-27 18:47:11 +08:00
withchao cae6c53b01 api resp 2023-02-27 18:21:41 +08:00
withchao 4cf29ad565 group api 2023-02-27 18:11:00 +08:00
withchao 586a113994 apitorpc group 2023-02-27 15:13:39 +08:00
withchao 0411a5045b api to rpc 2023-02-27 14:44:14 +08:00
withchao 03ccd0131a api2rpc 2023-02-27 10:27:35 +08:00
withchao e513a09e45 api2rpc 2023-02-27 10:14:19 +08:00
withchao 08fdac83fc api2rpc 2023-02-27 09:53:17 +08:00
withchao 0547f25ecb Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/config/config.go
2023-02-24 19:17:06 +08:00
withchao c019dd5f1e api2rpc 2023-02-24 19:16:26 +08:00
wangchuxiao 4c426c7c7c config modify 2023-02-24 17:42:01 +08:00
withchao d7640ca864 api2rpc 2023-02-24 15:41:50 +08:00
withchao ae8478dc5e Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/rpc/msg/delete.go
#	internal/rpc/msg/send_pull.go
#	pkg/common/db/cache/msg.go
#	pkg/common/db/cache/redis.go
#	pkg/common/db/cache/redis_test.go
2023-02-24 13:55:53 +08:00
wangchuxiao cfe6aff3ac config path 2023-02-24 11:51:07 +08:00
wangchuxiao ffaf0bd021 config path 2023-02-24 11:37:40 +08:00
wangchuxiao 2a0ad5c7af config path 2023-02-24 11:15:40 +08:00
wangchuxiao 92764b3727 config path 2023-02-24 11:13:16 +08:00
wangchuxiao 66aaa9b152 config path 2023-02-24 11:06:49 +08:00
wangchuxiao bb94a7947c config path 2023-02-24 11:01:33 +08:00
wangchuxiao dd7a7d9cda config path 2023-02-24 10:47:36 +08:00
wangchuxiao 3106f671af config path 2023-02-24 10:41:34 +08:00
wangchuxiao e103644929 config path 2023-02-23 19:57:37 +08:00
wangchuxiao 1e43ad2fc0 config path 2023-02-23 19:55:38 +08:00
wangchuxiao 7930c230e4 config path 2023-02-23 19:51:58 +08:00
wangchuxiao 50664c2486 config path 2023-02-23 19:45:44 +08:00
wangchuxiao c74841fd96 config path 2023-02-23 19:44:43 +08:00
wangchuxiao 9f8833baa1 config path 2023-02-23 19:44:22 +08:00
wangchuxiao b41a0a66ef config path 2023-02-23 19:42:13 +08:00
wangchuxiao a26ca657fe config path 2023-02-23 19:41:44 +08:00
wangchuxiao 8bdf86172f push 2023-02-23 19:20:58 +08:00
wangchuxiao 76565cded1 push 2023-02-23 19:19:01 +08:00
wangchuxiao be11da75ae Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/rpc/msg/delete.go
#	pkg/common/db/controller/msg.go
#	pkg/common/db/table/unrelation/extend_msg_set.go
2023-02-23 19:17:23 +08:00
wangchuxiao f586ab1ac2 push 2023-02-23 19:15:30 +08:00
withchao fa8ca69a9e msg database 2023-02-23 18:48:41 +08:00
withchao c8004279a4 msg database 2023-02-23 18:48:14 +08:00
withchao 2f1c064413 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/msgtransfer/online_history_msg_handler.go
#	internal/msgtransfer/online_msg_to_mongo_handler.go
#	internal/push/init.go
#	pkg/common/db/cache/redis.go
#	pkg/common/db/controller/msg.go
2023-02-23 18:42:56 +08:00
wangchuxiao 9c76722c90 push 2023-02-23 18:20:45 +08:00
withchao 2af2716c2c msg database 2023-02-23 18:17:17 +08:00
wangchuxiao 4fc00109ef push 2023-02-23 17:28:57 +08:00
withchao 2359d7ab37 msg database 2023-02-23 11:57:54 +08:00
withchao eac2619c33 msg 2023-02-23 11:26:46 +08:00
withchao b4443c843a GetSuperGroupOpenNotDisturbUserID -> GetRecvMsgNotNotifyUserIDs 2023-02-23 11:04:51 +08:00
wangchuxiao dae0c25a57 push 2023-02-23 10:51:07 +08:00
wangchuxiao 432627353c push 2023-02-23 10:47:50 +08:00
withchao 22c372a9d0 GetSuperGroupOpenNotDisturbUserID 2023-02-23 10:45:13 +08:00
Gordon d54cab5d03 gateway update 2023-02-22 21:06:55 +08:00
skiffer-git d56fef0a88 Error code standardization 2023-02-22 20:33:19 +08:00
wangchuxiao e1a27e6aea Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	cmd/api/main.go
	go.mod
	internal/push/fcm/push.go
	internal/push/getui/push.go
	internal/push/logic/init.go
	internal/push/logic/push_to_client.go
	internal/push/push_rpc_server.go
	internal/rpc/conversation/conversaion.go
	pkg/common/db/controller/group.go
	pkg/proto/push/push.pb.go
2023-02-22 19:52:53 +08:00
wangchuxiao 94d50a6c71 push 2023-02-22 19:51:14 +08:00
withchao 1d6e2ac000 callback 2023-02-22 18:43:40 +08:00
withchao f3e37650c6 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-22 14:38:27 +08:00
withchao 3bae8edb39 conversation 2023-02-22 14:31:30 +08:00
skiffer-git 28fb738410 Error code standardization 2023-02-22 12:17:59 +08:00
withchao cd00d91eee group db 2023-02-22 11:35:24 +08:00
withchao e94bf6216c utils 2023-02-22 11:20:09 +08:00
skiffer-git 62a2cf2976 Error code standardization 2023-02-22 10:52:51 +08:00
withchao f9e09d67bb utils 2023-02-21 19:20:09 +08:00
withchao a1e66e9da0 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-21 19:16:57 +08:00
skiffer-git 5751062605 Error code standardization 2023-02-21 16:48:10 +08:00
withchao edc09af93f utils 2023-02-21 16:22:22 +08:00
skiffer-git ae40c8c8c0 Error code standardization 2023-02-21 14:38:01 +08:00
skiffer-git 9e4b59034d Error code standardization 2023-02-21 14:30:08 +08:00
skiffer-git 7e9b8f6808 Error code standardization 2023-02-21 13:18:01 +08:00
skiffer-git 6201e5c206 Error code standardization 2023-02-21 13:14:19 +08:00
skiffer-git be1bf240ad Error code standardization 2023-02-21 12:59:44 +08:00
skiffer-git e27d66cd2e Error code standardization 2023-02-21 10:29:09 +08:00
withchao f5fbe1d852 gorm conn 2023-02-21 10:16:58 +08:00
withchao 5bb42593ba Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-20 17:44:28 +08:00
withchao 762c49625c group db tx 2023-02-20 17:43:09 +08:00
skiffer-git 9b0682705e Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-20 17:13:37 +08:00
skiffer-git 7338b633c8 Error code standardization 2023-02-20 17:13:15 +08:00
Gordon 141cfef1b6 conversation update 2023-02-20 16:42:52 +08:00
wangchuxiao 2b38381296 fix mongoDB bug 2023-02-20 15:03:40 +08:00
skiffer-git c318c62542 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-20 11:45:29 +08:00
skiffer-git d9359817c1 Error code standardization 2023-02-20 11:45:11 +08:00
withchao 6ef8228064 group build pass 2023-02-20 10:49:39 +08:00
wangchuxiao 5be441f4fd errcode 2023-02-20 10:13:29 +08:00
withchao da9f4bb78e rpc 2023-02-20 10:10:02 +08:00
root f0a0e0ade6 pb proto 2023-02-16 17:30:15 +08:00
withchao 98769fefae grammar 2023-02-16 17:25:28 +08:00
withchao 5e6f9448bc gorm db 2023-02-16 17:20:08 +08:00
withchao ff542e83fe Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-16 17:11:00 +08:00
withchao 20ba4e33e8 db 2023-02-16 17:08:24 +08:00
Gordon 1f7d2d73c7 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-16 16:33:04 +08:00
Gordon ffdc7b8f9d msggateway refactor 2023-02-16 16:32:31 +08:00
withchao fe2cf94d36 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-16 16:20:02 +08:00
withchao 4683712e05 object storage 2023-02-16 16:19:53 +08:00
wenxu12345 dc33071478 Error code standardization 2023-02-16 15:41:37 +08:00
wangchuxiao b6d19dba00 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-02-16 15:21:08 +08:00
wangchuxiao 29a1f5b4f7 errcode 2023-02-16 15:20:59 +08:00
Gordon 1ff8ba7fc2 message update 2023-02-15 19:57:16 +08:00
withchao f517e63fca Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-15 17:01:10 +08:00
withchao bedb9e117b code error 2023-02-15 17:00:55 +08:00
wangchuxiao 0d0a90a14b errcode 2023-02-15 17:00:43 +08:00
wangchuxiao 52a0a8aca4 errcode 2023-02-15 16:09:00 +08:00
wangchuxiao 3cc8e6a0a0 errcode 2023-02-15 16:06:12 +08:00
wangchuxiao b2cdf4279d errcode 2023-02-15 16:05:54 +08:00
wangchuxiao 1b3eaed0e5 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	cmd/rpc/auth/main.go
	cmd/rpc/friend/main.go
	cmd/rpc/group/main.go
	cmd/rpc/msg/main.go
	cmd/rpc/user/main.go
	internal/rpc/auth/auth.go
	internal/rpc/conversation/conversaion.go
	internal/rpc/friend/friend.go
	internal/rpc/group/callback.go
	internal/rpc/group/group.go
	internal/rpc/msg/pull_message.go
	internal/rpc/msg/query_msg.go
	internal/rpc/msg/rpc_chat.go
	internal/rpc/msg/send_msg.go
	internal/rpc/user/user.go
	pkg/common/db/cache/redis.go
	pkg/common/db/controller/msg.go
	pkg/common/http/http_client.go
2023-02-15 16:03:31 +08:00
wangchuxiao 6619183a48 errcode 2023-02-15 15:52:32 +08:00
withchao ed466387e4 callback 2023-02-15 15:50:52 +08:00
skiffer-git c93aa15473 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-14 22:04:29 +08:00
skiffer-git 5baf05ba5e Error code standardization 2023-02-14 22:04:03 +08:00
Gordon 83950263ad Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-14 21:08:55 +08:00
Gordon 71f1fcee57 msggateway refactor 2023-02-14 21:08:36 +08:00
skiffer-git 64caafd6b6 Error code standardization 2023-02-14 20:01:44 +08:00
skiffer-git e070a602f9 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-14 19:34:39 +08:00
skiffer-git dea9a4c8fa Error code standardization 2023-02-14 19:34:19 +08:00
withchao 0f776fb2f3 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-14 19:29:15 +08:00
withchao e147dc5b1b callback start 2023-02-14 19:28:57 +08:00
skiffer-git c63b543a4a Error code standardization 2023-02-14 17:20:39 +08:00
withchao e83a070e81 group 2023-02-14 16:37:10 +08:00
withchao d4b125d010 Merge branch 'errcode' of https://github.com/OpenIMSDK/Open-IM-Server into errcode 2023-02-14 16:36:08 +08:00
withchao bba819854c group 2023-02-14 16:33:18 +08:00
skiffer-git f40ae89c8c Error code standardization 2023-02-14 16:21:25 +08:00
skiffer-git 12eba46dab Error code standardization 2023-02-14 16:07:35 +08:00
withchao 446ac63898 callback 2023-02-14 15:20:02 +08:00
withchao 7c00d0f621 Merge branch 'errcode' of https://github.com/OpenIMSDK/Open-IM-Server into errcode 2023-02-14 15:18:22 +08:00
skiffer-git 8f30818328 Error code standardization 2023-02-14 15:17:56 +08:00
withchao 5d66ff951c Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-14 15:07:24 +08:00
withchao 1ae1f77a14 msg cb 2023-02-14 15:02:45 +08:00
skiffer-git c237510080 Error code standardization 2023-02-14 12:10:15 +08:00
skiffer-git 9eb0ee55f3 Error code standardization 2023-02-14 12:06:58 +08:00
skiffer-git 731112e61b Error code standardization 2023-02-14 11:55:50 +08:00
skiffer-git 461fd5f1ff Error code standardization 2023-02-14 11:49:42 +08:00
withchao 8435508f35 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-14 11:47:39 +08:00
skiffer-git 20829cdd28 Error code standardization 2023-02-14 11:41:04 +08:00
withchao 4d8e19c6bb Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-14 11:40:41 +08:00
withchao f5c4e755eb rpc start 2023-02-14 11:37:19 +08:00
skiffer-git 05d00a8174 Error code standardization 2023-02-14 11:33:10 +08:00
skiffer-git b7d724a5e4 Error code standardization 2023-02-14 10:57:52 +08:00
skiffer-git 42c0e014e7 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-14 10:34:55 +08:00
skiffer-git e1b6e054f0 Error code standardization 2023-02-14 10:34:34 +08:00
withchao a61a3253a5 group rpc GetGroupMemberRoleLevel 2023-02-14 10:33:15 +08:00
skiffer-git c5f1c940d8 Error code standardization 2023-02-14 09:05:38 +08:00
skiffer-git b7645ffda6 Error code standardization 2023-02-13 21:45:45 +08:00
skiffer-git b27aa040f7 Error code standardization 2023-02-13 21:36:08 +08:00
skiffer-git 4cb7a286b9 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-13 20:58:22 +08:00
skiffer-git 1ed62aad97 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/common/notification/conversation.go
#	internal/rpc/msg/send_msg.go
2023-02-13 20:57:44 +08:00
withchao b4f967ea97 check.go 2023-02-13 19:31:17 +08:00
skiffer-git d87cc24f9e Error code standardization 2023-02-13 18:44:53 +08:00
withchao d7ea41fa1a msg rpc 2023-02-13 18:14:26 +08:00
skiffer-git a9dec0c832 Error code standardization 2023-02-13 17:48:01 +08:00
withchao 048d4b83e1 rpc start 2023-02-13 17:44:22 +08:00
withchao f3d43f8578 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-13 16:36:16 +08:00
withchao 884d28b9a8 msg send pull 2023-02-13 16:36:05 +08:00
skiffer-git 8fd81edc44 Error code standardization 2023-02-13 16:18:38 +08:00
skiffer-git 7414c20dd2 Error code standardization 2023-02-13 16:17:52 +08:00
skiffer-git b607cc806a Error code standardization 2023-02-13 16:16:47 +08:00
skiffer-git d2309aab32 Error code standardization 2023-02-13 16:15:16 +08:00
skiffer-git 6b47c471f7 Error code standardization 2023-02-13 15:52:41 +08:00
withchao 03a7048d31 msg del 2023-02-13 11:24:45 +08:00
withchao 991a4d1d95 msg del 2023-02-13 11:24:13 +08:00
withchao bf5a5bffa0 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/rpc/msg/query_msg.go
2023-02-13 10:41:06 +08:00
withchao 52e393dc45 msg status 2023-02-13 10:33:54 +08:00
skiffer-git ac1032800f Error code standardization 2023-02-13 10:03:16 +08:00
skiffer-git 217d6380f7 Error code standardization 2023-02-13 09:19:56 +08:00
skiffer-git ec7f44358c Error code standardization 2023-02-13 09:14:50 +08:00
skiffer-git 452d9840bf Error code standardization 2023-02-10 22:10:37 +08:00
skiffer-git adc84b68e7 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/common/notification/conversation_notification.go
#	internal/common/notification/work_moments_notification.go
#	internal/rpc/conversation/conversaion.go
#	internal/rpc/group/callback.go
#	internal/rpc/group/group.go
#	internal/rpc/office/office.go
2023-02-10 21:05:49 +08:00
skiffer-git cba70e3196 Error code standardization 2023-02-10 21:04:22 +08:00
Gordon 0f5cfbb2dc Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-10 20:58:54 +08:00
Gordon a3593379f6 conversation update 2023-02-10 20:57:45 +08:00
wangchuxiao 85ebf24325 errcode 2023-02-10 19:45:24 +08:00
withchao dbf41bf21f Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/rpc/group/callback.go
2023-02-10 19:18:29 +08:00
withchao 09c6fbdfe4 group 2023-02-10 19:17:33 +08:00
wangchuxiao 00e43cc955 errcode 2023-02-10 18:19:40 +08:00
wangchuxiao b7107edc71 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-10 18:14:19 +08:00
wangchuxiao a92dd54354 errcode 2023-02-10 18:13:58 +08:00
wangchuxiao 2e3bb941b0 errcode 2023-02-10 17:02:20 +08:00
skiffer-git f985689a39 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-10 16:19:35 +08:00
skiffer-git 7e1b69cc3c Error code standardization 2023-02-10 16:18:26 +08:00
wangchuxiao 4aaac8595a Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	pkg/common/db/controller/group.go
2023-02-10 15:47:02 +08:00
wangchuxiao 0e97285e0a errcode 2023-02-10 15:46:29 +08:00
withchao 4b3d965783 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-10 15:43:05 +08:00
withchao 1e1c6de56e group nickname 2023-02-10 15:36:25 +08:00
skiffer-git aff1c1f35e Error code standardization 2023-02-10 12:53:46 +08:00
wangchuxiao 79c30fdc69 errcode 2023-02-10 11:03:03 +08:00
withchao 5d7809624c group cache 2023-02-10 10:48:49 +08:00
wangchuxiao 6eb231aae4 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	internal/push/sdk/tpns-server-sdk-go/go/auth/auth.go
	pkg/proto/group/group.proto
2023-02-09 20:39:12 +08:00
wangchuxiao 759432794f errcode 2023-02-09 20:36:34 +08:00
withchao a15051bfde Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-09 19:42:16 +08:00
withchao d6d6afb788 group update batch 2023-02-09 19:40:45 +08:00
skiffer-git 0198a628da Error code standardization 2023-02-09 18:05:19 +08:00
skiffer-git bfc202f31f Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-09 17:57:02 +08:00
skiffer-git d26daa23f1 Error code standardization 2023-02-09 17:55:59 +08:00
withchao 5da1195274 group cache 2023-02-09 17:54:31 +08:00
withchao 29b05499df group rpc 2023-02-09 16:35:15 +08:00
withchao ab30c77836 group db 2023-02-09 16:33:40 +08:00
withchao fc2d07212d Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-09 16:28:58 +08:00
wangchuxiao 8a1702fcf7 errcode 2023-02-09 16:15:18 +08:00
wangchuxiao ccc7e6b3c8 errcode 2023-02-09 16:11:18 +08:00
withchao eecf8bb8ae api to rpc use generic paradigm 2023-02-09 15:38:50 +08:00
wangchuxiao 1075754458 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	internal/api/group/group.go
	internal/api/group/super_group.go
	pkg/common/db/controller/user.go
2023-02-09 14:49:17 +08:00
wangchuxiao 414915eb3b errcode 2023-02-09 14:40:49 +08:00
withchao 2f7b65730a api to rpc use generic paradigm 2023-02-09 14:39:58 +08:00
withchao b422b49c06 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-09 14:33:45 +08:00
withchao 00d64119fa api to rpc use generic paradigm 2023-02-09 14:33:35 +08:00
skiffer-git d46970f519 Error code standardization 2023-02-09 13:43:50 +08:00
skiffer-git 099bbbb5d3 Error code standardization 2023-02-09 13:36:37 +08:00
skiffer-git 772a46e041 Error code standardization 2023-02-09 13:06:22 +08:00
skiffer-git 22f4d8f66d Error code standardization 2023-02-09 13:05:12 +08:00
skiffer-git 96ef753c77 Error code standardization 2023-02-09 13:02:10 +08:00
skiffer-git ca6b704377 Error code standardization 2023-02-09 12:52:47 +08:00
skiffer-git ddb4e1e6ea Error code standardization 2023-02-09 12:21:58 +08:00
skiffer-git 8975f62433 Error code standardization 2023-02-09 11:35:46 +08:00
skiffer-git e2d61b3eb6 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-09 11:30:42 +08:00
skiffer-git 15cfe949bc Error code standardization 2023-02-09 11:30:31 +08:00
wangchuxiao 8c6c7ee21f errcode 2023-02-09 11:25:19 +08:00
wangchuxiao 90e82ec2ef Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-02-09 11:19:21 +08:00
wangchuxiao 285ca8aff3 errcode 2023-02-09 11:19:06 +08:00
skiffer-git a016a48f9e Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-09 11:18:46 +08:00
skiffer-git b4ddf198bd Error code standardization 2023-02-09 11:18:31 +08:00
wangchuxiao 42adc7bccc Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-09 11:17:46 +08:00
wangchuxiao 956df9b376 errcode 2023-02-09 11:17:24 +08:00
wangchuxiao 7b5560db69 errcode 2023-02-09 11:14:14 +08:00
skiffer-git 26905e4cdb Error code standardization 2023-02-09 11:01:16 +08:00
skiffer-git ac284b696a Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	go.mod
#	pkg/common/db/controller/user.go
2023-02-09 10:59:32 +08:00
skiffer-git 9a7ed2d24d Error code standardization 2023-02-09 10:58:30 +08:00
wangchuxiao 62f0d1043d Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	internal/rpc/group/group.go
	pkg/common/db/cache/conversation.go
	pkg/common/db/cache/group.go
	pkg/common/db/controller/group.go
2023-02-09 10:57:57 +08:00
wangchuxiao 4826810c2a errcode 2023-02-09 10:55:21 +08:00
withchao 41d62937ff group rpc 2023-02-09 10:27:55 +08:00
withchao ba264e557b group pb 2023-02-09 10:03:41 +08:00
withchao f20e9e71b7 group complete 2023-02-08 20:08:22 +08:00
withchao b3ae69ce94 conversation.go 2023-02-08 19:18:11 +08:00
withchao ec43f2847e Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-08 18:30:49 +08:00
withchao 324a0ae0ae super group rpc 2023-02-08 18:30:45 +08:00
wangchuxiao db51bc87e2 errcode 2023-02-08 18:29:11 +08:00
wangchuxiao 6d700765d2 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-02-08 17:56:21 +08:00
wangchuxiao 2193d380ca errcode 2023-02-08 17:56:04 +08:00
withchao f5adb7a17e group database 2023-02-08 17:23:14 +08:00
withchao 3423b224fd group db 2023-02-08 15:25:25 +08:00
withchao 77edbe1edd group controller 2023-02-08 14:41:09 +08:00
skiffer-git dad31652ad Error code standardization 2023-02-07 20:39:12 +08:00
skiffer-git bf5fbe8d6f Error code standardization 2023-02-07 20:33:56 +08:00
skiffer-git 0565474732 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	go.mod
#	go.sum
2023-02-07 20:30:55 +08:00
skiffer-git 0a2e55311c Error code standardization 2023-02-07 20:28:34 +08:00
wangchuxiao 4a32e98e62 errcode 2023-02-07 20:24:20 +08:00
wangchuxiao 84c59cecfb errcode 2023-02-07 18:46:19 +08:00
wangchuxiao 8fc54a7379 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	pkg/common/db/cache/conversation.go
2023-02-07 18:45:54 +08:00
wangchuxiao f4baf847ca errcode 2023-02-07 18:43:43 +08:00
withchao 66b6d5fc2f group db 2023-02-07 18:36:47 +08:00
withchao cfa5420d9d group func name 2023-02-07 17:16:04 +08:00
withchao 1716de808f realization group rpc 2023-02-07 16:31:12 +08:00
withchao 26794503c3 realization group rpc 2023-02-07 15:48:18 +08:00
withchao 4645eec8b6 realization group rpc 2023-02-07 15:11:31 +08:00
withchao 0443b517fb group group.pb.go 2023-02-07 10:27:59 +08:00
withchao 90aa699d5f group proto 2023-02-07 10:17:28 +08:00
withchao 4f96cc9b1b group rpc 2023-02-06 18:33:33 +08:00
withchao 7d3b203d03 rpc QuitGroup 2023-02-06 15:53:08 +08:00
withchao ca1dde558b rpc JoinGroup 2023-02-06 15:45:25 +08:00
withchao 210d04d488 rpc GroupApplicationResponse 2023-02-06 15:32:20 +08:00
withchao 49983b8c83 1 2023-02-06 12:26:14 +08:00
withchao 1b09353991 1 2023-02-06 12:14:12 +08:00
withchao 8c30bde86e 1 2023-02-06 11:55:10 +08:00
withchao 32d99595fb 1 2023-02-06 11:53:19 +08:00
withchao b801cde5c4 1 2023-02-03 18:26:51 +08:00
withchao 3d8902c670 1 2023-02-03 18:11:51 +08:00
withchao d91039c99d Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-03 18:10:57 +08:00
withchao 516285952d 1 2023-02-03 18:10:49 +08:00
withchao bec4a89f7b 1 2023-02-03 17:27:56 +08:00
skiffer-git d59c4367fb Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-03 16:51:57 +08:00
skiffer-git 22c63ecdbd Error code standardization 2023-02-03 16:51:35 +08:00
Gordon 99504eec2e Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/db/cache/conversation.go
2023-02-03 16:23:47 +08:00
Gordon 830ebdd472 conversation update 2023-02-03 16:22:59 +08:00
skiffer-git 795a90a194 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-03 16:12:07 +08:00
skiffer-git 1aa3ac9399 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/db/controller/friend.go
#	pkg/common/db/relation/friend_model_k.go
#	pkg/common/db/relation/friend_request_model.go
2023-02-03 16:11:29 +08:00
withchao a2c4bccdb6 1 2023-02-03 16:10:51 +08:00
skiffer-git 3320f81c8f Error code standardization 2023-02-03 16:10:33 +08:00
withchao 64dee9f989 1 2023-02-03 16:10:07 +08:00
Gordon 3b4c227519 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/db/cache/conversation.go
#	pkg/common/db/relation/conversation_model.go
2023-02-03 15:54:23 +08:00
withchao f98d894a4b 1 2023-02-03 14:36:38 +08:00
withchao 4d4a451926 1 2023-02-03 14:26:54 +08:00
withchao adfcfac711 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/db/table/relation.go
2023-02-03 14:24:57 +08:00
withchao 8e49d7e567 1 2023-02-03 14:23:29 +08:00
wangchuxiao 2243e8194d Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-02-03 12:17:04 +08:00
wangchuxiao b637a29348 errcode 2023-02-03 12:16:48 +08:00
withchao d5a9647902 1 2023-02-03 11:50:23 +08:00
Gordon 77156014a1 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-03 11:00:28 +08:00
Gordon e167d80469 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/db/cache/conversation.go
#	pkg/common/db/relation/conversation_model.go
2023-02-03 10:26:26 +08:00
skiffer-git ff88f5d54a Update README.md 2023-02-03 09:55:51 +08:00
Gordon 730be9db47 conversation update 2023-02-02 19:47:21 +08:00
wangchuxiao 01f7262d3a errcode 2023-02-02 19:43:51 +08:00
wangchuxiao 83eba5a9ea Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-02-02 19:41:11 +08:00
wangchuxiao 47b725ac69 errcode 2023-02-02 19:40:54 +08:00
withchao dec0c8cc47 1 2023-02-02 18:45:43 +08:00
withchao b7f0e2e6f3 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-02 17:54:21 +08:00
withchao e8a24ab59e 1 2023-02-02 17:54:02 +08:00
skiffer-git 0e5f3dacd6 Update config.yaml 2023-02-02 17:51:59 +08:00
withchao 778e3e5cd2 1 2023-02-02 17:49:19 +08:00
skiffer-git 082a3b7e65 Update config.yaml 2023-02-02 17:34:11 +08:00
skiffer-git 348cb921eb Update config.yaml 2023-02-02 17:25:09 +08:00
skiffer-git e175ef2b4e Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-02 16:39:45 +08:00
skiffer-git 5402d33519 Error code standardization 2023-02-02 16:39:29 +08:00
wangchuxiao 174c3e5fae Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-02-02 16:11:33 +08:00
wangchuxiao f6cc91d7db errcode 2023-02-02 16:11:24 +08:00
withchao 94b0e60e83 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-02 16:08:19 +08:00
withchao 0eb77e9b35 1 2023-02-02 16:08:08 +08:00
withchao c3f6a0fa15 1 2023-02-02 15:42:14 +08:00
Gordon eb810f8dca Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-02 12:06:55 +08:00
Gordon 645b8dc0a9 pb file 2023-02-02 12:06:36 +08:00
Gordon a9151868b0 pb file 2023-02-02 12:06:25 +08:00
withchao c1af64854c 1 2023-02-02 12:00:18 +08:00
withchao dab552aed4 1 2023-02-02 11:55:48 +08:00
withchao 26b5ed72df 1 2023-02-02 11:52:00 +08:00
withchao eb3bb7948f 1 2023-02-02 11:47:27 +08:00
withchao c55785783d 1 2023-02-02 11:24:03 +08:00
withchao 7ed60bd8f9 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-02 10:47:46 +08:00
withchao 4649ce5354 1 2023-02-02 10:47:19 +08:00
wangchuxiao 848e861304 errcode 2023-02-02 10:28:52 +08:00
wangchuxiao 803ecd3f92 errcode 2023-02-01 19:31:39 +08:00
wangchuxiao 5bb731f884 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	pkg/common/db/relation/black.go
2023-02-01 18:42:38 +08:00
wangchuxiao cd6c056e73 errcode 2023-02-01 18:42:04 +08:00
skiffer-git 6658566144 Error code standardization 2023-02-01 17:54:16 +08:00
skiffer-git a5a1cbb077 Error code standardization 2023-02-01 17:45:47 +08:00
skiffer-git 2e19e3109e Error code standardization 2023-02-01 17:39:08 +08:00
withchao 2b1868f558 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-01 17:22:50 +08:00
withchao 3651274d68 1 2023-02-01 17:22:42 +08:00
skiffer-git 1d42c220af Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/db/table/table.go
2023-02-01 17:21:30 +08:00
skiffer-git cbe68507f3 Error code standardization 2023-02-01 17:20:55 +08:00
wangchuxiao c2fbcd1f22 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	pkg/common/db/relation/friend_model_k.go
2023-02-01 17:13:06 +08:00
withchao d67515f53f Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/db/table/table.go
2023-02-01 17:12:00 +08:00
wangchuxiao d4952ebc16 errcode 2023-02-01 17:11:44 +08:00
withchao 0f3691893e 1 2023-02-01 17:07:56 +08:00
skiffer-git fb436e7713 Error code standardization 2023-02-01 16:44:50 +08:00
Gordon aafe17a0f3 friend update 2023-02-01 16:22:13 +08:00
Gordon 80bde864c1 friend update 2023-02-01 16:19:44 +08:00
Gordon 7c92de7899 Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-01 15:58:14 +08:00
Gordon e550c9a874 friend update 2023-02-01 15:56:17 +08:00
withchao 4bea4252ff Merge remote-tracking branch 'origin/errcode' into errcode 2023-02-01 15:44:47 +08:00
withchao ef475cb9d9 1 2023-02-01 15:42:27 +08:00
skiffer-git abd957a459 Error code standardization 2023-02-01 12:16:14 +08:00
skiffer-git 39463e68e3 Error code standardization 2023-02-01 12:12:51 +08:00
withchao 01d3977766 1 2023-02-01 12:01:05 +08:00
withchao 26e130122c 1 2023-02-01 12:00:29 +08:00
wangchuxiao 4ad6b74d75 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	pkg/common/db/relation/friend_model_k.go
2023-02-01 11:23:35 +08:00
wangchuxiao 40470bc320 errcode 2023-02-01 11:23:01 +08:00
skiffer-git 839af18f49 Error code standardization 2023-02-01 11:15:39 +08:00
skiffer-git e7eee16cf1 Error code standardization 2023-02-01 10:49:30 +08:00
skiffer-git 4067d7e4b9 Error code standardization 2023-01-31 21:06:04 +08:00
skiffer-git d44c286ff3 Error code standardization 2023-01-31 20:41:45 +08:00
skiffer-git bac9ba000e Error code standardization 2023-01-31 20:36:25 +08:00
skiffer-git 00bd22041b Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-31 20:33:48 +08:00
skiffer-git b3e141a3ce Error code standardization 2023-01-31 20:33:33 +08:00
wangchuxiao e0d05e1fa8 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-31 18:56:23 +08:00
wangchuxiao 4c931fba5c errcode 2023-01-31 18:55:22 +08:00
skiffer-git d6b5a5278e Error code standardization 2023-01-31 17:04:08 +08:00
skiffer-git 954e01c951 Error code standardization 2023-01-31 16:49:35 +08:00
skiffer-git 8ecdcbfc0a Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-31 15:45:34 +08:00
skiffer-git 4e580cb848 Error code standardization 2023-01-31 15:45:24 +08:00
withchao 83c782df9f 1 2023-01-31 15:35:11 +08:00
skiffer-git 618ff03cbe Error code standardization 2023-01-31 13:38:39 +08:00
skiffer-git b18fb5cd31 Error code standardization 2023-01-31 13:37:35 +08:00
skiffer-git 6aa4974e29 Error code standardization 2023-01-31 11:34:30 +08:00
skiffer-git 026649f875 Error code standardization 2023-01-31 10:48:02 +08:00
skiffer-git 467d44adc6 Error code standardization 2023-01-31 10:03:10 +08:00
skiffer-git 6bce40535e Error code standardization 2023-01-31 09:59:15 +08:00
skiffer-git 82c1b2352c Error code standardization 2023-01-31 09:35:00 +08:00
skiffer-git fa45eb1fa8 Error code standardization 2023-01-30 21:57:39 +08:00
skiffer-git 29321b4e09 Error code standardization 2023-01-30 21:51:20 +08:00
skiffer-git d50248ffd2 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-30 21:47:38 +08:00
skiffer-git b881924144 Error code standardization 2023-01-30 21:47:29 +08:00
wangchuxiao 1693359010 errcode 2023-01-30 19:49:18 +08:00
wangchuxiao 1e3e243a7f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-30 16:56:33 +08:00
wangchuxiao c1d6f5809b errcode 2023-01-30 16:55:44 +08:00
wangchuxiao 1b4f6054ae errcode 2023-01-30 16:47:58 +08:00
wangchuxiao 1ba5cde076 errcode 2023-01-30 16:45:40 +08:00
withchao 5c99bdf14f 1 2023-01-30 15:41:30 +08:00
wangchuxiao 79b5d4b8bd Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	internal/rpc/friend/friend.go
2023-01-30 15:30:37 +08:00
wangchuxiao 67c082ab7b errcode 2023-01-30 15:28:46 +08:00
skiffer-git ec23d22d6d Error code standardization 2023-01-30 15:26:39 +08:00
skiffer-git d9eb55d9df Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-30 11:35:06 +08:00
skiffer-git f38dc3b1f1 Error code standardization 2023-01-30 11:34:07 +08:00
wangchuxiao 26ed14d1d3 errcode 2023-01-30 11:14:18 +08:00
wangchuxiao 5b8f66404c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	internal/rpc/group/group.go
	pkg/common/db/relation/user_model_k.go
2023-01-30 11:12:35 +08:00
wangchuxiao 21a1e7dff2 errcode 2023-01-30 11:10:26 +08:00
skiffer-git 2a76dc3ac8 Error code standardization 2023-01-30 10:40:27 +08:00
skiffer-git 007daaa014 Error code standardization 2023-01-29 19:47:13 +08:00
skiffer-git 8e1f524f68 Error code standardization 2023-01-29 19:45:17 +08:00
skiffer-git 0bec6eeb57 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-29 19:19:20 +08:00
skiffer-git d49022c16a Error code standardization 2023-01-29 19:19:03 +08:00
withchao 4c6e02f805 1 2023-01-29 18:37:38 +08:00
withchao f76afd3185 1 2023-01-29 18:31:01 +08:00
withchao b83260ca30 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-29 18:26:47 +08:00
withchao 25f0173c10 1 2023-01-29 18:24:46 +08:00
withchao 0a81dd040f 1 2023-01-29 18:13:02 +08:00
skiffer-git d2d8b9c41c Error code standardization 2023-01-29 17:54:01 +08:00
skiffer-git c7237a64bb Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-29 17:46:37 +08:00
skiffer-git 1d25a5e53f Error code standardization 2023-01-29 17:46:11 +08:00
wangchuxiao d6edb4aa8c Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	pkg/common/db/controller/group.go
2023-01-29 17:21:22 +08:00
wangchuxiao 704b18d900 errcode 2023-01-29 17:20:31 +08:00
withchao 16fa05f76e 1 2023-01-29 16:47:38 +08:00
withchao 6a87d26420 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-29 16:44:19 +08:00
withchao 8eee04e7be 1 2023-01-29 16:33:11 +08:00
skiffer-git 00b4538b0a Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-29 16:30:48 +08:00
skiffer-git b162909147 Error code standardization 2023-01-29 16:30:33 +08:00
withchao 1e92e0ab28 1 2023-01-29 16:29:14 +08:00
withchao 0e1982083e Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/proto/sdk_ws/ws.proto
2023-01-29 16:13:45 +08:00
withchao 29a78c469d 1 2023-01-29 16:10:30 +08:00
withchao cf4499e958 1 2023-01-29 15:23:14 +08:00
skiffer-git e241c65a9c Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-29 15:03:51 +08:00
skiffer-git a218bc1daa Error code standardization 2023-01-29 15:03:39 +08:00
wangchuxiao 4688767c51 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-29 15:01:27 +08:00
wangchuxiao dc5ee4436e errcode 2023-01-29 15:01:11 +08:00
skiffer-git 17d3ef2469 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-29 14:56:41 +08:00
skiffer-git 3e340f345d Error code standardization 2023-01-29 14:56:25 +08:00
withchao 399e1520d6 1 2023-01-29 14:53:31 +08:00
withchao 56a89ad33b Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-29 14:52:05 +08:00
withchao f65cd2aefc 1 2023-01-29 14:51:59 +08:00
skiffer-git 7b0eeb3049 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/utils/convert.go
2023-01-29 14:48:05 +08:00
skiffer-git 39fc655b1a Error code standardization 2023-01-29 14:47:21 +08:00
wangchuxiao 069b978b23 errcode 2023-01-29 14:35:52 +08:00
wangchuxiao 15166f53b0 errcode 2023-01-29 11:37:11 +08:00
wangchuxiao b021089360 errcode 2023-01-29 11:30:12 +08:00
wangchuxiao 52ceb7682d Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	internal/rpc/group/group.go
	pkg/common/db/controller/group.go
	pkg/common/db/relation/group_member_model_k.go
2023-01-29 11:26:03 +08:00
withchao 4e10b361ed 1 2023-01-29 11:22:37 +08:00
wangchuxiao eebf7ca893 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-29 11:15:31 +08:00
wangchuxiao 945449108d errcode 2023-01-29 11:15:16 +08:00
withchao ebd329558c 1 2023-01-29 10:42:58 +08:00
wangchuxiao 5e4e960524 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	pkg/common/db/controller/group.go
	pkg/common/db/relation/group_model_k.go
2023-01-29 10:37:59 +08:00
wangchuxiao 68d595b558 errcode 2023-01-29 10:31:01 +08:00
withchao 5bf8f6728e 1 2023-01-28 18:49:36 +08:00
withchao c760b520ff 1 2023-01-28 18:47:02 +08:00
withchao 601fac7a04 1 2023-01-28 18:46:42 +08:00
withchao 891e631b91 1 2023-01-28 18:01:33 +08:00
wangchuxiao 87e61046cb errcode 2023-01-28 17:09:20 +08:00
wangchuxiao 7fc279a329 errcode 2023-01-28 16:36:38 +08:00
wangchuxiao c90d4330df errcode 2023-01-28 15:55:04 +08:00
wangchuxiao 19ae659e44 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-28 15:14:55 +08:00
wangchuxiao 870cc25beb errcode 2023-01-28 15:10:19 +08:00
Gordon 0b2854ddda group update 2023-01-28 14:42:46 +08:00
wangchuxiao 36e82d0a6d Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	internal/rpc/group/group.go
#	pkg/common/db/model/group.go
2023-01-28 13:23:34 +08:00
wangchuxiao 7e4bc249be errCode 2023-01-28 13:20:00 +08:00
wangchuxiao d9becad8e9 errCode 2023-01-28 13:19:36 +08:00
Gordon 5af01e4da1 group update 2023-01-28 11:28:11 +08:00
wangchuxiao 8d029a7ab3 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	pkg/common/db/model/group.go
2023-01-18 11:46:56 +08:00
Gordon 0d3984233b db update 2023-01-18 11:18:05 +08:00
Gordon 640960a87b db update 2023-01-18 10:59:25 +08:00
wangchuxiao 46a7a76b43 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-18 10:23:45 +08:00
Gordon 6e26c0d986 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-17 20:18:34 +08:00
Gordon f83e8659be db update 2023-01-17 20:18:02 +08:00
skiffer-git 8b821ce32e Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-17 18:03:11 +08:00
skiffer-git 9067172424 Error code standardization 2023-01-17 18:02:57 +08:00
wangchuxiao da48b27ada groupModel 2023-01-17 17:50:25 +08:00
wangchuxiao f528535cfd groupModel 2023-01-17 17:49:29 +08:00
wangchuxiao adccfff581 model 2023-01-17 17:47:13 +08:00
Gordon 65cfb5c898 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-17 17:46:57 +08:00
Gordon 0a57d5a426 db update 2023-01-17 17:46:33 +08:00
withchao 8e47b55ab4 1 2023-01-17 17:43:30 +08:00
withchao 142b9386fc Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-17 17:31:35 +08:00
withchao 6ab9cff3c3 1 2023-01-17 17:31:22 +08:00
Gordon f538a86e10 remove notification limit 2023-01-17 17:26:58 +08:00
wangchuxiao 0f17f52c2c model 2023-01-17 17:15:18 +08:00
wangchuxiao 3e0c6f94ed model 2023-01-17 17:08:52 +08:00
wangchuxiao 727bf623b3 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/db/model/group.go
2023-01-17 17:05:34 +08:00
wangchuxiao eea7adb1b8 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/db/model/group.go
2023-01-17 16:39:12 +08:00
wangchuxiao 3751e633e4 groupdb 2023-01-17 16:36:34 +08:00
skiffer-git 3f52c03b1d Error code standardization 2023-01-17 16:25:18 +08:00
skiffer-git e31d162870 Error code standardization 2023-01-17 15:30:24 +08:00
skiffer-git 87d0e296c1 Error code standardization 2023-01-17 15:28:25 +08:00
skiffer-git ffd306f25c Error code standardization 2023-01-17 15:03:47 +08:00
withchao 58866c1b41 1 2023-01-17 14:54:08 +08:00
withchao 1d428785d1 1 2023-01-17 14:46:20 +08:00
wangchuxiao df6bd5719d Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-17 14:40:24 +08:00
wangchuxiao a55e27c581 groupdb 2023-01-17 14:40:20 +08:00
wangchuxiao d21b1e6e78 groupdb 2023-01-17 14:39:29 +08:00
wangchuxiao 86157b4f7a groupdb 2023-01-17 14:38:33 +08:00
withchao 12514a632d Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-17 12:31:14 +08:00
withchao 775951a09f copy map 2023-01-17 12:29:50 +08:00
skiffer-git 46c6f532dc Error code standardization 2023-01-17 11:51:19 +08:00
skiffer-git 65a4c39ab8 Error code standardization 2023-01-17 11:15:39 +08:00
skiffer-git beeb0f3e00 Error code standardization 2023-01-17 11:10:26 +08:00
skiffer-git 7a34a4e5aa Error code standardization 2023-01-17 10:08:30 +08:00
skiffer-git a6f6915336 Error code standardization 2023-01-16 21:32:06 +08:00
wangchuxiao 3c4051c5fc groupdb 2023-01-16 20:15:45 +08:00
wangchuxiao 4854db030f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-16 20:14:49 +08:00
wangchuxiao 822db2a63e groupdb 2023-01-16 20:14:26 +08:00
withchao 38013d272b 1 2023-01-16 19:14:05 +08:00
withchao 21ea555183 1 2023-01-16 18:50:05 +08:00
withchao 07d3467b7a 1 2023-01-16 18:48:40 +08:00
withchao 689611bcd5 1 2023-01-16 16:38:21 +08:00
withchao 7061bf7667 1 2023-01-16 16:37:55 +08:00
withchao b14863aea6 1 2023-01-16 16:21:39 +08:00
withchao 3f739459db 1 2023-01-16 16:07:42 +08:00
withchao 3e344c16a2 1 2023-01-16 16:05:37 +08:00
withchao 99bcc50eb8 1 2023-01-16 16:02:56 +08:00
withchao 8a6435ddf6 1 2023-01-16 15:59:30 +08:00
withchao 62a67905af 1 2023-01-16 15:53:40 +08:00
skiffer-git 033d1e0919 Error code standardization 2023-01-13 20:58:59 +08:00
skiffer-git a30162df52 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-13 20:58:22 +08:00
skiffer-git 87ce1895e3 Error code standardization 2023-01-13 20:58:06 +08:00
wangchuxiao 80b22e0e0e Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-13 19:08:01 +08:00
wangchuxiao 40438f529a del files 2023-01-13 19:05:43 +08:00
withchao 50d6b4053a 1 2023-01-13 18:29:25 +08:00
withchao 176c65ebaf 1 2023-01-13 18:20:48 +08:00
wangchuxiao 51529eece3 del files 2023-01-13 18:00:18 +08:00
withchao 9b070bd8df Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-13 17:17:27 +08:00
withchao 24896299d3 1 2023-01-13 17:16:56 +08:00
skiffer-git 16c9f670cf Error code standardization 2023-01-13 17:00:43 +08:00
skiffer-git 12cf665d42 Error code standardization 2023-01-13 16:59:40 +08:00
skiffer-git 28e0125d55 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-13 16:57:01 +08:00
skiffer-git f78304602c Error code standardization 2023-01-13 16:56:46 +08:00
withchao 0c9ca254e6 1 2023-01-13 16:49:22 +08:00
withchao c16a994fd4 1 2023-01-13 16:19:21 +08:00
withchao b224b1ab40 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-13 16:02:49 +08:00
withchao e2ebe19aff 1 2023-01-13 16:02:38 +08:00
skiffer-git 8e8ee2b968 Error code standardization 2023-01-13 14:39:23 +08:00
skiffer-git 29c1bb86d8 Error code standardization 2023-01-13 14:35:58 +08:00
skiffer-git 1797267a6b Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-13 14:34:49 +08:00
skiffer-git a35bb0ddc0 Error code standardization 2023-01-13 14:34:34 +08:00
withchao 55cbc26742 1 2023-01-13 14:10:46 +08:00
skiffer-git 6c3e710223 Error code standardization 2023-01-12 19:55:51 +08:00
wangchuxiao cc1a9e1d4a log 2023-01-12 18:21:39 +08:00
wangchuxiao fcb7639833 log 2023-01-12 18:14:33 +08:00
wangchuxiao 6416127e39 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-12 18:09:18 +08:00
wangchuxiao 82c32d24a1 log 2023-01-12 18:09:13 +08:00
withchao 6641637f12 1 2023-01-12 18:03:07 +08:00
withchao fd8dd47d2a Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 17:52:25 +08:00
withchao 5e48231d51 1 2023-01-12 17:52:14 +08:00
wangchuxiao 31ff1cb673 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-12 17:49:50 +08:00
wangchuxiao 022da8bdbd log 2023-01-12 17:49:36 +08:00
withchao 6bd62610dd Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 17:37:33 +08:00
withchao a657fd8d51 1 2023-01-12 17:37:25 +08:00
skiffer-git ba81f0e4b9 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 17:31:13 +08:00
skiffer-git fb1e10f32c Error code standardization 2023-01-12 17:31:02 +08:00
withchao 44e6a5570e Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 17:30:56 +08:00
withchao 231e0adea1 1 2023-01-12 17:30:48 +08:00
wangchuxiao 57928f900e log 2023-01-12 17:30:40 +08:00
wangchuxiao 8be1ee90f6 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-12 17:26:16 +08:00
wangchuxiao 35774878db log 2023-01-12 17:26:10 +08:00
withchao 0f4170907f 1 2023-01-12 17:20:28 +08:00
withchao 56d4064b90 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 17:17:58 +08:00
withchao 979f617209 1 2023-01-12 17:17:42 +08:00
wangchuxiao da637d1ec2 log 2023-01-12 17:15:59 +08:00
wangchuxiao 653fce11da log 2023-01-12 17:08:10 +08:00
withchao 3270cbab8c 1 2023-01-12 16:56:44 +08:00
withchao 8cc76e83f6 1 2023-01-12 16:55:56 +08:00
withchao c9dc7885e9 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 16:54:34 +08:00
withchao a5dbcad87c 1 2023-01-12 16:54:26 +08:00
skiffer-git 939e6c9e4d Error code standardization 2023-01-12 16:53:18 +08:00
skiffer-git f8372c2744 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 16:50:47 +08:00
skiffer-git 4e9f4ecaff Error code standardization 2023-01-12 16:50:37 +08:00
withchao 92ee864b45 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 16:50:35 +08:00
withchao b0834ae437 1 2023-01-12 16:50:26 +08:00
withchao 6c6e02967a 1 2023-01-12 16:49:00 +08:00
skiffer-git 425ba5946f Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	pkg/common/constant/errors.go
2023-01-12 16:48:59 +08:00
skiffer-git 3720134fbd Error code standardization 2023-01-12 16:48:11 +08:00
withchao 4e96e77d26 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 16:47:37 +08:00
withchao 5ddc08e4fd 1 2023-01-12 16:47:28 +08:00
wangchuxiao 21e44518cb Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-12 16:46:37 +08:00
wangchuxiao fd7b0da269 log 2023-01-12 16:45:50 +08:00
withchao f51ff6fa19 1 2023-01-12 16:45:18 +08:00
skiffer-git ec9ad4a06d Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 16:32:12 +08:00
wangchuxiao e67dc28e82 log 2023-01-12 16:31:44 +08:00
skiffer-git 007f9912eb Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 16:31:42 +08:00
skiffer-git 8286fdc4d0 Error code standardization 2023-01-12 16:31:32 +08:00
wangchuxiao 6c7b80f853 log 2023-01-12 16:30:53 +08:00
withchao b6fc96aa31 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 16:17:59 +08:00
withchao d06dc3e4b5 1 2023-01-12 16:17:52 +08:00
withchao 16864dab7d 1 2023-01-12 16:16:50 +08:00
wangchuxiao 8becaf07c7 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-12 16:13:54 +08:00
wangchuxiao fbffd9ea26 log 2023-01-12 16:13:13 +08:00
withchao 03dd50e25c Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 16:10:13 +08:00
withchao 8431b40c16 1 2023-01-12 16:10:01 +08:00
withchao f5fc429b34 1 2023-01-12 16:08:44 +08:00
withchao be39542832 Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/api_to_rpc/api.go
2023-01-12 16:06:46 +08:00
wangchuxiao 09244e757f log 2023-01-12 16:06:21 +08:00
withchao 69e94c25f4 1 2023-01-12 16:04:12 +08:00
wangchuxiao ff524b0ee7 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	internal/api_to_rpc/api.go
2023-01-12 16:01:20 +08:00
withchao 7b10b17056 1 2023-01-12 16:00:52 +08:00
wangchuxiao 1a32b49662 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	internal/api_to_rpc/api.go
2023-01-12 15:58:26 +08:00
wangchuxiao 6205c67b70 log 2023-01-12 15:55:44 +08:00
withchao dac62d62ef 1 2023-01-12 14:37:34 +08:00
withchao 631c7202b4 1 2023-01-12 14:32:14 +08:00
withchao 20aea0c335 1 2023-01-12 14:31:44 +08:00
withchao 3b82fbe4ca 1 2023-01-12 14:23:00 +08:00
withchao b57616cb29 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 14:14:21 +08:00
withchao 2645e4da41 go mod getcdv3 2023-01-12 14:14:12 +08:00
wangchuxiao 47766a2c2c db 2023-01-12 11:23:07 +08:00
wangchuxiao 6ee06ded3f db 2023-01-12 11:19:25 +08:00
wangchuxiao 9bc659e8f0 db 2023-01-12 11:14:37 +08:00
wangchuxiao db51b597da db 2023-01-12 11:09:08 +08:00
wangchuxiao 6fd6c29ea4 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-12 10:55:31 +08:00
wangchuxiao 6808d734b4 db 2023-01-12 10:55:07 +08:00
withchao 5e020bb514 1 2023-01-12 10:52:41 +08:00
withchao 7bc32e67bc Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-12 10:50:48 +08:00
withchao dfb91b3fc0 1 2023-01-12 10:50:35 +08:00
wangchuxiao 4649eb11e6 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-12 10:48:17 +08:00
wangchuxiao cb713db9d2 db 2023-01-12 10:48:02 +08:00
withchao 59c477424c 1 2023-01-12 10:42:27 +08:00
withchao 94eeb3abb2 1 2023-01-12 10:12:38 +08:00
withchao 2841109f31 1 2023-01-12 10:07:08 +08:00
withchao d142988390 1 2023-01-12 09:55:20 +08:00
withchao 35c0e8303c 1 2023-01-11 19:33:25 +08:00
withchao 6dafbf2165 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-11 19:28:12 +08:00
withchao 4f2d9c548e 1 2023-01-11 19:26:17 +08:00
wangchuxiao 59d83dd563 db 2023-01-11 19:10:21 +08:00
wangchuxiao 31a264f411 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-11 19:03:40 +08:00
wangchuxiao e466faa20d db 2023-01-11 19:03:26 +08:00
withchao 6c0175540b 1 2023-01-11 18:39:42 +08:00
wangchuxiao 9b962a0368 db 2023-01-11 18:08:26 +08:00
wangchuxiao 6755303f0a db 2023-01-11 18:05:32 +08:00
wangchuxiao e34ad36912 db 2023-01-11 17:59:43 +08:00
wangchuxiao 88d6fc663a db 2023-01-11 17:40:20 +08:00
wangchuxiao dff32dd7ef db 2023-01-11 17:32:49 +08:00
withchao 53c278234d friend 2023-01-11 16:55:25 +08:00
wangchuxiao 4ab18f191f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-11 16:50:19 +08:00
wangchuxiao b65f3151d1 fix Pb2String 2023-01-11 16:50:02 +08:00
withchao 2a7068942a Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-11 16:46:30 +08:00
withchao d79936ef7b friend 2023-01-11 16:46:20 +08:00
wangchuxiao d3c9ef6992 fix Pb2String 2023-01-11 16:46:09 +08:00
withchao a60a8441ba friend 2023-01-11 16:42:47 +08:00
wangchuxiao edced72be9 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	internal/api_to_rpc/api.go
	internal/rpc/group/group.go
2023-01-11 16:27:20 +08:00
wangchuxiao c96ccfc7f5 fix Pb2String 2023-01-11 16:23:16 +08:00
withchao 920fcc14f1 api to rpc 2023-01-11 16:16:44 +08:00
withchao 5669399b2d group rpc 2023-01-11 15:56:49 +08:00
withchao e8de74f76d group rpc 2023-01-11 15:33:32 +08:00
withchao b2460d5267 group rpc 2023-01-11 14:57:44 +08:00
withchao 9058c96ea4 group rpc CommonResp 2023-01-11 14:53:11 +08:00
withchao b05e4f131a group rpc 2023-01-11 14:51:24 +08:00
withchao 1fc7c4434c group 2023-01-11 14:29:37 +08:00
skiffer-git 46c3b5a6ea Error code standardization 2023-01-11 11:24:38 +08:00
wangchuxiao 07a6439082 fix Pb2String 2023-01-11 11:15:46 +08:00
wangchuxiao 62ff4213e2 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-10 18:05:51 +08:00
withchao 198cae5ade group 2023-01-10 18:05:13 +08:00
withchao 8f51749786 group 2023-01-10 16:17:55 +08:00
withchao 9341a5f57f Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/rpc/group/group.go
2023-01-10 10:17:28 +08:00
wangchuxiao 2c7f7f27d3 group rpc 2023-01-09 18:01:41 +08:00
wangchuxiao 6e8a2232a9 group rpc 2023-01-09 17:04:43 +08:00
wangchuxiao 5f48eeb74b group rpc 2023-01-09 16:51:26 +08:00
wangchuxiao 5cbfe7c73f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
 Conflicts:
	internal/rpc/group/group.go
2023-01-09 16:49:14 +08:00
wangchuxiao 69787064e9 group rpc 2023-01-09 16:37:33 +08:00
withchao aa2b43293d group 2023-01-09 14:51:31 +08:00
withchao 36be1f4be8 group 2023-01-09 14:29:53 +08:00
withchao 4a098a4a0e group 2023-01-09 14:29:43 +08:00
withchao 10fa4318e9 group 2023-01-09 14:28:19 +08:00
wangchuxiao ac74d01d35 groupCallback 2023-01-09 14:27:08 +08:00
withchao 6830fe5f7a group 2023-01-09 14:09:07 +08:00
withchao 8478331ef9 group 2023-01-09 13:57:30 +08:00
withchao 0a803098ac group 2023-01-09 10:01:17 +08:00
withchao 5be07abbed group 2023-01-06 18:39:48 +08:00
withchao 42061ddaf0 group 2023-01-06 18:25:41 +08:00
withchao d60d8096df group 2023-01-06 17:58:35 +08:00
withchao 80022dfb8f group 2023-01-06 17:25:22 +08:00
withchao 2e8396e408 group 2023-01-06 17:00:14 +08:00
withchao fdaeb8a8bf GetJoinedGroupList 2023-01-06 16:31:40 +08:00
withchao 90fddd34d2 CreateGroup 2023-01-06 16:21:43 +08:00
wangchuxiao 90cc7937e6 groupCallback 2023-01-06 15:01:44 +08:00
wangchuxiao 463f08546e groupCallback 2023-01-06 14:36:39 +08:00
wangchuxiao dab58d775a groupCallback 2023-01-06 14:32:58 +08:00
wangchuxiao b0cc8fe947 groupCallback 2023-01-06 14:31:01 +08:00
skiffer-git 6518473436 Error code standardization 2023-01-06 14:23:43 +08:00
withchao d9bff25958 CreateGroup 2023-01-06 14:21:00 +08:00
withchao 250020e8c2 CreateGroup 2023-01-06 14:19:03 +08:00
withchao ebc8ab4cab CreateGroup 2023-01-06 14:13:39 +08:00
withchao 490dafad0c CreateGroup 2023-01-06 14:11:12 +08:00
withchao 692ec1f8c2 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-06 14:06:25 +08:00
withchao 46cc5ccdf3 CreateGroup 2023-01-06 14:06:18 +08:00
skiffer-git 31cb75b024 Error code standardization 2023-01-06 13:52:25 +08:00
withchao 18c4212aa0 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-06 13:47:00 +08:00
withchao 028c2ac364 CheckAccess 2023-01-06 13:46:35 +08:00
skiffer-git 8d42184ff0 Error code standardization 2023-01-06 13:41:50 +08:00
withchao 08bffa60f4 CreateGroup rpc 2023-01-06 11:49:11 +08:00
withchao e0241d73de CreateGroup rpc 2023-01-06 11:19:31 +08:00
skiffer-git 74f5663963 Error code standardization 2023-01-05 20:23:33 +08:00
wangchuxiao fb1b3687f4 groupCallback 2023-01-05 20:15:51 +08:00
wangchuxiao 2d67f95413 groupCallback 2023-01-05 20:04:11 +08:00
wangchuxiao 4aa7abf94b groupCallback 2023-01-05 18:37:01 +08:00
wangchuxiao 2db5a8b618 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-05 18:32:55 +08:00
wangchuxiao 99fc84aaea groupCallback 2023-01-05 18:32:30 +08:00
skiffer-git 7827ce1aee Error code standardization 2023-01-05 17:20:12 +08:00
skiffer-git d28d470435 Error code standardization 2023-01-05 17:14:28 +08:00
skiffer-git b76751ec79 Error code standardization 2023-01-05 17:09:35 +08:00
wangchuxiao 635c703535 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-05 15:59:34 +08:00
wangchuxiao 1fc0f0cb01 getcd 2023-01-05 15:58:00 +08:00
skiffer-git 0f7b183e7c Error code standardization 2023-01-05 15:52:48 +08:00
skiffer-git 45aa8293e5 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-05 15:45:46 +08:00
skiffer-git f3a3477811 Error code standardization 2023-01-05 15:45:21 +08:00
wangchuxiao cf82d3495e Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/constant/error.go
2023-01-05 15:33:28 +08:00
wangchuxiao 297f3c16a8 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/db/mysql_model/im_mysql_model/group_model_k.go
2023-01-05 15:30:33 +08:00
skiffer-git 9d791c186b Error code standardization 2023-01-05 15:04:48 +08:00
skiffer-git b81513e9bb Error code standardization 2023-01-05 13:36:49 +08:00
skiffer-git e03a34cae4 Error code standardization 2023-01-05 11:40:48 +08:00
skiffer-git 89f0741cea Error code standardization 2023-01-05 11:38:20 +08:00
skiffer-git 8028ee790f Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-05 11:33:32 +08:00
skiffer-git 4147c68f6d Error code standardization 2023-01-05 11:33:17 +08:00
withchao f5b598fde8 Merge remote-tracking branch 'origin/errcode' into errcode 2023-01-05 10:48:51 +08:00
withchao 0138b7fc12 get func name 2023-01-05 10:47:41 +08:00
skiffer-git 847860a0c7 Error code standardization 2023-01-05 10:07:38 +08:00
withchao c092c0e72d group member db 2023-01-04 21:56:42 +08:00
wangchuxiao 633aefad56 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/db/mysql_model/im_mysql_model/group_model_k.go
2023-01-04 19:49:47 +08:00
wangchuxiao b9a11e4ca1 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/db/mysql_model/im_mysql_model/group_model_k.go
2023-01-04 19:46:43 +08:00
wangchuxiao bd8536b9eb Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/db/mysql_model/im_mysql_model/group_model_k.go
2023-01-04 19:45:56 +08:00
wangchuxiao 6bd9b3d82f Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts:
#	pkg/common/db/mysql_model/im_mysql_model/group_model_k.go
2023-01-04 19:38:07 +08:00
wangchuxiao 7743801795 errCode 2023-01-04 19:35:07 +08:00
skiffer-git bedba8d8f5 Error code standardization 2023-01-04 19:32:44 +08:00
skiffer-git 4aad2c86ec Error code standardization 2023-01-04 19:26:57 +08:00
skiffer-git b041cb6cbf Error code standardization 2023-01-04 19:09:53 +08:00
withchao 99de72d723 1 2023-01-04 18:43:49 +08:00
wangchuxiao f2cade3251 errCode 2023-01-04 18:36:04 +08:00
wangchuxiao 9d433fb248 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-04 18:20:31 +08:00
wangchuxiao 94d087b1bc errCode 2023-01-04 18:19:18 +08:00
skiffer-git 64b4e5570c Merge remote-tracking branch 'origin/errcode' into errcode
# Conflicts:
#	internal/rpc/friend/friend.go
#	pkg/common/db/mysql_model/im_mysql_model/user_black_list_model.go
2023-01-04 17:23:27 +08:00
skiffer-git 86bf207e02 Error code standardization 2023-01-04 17:22:55 +08:00
wangchuxiao b13ab0f0ba Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-04 17:21:46 +08:00
wangchuxiao 2d8a538798 errCode 2023-01-04 17:21:33 +08:00
withchao e9446d0360 1 2023-01-04 17:16:06 +08:00
skiffer-git 5a2a57c706 Error code standardization 2023-01-04 15:51:02 +08:00
skiffer-git c076f16793 Error code standardization 2023-01-04 11:54:49 +08:00
wangchuxiao 58bb3fe3f1 Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode 2023-01-04 11:32:30 +08:00
wangchuxiao 491501c618 errCode 2023-01-04 11:31:52 +08:00
wangchuxiao cbe7dcebea errCode 2023-01-04 11:28:52 +08:00
skiffer-git 4acde81cc4 Error code standardization 2023-01-04 11:26:35 +08:00
skiffer-git 108685e8d0 Error code standardization 2023-01-04 11:24:11 +08:00
skiffer-git 1d5e4a0f8a Error code standardization 2023-01-04 11:06:28 +08:00
skiffer-git 89a4fe96b5 Error code standardization 2023-01-04 10:12:20 +08:00
withchao b2ce96eb67 operationID 2023-01-03 16:47:11 +08:00
skiffer-git 84df63e249 Error code standardization 2023-01-03 16:42:48 +08:00
skiffer-git efd5da9e87 Error code standardization 2023-01-03 16:37:04 +08:00
skiffer-git b2dd39887d Error code standardization 2023-01-03 16:35:40 +08:00
skiffer-git 2888236e02 Error code standardization 2023-01-03 15:49:34 +08:00
skiffer-git 304474a5e1 Error code standardization 2023-01-03 15:46:28 +08:00
skiffer-git 6e4a17764e Error code standardization 2023-01-03 15:42:59 +08:00
skiffer-git a76e93626d Error code standardization 2023-01-03 15:17:33 +08:00
skiffer-git 5e5d238e82 Error code standardization 2023-01-03 14:19:23 +08:00
skiffer-git c77868bfae Error code standardization 2023-01-03 14:09:51 +08:00
skiffer-git bf747e538b Error code standardization 2023-01-03 14:08:29 +08:00
skiffer-git 20d56aefa8 Error code standardization 2022-12-30 19:52:12 +08:00
skiffer-git a2cd47f79f Error code standardization 2022-12-30 19:46:26 +08:00
skiffer-git 32d7846139 Error code standardization 2022-12-30 18:46:02 +08:00
642 changed files with 53021 additions and 101326 deletions
View File
@@ -17,11 +17,6 @@ scrape_configs:
labels:
group: 'api'
- targets: ['localhost:10006']
labels:
group: 'cms-api'
- targets: ['localhost:20110']
labels:
group: 'user'
@@ -52,27 +47,13 @@ scrape_configs:
- targets: ['localhost:20120']
labels:
group: 'friend'
group: 'friend'
- targets: ['localhost:20200']
labels:
group: 'admin-cms'
- targets: ['localhost:20120']
labels:
group: 'office'
- targets: ['localhost:20220']
labels:
group: 'organization'
- targets: ['localhost:20230']
labels:
group: 'conversation'
- targets: ['localhost:20240']
labels:
group: 'cache'
- targets: ['localhost:21400', 'localhost:21401', 'localhost:21402', 'localhost:21403']
labels:
+1 -1
View File
@@ -1,4 +1,4 @@
USER=root
PASSWORD=openIM123
MINIO_ENDPOINT=http://127.0.0.1:10005
DATA_DIR=./
DATA_DIR=./
+13 -396
View File
@@ -1,403 +1,20 @@
# Copyright © 2023 OpenIMSDK.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
# For the entire design of.gitignore, ignore git commits and ignore files
#===============================================================================
#
### OpenIM developer supplement ###
bin
logs
.devcontainer
components
out-test
Dockerfile.cross
### Makefile ###
tmp/
bin/
output/
.github
.idea
.exe
_output/
### OpenIM Config ###
config/config.yaml
./config/config.yaml
.env
./.env
### OpenIM deploy ###
deploy/openim_demo
deploy/openim-api
deploy/openim-rpc-msg_gateway
deploy/openim-msgtransfer
deploy/openim-push
deploy/openim_timer_task
deploy/openim-rpc-user
deploy/openim-rpc-friend
deploy/openim-rpc-group
deploy/openim-rpc-msg
deploy/openim-rpc-auth
deploy/open_im_api
deploy/open_im_msg_gateway
deploy/open_im_msg_transfer
deploy/open_im_push
deploy/open_im_rpc_user
deploy/open_im_rpc_friend
deploy/open_im_rpc_group
deploy/open_im_rpc_msg
deploy/open_im_rpc_auth
deploy/Open-IM-SDK-Core
# files used by the developer
.idea.md
.todo.md
.note.md
# ==============================================================================
# Created by https://www.toptal.com/developers/gitignore/api/go,git,vim,tags,test,emacs,backup,jetbrains
# Edit at https://www.toptal.com/developers/gitignore?templates=go,git,vim,tags,test,emacs,backup,jetbrains
### Backup ###
*.bak
*.gho
*.ori
*.orig
*.tmp
### Emacs ###
# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
# Org-mode
.org-id-locations
*_archive
# flymake-mode
*_flymake.*
# eshell files
/eshell/history
/eshell/lastdir
# elpa packages
/elpa/
# reftex files
*.rel
# AUCTeX auto folder
/auto/
# cask packages
.cask/
dist/
# Flycheck
flycheck_*.el
# server auth directory
/server/
# projectiles files
.projectile
# directory configuration
.dir-locals.el
# network security
/network-security.data
### vscode ###
.vscode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# End of https://www.toptal.com/developers/gitignore/api/vim,jetbrains,vscode,git,go,tags,backup,test
### Git ###
# Created by git for backups. To disable backups in Git:
# $ git config --global mergetool.keepBackup false
# Created by git when using merge tools for conflicts
*.BACKUP.*
*.BASE.*
*.LOCAL.*
*.REMOTE.*
*_BACKUP_*.txt
*_BASE_*.txt
*_LOCAL_*.txt
*_REMOTE_*.txt
### Go ###
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
vendor/
# Go workspace file
# go.work
go.work.sum
### JetBrains ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
.idea/
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# AWS User-specific
.idea/**/aws.xml
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# SonarLint plugin
.idea/sonarlint/
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
### JetBrains Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr
# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint
.idea/**/sonarlint/
# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
.idea/**/sonarIssues.xml
# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
.idea/**/markdown-navigator.xml
.idea/**/markdown-navigator-enh.xml
.idea/**/markdown-navigator/
# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257
.idea/$CACHE_FILE$
# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/codestream.xml
# Azure Toolkit for IntelliJ plugin
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
.idea/**/azureSettings.xml
### Tags ###
# Ignore tags created by etags, ctags, gtags (GNU global) and cscope
TAGS
.TAGS
!TAGS/
tags
.tags
!tags/
gtags.files
GTAGS
GRTAGS
GPATH
GSYMS
cscope.files
cscope.out
cscope.in.out
cscope.po.out
### Test ###
### Ignore all files that could be used to test your code and
### you wouldn't want to push
# Reference https://en.wikipedia.org/wiki/Metasyntactic_variable
# Most common
*foo
*bar
*fubar
*foobar
*baz
# Less common
*qux
*quux
*bongo
*bazola
*ztesch
# UK, Australia
*wibble
*wobble
*wubble
*flob
*blep
*blah
*boop
*beep
# Japanese
*hoge
*piyo
*fuga
*hogera
*hogehoge
# Portugal, Spain
*fulano
*sicrano
*beltrano
*mengano
*perengano
*zutano
# France, Italy, the Netherlands
*toto
*titi
*tata
*tutu
*pipppo
*pluto
*paperino
*aap
*noot
*mies
# Other names that would make sense
*tests
*testsdir
*testsfile
*testsfiles
*testdir
*testfile
*testfiles
*testing
*testingdir
*testingfile
*testingfiles
*temp
*tempdir
*tempfile
*tempfiles
*tmp
*tmpdir
*tmpfile
*tmpfiles
*lol
### Vim ###
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
# Auto-generated tag files
# Persistent undo
[._]*.un~
# End of https://www.toptal.com/developers/gitignore/api/go,git,vim,tags,test,emacs,backup,jetbrains
.idea
dist/
.env
config/config.yaml
+1
View File
@@ -26,6 +26,7 @@ By deployment of the Open-IM-Server on the customer's server, developers can int
- Supports multiple protocols
## Community
- 中文官网访问这里:[Open-IM中文开发文档](https://doc.rentsoft.cn/)
## Quick start
@@ -18,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
@@ -32,4 +32,3 @@ install:build
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_api ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_api","--port", "10002"]
+91
View File
@@ -0,0 +1,91 @@
package main
import (
"bytes"
"context"
"fmt"
"net"
"os"
"runtime"
"strconv"
"time"
"gopkg.in/yaml.v3"
"net/http"
_ "net/http/pprof"
"github.com/OpenIMSDK/Open-IM-Server/internal/api"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/constant"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/cache"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
"github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry"
openKeeper "github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry/zookeeper"
)
func main() {
apiCmd := cmd.NewApiCmd()
apiCmd.AddPortFlag()
apiCmd.AddApi(run)
if err := apiCmd.Execute(); err != nil {
panic(err.Error())
}
}
func startPprof() {
runtime.GOMAXPROCS(1)
runtime.SetMutexProfileFraction(1)
runtime.SetBlockProfileRate(1)
if err := http.ListenAndServe(":6060", nil); err != nil {
panic(err)
}
os.Exit(0)
}
func run(port int) error {
if port == 0 {
port = config.Config.Api.GinPort[0]
}
var err error
rdb, err := cache.NewRedis()
if err != nil {
return err
}
fmt.Println("api start init discov client")
var client discoveryregistry.SvcDiscoveryRegistry
client, err = openKeeper.NewClient(config.Config.Zookeeper.ZkAddr, config.Config.Zookeeper.Schema,
openKeeper.WithFreq(time.Hour), openKeeper.WithUserNameAndPassword(config.Config.Zookeeper.UserName,
config.Config.Zookeeper.Password), openKeeper.WithRoundRobin(), openKeeper.WithTimeout(10), openKeeper.WithLogger(log.NewZkLogger()))
if err != nil {
return err
}
fmt.Println("api init discov client success")
buf := bytes.NewBuffer(nil)
if err := yaml.NewEncoder(buf).Encode(config.Config); err != nil {
return err
}
fmt.Println("api register public config to discov")
if err := client.RegisterConf2Registry(constant.OpenIMCommonConfigKey, buf.Bytes()); err != nil {
return err
}
fmt.Println("api register public config to discov success")
router := api.NewGinRouter(client, rdb)
fmt.Println("api init router success")
var address string
if config.Config.Api.ListenIP != "" {
address = net.JoinHostPort(config.Config.Api.ListenIP, strconv.Itoa(port))
} else {
address = net.JoinHostPort("0.0.0.0", strconv.Itoa(port))
}
fmt.Println("start api server, address: ", address, ", OpenIM version: ", config.Version)
log.ZInfo(context.Background(), "start server success", "address", address, "version", config.Version)
go startPprof()
err = router.Run(address)
if err != nil {
log.ZError(context.Background(), "api run failed ", err, "address", address)
return err
}
return nil
}
@@ -1,9 +1,8 @@
.PHONY: all build run gotool install clean help
NAME=open_im_cms_api
NAME=open_im_cmd_utils
BIN_DIR=../../bin/
OS:= $(or $(os),linux)
ARCH:=$(or $(arch),amd64)
all: gotool build
@@ -19,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
@@ -33,4 +32,3 @@ install:build
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
+45
View File
@@ -0,0 +1,45 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
)
func main() {
msgUtilsCmd := cmd.NewMsgUtilsCmd("openIMCmdUtils", "openIM cmd utils", nil)
getCmd := cmd.NewGetCmd()
fixCmd := cmd.NewFixCmd()
clearCmd := cmd.NewClearCmd()
seqCmd := cmd.NewSeqCmd()
msgCmd := cmd.NewMsgCmd()
getCmd.AddCommand(seqCmd.GetSeqCmd(), msgCmd.GetMsgCmd())
getCmd.AddSuperGroupIDFlag()
getCmd.AddUserIDFlag()
getCmd.AddBeginSeqFlag()
getCmd.AddLimitFlag()
// openIM get seq --userID=xxx
// openIM get seq --superGroupID=xxx
// openIM get msg --userID=xxx --beginSeq=100 --limit=10
// openIM get msg --superGroupID=xxx --beginSeq=100 --limit=10
fixCmd.AddCommand(seqCmd.FixSeqCmd())
fixCmd.AddSuperGroupIDFlag()
fixCmd.AddUserIDFlag()
fixCmd.AddFixAllFlag()
// openIM fix seq --userID=xxx
// openIM fix seq --superGroupID=xxx
// openIM fix seq --fixAll
clearCmd.AddCommand(msgCmd.ClearMsgCmd())
clearCmd.AddSuperGroupIDFlag()
clearCmd.AddUserIDFlag()
clearCmd.AddClearAllFlag()
clearCmd.AddBeginSeqFlag()
clearCmd.AddLimitFlag()
// openIM clear msg --userID=xxx --beginSeq=100 --limit=10
// openIM clear msg --superGroupID=xxx --beginSeq=100 --limit=10
// openIM clear msg --clearAll
msgUtilsCmd.AddCommand(&getCmd.Command, &fixCmd.Command, &clearCmd.Command)
if err := msgUtilsCmd.Execute(); err != nil {
panic(err)
}
}
@@ -18,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_cron_task ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_cron_task"]
+13
View File
@@ -0,0 +1,13 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/internal/tools"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
)
func main() {
cronTaskCmd := cmd.NewCronTaskCmd()
if err := cronTaskCmd.Exec(tools.StartCronTask); err != nil {
panic(err.Error())
}
}
@@ -18,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_msg_gateway ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_msg_gateway","--port", "10140" "--ws_port", "10001" "--prometheus_port", "20240"]
+15
View File
@@ -0,0 +1,15 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
)
func main() {
msgGatewayCmd := cmd.NewMsgGatewayCmd()
msgGatewayCmd.AddWsPortFlag()
msgGatewayCmd.AddPortFlag()
msgGatewayCmd.AddPrometheusPortFlag()
if err := msgGatewayCmd.Exec(); err != nil {
panic(err.Error())
}
}
@@ -3,7 +3,6 @@
NAME=open_im_msg_transfer
BIN_DIR=../../bin/
OS:= $(or $(os),linux)
ARCH:=$(or $(arch),amd64)
all: gotool build
@@ -19,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
@@ -33,4 +32,3 @@ install:build
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_msg_transfer ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_msg_transfer","--prometheus_port", "21400"]
+13
View File
@@ -0,0 +1,13 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
)
func main() {
msgTransferCmd := cmd.NewMsgTransferCmd()
msgTransferCmd.AddPrometheusPortFlag()
if err := msgTransferCmd.Exec(); err != nil {
panic(err.Error())
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
-250
View File
@@ -1,250 +0,0 @@
package main
import (
_ "Open_IM/cmd/open_im_api/docs"
apiAuth "Open_IM/internal/api/auth"
clientInit "Open_IM/internal/api/client_init"
"Open_IM/internal/api/conversation"
"Open_IM/internal/api/friend"
"Open_IM/internal/api/group"
"Open_IM/internal/api/manage"
apiChat "Open_IM/internal/api/msg"
"Open_IM/internal/api/office"
"Open_IM/internal/api/organization"
apiThird "Open_IM/internal/api/third"
"Open_IM/internal/api/user"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/log"
"Open_IM/pkg/grpc-etcdv3/getcdv3"
"Open_IM/pkg/utils"
"flag"
"fmt"
//_ "github.com/razeencheng/demo-go/swaggo-gin/docs"
"io"
"os"
"strconv"
swaggerFiles "github.com/swaggo/files"
ginSwagger "github.com/swaggo/gin-swagger"
"github.com/gin-gonic/gin"
//"syscall"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
)
// @title open-IM-Server API
// @version 1.0
// @description open-IM-Server 的API服务器文档, 文档中所有请求都有一个operationID字段用于链路追踪
// @license.name Apache 2.0
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
// @BasePath /
func main() {
log.NewPrivateLog(constant.LogFileName)
gin.SetMode(gin.ReleaseMode)
f, _ := os.Create("../logs/api.log")
gin.DefaultWriter = io.MultiWriter(f)
// gin.SetMode(gin.DebugMode)
r := gin.New()
r.Use(gin.Recovery())
r.Use(utils.CorsHandler())
log.Info("load config: ", config.Config)
r.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))
if config.Config.Prometheus.Enable {
promePkg.NewApiRequestCounter()
promePkg.NewApiRequestFailedCounter()
promePkg.NewApiRequestSuccessCounter()
r.Use(promePkg.PromeTheusMiddleware)
r.GET("/metrics", promePkg.PrometheusHandler())
}
// user routing group, which handles user registration and login services
userRouterGroup := r.Group("/user")
{
userRouterGroup.POST("/update_user_info", user.UpdateUserInfo) //1
userRouterGroup.POST("/set_global_msg_recv_opt", user.SetGlobalRecvMessageOpt)
userRouterGroup.POST("/get_users_info", user.GetUsersPublicInfo) //1
userRouterGroup.POST("/get_self_user_info", user.GetSelfUserInfo) //1
userRouterGroup.POST("/get_users_online_status", user.GetUsersOnlineStatus) //1
userRouterGroup.POST("/get_users_info_from_cache", user.GetUsersInfoFromCache)
userRouterGroup.POST("/get_user_friend_from_cache", user.GetFriendIDListFromCache)
userRouterGroup.POST("/get_black_list_from_cache", user.GetBlackIDListFromCache)
userRouterGroup.POST("/get_all_users_uid", manage.GetAllUsersUid) //1
userRouterGroup.POST("/account_check", manage.AccountCheck) //1
// userRouterGroup.POST("/get_users_online_status", manage.GetUsersOnlineStatus) //1
userRouterGroup.POST("/get_users", user.GetUsers)
}
//friend routing group
friendRouterGroup := r.Group("/friend")
{
// friendRouterGroup.POST("/get_friends_info", friend.GetFriendsInfo)
friendRouterGroup.POST("/add_friend", friend.AddFriend) //1
friendRouterGroup.POST("/delete_friend", friend.DeleteFriend) //1
friendRouterGroup.POST("/get_friend_apply_list", friend.GetFriendApplyList) //1
friendRouterGroup.POST("/get_self_friend_apply_list", friend.GetSelfFriendApplyList) //1
friendRouterGroup.POST("/get_friend_list", friend.GetFriendList) //1
friendRouterGroup.POST("/add_friend_response", friend.AddFriendResponse) //1
friendRouterGroup.POST("/set_friend_remark", friend.SetFriendRemark) //1
friendRouterGroup.POST("/add_black", friend.AddBlack) //1
friendRouterGroup.POST("/get_black_list", friend.GetBlacklist) //1
friendRouterGroup.POST("/remove_black", friend.RemoveBlack) //1
friendRouterGroup.POST("/import_friend", friend.ImportFriend) //1
friendRouterGroup.POST("/is_friend", friend.IsFriend) //1
}
//group related routing group
groupRouterGroup := r.Group("/group")
{
groupRouterGroup.POST("/create_group", group.CreateGroup) //1
groupRouterGroup.POST("/set_group_info", group.SetGroupInfo) //1
groupRouterGroup.POST("/join_group", group.JoinGroup) //1
groupRouterGroup.POST("/quit_group", group.QuitGroup) //1
groupRouterGroup.POST("/group_application_response", group.ApplicationGroupResponse) //1
groupRouterGroup.POST("/transfer_group", group.TransferGroupOwner) //1
groupRouterGroup.POST("/get_recv_group_applicationList", group.GetRecvGroupApplicationList) //1
groupRouterGroup.POST("/get_user_req_group_applicationList", group.GetUserReqGroupApplicationList)
groupRouterGroup.POST("/get_groups_info", group.GetGroupsInfo) //1
groupRouterGroup.POST("/kick_group", group.KickGroupMember) //1
// groupRouterGroup.POST("/get_group_member_list", group.GetGroupMemberList) //no use
groupRouterGroup.POST("/get_group_all_member_list", group.GetGroupAllMemberList) //1
groupRouterGroup.POST("/get_group_members_info", group.GetGroupMembersInfo) //1
groupRouterGroup.POST("/invite_user_to_group", group.InviteUserToGroup) //1
//only for supergroup
groupRouterGroup.POST("/invite_user_to_groups", group.InviteUserToGroups)
groupRouterGroup.POST("/get_joined_group_list", group.GetJoinedGroupList)
groupRouterGroup.POST("/dismiss_group", group.DismissGroup) //
groupRouterGroup.POST("/mute_group_member", group.MuteGroupMember)
groupRouterGroup.POST("/cancel_mute_group_member", group.CancelMuteGroupMember) //MuteGroup
groupRouterGroup.POST("/mute_group", group.MuteGroup)
groupRouterGroup.POST("/cancel_mute_group", group.CancelMuteGroup)
groupRouterGroup.POST("/set_group_member_nickname", group.SetGroupMemberNickname)
groupRouterGroup.POST("/set_group_member_info", group.SetGroupMemberInfo)
groupRouterGroup.POST("/get_group_abstract_info", group.GetGroupAbstractInfo)
//groupRouterGroup.POST("/get_group_all_member_list_by_split", group.GetGroupAllMemberListBySplit)
}
superGroupRouterGroup := r.Group("/super_group")
{
superGroupRouterGroup.POST("/get_joined_group_list", group.GetJoinedSuperGroupList)
superGroupRouterGroup.POST("/get_groups_info", group.GetSuperGroupsInfo)
}
//certificate
authRouterGroup := r.Group("/auth")
{
authRouterGroup.POST("/user_register", apiAuth.UserRegister) //1
authRouterGroup.POST("/user_token", apiAuth.UserToken) //1
authRouterGroup.POST("/parse_token", apiAuth.ParseToken) //1
authRouterGroup.POST("/force_logout", apiAuth.ForceLogout) //1
}
//Third service
thirdGroup := r.Group("/third")
{
thirdGroup.POST("/tencent_cloud_storage_credential", apiThird.TencentCloudStorageCredential)
thirdGroup.POST("/ali_oss_credential", apiThird.AliOSSCredential)
thirdGroup.POST("/minio_storage_credential", apiThird.MinioStorageCredential)
thirdGroup.POST("/minio_upload", apiThird.MinioUploadFile)
thirdGroup.POST("/upload_update_app", apiThird.UploadUpdateApp)
thirdGroup.POST("/get_download_url", apiThird.GetDownloadURL)
thirdGroup.POST("/get_rtc_invitation_info", apiThird.GetRTCInvitationInfo)
thirdGroup.POST("/get_rtc_invitation_start_app", apiThird.GetRTCInvitationInfoStartApp)
thirdGroup.POST("/fcm_update_token", apiThird.FcmUpdateToken)
thirdGroup.POST("/aws_storage_credential", apiThird.AwsStorageCredential)
thirdGroup.POST("/set_app_badge", apiThird.SetAppBadge)
}
//Message
chatGroup := r.Group("/msg")
{
chatGroup.POST("/newest_seq", apiChat.GetSeq)
chatGroup.POST("/send_msg", apiChat.SendMsg)
chatGroup.POST("/pull_msg_by_seq", apiChat.PullMsgBySeqList)
chatGroup.POST("/del_msg", apiChat.DelMsg)
chatGroup.POST("/del_super_group_msg", apiChat.DelSuperGroupMsg)
chatGroup.POST("/clear_msg", apiChat.ClearMsg)
chatGroup.POST("/manage_send_msg", manage.ManagementSendMsg)
chatGroup.POST("/batch_send_msg", manage.ManagementBatchSendMsg)
chatGroup.POST("/check_msg_is_send_success", manage.CheckMsgIsSendSuccess)
chatGroup.POST("/set_msg_min_seq", apiChat.SetMsgMinSeq)
chatGroup.POST("/set_message_reaction_extensions", apiChat.SetMessageReactionExtensions)
chatGroup.POST("/get_message_list_reaction_extensions", apiChat.GetMessageListReactionExtensions)
chatGroup.POST("/add_message_reaction_extensions", apiChat.AddMessageReactionExtensions)
chatGroup.POST("/delete_message_reaction_extensions", apiChat.DeleteMessageReactionExtensions)
}
//Conversation
conversationGroup := r.Group("/conversation")
{ //1
conversationGroup.POST("/get_all_conversations", conversation.GetAllConversations)
conversationGroup.POST("/get_conversation", conversation.GetConversation)
conversationGroup.POST("/get_conversations", conversation.GetConversations)
//deprecated
conversationGroup.POST("/set_conversation", conversation.SetConversation)
conversationGroup.POST("/batch_set_conversation", conversation.BatchSetConversations)
//deprecated
conversationGroup.POST("/set_recv_msg_opt", conversation.SetRecvMsgOpt)
conversationGroup.POST("/modify_conversation_field", conversation.ModifyConversationField)
}
// office
officeGroup := r.Group("/office")
{
officeGroup.POST("/get_user_tags", office.GetUserTags)
officeGroup.POST("/get_user_tag_by_id", office.GetUserTagByID)
officeGroup.POST("/create_tag", office.CreateTag)
officeGroup.POST("/delete_tag", office.DeleteTag)
officeGroup.POST("/set_tag", office.SetTag)
officeGroup.POST("/send_msg_to_tag", office.SendMsg2Tag)
officeGroup.POST("/get_send_tag_log", office.GetTagSendLogs)
officeGroup.POST("/create_one_work_moment", office.CreateOneWorkMoment)
officeGroup.POST("/delete_one_work_moment", office.DeleteOneWorkMoment)
officeGroup.POST("/like_one_work_moment", office.LikeOneWorkMoment)
officeGroup.POST("/comment_one_work_moment", office.CommentOneWorkMoment)
officeGroup.POST("/get_work_moment_by_id", office.GetWorkMomentByID)
officeGroup.POST("/get_user_work_moments", office.GetUserWorkMoments)
officeGroup.POST("/get_user_friend_work_moments", office.GetUserFriendWorkMoments)
officeGroup.POST("/set_user_work_moments_level", office.SetUserWorkMomentsLevel)
officeGroup.POST("/delete_comment", office.DeleteComment)
}
organizationGroup := r.Group("/organization")
{
organizationGroup.POST("/create_department", organization.CreateDepartment)
organizationGroup.POST("/update_department", organization.UpdateDepartment)
organizationGroup.POST("/get_sub_department", organization.GetSubDepartment)
organizationGroup.POST("/delete_department", organization.DeleteDepartment)
organizationGroup.POST("/get_all_department", organization.GetAllDepartment)
organizationGroup.POST("/create_organization_user", organization.CreateOrganizationUser)
organizationGroup.POST("/update_organization_user", organization.UpdateOrganizationUser)
organizationGroup.POST("/delete_organization_user", organization.DeleteOrganizationUser)
organizationGroup.POST("/create_department_member", organization.CreateDepartmentMember)
organizationGroup.POST("/get_user_in_department", organization.GetUserInDepartment)
organizationGroup.POST("/update_user_in_department", organization.UpdateUserInDepartment)
organizationGroup.POST("/get_department_member", organization.GetDepartmentMember)
organizationGroup.POST("/delete_user_in_department", organization.DeleteUserInDepartment)
organizationGroup.POST("/get_user_in_organization", organization.GetUserInOrganization)
}
initGroup := r.Group("/init")
{
initGroup.POST("/set_client_config", clientInit.SetClientInitConfig)
initGroup.POST("/get_client_config", clientInit.GetClientInitConfig)
}
go getcdv3.RegisterConf()
go apiThird.MinioInit()
defaultPorts := config.Config.Api.GinPort
ginPort := flag.Int("port", defaultPorts[0], "get ginServerPort from cmd,default 10002 as port")
flag.Parse()
address := "0.0.0.0:" + strconv.Itoa(*ginPort)
if config.Config.Api.ListenIP != "" {
address = config.Config.Api.ListenIP + ":" + strconv.Itoa(*ginPort)
}
fmt.Println("start api server, address: ", address, ", OpenIM version: ", constant.CurrentVersion)
err := r.Run(address)
if err != nil {
log.Error("", "api run failed ", address, err.Error())
panic("api start failed " + err.Error())
}
}
-30
View File
@@ -1,30 +0,0 @@
package main
import (
"Open_IM/internal/cms_api"
"Open_IM/pkg/common/constant"
"Open_IM/pkg/utils"
"flag"
"fmt"
"strconv"
"Open_IM/pkg/common/config"
"github.com/gin-gonic/gin"
)
func main() {
gin.SetMode(gin.ReleaseMode)
router := cms_api.NewGinRouter()
router.Use(utils.CorsHandler())
defaultPorts := config.Config.CmsApi.GinPort
ginPort := flag.Int("port", defaultPorts[0], "get ginServerPort from cmd,default 10006 as port")
flag.Parse()
address := "0.0.0.0:" + strconv.Itoa(*ginPort)
if config.Config.Api.ListenIP != "" {
address = config.Config.Api.ListenIP + ":" + strconv.Itoa(*ginPort)
}
address = config.Config.CmsApi.ListenIP + ":" + strconv.Itoa(*ginPort)
fmt.Println("start cms api server, address: ", address, ", OpenIM version: ", constant.CurrentVersion, "\n")
router.Run(address)
}
-16
View File
@@ -1,16 +0,0 @@
package main
import (
"Open_IM/internal/cron_task"
"flag"
"fmt"
"time"
)
func main() {
var userID = flag.String("userID", "", "userID to clear msg and reset seq")
var workingGroupID = flag.String("workingGroupID", "", "workingGroupID to clear msg and reset seq")
flag.Parse()
fmt.Println(time.Now(), "start cronTask", *userID, *workingGroupID)
cronTask.StartCronTask(*userID, *workingGroupID)
}
-36
View File
@@ -1,36 +0,0 @@
.PHONY: all build run gotool install clean help
NAME=open_im_demo
BIN_DIR=../../bin/
OS:= $(or $(os),linux)
ARCH:=$(or $(arch),amd64)
all: gotool build
ifeq ($(OS),windows)
BINARY_NAME=${NAME}.exe
else
BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
run:
@go run ./
gotool:
go fmt ./
go vet ./
install:build
mv ${BINARY_NAME} ${BIN_DIR}
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
-80
View File
@@ -1,80 +0,0 @@
package main
import (
"Open_IM/internal/demo/register"
"Open_IM/pkg/utils"
"flag"
"fmt"
"io"
"os"
"strconv"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
"Open_IM/pkg/common/log"
promePkg "Open_IM/pkg/common/prometheus"
"github.com/gin-gonic/gin"
)
func main() {
log.NewPrivateLog(constant.LogFileName)
gin.SetMode(gin.ReleaseMode)
f, _ := os.Create("../logs/api.log")
gin.DefaultWriter = io.MultiWriter(f)
r := gin.Default()
r.Use(utils.CorsHandler())
if config.Config.Prometheus.Enable {
r.GET("/metrics", promePkg.PrometheusHandler())
}
authRouterGroup := r.Group("/demo")
{
authRouterGroup.POST("/code", register.SendVerificationCode)
authRouterGroup.POST("/verify", register.Verify)
authRouterGroup.POST("/password", register.SetPassword)
authRouterGroup.POST("/login", register.Login)
authRouterGroup.POST("/reset_password", register.ResetPassword)
authRouterGroup.POST("/check_login", register.CheckLoginLimit)
}
demoRouterGroup := r.Group("/auth")
{
demoRouterGroup.POST("/code", register.SendVerificationCode)
demoRouterGroup.POST("/verify", register.Verify)
demoRouterGroup.POST("/password", register.SetPassword)
demoRouterGroup.POST("/login", register.Login)
demoRouterGroup.POST("/reset_password", register.ResetPassword)
demoRouterGroup.POST("/check_login", register.CheckLoginLimit)
}
//deprecated
cmsRouterGroup := r.Group("/cms_admin")
{
cmsRouterGroup.POST("/generate_invitation_code", register.GenerateInvitationCode)
cmsRouterGroup.POST("/query_invitation_code", register.QueryInvitationCode)
cmsRouterGroup.POST("/get_invitation_codes", register.GetInvitationCodes)
cmsRouterGroup.POST("/query_user_ip_limit_login", register.QueryUserIDLimitLogin)
cmsRouterGroup.POST("/add_user_ip_limit_login", register.AddUserIPLimitLogin)
cmsRouterGroup.POST("/remove_user_ip_limit_login", register.RemoveUserIPLimitLogin)
cmsRouterGroup.POST("/query_ip_register", register.QueryIPRegister)
cmsRouterGroup.POST("/add_ip_limit", register.AddIPLimit)
cmsRouterGroup.POST("/remove_ip_Limit", register.RemoveIPLimit)
}
defaultPorts := config.Config.Demo.Port
ginPort := flag.Int("port", defaultPorts[0], "get ginServerPort from cmd,default 10004 as port")
flag.Parse()
address := "0.0.0.0:" + strconv.Itoa(*ginPort)
if config.Config.Api.ListenIP != "" {
address = config.Config.Api.ListenIP + ":" + strconv.Itoa(*ginPort)
}
address = config.Config.CmsApi.ListenIP + ":" + strconv.Itoa(*ginPort)
fmt.Println("start demo api server address: ", address, ", OpenIM version: ", constant.CurrentVersion, "\n")
go register.OnboardingProcessRoutine()
go register.ImportFriendRoutine()
err := r.Run(address)
if err != nil {
log.Error("", "run failed ", *ginPort, err.Error())
}
}
-28
View File
@@ -1,28 +0,0 @@
package main
import (
"Open_IM/internal/msg_gateway/gate"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
"Open_IM/pkg/common/log"
"flag"
"fmt"
"sync"
)
func main() {
log.NewPrivateLog(constant.LogFileName)
defaultRpcPorts := config.Config.RpcPort.OpenImMessageGatewayPort
defaultWsPorts := config.Config.LongConnSvr.WebsocketPort
defaultPromePorts := config.Config.Prometheus.MessageGatewayPrometheusPort
rpcPort := flag.Int("rpc_port", defaultRpcPorts[0], "rpc listening port")
wsPort := flag.Int("ws_port", defaultWsPorts[0], "ws listening port")
prometheusPort := flag.Int("prometheus_port", defaultPromePorts[0], "PushrometheusPort default listen port")
flag.Parse()
var wg sync.WaitGroup
wg.Add(1)
fmt.Println("start rpc/msg_gateway server, port: ", *rpcPort, *wsPort, *prometheusPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
gate.Init(*rpcPort, *wsPort)
gate.Run(*prometheusPort)
wg.Wait()
}
-23
View File
@@ -1,23 +0,0 @@
package main
import (
"Open_IM/internal/msg_transfer/logic"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
"Open_IM/pkg/common/log"
"flag"
"fmt"
"sync"
)
func main() {
var wg sync.WaitGroup
wg.Add(1)
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.MessageTransferPrometheusPort[0], "MessageTransferPrometheusPort default listen port")
flag.Parse()
log.NewPrivateLog(constant.LogFileName)
logic.Init()
fmt.Println("start msg_transfer server ", ", OpenIM version: ", constant.CurrentVersion, "\n")
logic.Run(*prometheusPort)
wg.Wait()
}
-25
View File
@@ -1,25 +0,0 @@
package main
import (
"Open_IM/internal/push/logic"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
"Open_IM/pkg/common/log"
"flag"
"fmt"
"sync"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImPushPort
rpcPort := flag.Int("port", defaultPorts[0], "rpc listening port")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.MessageTransferPrometheusPort[0], "PushrometheusPort default listen port")
flag.Parse()
var wg sync.WaitGroup
wg.Add(1)
log.NewPrivateLog(constant.LogFileName)
fmt.Println("start push rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
logic.Init(*rpcPort)
logic.Run(*prometheusPort)
wg.Wait()
}
@@ -18,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
@@ -32,5 +32,3 @@ install:build
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_push ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_push", "--port", "10170", "--prometheus_port", "20170"]
+19
View File
@@ -0,0 +1,19 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/internal/push"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
)
func main() {
pushCmd := cmd.NewRpcCmd("push")
pushCmd.AddPortFlag()
pushCmd.AddPrometheusPortFlag()
if err := pushCmd.Exec(); err != nil {
panic(err.Error())
}
if err := pushCmd.StartSvr(config.Config.RpcRegisterName.OpenImPushName, push.Start); err != nil {
panic(err.Error())
}
}
@@ -18,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
@@ -32,4 +32,3 @@ install:build
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_auth ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_auth", "--port", "10160"]
+19
View File
@@ -0,0 +1,19 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/auth"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
)
func main() {
authCmd := cmd.NewRpcCmd("auth")
authCmd.AddPortFlag()
authCmd.AddPrometheusPortFlag()
if err := authCmd.Exec(); err != nil {
panic(err.Error())
}
if err := authCmd.StartSvr(config.Config.RpcRegisterName.OpenImAuthName, auth.Start); err != nil {
panic(err.Error())
}
}
@@ -18,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
@@ -32,4 +32,3 @@ install:build
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_conversation ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_conversation", "--port", "10230", "--prometheus_port","20230"]
+19
View File
@@ -0,0 +1,19 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/conversation"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
)
func main() {
rpcCmd := cmd.NewRpcCmd("conversation")
rpcCmd.AddPortFlag()
rpcCmd.AddPrometheusPortFlag()
if err := rpcCmd.Exec(); err != nil {
panic(err.Error())
}
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImConversationName, conversation.Start); err != nil {
panic(err.Error())
}
}
@@ -15,11 +15,10 @@ else
BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_friend ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_friend", "--port", "10120", "--prometheus_port","20120"]
+19
View File
@@ -0,0 +1,19 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/friend"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
)
func main() {
rpcCmd := cmd.NewRpcCmd("friend")
rpcCmd.AddPortFlag()
rpcCmd.AddPrometheusPortFlag()
if err := rpcCmd.Exec(); err != nil {
panic(err.Error())
}
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImFriendName, friend.Start); err != nil {
panic(err.Error())
}
}
@@ -15,11 +15,10 @@ else
BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
@@ -35,3 +34,6 @@ clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_group ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_group", "--port", "10150", "--prometheus_port","20150"]
+19
View File
@@ -0,0 +1,19 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/group"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
)
func main() {
rpcCmd := cmd.NewRpcCmd("group")
rpcCmd.AddPortFlag()
rpcCmd.AddPrometheusPortFlag()
if err := rpcCmd.Exec(); err != nil {
panic(err.Error())
}
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImGroupName, group.Start); err != nil {
panic(err.Error())
}
}
@@ -18,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
@@ -32,3 +32,5 @@ install:build
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_msg ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_msg", "--port", "10130", "--prometheus_port","20130"]
+19
View File
@@ -0,0 +1,19 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/msg"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
)
func main() {
rpcCmd := cmd.NewRpcCmd("msg")
rpcCmd.AddPortFlag()
rpcCmd.AddPrometheusPortFlag()
if err := rpcCmd.Exec(); err != nil {
panic(err.Error())
}
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImMsgName, msg.Start); err != nil {
panic(err.Error())
}
}
-34
View File
@@ -1,34 +0,0 @@
.PHONY: all build run gotool install clean help
NAME=open_im_admin_cms
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
ARCH:=$(or $(arch),amd64)
all: gotool build
ifeq ($(OS),windows)
BINARY_NAME=${NAME}.exe
else
BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
run:
@go run ./
gotool:
go fmt ./
go vet ./
install:build
mv ${BINARY_NAME} ${BIN_DIR}
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
-26
View File
@@ -1,26 +0,0 @@
package main
import (
rpcMessageCMS "Open_IM/internal/rpc/admin_cms"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
"flag"
"fmt"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImAdminCmsPort
rpcPort := flag.Int("port", defaultPorts[0], "rpc listening port")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.AdminCmsPrometheusPort[0], "adminCMSPrometheusPort default listen port")
flag.Parse()
fmt.Println("start cms rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
rpcServer := rpcMessageCMS.NewAdminCMSServer(*rpcPort)
go func() {
err := promePkg.StartPromeSrv(*prometheusPort)
if err != nil {
panic(err)
}
}()
rpcServer.Run()
}
-26
View File
@@ -1,26 +0,0 @@
package main
import (
rpcAuth "Open_IM/internal/rpc/auth"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
"flag"
"fmt"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImAuthPort
rpcPort := flag.Int("port", defaultPorts[0], "RpcToken default listen port 10800")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.AuthPrometheusPort[0], "authPrometheusPort default listen port")
flag.Parse()
fmt.Println("start auth rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
rpcServer := rpcAuth.NewRpcAuthServer(*rpcPort)
go func() {
err := promePkg.StartPromeSrv(*prometheusPort)
if err != nil {
panic(err)
}
}()
rpcServer.Run()
}
-35
View File
@@ -1,35 +0,0 @@
.PHONY: all build run gotool install clean help
NAME=open_im_cache
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
ARCH:=$(or $(arch),amd64)
all: gotool build
ifeq ($(OS),windows)
BINARY_NAME=${NAME}.exe
else
BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
run:
@go run ./
gotool:
go fmt ./
go vet ./
install:build
mv ${BINARY_NAME} ${BIN_DIR}
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
-27
View File
@@ -1,27 +0,0 @@
package main
import (
rpcCache "Open_IM/internal/rpc/cache"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
"flag"
"fmt"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImCachePort
rpcPort := flag.Int("port", defaultPorts[0], "RpcToken default listen port 10800")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.CachePrometheusPort[0], "cachePrometheusPort default listen port")
flag.Parse()
fmt.Println("start cache rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
rpcServer := rpcCache.NewCacheServer(*rpcPort)
go func() {
err := promePkg.StartPromeSrv(*prometheusPort)
if err != nil {
panic(err)
}
}()
rpcServer.Run()
}
-27
View File
@@ -1,27 +0,0 @@
package main
import (
rpcConversation "Open_IM/internal/rpc/conversation"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
"flag"
"fmt"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImConversationPort
rpcPort := flag.Int("port", defaultPorts[0], "RpcConversation default listen port 11300")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.ConversationPrometheusPort[0], "conversationPrometheusPort default listen port")
flag.Parse()
fmt.Println("start conversation rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion)
rpcServer := rpcConversation.NewRpcConversationServer(*rpcPort)
go func() {
err := promePkg.StartPromeSrv(*prometheusPort)
if err != nil {
panic(err)
}
}()
rpcServer.Run()
}
-26
View File
@@ -1,26 +0,0 @@
package main
import (
"Open_IM/internal/rpc/friend"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
"flag"
"fmt"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImFriendPort
rpcPort := flag.Int("port", defaultPorts[0], "get RpcFriendPort from cmd,default 12000 as port")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.FriendPrometheusPort[0], "friendPrometheusPort default listen port")
flag.Parse()
fmt.Println("start friend rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
rpcServer := friend.NewFriendServer(*rpcPort)
go func() {
err := promePkg.StartPromeSrv(*prometheusPort)
if err != nil {
panic(err)
}
}()
rpcServer.Run()
}
-26
View File
@@ -1,26 +0,0 @@
package main
import (
"Open_IM/internal/rpc/group"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
"flag"
"fmt"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImGroupPort
rpcPort := flag.Int("port", defaultPorts[0], "get RpcGroupPort from cmd,default 16000 as port")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.GroupPrometheusPort[0], "groupPrometheusPort default listen port")
flag.Parse()
fmt.Println("start group rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
rpcServer := group.NewGroupServer(*rpcPort)
go func() {
err := promePkg.StartPromeSrv(*prometheusPort)
if err != nil {
panic(err)
}
}()
rpcServer.Run()
}
-26
View File
@@ -1,26 +0,0 @@
package main
import (
"Open_IM/internal/rpc/msg"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
"flag"
"fmt"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImMessagePort
rpcPort := flag.Int("port", defaultPorts[0], "rpc listening port")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.MessagePrometheusPort[0], "msgPrometheusPort default listen port")
flag.Parse()
fmt.Println("start msg rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
rpcServer := msg.NewRpcChatServer(*rpcPort)
go func() {
err := promePkg.StartPromeSrv(*prometheusPort)
if err != nil {
panic(err)
}
}()
rpcServer.Run()
}
-34
View File
@@ -1,34 +0,0 @@
.PHONY: all build run gotool install clean help
NAME=open_im_office
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
ARCH:=$(or $(arch),amd64)
all: gotool build
ifeq ($(OS),windows)
BINARY_NAME=${NAME}.exe
else
BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
run:
@go run ./
gotool:
go fmt ./
go vet ./
install:build
mv ${BINARY_NAME} ${BIN_DIR}
clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
-26
View File
@@ -1,26 +0,0 @@
package main
import (
rpc "Open_IM/internal/rpc/office"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
"flag"
"fmt"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImOfficePort
rpcPort := flag.Int("port", defaultPorts[0], "rpc listening port")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.OfficePrometheusPort[0], "officePrometheusPort default listen port")
flag.Parse()
fmt.Println("start office rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
rpcServer := rpc.NewOfficeServer(*rpcPort)
go func() {
err := promePkg.StartPromeSrv(*prometheusPort)
if err != nil {
panic(err)
}
}()
rpcServer.Run()
}
-26
View File
@@ -1,26 +0,0 @@
package main
import (
"Open_IM/internal/rpc/organization"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
"flag"
"fmt"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImOrganizationPort
rpcPort := flag.Int("port", defaultPorts[0], "get RpcOrganizationPort from cmd,default 11200 as port")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.OrganizationPrometheusPort[0], "organizationPrometheusPort default listen port")
flag.Parse()
fmt.Println("start organization rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
rpcServer := organization.NewServer(*rpcPort)
go func() {
err := promePkg.StartPromeSrv(*prometheusPort)
if err != nil {
panic(err)
}
}()
rpcServer.Run()
}
-26
View File
@@ -1,26 +0,0 @@
package main
import (
"Open_IM/internal/rpc/user"
"Open_IM/pkg/common/config"
"Open_IM/pkg/common/constant"
promePkg "Open_IM/pkg/common/prometheus"
"flag"
"fmt"
)
func main() {
defaultPorts := config.Config.RpcPort.OpenImUserPort
rpcPort := flag.Int("port", defaultPorts[0], "rpc listening port")
prometheusPort := flag.Int("prometheus_port", config.Config.Prometheus.UserPrometheusPort[0], "userPrometheusPort default listen port")
flag.Parse()
fmt.Println("start user rpc server, port: ", *rpcPort, ", OpenIM version: ", constant.CurrentVersion, "\n")
rpcServer := user.NewUserServer(*rpcPort)
go func() {
err := promePkg.StartPromeSrv(*prometheusPort)
if err != nil {
panic(err)
}
}()
rpcServer.Run()
}
@@ -1,6 +1,6 @@
.PHONY: all build run gotool install clean help
NAME=open_im_organization
NAME=open_im_third
BIN_DIR=../../../bin/
OS:= $(or $(os),linux)
@@ -18,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
@@ -34,3 +34,6 @@ clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_third ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_third", "--port", "10200"]
+19
View File
@@ -0,0 +1,19 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/third"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
)
func main() {
rpcCmd := cmd.NewRpcCmd("third")
rpcCmd.AddPortFlag()
rpcCmd.AddPrometheusPortFlag()
if err := rpcCmd.Exec(); err != nil {
panic(err.Error())
}
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImThirdName, third.Start); err != nil {
panic(err.Error())
}
}
@@ -18,7 +18,7 @@ BINARY_NAME=${NAME}
endif
build:
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH} go build -ldflags="-w -s"
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
run:
@go run ./
@@ -34,3 +34,6 @@ clean:
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
+18
View File
@@ -0,0 +1,18 @@
FROM ubuntu
WORKDIR /Open-IM-Server/bin
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
&&apt-get install net-tools
#Non-interactive operation
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -y vim curl tzdata gawk
#Time zone adjusted to East eighth District
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
COPY ./open_im_user ./
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
CMD ["./open_im_user", "--port", "10110"]
+19
View File
@@ -0,0 +1,19 @@
package main
import (
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/user"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
)
func main() {
rpcCmd := cmd.NewRpcCmd("user")
rpcCmd.AddPortFlag()
rpcCmd.AddPrometheusPortFlag()
if err := rpcCmd.Exec(); err != nil {
panic(err.Error())
}
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImUserName, user.Start); err != nil {
panic(err.Error())
}
}
-69
View File
@@ -1,69 +0,0 @@
package main
import (
"Open_IM/pkg/utils"
"context"
"fmt"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"
"time"
)
type MongoMsg struct {
UID string
Msg []string
}
func main() {
//"mongodb://%s:%s@%s/%s/?maxPoolSize=%d"
uri := "mongodb://user:pass@sample.host:27017/?maxPoolSize=20&w=majority"
DBAddress := "127.0.0.1:37017"
DBDatabase := "new-test-db"
Collection := "new-test-collection"
DBMaxPoolSize := 100
uri = fmt.Sprintf("mongodb://%s/%s/?maxPoolSize=%d",
DBAddress,DBDatabase,
DBMaxPoolSize)
mongoClient, err := mongo.Connect(context.TODO(), options.Client().ApplyURI(uri))
if err != nil {
panic(err)
}
filter := bson.M{"uid":"my_uid"}
ctx, _ := context.WithTimeout(context.Background(), 30*time.Second)
for i:=0; i < 2; i++{
if err = mongoClient.Database(DBDatabase).Collection(Collection).FindOneAndUpdate(ctx, filter,
bson.M{"$push": bson.M{"msg": utils.Int32ToString(int32(i))}}).Err(); err != nil{
fmt.Println("FindOneAndUpdate failed ", i, )
var mmsg MongoMsg
mmsg.UID = "my_uid"
mmsg.Msg = append(mmsg.Msg, utils.Int32ToString(int32(i)))
_, err := mongoClient.Database(DBDatabase).Collection(Collection).InsertOne(ctx, &mmsg)
if err != nil {
fmt.Println("insertone failed ", err.Error(), i)
} else{
fmt.Println("insertone ok ", i)
}
}else {
fmt.Println("FindOneAndUpdate ok ", i)
}
}
var mmsg MongoMsg
if err = mongoClient.Database(DBDatabase).Collection(Collection).FindOne(ctx, filter).Decode(&mmsg); err != nil {
fmt.Println("findone failed ", err.Error())
}else{
fmt.Println("findone ok ", mmsg.UID)
for i, v:=range mmsg.Msg{
fmt.Println("find value: ", i, v)
}
}
}
+63 -578
View File
@@ -1,42 +1,39 @@
# The class cannot be named by Pascal or camel case.
# The class cannot be named by Pascal or camel case.
# If it is not used, the corresponding structure will not be set,
# and it will not be read naturally.
serverversion: 2.3.1
serverversion: 2.3.7
#---------------Infrastructure configuration---------------------#
etcd:
etcdSchema: openim #默认即可
etcdAddr: [ 127.0.0.1:2379 ] #单机部署时,默认即可
zookeeper:
schema: openim #默认即可
zkAddr: [ 127.0.0.1:2181 ] #单机部署时,默认即可
userName:
password:
secret:
mysql:
dbMysqlAddress: [ 127.0.0.1:13306 ] #mysql地址 目前仅支持单机,默认即可
dbMysqlUserName: #mysql用户名,建议修改
dbMysqlPassword: # mysql密码,建议修改
dbMysqlUserName: root #mysql用户名,建议修改
dbMysqlPassword: openIM123 # mysql密码,建议修改
dbMysqlDatabaseName: openIM_v2 #默认即可
dbTableName: eMsg #默认即可
dbMsgTableNum: 1
dbMaxOpenConns: 100
dbMaxIdleConns: 10
dbMaxLifeTime: 5
logLevel: 1 #1=slient 2=error 3=warn 4=info
logLevel: 4 #1=slient 2=error 3=warn 4=info
slowThreshold: 500
mongo:
dbUri: ""#当dbUri值不为空则直接使用该值
#dbAddress: 127.0.0.1:37017 #单机时为mongo地址,使用分片集群时,为mongos地址 默认即可
dbAddress: [ 127.0.0.1:37017 ] #单机时为mongo地址,使用分片集群时,为mongos地址 默认即可
dbDirect: false
dbTimeout: 60
dbDatabase: openIM #mongo db 默认即可
dbSource: admin
dbUserName: #mongo用户名,建议先不设置
dbPassword: #mongo密码,建议先不设置
dbUserName: root #mongo用户名,建议先不设置
dbPassword: openIM123 #mongo密码,建议先不设置
dbMaxPoolSize: 100
dbRetainChatRecords: 3650 #mongo保存离线消息时间(天),根据需求修改
chatRecordsClearTime: "0 3 * * *" # 每凌晨3点清除消息,该配置和linux定时任务一样, 清理操作建议设置在用户活跃少的时候 # 0 3 * * *
chatRecordsClearTime: "0 2 * * 3" # 每周三凌晨2点清除消息,该配置和linux定时任务一样, 清理操作建议设置在用户活跃少的时候 # 0 3 * * *
redis:
dbAddress: [ 127.0.0.1:16379 ] #redis地址 单机时,填写一个地址即可,使用redis集群时候,填写集群中多个节点地址(主从地址都可以填写,增加容灾能力),默认即可
@@ -44,18 +41,15 @@ redis:
dbMaxActive: 0
dbIdleTimeout: 120
dbUserName: #only redis version 6.0+ need username
dbPassWord: #redis密码 建议修改
dbPassWord: openIM123 #redis密码 建议修改
enableCluster: false #如果外部redis以集群方式启动,需要打开此开关
kafka:
SASLUserName:
SASLUserName:
SASLPassword:
ws2mschat:
addr: [ 127.0.0.1:9092 ] #kafka配置,默认即可
topic: "ws2ms_chat" #用于mongo和mysql保存消息
# ws2mschatoffline:
# addr: [ 127.0.0.1:9092 ] #kafka配置,默认即可
# topic: "ws2ms_chat_offline" #原为离线用户消息处理,目前暂时弃用
msgtomongo:
addr: [ 127.0.0.1:9092 ] #kafka配置,默认即可
topic: "msg_to_mongo"
@@ -79,33 +73,17 @@ kafka:
# automatically obtain the machine's valid network card ip as the service ip,
# otherwise the configuration ip is preferred
#如果是单机模式,用0.0.0.0或者不填,默认即可
serverip: 0.0.0.0
#作为rpc时,注册到etcd的地址,单机默认即可,如果是集群部署,需要修改(具体使用内网地址还是外网地址,要依情况而定,目的是api/gateway能访问到)
rpcRegisterIP:
#默认即可
listenIP: 0.0.0.0
# endpoints 内部组件间访问的端点host名称,访问时,可以内部直接访问 host:port 来访问
endpoints:
api: openim_api
cmsapi: openim_cms_api
push: openim_push
msg_gateway: openim_msg_gateway
rpc_auth: openim_rpc_auth
rpc_friend: openim_rpc_friend
rpc_group: openim_rpc_group
rpc_msg: openim_rpc_msg
rpc_user: openim_rpc_user
rpc_admin_cms: openim_rpc_admin_cms
rpc_office: openim_rpc_office
api:
openImApiPort: [ 10002 ] #api服务端口,默认即可,需要开放此端口或做nginx转发
listenIP: 0.0.0.0
cmsapi:
openImCmsApiPort: [ 10006 ] #管理后台api服务端口,默认即可,需要开放此端口或做nginx转发
listenIP: 0.0.0.0
sdk:
openImSdkWsPort: [ 10003 ] #jssdk服务端口,默认即可,项目中使用jssdk才需开放此端口或做nginx转发
dataDir: [ ../db/sdk/ ]
@@ -114,23 +92,25 @@ sdk:
#对象存储服务,以下配置二选一,目前支持两种,腾讯云和minio,二者配置好其中一种即可(如果使用minio参考https://doc.rentsoft.cn/#/qa/minio搭建minio服务器)
credential: #腾讯cos,发送图片、视频、文件时需要,请自行申请后替换,必须修改
object:
enable: minio
apiURL: http://127.0.0.1:10002/third/object
minio: #MinIO 发送图片、视频、文件时需要,请自行申请后替换,必须修改。 客户端初始化InitSDK,中 object_storage参数为minio
tempBucket: "openim"
dataBucket: "openim"
location: us-east-1
endpoint: http://127.0.0.1:10005 #minio外网ip 这个ip是给客户端访问的
accessKeyID: root
secretAccessKey: openIM123
isDistributedMod: false # 是否分布式多硬盘部署 默认docker-compose中为false,如果是多硬盘部署,需要修改为true
tencent:
appID:
region:
bucket:
secretID:
secretKey:
minio: #MinIO 发送图片、视频、文件时需要,请自行申请后替换,必须修改。 客户端初始化InitSDK,中 object_storage参数为minio
bucket: openim # 存储内容桶
appBucket: app # 存储app的桶
location: us-east-1
endpoint: #minio外网ip 这个ip是给客户端访问的
endpointInner: http://127.0.0.1:10005 #minio内网地址 如果im server 可以通过内网访问到 minio就可以
endpointInnerEnable: true #是否启用minio内网地址 启用可以让桶初始化,IM server连接minio走内网地址访问
accessKeyID:
secretAccessKey:
storageTime: 50 #文件在minio中保存的时间
isDistributedMod: false # 是否分布式多硬盘部署 默认docker-compose中为false
ali: # ali oss
regionID:
accessKeyID:
@@ -142,15 +122,14 @@ credential: #腾讯cos,发送图片、视频、文件时需要,请自行申
stsDurationSeconds:
OssRoleArn:
aws:
accessKeyID: #AssumeRole用户关联的accessKeyID
accessKeySecret: #AssumeRole用户关联的accessKeySecrect
region: #分区
bucket: #桶
finalHost: #对外Host
roleArn: #RoleArn
externalId: #角色扩展Id
roleSessionName: #角色SESSION名称
accessKeyID: #AssumeRole用户关联的accessKeyID
accessKeySecret: #AssumeRole用户关联的accessKeySecrect
region: #分区
bucket: #桶
finalHost: #对外Host
roleArn: #RoleArn
externalId: #角色扩展Id
roleSessionName: #角色SESSION名称
rpcport: #rpc服务端口 默认即可
openImUserPort: [ 10110 ]
@@ -160,46 +139,31 @@ rpcport: #rpc服务端口 默认即可
openImGroupPort: [ 10150 ]
openImAuthPort: [ 10160 ]
openImPushPort: [ 10170 ]
openImAdminCmsPort: [ 10200 ]
openImOfficePort: [ 10210 ]
openImOrganizationPort: [ 10220 ]
openImConversationPort: [ 10230 ]
openImCachePort: [ 10240 ]
openImRealTimeCommPort: [ 11300 ]
c2c:
callbackBeforeSendMsg:
switch: false
timeoutStrategy: 1 #1:send
callbackAfterSendMsg:
switch: false
state:
stateChange:
switch: false
openImConversationPort: [ 10180 ]
openImRtcPort: [ 10190 ]
openImThirdPort: [ 10200 ]
rpcregistername: #rpc注册服务名,默认即可
openImUserName: User
openImFriendName: Friend
openImMsgName: Msg
openImPushName: Push
openImRelayName: Relay
openImMessageGatewayName: MessageGateway
openImGroupName: Group
openImAuthName: Auth
openImAdminCMSName: AdminCMS
openImOfficeName: Office
openImOrganizationName: Organization
openImConversationName: Conversation
openImCacheName: Cache
openImRealTimeCommName: RealTimeComm
openImRtcName: Rtc
openImThirdName: Third
log:
storageLocation: ../logs/
rotationTime: 24
remainRotationCount: 2 #日志数量
#日志级别 6表示全都打印,测试阶段建议设置为6
remainLogLevel: 6
elasticSearchSwitch: false
elasticSearchAddr: [ 127.0.0.1:9201 ]
elasticSearchUser: ""
elasticSearchPassword: ""
isStdout: false
isJson: false
withStack: false
modulename: #日志文件按模块命名,默认即可
longConnSvrName: msg_gateway
@@ -216,11 +180,11 @@ longconnsvr:
push:
tpns: #腾讯推送,暂未测试 暂不要使用
ios:
accessID:
secretKey:
accessID: 1600018281
secretKey: 3cd68a77a95b89e5089a1aca523f318f
android:
accessID:
secretKey:
accessID: 111
secretKey: 111
enable: false # true or false (bool)
jpns: #极光推送 在极光后台申请后,修改以下四项,必须修改
appKey:
@@ -228,48 +192,31 @@ push:
pushUrl:
pushIntent:
enable: false # true or false (bool)
getui: #个推推送
pushUrl:
getui: #个推推送
pushUrl: "https://restapi.getui.com/v2/$appId"
masterSecret: ""
appKey: ""
intent: ""
enable: # true or false (bool)
enable: false # true or false (bool)
channelID: ""
channelName: ""
channel:
HW:
category:
XM:
channelID:
OPPO:
channelID:
fcm: #firebase cloud message 消息推送
serviceAccount: #帐号文件,此处需要改修配置,并且这个文件放在 config目录下
fcm: #firebase cloud message 消息推送
serviceAccount: "openim-5c6c0-firebase-adminsdk-ppwol-8765884a78.json" #帐号文件,此处需要改修配置,并且这个文件放在 config目录下
enable: false
mob: #袤博推送
appKey: #帐号文件,此处需要改修配置,并且这个文件放在 config目录下
pushUrl:
scheme:
appSecret:
enable: false
manager:
#app管理员userID和对应的secret 建议修改。 用于管理后台登录,也可以用户管理后台对应的api
appManagerUid: [ "openIM123456","openIM654321", "openIM333", "openIMAdmin"]
secrets: [ "openIM1","openIM2", "openIM333", "openIMAdmin"]
appSysNotificationName: "系统通知"
appManagerUid: [ "openIM123456","openIM654321", "openIM333", "openIMAdmin" ]
nickname: [ "系统通知","openIM654321", "openIM333", "openIMAdmin" ]
secret:
secret: tuoyun
# 多端互踢策略
# 1:多平台登录:Android、iOS、Windows、Mac 每种平台只能一个在线,web端可以多个同时在线
multiloginpolicy: 1
#msg log insert to db
chatpersistencemysql: true
#可靠性存储
reliablestorage: false
#消息缓存时间
msgCacheTimeout: 86400
#群聊已读开启
@@ -279,21 +226,12 @@ singleMessageHasReadReceiptEnable: true
#token config
tokenpolicy:
accessSecret: #token生成相关,默认即可
accessSecret: "OpenIM_server" #token生成相关,默认即可
# Token effective time day as a unit
accessExpire: #token过期时间(天) 默认即可
accessExpire: 90 #token过期时间(天) 默认即可
messageverify:
friendVerify:
friendVerify: false
# c2c:
# callbackBeforeSendMsg:
# switch: false
# timeoutStrategy: 1 #1:send
# callbackAfterSendMsg:
# switch: false
# state:
# stateChange:
# switch: false
#ios系统推送声音以及标记计数
iospush:
pushSound: "xxx"
@@ -302,7 +240,7 @@ iospush:
callback:
# callback url 需要自行更换callback url
callbackUrl : "http://127.0.0.1:8080/callback"
callbackUrl: "http://127.0.0.1:10008/callback/open_im"
# 开启关闭操作前后回调的配置
callbackBeforeSendSingleMsg:
enable: false # 回调是否启用
@@ -318,9 +256,6 @@ callback:
callbackAfterSendGroupMsg:
enable: false
callbackTimeOut: 2
callbackAfterConsumeGroupMsg:
enable: false
callbackTimeOut: 2
callbackMsgModify:
enable: false
callbackTimeOut: 2
@@ -367,453 +302,6 @@ callback:
callbackTimeOut: 2
callbackFailedContinue: true # 回调超时是否继续
notification:
groupCreated:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: true
title: "create group title" # xx create the group
desc: "create group desc"
ext: "create group ext"
defaultTips:
tips: "create the group" # xx create the group
groupInfoSet:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "groupInfoSet title"
desc: "groupInfoSet desc"
ext: "groupInfoSet ext"
defaultTips:
tips: "modified the group profile" # group info changed by xx
joinGroupApplication:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: false
title: "joinGroupApplication title"
desc: "joinGroupApplication desc"
ext: "joinGroupApplication ext"
defaultTips:
tips: "apply to join the group" # group info changed by xx
memberQuit:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "memberQuit title"
desc: "memberQuit desc"
ext: "memberQuit ext"
defaultTips:
tips: "quit group msg" # group info changed by xx
groupApplicationAccepted:
conversation:
reliabilityLevel: 2
unreadCount: true
offlinePush:
switch: false
title: "groupApplicationAccepted title"
desc: "groupApplicationAccepted desc"
ext: "groupApplicationAccepted ext"
defaultTips:
tips: "was allowed to join the group" # group info changed by xx
groupApplicationRejected:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: false
title: " title"
desc: " desc"
ext: " ext"
defaultTips:
tips: "was rejected into the group" # group info changed by xx
groupOwnerTransferred:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "groupOwnerTransferred title"
desc: "groupOwnerTransferred desc"
ext: "groupOwnerTransferred ext"
defaultTips:
tips: "become a new group owner" # group info changed by xx
memberKicked:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "memberKicked title"
desc: "memberKicked desc"
ext: "memberKicked ext"
defaultTips:
tips: "was kicked out of the group" # group info changed by xx
memberInvited:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "memberInvited title"
desc: "memberInvited desc"
ext: "memberInvited ext"
defaultTips:
tips: "was invited into the group" # group info changed by xx
memberEnter:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "memberEnter title"
desc: "memberEnter desc"
ext: "memberEnter ext"
defaultTips:
tips: "entered the group" # group info changed by xx
groupDismissed:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "groupDismissed title"
desc: "groupDismissed desc"
ext: "groupDismissed ext"
defaultTips:
tips: "group dismissed"
groupMuted:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "groupMuted title"
desc: "groupMuted desc"
ext: "groupMuted ext"
defaultTips:
tips: "group Muted"
groupCancelMuted:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "groupCancelMuted title"
desc: "groupCancelMuted desc"
ext: "groupCancelMuted ext"
defaultTips:
tips: "group Cancel Muted"
groupMemberMuted:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "groupMemberMuted title"
desc: "groupMemberMuted desc"
ext: "groupMemberMuted ext"
defaultTips:
tips: "group Member Muted"
groupMemberCancelMuted:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "groupMemberCancelMuted title"
desc: "groupMemberCancelMuted desc"
ext: "groupMemberCancelMuted ext"
defaultTips:
tips: "group Member Cancel Muted"
groupMemberInfoSet:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: false
title: "groupMemberInfoSet title"
desc: "groupMemberInfoSet desc"
ext: "groupMemberInfoSet ext"
defaultTips:
tips: "group member info set"
organizationChanged:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: false
title: "organizationChanged title"
desc: "organizationChanged desc"
ext: "organizationChanged ext"
defaultTips:
tips: "organization changed"
#############################friend#################################
friendApplicationAdded:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: true
title: "Somebody applies to add you as a friend"
desc: "Somebody applies to add you as a friend"
ext: "Somebody applies to add you as a friend"
defaultTips:
tips: "I applies to add you as a friend" #
friendApplicationApproved:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: true
title: "Someone applies to add your friend application"
desc: "Someone applies to add your friend application"
ext: "Someone applies to add your friend application"
defaultTips:
tips: "I applies to add your friend application" #
friendApplicationRejected:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: true
title: "Someone rejected your friend application"
desc: "Someone rejected your friend application"
ext: "Someone rejected your friend application"
defaultTips:
tips: "I rejected your friend application" #
friendAdded:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: true
title: "We have become friends"
desc: "We have become friends"
ext: "We have become friends"
defaultTips:
tips: "We have become friends" #
friendDeleted:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: true
title: "deleted a friend"
desc: "deleted a friend"
ext: "deleted a friend"
defaultTips:
tips: "deleted a friend" #
friendRemarkSet:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: true
title: "Your friend's profile has been changed"
desc: "Your friend's profile has been changed"
ext: "Your friend's profile has been changed"
defaultTips:
tips: "Your friend's profile has been changed" #
blackAdded:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: true
title: "blocked a user"
desc: "blocked a user"
ext: "blocked a user"
defaultTips:
tips: "blocked a user" #
blackDeleted:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: true
title: "Remove a blocked user"
desc: "Remove a blocked user"
ext: "Remove a blocked user"
defaultTips:
tips: "Remove a blocked user"
friendInfoUpdated:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: true
title: "friend info updated"
desc: "friend info updated"
ext: "friend info updated"
defaultTips:
tips: "friend info updated"
#####################user#########################
userInfoUpdated:
conversation:
reliabilityLevel: 2
unreadCount: false
offlinePush:
switch: true
title: "Remove a blocked user"
desc: "Remove a blocked user"
ext: "Remove a blocked user"
defaultTips:
tips: "remove a blocked user"
#####################conversation#########################
conversationOptUpdate:
conversation:
reliabilityLevel: 1
unreadCount: false
offlinePush:
switch: true
title: "conversation opt update"
desc: "conversation opt update"
ext: "conversation opt update"
defaultTips:
tips: "conversation opt update"
conversationSetPrivate:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: true
title: "burn after reading"
desc: "burn after reading"
ext: "burn after reading"
defaultTips:
openTips: "burn after reading was opened"
closeTips: "burn after reading was closed"
###################workMoments################
workMomentsNotification:
conversation:
reliabilityLevel: 2
unreadCount: true
offlinePush:
switch: true
title: "burn after reading"
desc: "burn after reading"
ext: "burn after reading"
defaultTips:
openTips: "burn after reading was opened"
closeTips: "burn after reading was closed"
###################organization################
joinDepartmentNotification:
conversation:
reliabilityLevel: 3
unreadCount: true
offlinePush:
switch: false
title: "welcome user join department"
desc: "welcome user join department"
ext: "welcome user join department"
defaultTips:
tips: "welcome user join department"
#---------------demo configuration---------------------#
#The following configuration items are applied to openIM Demo configuration
#是否启动demo,如果自身没有账号体系,设置为true
demoswitch: true
demo:
listenIP: 0.0.0.0
#demo对外服务端口,默认即可,需要开放此端口或做nginx转发
openImDemoPort: [ 10004 ]
alismsverify: #阿里云短信配置,在阿里云申请成功后修改以下四项,enable为true则必须修改,阿里云为默认短信验证方式
accessKeyId:
accessKeySecret:
signName:
verificationCodeTemplateCode:
enable: false
tencentsms: #腾讯云短信配置,在腾讯云申请成功后,修改以下选项,enable为true则必须修改
appID:
region:
secretID:
secretKey:
signName:
verificationCodeTemplateCode:
enable: true
superCode: 666666 #超级验证码,建议修改掉,收不到短信验证码时可以用此替代
needInvitationCode: false
# second
codeTTL: 60
useSuperCode: true
mail: #仅支持qq邮箱,具体操作参考 https://service.mail.qq.com/cgi-bin/help?subtype=1&id=28&no=1001256 必须修改
title:
senderMail:
senderAuthorizationCode:
smtpAddr:
smtpPort: #需开放此端口 出口方向
testDepartMentID: 001
imAPIURL: http://127.0.0.1:10002
onboardProcess: false # 是否开启注册流程
createOrganizationUserAndJoinDepartment: false
joinDepartmentIDList: [] # 用户注册进来默认加的部门ID列表 不填就随机
joinDepartmentGroups: false # 注册是否加部门群
oaNotification: false # 注册是否发送OA通知
workMoment:
onlyFriendCanSee: false
rtc:
signalTimeout: 35
# prometheus每个服务监听的端口数量需要和rpc port保持一致
prometheus:
enable: false
@@ -824,10 +312,7 @@ prometheus:
groupPrometheusPort: [ 20150 ]
authPrometheusPort: [ 20160 ]
pushPrometheusPort: [ 20170 ]
adminCmsPrometheusPort: [ 20200 ]
officePrometheusPort: [ 20210 ]
organizationPrometheusPort: [ 20220 ]
conversationPrometheusPort: [ 20230 ]
cachePrometheusPort: [ 20240 ]
realTimeCommPrometheusPort: [ 21300 ]
rtcPrometheusPort: [ 21300 ]
messageTransferPrometheusPort: [ 21400, 21401, 21402, 21403 ] # 端口数量和 script/path_info.cfg msg_transfer_service_num保持一致
+313
View File
@@ -0,0 +1,313 @@
groupCreated:
isSendMsg: true #是否发送消息,false不发消息为无声的触发同步。true发消息需要触发会话,rpc notification直接发两次,一次消息一次通知, options字段isNotification是否为通知
reliabilityLevel: 1 # 1为online才发送 2为必达
unreadCount: false # 只在isSendMsg为true的情况下有作用
offlinePush:
enable: false # 开启该开关
title: "create group title" # xx create the group
desc: "create group desc"
ext: "create group ext"
# 不加消息contentTypecontent统一json 结构体使用pb的
groupInfoSet:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupInfoSet title"
desc: "groupInfoSet desc"
ext: "groupInfoSet ext"
joinGroupApplication:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "joinGroupApplication title"
desc: "joinGroupApplication desc"
ext: "joinGroupApplication ext"
memberQuit:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "memberQuit title"
desc: "memberQuit desc"
ext: "memberQuit ext"
groupApplicationAccepted:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupApplicationAccepted title"
desc: "groupApplicationAccepted desc"
ext: "groupApplicationAccepted ext"
groupApplicationRejected:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: " title"
desc: " desc"
ext: " ext"
groupOwnerTransferred:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupOwnerTransferred title"
desc: "groupOwnerTransferred desc"
ext: "groupOwnerTransferred ext"
memberKicked:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "memberKicked title"
desc: "memberKicked desc"
ext: "memberKicked ext"
memberInvited:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "memberInvited title"
desc: "memberInvited desc"
ext: "memberInvited ext"
memberEnter:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "memberEnter title"
desc: "memberEnter desc"
ext: "memberEnter ext"
groupDismissed:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupDismissed title"
desc: "groupDismissed desc"
ext: "groupDismissed ext"
groupMuted:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupMuted title"
desc: "groupMuted desc"
ext: "groupMuted ext"
groupCancelMuted:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupCancelMuted title"
desc: "groupCancelMuted desc"
ext: "groupCancelMuted ext"
defaultTips:
tips: "group Cancel Muted"
groupMemberMuted:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupMemberMuted title"
desc: "groupMemberMuted desc"
ext: "groupMemberMuted ext"
groupMemberCancelMuted:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupMemberCancelMuted title"
desc: "groupMemberCancelMuted desc"
ext: "groupMemberCancelMuted ext"
groupMemberInfoSet:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupMemberInfoSet title"
desc: "groupMemberInfoSet desc"
ext: "groupMemberInfoSet ext"
groupInfoSetAnnouncement:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupInfoSetAnnouncement title"
desc: "groupInfoSetAnnouncement desc"
ext: "groupInfoSetAnnouncement ext"
groupInfoSetName:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "groupInfoSetName title"
desc: "groupInfoSetName desc"
ext: "groupInfoSetName ext"
#############################friend#################################
friendApplicationAdded:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: false
title: "Somebody applies to add you as a friend"
desc: "Somebody applies to add you as a friend"
ext: "Somebody applies to add you as a friend"
friendApplicationApproved:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "Someone applies to add your friend application"
desc: "Someone applies to add your friend application"
ext: "Someone applies to add your friend application"
friendApplicationRejected:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "Someone rejected your friend application"
desc: "Someone rejected your friend application"
ext: "Someone rejected your friend application"
friendAdded:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "We have become friends"
desc: "We have become friends"
ext: "We have become friends"
friendDeleted:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "deleted a friend"
desc: "deleted a friend"
ext: "deleted a friend"
friendRemarkSet:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "Your friend's profile has been changed"
desc: "Your friend's profile has been changed"
ext: "Your friend's profile has been changed"
blackAdded:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "blocked a user"
desc: "blocked a user"
ext: "blocked a user"
blackDeleted:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "Remove a blocked user"
desc: "Remove a blocked user"
ext: "Remove a blocked user"
friendInfoUpdated:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "friend info updated"
desc: "friend info updated"
ext: "friend info updated"
#####################user#########################
userInfoUpdated:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "Remove a blocked user"
desc: "Remove a blocked user"
ext: "Remove a blocked user"
#####################conversation#########################
conversationChanged:
isSendMsg: false
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "conversation changed"
desc: "conversation changed"
ext: "conversation changed"
conversationSetPrivate:
isSendMsg: true
reliabilityLevel: 1
unreadCount: false
offlinePush:
enable: true
title: "burn after reading"
desc: "burn after reading"
ext: "burn after reading"
-11
View File
@@ -7,9 +7,6 @@ upstream im_api{
upstream im_jssdk_gateway{
server 127.0.0.1:10003; #IM jssdk服务器地址 根据部署情况可指定多台
}
upstream im_demo{
server 127.0.0.1:10004; #IM demo登录注册服务器地址 根据部署情况可指定多台
}
upstream storage {
server 127.0.0.1:10005; #MinIO服务器地址 暂时支持1台
}
@@ -83,14 +80,6 @@ server {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://im_jssdk_gateway/;
}
location ^~/demo/ { # 10004 demo
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header X-real-ip $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://im_demo/;
}
location ^~/admin/ { #10006 admin
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
-43
View File
@@ -1,43 +0,0 @@
etcd:
userName:
password:
secret: openIM123 # etcd 配置密钥
mysql:
dbMysqlUserName: root #mysql用户名
dbMysqlPassword: openIM123 # mysql密码
mongo:
dbUserName: root #mongo用户名
dbPassword: openIM123 #mongo密码
redis:
dbUserName:
dbPassWord: openIM123 #redis密码
kafka:
SASLUserName:
SASLPassword:
credential:
minio:
endpoint: http://127.0.0.1:10005 #发图片视频文件需要填写
accessKeyID: root
secretAccessKey: openIM123
secret: tuoyun #建议修改
tokenpolicy:
accessSecret: "open_im_server" #token生成相关 建议修改
accessExpire: 90 #token过期时间(天) 默认即可
messageverify:
friendVerify: false #发送消息是否验证好友关系 false表示不验证好友关系
push:
getui:
pushUrl: "https://restapi.getui.com/v2/$appId"
masterSecret: "" #需添加
appKey: "" #需添加
enable: false #true启动个推推送
-6
View File
@@ -1,6 +0,0 @@
# 先设为忽略所有内容
**/**
# 然后逐个排除
!open_im_*
-158
View File
@@ -1,158 +0,0 @@
GREEN_PREFIX="\033[32m"
COLOR_SUFFIX="\033[0m"
SKY_BLUE_PREFIX="\033[36m"
# 编译所有需要的组件源码
win-build-all:
go env -w GOOS=linux
make build-api && make build-msg-gateway && make build-msg-transfer && make build-push && make build-timer-task
make build-rpc-user && make build-rpc-friend && make build-rpc-group && make build-rpc-msg && make build-rpc-auth
make build-demo
go env -w GOOS=windows
# 编译 open_im_api
build-api:
echo -e ${GREEN_PREFIX} "open_im_api building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_api ../cmd/open_im_api/main.go
echo -e ${GREEN_PREFIX} "open_im_api build ok" ${COLOR_SUFFIX}
# 编译 open_im_msg_gateway
build-msg-gateway:
echo -e ${GREEN_PREFIX} "open_im_msg_gateway building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_msg_gateway ../cmd/open_im_msg_gateway/main.go
echo -e ${GREEN_PREFIX} "open_im_msg_gateway build ok" ${COLOR_SUFFIX}
# 编译 open_im_msg_transfer
build-msg-transfer:
echo -e ${GREEN_PREFIX} "open_im_msg_transfer building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_msg_transfer ../cmd/open_im_msg_transfer/main.go
echo -e ${GREEN_PREFIX} "open_im_msg_transfer build ok" ${COLOR_SUFFIX}
# 编译 open_im_push
build-push:
echo -e ${GREEN_PREFIX} "open_im_push building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_push ../cmd/open_im_push/main.go
echo -e ${GREEN_PREFIX} "open_im_push build ok" ${COLOR_SUFFIX}
# 编译 open_im_timer_task
build-timer-task:
echo -e ${GREEN_PREFIX} "open_im_timer_task building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_timer_task ../cmd/open_im_timer_task/main.go
echo -e ${GREEN_PREFIX} "open_im_timer_task build ok" ${COLOR_SUFFIX}
# 编译 build-rpc-user
build-rpc-user:
echo -e ${SKY_BLUE_PREFIX} "open_im_rpc_user building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_rpc_user ../cmd/rpc/open_im_user/main.go
echo -e ${SKY_BLUE_PREFIX} "open_im_rpc_user build ok" ${COLOR_SUFFIX}
# 编译 build-rpc-friend
build-rpc-friend:
echo -e ${SKY_BLUE_PREFIX} "open_im_rpc_friend building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_rpc_friend ../cmd/rpc/open_im_friend/main.go
echo -e ${SKY_BLUE_PREFIX} "open_im_rpc_friend build ok" ${COLOR_SUFFIX}
# 编译 build-rpc-group
build-rpc-group:
echo -e ${SKY_BLUE_PREFIX} "open_im_rpc_group building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_rpc_group ../cmd/rpc/open_im_group/main.go
echo -e ${SKY_BLUE_PREFIX} "open_im_rpc_group build ok" ${COLOR_SUFFIX}
# 编译 build-rpc-auth
build-rpc-auth:
echo -e ${SKY_BLUE_PREFIX} "open_im_rpc_auth building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_rpc_auth ../cmd/rpc/open_im_auth/main.go
echo -e ${SKY_BLUE_PREFIX} "open_im_rpc_auth build ok" ${COLOR_SUFFIX}
# 编译 build-rpc-msg
build-rpc-msg:
echo -e ${SKY_BLUE_PREFIX} "open_im_rpc_msg building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_rpc_msg ../cmd/rpc/open_im_msg/main.go
echo -e ${SKY_BLUE_PREFIX} "open_im_rpc_msg build ok" ${COLOR_SUFFIX}
# 编译 open_im_demo
build-demo:
echo -e ${SKY_BLUE_PREFIX} "open_im_demo building..." ${COLOR_SUFFIX}
go build -ldflags="-w -s" -o open_im_demo ../cmd/open_im_demo/main.go
echo -e ${SKY_BLUE_PREFIX} "open_im_demo build ok" ${COLOR_SUFFIX}
# 打包所有组件为镜像
image-all:
make image-api && make image-msg-gateway && make image-msg-transfer & make image-push && make image-timer-task
make image-rpc-user && make image-rpc-friend && make image-rpc-group && make image-rpc-msg && make image-rpc-auth
make image-demo
# 打包 open_im_api
image-api:
echo -e ${GREEN_PREFIX} "IMAGE:openim/api building..." ${COLOR_SUFFIX}
docker build -t openim/api:latest -f ./dockerfiles/Dockerfile.api .
echo -e ${GREEN_PREFIX} "IMAGE:openim/api build ok" ${COLOR_SUFFIX}
# 打包 open_im_msg_gateway
image-msg-gateway:
echo -e ${GREEN_PREFIX} "IMAGE:openim/msg_gateway building..." ${COLOR_SUFFIX}
docker build -t openim/msg_gateway:latest -f ./dockerfiles/Dockerfile.msg_gateway .
echo -e ${GREEN_PREFIX} "IMAGE:openim/msg_gateway build ok" ${COLOR_SUFFIX}
# 打包 open_im_msg_transfer
image-msg-transfer:
echo -e ${GREEN_PREFIX} "IMAGE:openim/msg_transfer building..." ${COLOR_SUFFIX}
docker build -t openim/msg_transfer:latest -f ./dockerfiles/Dockerfile.msg_transfer .
echo -e ${GREEN_PREFIX} "IMAGE:openim/msg_transfer build ok" ${COLOR_SUFFIX}
# 打包 open_im_push
image-push:
echo -e ${GREEN_PREFIX} "IMAGE:openim/push building..." ${COLOR_SUFFIX}
docker build -t openim/push:latest -f ./dockerfiles/Dockerfile.push .
echo -e ${GREEN_PREFIX} "IMAGE:openim/push build ok" ${COLOR_SUFFIX}
# 打包 open_im_timer_task
image-timer-task:
echo -e ${GREEN_PREFIX} "IMAGE:openim/timer_task building..." ${COLOR_SUFFIX}
docker build -t openim/timer_task:latest -f ./dockerfiles/Dockerfile.timer_task .
echo -e ${GREEN_PREFIX} "IMAGE:openim/timer_task build ok" ${COLOR_SUFFIX}
# 打包 build-rpc-user
image-rpc-user:
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/rpc_user building..." ${COLOR_SUFFIX}
docker build -t openim/rpc_user:latest -f ./dockerfiles/Dockerfile.rpc_user .
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/rpc_user build ok" ${COLOR_SUFFIX}
# 打包 build-rpc-friend
image-rpc-friend:
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/rpc_friend building..." ${COLOR_SUFFIX}
docker build -t openim/rpc_friend:latest -f ./dockerfiles/Dockerfile.rpc_friend .
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/rpc_friend build ok" ${COLOR_SUFFIX}
# 打包 build-rpc-group
image-rpc-group:
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/rpc_group building..." ${COLOR_SUFFIX}
docker build -t openim/rpc_group:latest -f ./dockerfiles/Dockerfile.rpc_group .
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/rpc_group build ok" ${COLOR_SUFFIX}
# 打包 build-rpc-auth
image-rpc-auth:
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/rpc_auth building..." ${COLOR_SUFFIX}
docker build -t openim/rpc_auth:latest -f ./dockerfiles/Dockerfile.rpc_auth .
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/rpc_auth build ok" ${COLOR_SUFFIX}
# 打包 build-rpc-msg
image-rpc-msg:
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/rpc_msg building..." ${COLOR_SUFFIX}
docker build -t openim/rpc_msg:latest -f ./dockerfiles/Dockerfile.rpc_msg .
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/rpc_msg build ok" ${COLOR_SUFFIX}
# 打包 open_im_demo
image-demo:
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/demo building..." ${COLOR_SUFFIX}
docker build -t openim/demo:latest -f ./dockerfiles/Dockerfile.demo .
echo -e ${SKY_BLUE_PREFIX} "IMAGE:openim/demo build ok" ${COLOR_SUFFIX}
.PHONY: win-build-all build-api build-msg-gateway build-msg-transfer build-push
build-timer-task build-rpc-user build-rpc-friend build-rpc-group build-rpc-msg build-demo
image-all image-api image-msg-gateway image-msg-transfer image-push
image-timer-task image-rpc-user image-rpc-friend image-rpc-group image-rpc-msg image-demo
-183
View File
@@ -1,183 +0,0 @@
# The class cannot be named by Pascal or camel case.
# If it is not used, the corresponding structure will not be set,
# and it will not be read naturally.
serverversion: 1.0.3
#---------------Infrastructure configuration---------------------#
etcd:
etcdSchema: openIM
etcdAddr: [ openim_etcd:2379 ]
mysql:
dbMysqlAddress: [ openim_mysql:3306 ] # openim_mysql 是对应的mysql服务的host
dbMysqlUserName: openIM
dbMysqlPassword: openIM
dbMysqlDatabaseName: openIM
dbTableName: eMsg
dbMsgTableNum: 1
dbMaxOpenConns: 20
dbMaxIdleConns: 10
dbMaxLifeTime: 120
mongo:
dbUri: ""#当dbUri值不为空则直接使用该值
dbAddress: [ openim_mongo:27017 ]
dbDirect: false
dbTimeout: 10
dbDatabase: openIM
dbSource: admin
dbUserName:
dbPassword:
dbMaxPoolSize: 20
dbRetainChatRecords: 7
redis:
dbAddress: openim_redis:6379
dbMaxIdle: 128
dbMaxActive: 0
dbIdleTimeout: 120
dbPassWord: openIM
kafka:
ws2mschat:
addr: [ openim_kafka:9092 ]
topic: "ws2ms_chat"
ms2pschat:
addr: [ openim_kafka:9092 ]
topic: "ms2ps_chat"
consumergroupid:
msgToMongo: mongo
msgToMySql: mysql
msgToPush: push
#---------------Internal service configuration---------------------#
# The service ip default is empty,
# automatically obtain the machine's valid network card ip as the service ip,
# otherwise the configuration ip is preferred
serverip: 0.0.0.0
# endpoints 内部组件间访问的端点host名称,访问时,可以内部直接访问 host:port 来访问
# 新增的这一段配置节,主要是位了注册到etcd时,可以使用同一network下的容器名(host)来访问不同的容器,拆分到不同容器后原来全部使用serverip的形式不能用了
endpoints:
api: openim_api
push: openim_push
msg_gateway: openim_msg_gateway
rpc_auth: openim_rpc_auth
rpc_friend: openim_rpc_friend
rpc_group: openim_rpc_group
rpc_msg: openim_rpc_msg
rpc_user: openim_rpc_user
api:
openImApiPort: [ 10000 ]
sdk:
openImSdkWsPort: [ 30000 ]
cmsapi:
openImCmsApiPort: [ 8000 ]
credential:
tencent:
appID:
region:
bucket:
secretID:
secretKey:
rpcport:
openImUserPort: [ 10100 ]
openImFriendPort: [ 10200 ]
openImOfflineMessagePort: [ 10300]
openImOnlineRelayPort: [ 10400 ]
openImGroupPort: [ 10500 ]
openImAuthPort: [ 10600 ]
openImPushPort: [ 10700 ]
openImStatisticsPort: [ 10800 ]
openImMessageCmsPort: [ 10900 ]
openImAdminCmsPort: [ 11000 ]
rpcregistername:
openImUserName: User
openImFriendName: Friend
openImOfflineMessageName: OfflineMessage
openImPushName: Push
openImOnlineMessageRelayName: OnlineMessageRelay
openImGroupName: Group
openImAuthName: Auth
log:
storageLocation: ../logs/
rotationTime: 24
remainRotationCount: 5
remainLogLevel: 6
elasticSearchSwitch: false
elasticSearchAddr: [ 127.0.0.1:9201 ]
elasticSearchUser: ""
elasticSearchPassword: ""
modulename:
longConnSvrName: msg_gateway
msgTransferName: msg_transfer
pushName: push
longconnsvr:
openImWsPort: [ 17778 ]
websocketMaxConnNum: 10000
websocketMaxMsgLen: 4096
websocketTimeOut: 10
push:
tpns:
ios:
accessID:
secretKey:
android:
accessID:
secretKey:
jpns:
appKey:
masterSecret:
pushUrl:
pushIntent:
manager:
appManagerUid: ["openIM123456","openIM654321"]
secrets: ["openIM1","openIM2"]
secret: tuoyun
multiloginpolicy: 1
#token config
tokenpolicy:
accessSecret: "open_im_server"
# Token effective time day as a unit
accessExpire: 7
messagecallback:
callbackSwitch: false
callbackUrl: "http://www.xxx.com/msg/judge"
#TimeOut use second as unit
callbackTimeOut: 10
#---------------demo configuration---------------------#
#The following configuration items are applied to openIM Demo configuration
demoswitch: true
demo:
openImDemoPort: [ 42233 ]
alismsverify:
accessKeyId:
accessKeySecret:
signName:
verificationCodeTemplateCode:
superCode: 666666
mail:
title:
senderMail:
senderAuthorizationCode:
smtpAddr:
smtpPort:
-17
View File
@@ -1,17 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_api $WORKDIR/main
COPY ./start_api.sh $$WORKDIR
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./start_api.sh
-16
View File
@@ -1,16 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_demo $WORKDIR/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./main
-16
View File
@@ -1,16 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_msg_gateway $WORKDIR/main
# 创建用于挂载的几个目录,重命名可执行文件为 main,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./main
@@ -1,16 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_msg_transfer $WORKDIR/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./main
-16
View File
@@ -1,16 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_push $WORKDIR/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./main
-16
View File
@@ -1,16 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_rpc_auth $WORKDIR/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./main
-16
View File
@@ -1,16 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_rpc_friend $WORKDIR/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./main
-16
View File
@@ -1,16 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_rpc_group $WORKDIR/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./main
-16
View File
@@ -1,16 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_rpc_msg $WORKDIR/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./main
-16
View File
@@ -1,16 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_rpc_user $WORKDIR/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./main
-16
View File
@@ -1,16 +0,0 @@
FROM alpine:3.13
# 设置固定的项目路径
ENV WORKDIR /app
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_timer_task $WORKDIR/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/db && \
chmod +x $WORKDIR/main
WORKDIR $WORKDIR
CMD ./main
-101
View File
@@ -1,101 +0,0 @@
version: "3.7"
networks:
openim:
external: true
services:
mysql:
networks:
- openim
image: mysql:5.7
# ports:
# #- 13306:3306
# - 23306:33060
container_name: openim_mysql
volumes:
- ./components/mysql/data:/var/lib/mysql
- /etc/localtime:/etc/localtime
environment:
MYSQL_ROOT_PASSWORD: openIM
restart: always
mongodb:
networks:
- openim
image: mongo:4.4.5-bionic
# ports:
# - 37017:27017
container_name: openim_mongo
volumes:
- ./components/mongodb/data/db:/data/db
- ./components/mongodb/data/logs:/data/logs
- ./components/mongodb/data/conf:/etc/mongo
environment:
TZ: Asia/Shanghai
# - MONGO_INITDB_ROOT_USERNAME=openIM
# - MONGO_INITDB_ROOT_PASSWORD=openIM
restart: always
redis:
networks:
- openim
image: redis:6.2.4-alpine
# ports:
# - 16379:6379
container_name: openim_redis
volumes:
- ./components/redis/data:/data
#redis config file
#- ./components/redis/config/redis.conf:/usr/local/redis/config/redis.conf
environment:
TZ: Asia/Shanghai
restart: always
sysctls:
net.core.somaxconn: 1024
command: redis-server --requirepass openIM --appendonly yes
zookeeper:
networks:
- openim
image: wurstmeister/zookeeper
# ports:
# - 2181:2181
container_name: openim_zookeeper
volumes:
- /etc/localtime:/etc/localtime
environment:
TZ: Asia/Shanghai
restart: always
kafka:
networks:
- openim
image: wurstmeister/kafka
container_name: openim_kafka
restart: always
environment:
TZ: Asia/Shanghai
KAFKA_BROKER_ID: 0
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092
depends_on:
- zookeeper
etcd:
networks:
- openim
image: quay.io/coreos/etcd
# ports:
# - 2379:2379
# - 2380:2380
container_name: openim_etcd
volumes:
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
environment:
ETCDCTL_API: 3
restart: always
command: /usr/local/bin/etcd --name etcd0 --data-dir /etcd-data --listen-client-urls http://0.0.0.0:2379 --advertise-client-urls http://0.0.0.0:2379 --listen-peer-urls http://0.0.0.0:2380 --initial-advertise-peer-urls http://0.0.0.0:2380 --initial-cluster etcd0=http://0.0.0.0:2380 --initial-cluster-token tkn --initial-cluster-state new
-223
View File
@@ -1,223 +0,0 @@
version: "3.7"
networks:
openim:
external: true
services:
api:
networks:
- openim
image: openim/api
container_name: openim_api
ports:
- 10000:10000 # API,必须开
volumes:
- ./logs:/app/logs
# Dockerfile 里定义了配置文件的路径环境变量,CONFIG_NAME,默认指向了 /app/config/config.yaml
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
# depends_on:
# - kafka
# # - mysql
# # - mongodb
# - redis
# - etcd
logging:
driver: json-file
options:
max-size: "1g"
max-file: "2"
msg_gateway:
networks:
- openim
image: openim/msg_gateway
container_name: openim_msg_gateway
ports:
- 17778:17778 # 消息,必须开
volumes:
- ./logs:/app/logs
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
# depends_on:
# - kafka
# # - mysql
# # - mongodb
# - redis
# - etcd
logging:
driver: json-file
options:
max-size: "1g"
max-file: "2"
msg_transfer:
networks:
- openim
image: openim/msg_transfer
container_name: openim_msg_transfer
volumes:
- ./logs:/app/logs
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
# depends_on:
# - kafka
# # - mysql
# # - mongodb
# - redis
# - etcd
logging:
driver: json-file
options:
max-size: "1g"
max-file: "2"
push:
networks:
- openim
image: openim/push
container_name: openim_push
volumes:
- ./logs:/app/logs
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
# depends_on:
# - kafka
# # - mysql
# # - mongodb
# - redis
# - etcd
logging:
driver: json-file
options:
max-size: "1g"
max-file: "2"
timer_task:
networks:
- openim
image: openim/timer_task
container_name: openim_timer_task
volumes:
- ./logs:/app/logs
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
# depends_on:
# - kafka
# # - mysql
# # - mongodb
# - redis
# - etcd
logging:
driver: json-file
options:
max-size: "1g"
max-file: "2"
rpc_user:
networks:
- openim
image: openim/rpc_user
container_name: openim_rpc_user
volumes:
- ./logs:/app/logs
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
# depends_on:
# - kafka
# # - mysql
# # - mongodb
# - redis
# - etcd
logging:
driver: json-file
options:
max-size: "1g"
max-file: "2"
rpc_friend:
networks:
- openim
image: openim/rpc_friend
container_name: openim_rpc_friend
volumes:
- ./logs:/app/logs
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
# depends_on:
# - kafka
# # - mysql
# # - mongodb
# - redis
# - etcd
rpc_group:
networks:
- openim
image: openim/rpc_group
container_name: openim_rpc_group
volumes:
- ./logs:/app/logs
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
# depends_on:
# - kafka
# # - mysql
# # - mongodb
# - redis
# - etcd
rpc_auth:
networks:
- openim
image: openim/rpc_auth
container_name: openim_rpc_auth
volumes:
- ./logs:/app/logs
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
# depends_on:
# - kafka
# # - mysql
# # - mongodb
# - redis
# - etcd
rpc_msg:
networks:
- openim
image: openim/rpc_msg
container_name: openim_rpc_msg
volumes:
- ./logs:/app/logs
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
# depends_on:
# - kafka
# # - mysql
# # - mongodb
# - redis
# - etcd
demo:
networks:
- openim
image: openim/demo
container_name: openim_demo
ports:
- 42233:42233
volumes:
- ./logs:/app/logs
- ./config/config.yaml:/app/config/config.yaml
- ./db/sdk:/app/db/sdk
restart: always
-30
View File
@@ -1,30 +0,0 @@
### 以docker-compose 形式单独部署
```sh
# 查看 ./Makefile ,先编译各个需要的源码到 ../bin
# win-* 表示在win平台编译位linux二进制,其实就是处理了 go env -w GOOS=linux
make win-build-all
# 得到各个二进制程序之后,打包为镜像
# 目前没有处理 Open-IM-SDK-Core ,需要的话可以自己单独处理这个模块
make image-all
# docker-compose.yaml 分成了两部分,一部分是openIM的镜像容器 openim.yaml,一部分是依赖的环境 env.yaml
# 两部分使用一个外部的网络来联通,所以首先创建用到的 network
docker network create openim --attachable=true -d bridge
# 处理openim组件需要的挂载目录,主要是处理config目录
mkdir ./config
cp ./config.example.yaml ./config/config.yaml # 修改 ./config/config.yaml 内容,比如各个依赖组件的 host
# 然后拉起env.yaml
docker-compose -f ./env.yaml up -d
# 等env 容器全部拉起成功之后,拉起openim.yaml
docker-compose -f ./openim.yaml up -d
# 查看容器运行,推荐使用下 portainer ,web查看容器情况,查看日志等等
docker container ps -a | grep openim
# 正常应该是查看api,demo等的容器日志,看到gin打印的路由日志才算是成功
```
-21
View File
@@ -1,21 +0,0 @@
FROM ubuntu
# 设置固定的项目路径
ENV WORKDIR /Open-IM-Server
ENV CMDDIR $WORKDIR/cmd
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_admin_cms $WORKDIR/cmd/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/script && \
chmod +x $WORKDIR/cmd/main
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config", "/Open-IM-Server/script"]
WORKDIR $CMDDIR
CMD ./main
-42
View File
@@ -1,42 +0,0 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: admin-cms-deployment
spec:
selector:
matchLabels:
app: admin-cms # 选择这个指定标签执行
replicas: 1 # 运行pod数量
template:
metadata:
labels:
app: admin-cms # 标签
spec:
containers:
- name: admin-cms
image: openim/admin_cms:v2.3.8
# imagePullPolicy: Always #每次启动都重新拉取镜像
ports:
- containerPort: 10200
volumeMounts:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
env:
- name: CONFIG_NAME
value: "/Open-IM-Server"
- name: USUAL_CONFIG_NAME
value: "/Open-IM-Server"
volumes:
- name: config
projected:
sources:
- configMap:
name: openim-config
- configMap:
name: openim-usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
-20
View File
@@ -1,20 +0,0 @@
FROM ubuntu
# 设置固定的项目路径
ENV WORKDIR /Open-IM-Server
ENV CMDDIR $WORKDIR/cmd
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_api $WORKDIR/cmd/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/script && \
chmod +x $WORKDIR/cmd/main
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config","/Open-IM-Server/script"]
WORKDIR $CMDDIR
CMD ./main
-54
View File
@@ -1,54 +0,0 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: api-deployment
spec:
selector:
matchLabels:
app: api # 选择这个指定标签执行
replicas: 1 # 运行pod数量
template:
metadata:
labels:
app: api # 标签
spec:
containers:
- name: api
image: openim/api:v2.3.8
# imagePullPolicy: Always
ports:
- containerPort: 10002
volumeMounts:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
env:
- name: CONFIG_NAME
value: "/Open-IM-Server"
- name: USUAL_CONFIG_NAME
value: "/Open-IM-Server"
volumes:
- name: config
projected:
sources:
- configMap:
name: openim-config
- configMap:
name: openim-usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
---
apiVersion: v1
kind: Service
metadata:
name: api
spec:
ports:
- name: api-port
protocol: TCP
port: 10002
targetPort: 10002
selector:
app: api
type: NodePort
-20
View File
@@ -1,20 +0,0 @@
FROM ubuntu
# 设置固定的项目路径
ENV WORKDIR /Open-IM-Server
ENV CMDDIR $WORKDIR/cmd
ENV CONFIG_NAME $WORKDIR/config/config.yaml
# 将可执行文件复制到目标目录
ADD ./open_im_auth $WORKDIR/cmd/main
# 创建用于挂载的几个目录,添加可执行权限
RUN mkdir $WORKDIR/logs $WORKDIR/config $WORKDIR/script && \
chmod +x $WORKDIR/cmd/main
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config","/Open-IM-Server/script"]
WORKDIR $CMDDIR
CMD ./main
-40
View File
@@ -1,40 +0,0 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: auth-deployment
spec:
selector:
matchLabels:
app: auth # 选择这个指定标签执行
replicas: 1 # 运行pod数量
template:
metadata:
labels:
app: auth # 标签
spec:
containers:
- name: auth
image: openim/auth:v2.3.8
# imagePullPolicy: Always
ports:
- containerPort: 10160
volumeMounts:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
env:
- name: CONFIG_NAME
value: "/Open-IM-Server"
- name: USUAL_CONFIG_NAME
value: "/Open-IM-Server"
volumes:
- name: config
projected:
sources:
- configMap:
name: openim-config
- configMap:
name: openim-usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

Some files were not shown because too many files have changed in this diff Show More