Xinwei Xiong (cubxxw)
aa5f55fb2f
Merge remote-tracking branch 'upstream/main' into 3.6.1-code-conventions
2024-03-27 12:26:21 +08:00
withchao
584c5fc3c4
fix: packet name
2024-03-19 19:00:49 +08:00
Gordon
1fa4511fb3
refactor: unified naming for module startup functions.
2024-03-19 18:04:46 +08:00
Gordon
1b62cb1b22
refactor: unified naming for module startup functions.
2024-03-19 16:41:09 +08:00
Xinwei Xiong(cubxxw)
b0a3cbdf4f
feat: add openim make lint
2024-03-19 15:03:32 +08:00
OpenIM Bot
c69522b878
cicd: bump League Patch ( #2117 )
2024-03-19 06:23:50 +00:00
Xinwei Xiong (cubxxw)
843fbdc62b
build: make lint format code
2024-03-19 14:19:38 +08:00
Xinwei Xiong (cubxxw)
817153be37
feat: add openim env
2024-03-18 21:58:38 +08:00
Xinwei Xiong (cubxxw)
1c4b9c6ba2
fix: fix defer functions err and removev
2024-03-18 11:48:00 +08:00
Xinwei Xiong
4ed575a53c
fix: fix group getGroupMemberIDs is 0 err ( #2108 )
2024-03-18 02:35:19 +00:00
Xinwei Xiong
7c25c91e9b
feat: golang fix apt test design ( #2084 )
...
* feat: make lint format
* feat: make lint format
* feat: make lint format
* fix: fix make lint
* feat: add scripts verify shell check
* feat: add scripts verify shell check
2024-03-18 02:34:48 +00:00
Xinwei Xiong (cubxxw)
2810cab920
fix: fix tools erros code
2024-03-15 11:15:58 +08:00
Xinwei Xiong (cubxxw)
10bb10be9e
fix: fix tools erros code
2024-03-15 11:09:38 +08:00
Xinwei Xiong (cubxxw)
0327e33ee7
fix: fix tools erros code
2024-03-15 11:07:06 +08:00
Xinwei Xiong (cubxxw)
30012a7c59
fix: fix group getGroupMemberIDs is 0 err
2024-03-14 19:51:31 +08:00
Xinwei Xiong (cubxxw)
faa2bbb204
fix: fix group getGroupMemberIDs is 0 err
2024-03-14 19:48:20 +08:00
Xinwei Xiong (cubxxw)
13f0c1f2b6
fix: fix group getGroupMemberIDs is 0 err
2024-03-14 19:36:00 +08:00
Xinwei Xiong (cubxxw)
533b6d0621
fix: fix group getGroupMemberIDs is 0 err
2024-03-14 17:54:16 +08:00
Xinwei Xiong (cubxxw)
2509c789fa
fix: fix group getGroupMemberIDs is 0 err
2024-03-14 17:39:38 +08:00
Gordon
f7e5aab805
refactor: friend rpc config change.
2024-03-14 12:53:21 +08:00
Xinwei Xiong (cubxxw)
d3df5c8d9c
feat: save callbacks code
2024-03-13 21:22:15 +08:00
Brabem
396e42479c
fix: fix the protocol version ( #2074 )
2024-03-13 21:22:15 +08:00
Xinwei Xiong (cubxxw)
8d3402982d
feat: optimize rpc group
2024-03-13 18:32:33 +08:00
Brabem
8501c66d14
fix: fix the protocol version ( #2074 )
2024-03-13 02:13:15 +00:00
OpenIM-Gordon
13d0883507
fix: remove unnecessary error handling to avoid sending nil resp. ( #2010 )
...
* fix: remove unnecessary error handling to avoid sending failed notifications.
* fix: remove unnecessary error handling to avoid sending nil resp.
2024-03-06 20:53:36 +08:00
Brabem
52b8efba73
fix: wrap the error of group user and thrid ( #2005 )
...
* fix: wrap the error of group user and thrid
* fix: del the chinese comment
* fix: fix the make_lint error
* fix: fix the ApiTest error
2024-03-06 16:20:07 +08:00
OpenIM Bot
c7dad1a5c1
cicd: bump League Patch ( #2004 )
2024-03-06 07:58:05 +00:00
OpenIM-Gordon
383758782e
optimization: change the configuration file from being read globally … ( #1935 )
...
* optimization: change the configuration file from being read globally to being read independently.
* optimization: change the configuration file from being read globally to being read independently.
* optimization: change the configuration file from being read globally to being read independently.
* optimization: config file changed to dependency injection.
* fix: replace global config with dependency injection
* fix: replace global config with dependency injection
* fix: import the enough param
* fix: import the enough param
* fix: import the enough param
* fix: fix the component check of path
* fix: fix the kafka of tls is nil problem
* fix: fix the TLS.CACrt is nil error
* fix: fix the valiable shadows problem
* fix: fix the comflect
* optimization: message remove options.
* fix: fix the param pass error
* fix: find error
* fix: find error
* fix: find eror
* fix: find error
* fix: find error
* fix: del the undifined func
* fix: find error
* fix: fix the error
* fix: pass config
* fix: find error
* fix: find error
* fix: find error
* fix: find error
* fix: find error
* fix: fix the config
* fix: fix the error
* fix: fix the config pass error
* fix: fix the eror
* fix: fix the error
* fix: fix the error
* fix: fix the error
* fix: find error
* fix: fix the error
* fix: fix the config
* fix: add return err
* fix: fix the err2
* fix: err
* fix: fix the func
* fix: del the chinese comment
* fix: fix the func
* fix: fix the gateway_test logic
* fix: s3
* test
* test
* fix: not found
---------
Co-authored-by: luhaoling <2198702716@qq.com>
Co-authored-by: withchao <993506633@qq.com>
2024-03-05 17:53:22 +08:00
OpenIM Bot
e8377d9c2c
cicd: bump League Patch ( #1998 )
2024-03-05 02:51:55 +00:00
Xinwei Xiong
33a61f29f2
feat: format openim make lint code ( #1997 )
2024-03-04 13:32:07 +00:00
Xinwei Xiong
02a3cfb021
feat: Introduce Language-Specific Comment Detection Tool and Standardize Log Filename Convention ( #1992 )
...
* feat: optimize openim reset code
* feat: optimize openim reset code
* feat: optimize openim reset code
* feat: optimize openim reset code
* feat: optimize openim reset code
* feat: optimize openim reset code
* feat: optimize openim reset code
* feat: optimize openim reset code
2024-03-04 09:30:17 +00:00
Xinwei Xiong
853ac47e42
feat: Integrate Comprehensive E2E Testing for GoChat ( #1906 )
...
* feat: create e2e test readme
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: fix markdown file
* feat: add openim make lint
* feat: add git chglog pull request
* feat: add git chglog pull request
* fix: fix openim api err code
* fix: fix openim api err code
* fix: fix openim api err code
* feat: Improve CICD
* feat: Combining GitHub and Google Workspace for Effective Project Management'
* feat: fix openim tools error code
* feat: fix openim tools error code
* feat: add openim error handle
* feat: add openim error handle
* feat: optimize tim white prom code return err
* feat: fix openim tools error code
* style: format openim server code style
* feat: add openim optimize commit code
* feat: add openim optimize commit code
* feat: add openim auto format code
* feat: add openim auto format code
* feat: add openim auto format code
* feat: add openim auto format code
* feat: add openim auto format code
* feat: format openim code
* feat: Some of the notes were translated
* feat: Some of the notes were translated
* feat: update openim server code
* feat: optimize openim reset code
* feat: optimize openim reset code
---------
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
2024-03-04 04:12:14 +00:00
xuan
1ef26b29a7
back err_name ( #1976 )
...
Signed-off-by: xuan <146319162+wxuanF@users.noreply.github.com>
2024-03-04 03:18:38 +00:00
xuan
bcc6a95633
Fix lint errors in modified code ( #1966 )
...
* makelint /internal 0228
Signed-off-by: xuan <146319162+wxuanF@users.noreply.github.com>
* Update server.go
---------
Signed-off-by: xuan <146319162+wxuanF@users.noreply.github.com>
2024-02-29 03:52:41 +00:00
chao
d5d2803e76
feat: optimize server code ( #1931 )
...
* fix: GroupApplicationAcceptedNotification
* fix: GroupApplicationAcceptedNotification
* fix: NotificationUserInfoUpdate
* cicd: robot automated Change
* utils.Wrap -> errs.Wrap
* utils.Wrap -> errs.Wrap
---------
Co-authored-by: withchao <withchao@users.noreply.github.com>
2024-02-20 12:56:29 +00:00
Brabem
ee24515761
feat: add getUserToken api and add ex field in getSortedConversationListResp ( #1880 )
...
* fix: del the manager config and manger init statement
* fix: fix the Manger judge condition
* fix: fix revokeMsg error
* fix: find erors
* fix: find error
* fix: fix the AdminAccount error
* fix: del the debug statement
* fix: fix the component check func
* fix: fix the get zkAddress error
* fix: fix the kafka client close error
* fix: add env in minio connected
* fix: del the minio env
* fix: fix the go.mod tools version
* fix: del get env in minio conneted
* feat: add GetUserToken api and add ex field in GetSortedConversationList resp
* fix: fix the go.mod version
* fix: add lack method
* fix: add a method
* fix: add lack implement
* fix: fix the tools pkg version
* fix: del the unuser pkg
* fix: add Limiting judgement of get admin token
2024-02-04 12:13:17 +00:00
chao
bf46412c5a
fix: GroupApplicationRejectedNotification not notification apply for userID ( #1740 )
...
* fix: GroupApplicationAcceptedNotification
* fix: GroupApplicationAcceptedNotification
* fix: NotificationUserInfoUpdate
2024-01-12 03:49:16 +00:00
AndrewZuo01
a2a082f681
update usercommand and fix callback ( #1681 )
...
* update set pin friends
* update set pin friends
* update set pin friends
* update set pin friends
* update set pin friends
* update set pin friends
* fix bugs
* fix bugs
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* Update go.mod
* Update friend.go
* debug
* debug
* debug
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* I cannot solve todo in test.sh
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* Update go.mod
* fix group notification
* fix group notification
* update openimsdk tools
* update openim server remove duplicate code
* update openim server remove duplicate code
* update user command get
* update user command get
* update response of callback response error
* update black ex
* update join group ex
* update user pb2map
* update go sum
* update go sum
* update updateUserInfoEx
* update updateUserInfoEx
* update updateUserInfoEx add callback functions
* fix dismiss group function
* fix dismiss group function
* fix dismiss group function
* fix dismiss group function
* update pin friend to update friend
* fix go mod
* fix err golangci-lint
* fix UserPb2DBMap
* update comments, update go.mod check for register username
* update comments, update go.mod check for register username
* update comments, update go.mod check for register username
* update comments, update go.mod check for register username
* fix callback
* fix go.mod
* fix debug
* fix bugs
* update notification
* update notification
* update notification
* update notification
* update notification
* update notification
* update notification
* update notification
* fix updateUserInfoEx
* fix updateUserInfoEx
* modify go.mod
* fix updateUserInfoEx
* fix updateUserInfoEx
* fix updateUserInfoEx
* update user command notification
* update user command get all notification
* update user command get all notification
* fix type = 0
* fix type = 0
* fix type = 0
* fix type = 0
* fix type = 0
* fix type = 0
* fix typing cause callback
* add ex to usercommand
* add ex to usercommand
* update updatefriends
* fix updatefriend map
* fix updatefriend FriendsInfoUpdateNotification
* fix push online and offline user, but why typing trigger callback push?
* fix push online and offline user, but why typing trigger callback push?
* update user command record not found and user access check
* update user command get all user access check
* update go.mod
* fix callback name and place
* upadtae callback test
* fix callback typing
* fix callback typing
* fix callback typing
* fix callback typing
* fix lint on processusercommand
---------
Co-authored-by: Xinwei Xiong <3293172751@qq.com>
2024-01-10 02:27:03 +00:00
Brabem
d3047d73b6
fix: dissmissGroup and lack of keyword bug ( #1672 )
...
* feat: add GetConversationsUnreadSeqAndMaxSeq func
* feat: add GetConversationsUnreadSeqAndMaxSeq func
* feat: add GetConversationsUnreadSeqAndMaxSeq func
* fix: fix the conflect
* feat: add GetConversationList Api
* fix: fix the error
* fix: move the GetConversationList to conversation folder
* fix: fix the go.mod
* fix: add InitiateFormData and CompleteFormData
* fix: fix the error
* fix: find error
* fix: test
* feat: add notification API
* fix: find error
* fix: fix the error
* fix: fix the PinFriend error
* fix: fix the Ex error
* fix: find the error
* fix: fix the rpc error
* fix: fix the error
* fix: fix the log error
* fix: fix the error1
* fix: fix the error
* fix: fix the script
* fix: fix the error
* fix: fix the error
* fix: fix the error of tag
* fix: fix the protocol
* fix: fix the error
* fix: fix the error
* fix: fix the err not wrap
* fix: fix the error
* fix: fix GetGroupMembers by nickname
* fix: support search userInfo by nickname or userID
* fix: fix the search by nickname error
* fix: fix the mod
2024-01-04 08:04:15 +00:00
AndrewZuo01
87610568ae
add crud for general function user process, add pinFriend ( #1532 )
...
* update set pin friends
* update set pin friends
* update set pin friends
* update set pin friends
* update set pin friends
* update set pin friends
* fix bugs
* fix bugs
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* Update go.mod
* Update friend.go
* debug
* debug
* debug
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* I cannot solve todo in test.sh
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* Update go.mod
* fix group notification
* fix group notification
* update openimsdk tools
* update openim server remove duplicate code
* update openim server remove duplicate code
* update user command get
* update user command get
* update response of callback response error
* update black ex
* update join group ex
* update user pb2map
* update go sum
* update go sum
---------
Co-authored-by: Xinwei Xiong <3293172751@qq.com>
2023-12-18 10:39:58 +00:00
Xinwei Xiong
f1c9686ada
feat: Add OpenIM server, environment support for Docker Compose, and Kubernetes deployment. ( #1559 )
...
* feat: add openim server code
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim env
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim mongo and redis env
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add zk and redis mongo env
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add kafka and redis mongo env
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim docker
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim docker
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim docker
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim copyright
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: docker compose
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: remove openim chat config file
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim config set
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim config set
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: fix Security vulnerability
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: fix Security vulnerability
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: docker compose
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* Update kubernetes.go
* Update discoveryregister.go
* fix: copyright-add
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
---------
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
2023-12-18 02:24:12 +00:00
AndrewZuo01
2cef0f62b3
fix group notification ( #1557 )
2023-12-15 09:14:43 +00:00
chao
c0194f6ef4
feat: Remove MySQL and implement it all with Mongo ( #1508 )
...
* fix: GetUserReqApplicationList error when there is a disbanded group chat
* fix: error when querying some information about disbanded group
* fix: GetUserReqApplicationList dismissed group error
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* merge
* cicd: robot automated Change
* sdkws.MsgData
* user
* interface{} -> any
* user
* third
* group
* group
* group
* group
* group
* group
* conversation
* standalone mysql db model
* tx
* s3
* group
* mongo
* group
* group
* group
* group
* group
* group
* refactor: add openim mysql to mongo refactor
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* refactor: add openim mysql to mongo refactor
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* remove mysql
* remove mysql
* friend
* friend
* friend
* friend
* friend
* friend
* group
* convert
* index
* index
* all
* all
* mysql2mongo
* data conversion
* up35
* up35
* feat: add format set
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* fix: fix scripts
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* merge main
* merge main
* Update init-config.sh
* fix: user args check
---------
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
Co-authored-by: withchao <withchao@users.noreply.github.com>
Co-authored-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
Co-authored-by: Xinwei Xiong <3293172751@qq.com>
2023-12-05 12:53:02 +00:00
AndrewZuo01
0efc235f45
add webhooks ( #1465 )
...
* add callback before join group
* fix bug
* fix deployments/templates/alertmanager.yml
* fix bug
* update callback after join group
* merge callback after join group
* update callback setrgoup info
* test
* test
* test
* update three functions in friend category
* test friend and blacklist
* test
* test
* test
* Update openim.yaml
* merge callback after join group
* merge callback after join group
* merge callback after join group
* fix callbackbeforesetgroupinfo
* fix eventtime
* update api request required
* update api request required
* update api request required
* delete unused code
* delete unused code
* fix
* Update .env
* Update .env
* Update callback.go
* Update callback.go
* Update .env
* Update .env
* fix: merge
* update
* fix: merge
* fix: fix bugs
* update callback enable
* update callback enable
* update callback enable
* update callback enable
* update callback enable
* update callback enable
* Update openim.yaml
* Update environment.sh
* Update environment.md
* Update environment.md
* Update environment.sh
---------
Co-authored-by: Gordon <1432970085@qq.com>
2023-11-30 02:10:48 +00:00
Brabem
02142c55b2
feat: add callback func ( #1480 )
...
* feat:add callback func
* fix: fix the error
* fix: fix the error of repalce
* fix: fix the error of repalce
2023-11-28 07:26:46 +00:00
chao
a32e94b5ae
fix: GetUserReqApplicationList dismissed group error ( #1378 )
...
* fix: GetUserReqApplicationList error when there is a disbanded group chat
* fix: error when querying some information about disbanded group
* fix: GetUserReqApplicationList dismissed group error
2023-11-10 08:39:16 +00:00
chao
a285f02631
fix: error when querying some information about disbanded group ( #1376 )
...
* fix: GetUserReqApplicationList error when there is a disbanded group chat
* fix: error when querying some information about disbanded group
2023-11-10 07:44:28 +00:00
chao
e40aca81dc
fix: GetUserReqApplicationList error when there is a disbanded group chat ( #1374 )
2023-11-10 03:30:33 +00:00
a3d21
1aef30dac4
fix GetUserInGroupMembers nil panic ( #1324 )
2023-11-06 04:21:31 +00:00
a3d21
8a13017665
fix update user.FaceURL do not trigger GroupMemberInfoSetNotification ( #1267 )
...
* fix update user.FaceURL do not trigger GroupMemberInfoSetNotification
* cicd: robot automated Change
---------
Co-authored-by: a3d21 <a3d21@users.noreply.github.com>
2023-10-23 13:27:27 +00:00