Gordon
be06145e47
fix: pkg update.
2024-03-27 21:31:02 +08:00
Gordon
ca89004086
fix: pkg update.
2024-03-27 21:28:56 +08:00
withchao
8b3e8ff549
feat: kafka group third
2024-03-27 17:24:39 +08:00
Xinwei Xiong (cubxxw)
aa5f55fb2f
Merge remote-tracking branch 'upstream/main' into 3.6.1-code-conventions
2024-03-27 12:26:21 +08:00
Gordon
1f6f8964dd
fix: discov update.
2024-03-26 19:51:43 +08:00
Gordon
5823b6925b
fix: discov update.
2024-03-26 18:00:08 +08:00
withchao
de4f90c763
feat: kafka
2024-03-21 19:39:23 +08:00
withchao
584c5fc3c4
fix: packet name
2024-03-19 19:00:49 +08:00
Gordon
ab2064c29a
refactor: unified naming for module startup functions.
2024-03-19 18:35:36 +08:00
Gordon
1fa4511fb3
refactor: unified naming for module startup functions.
2024-03-19 18:04:46 +08:00
Xinwei Xiong (cubxxw)
b6759fe604
build: make lint format code
2024-03-19 16:47:34 +08:00
Gordon
1b62cb1b22
refactor: unified naming for module startup functions.
2024-03-19 16:41:09 +08:00
Xinwei Xiong(cubxxw)
1132bce252
feat: format openim config constran
2024-03-19 15:42:33 +08:00
Gordon
7b262510f5
Merge remote-tracking branch 'origin/3.6.1-code-conventions' into 3.6.1-code-conventions
2024-03-19 15:10:52 +08:00
Gordon
56f0cc7489
refactor: unified naming for module startup functions.
2024-03-19 15:10:09 +08:00
Xinwei Xiong(cubxxw)
b0a3cbdf4f
feat: add openim make lint
2024-03-19 15:03:32 +08:00
Xinwei Xiong (cubxxw)
9ce3708a17
build: make lint format code
2024-03-19 15:03:32 +08:00
Xinwei Xiong (cubxxw)
843fbdc62b
build: make lint format code
2024-03-19 14:19:38 +08:00
Xinwei Xiong (cubxxw)
f499cecc3c
feat: optimize openim config code
2024-03-18 16:37:35 +08: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)
96121b0ca0
fix: fix tools erros code
2024-03-15 11:14:44 +08:00
Gordon
415793bcbf
refactor: extract nested structures in the config.
2024-03-14 10:56:18 +08:00
Xinwei Xiong (cubxxw)
8d3402982d
feat: optimize rpc group
2024-03-13 18:32:33 +08:00
OpenIM Bot
c12f9dca7c
cicd: bump League Patch ( #2057 )
2024-03-10 02:24:20 +00:00
chao
b9cf40034c
feat: add local cache for high frequency reads ( #2036 )
...
* feat: msg local cache
* feat: msg local cache
* feat: msg local cache
* feat: msg local cache
* feat: msg local cache
* feat: msg local cache
* fix: mongo
* fix: mongo
* fix: mongo
* openim.yaml
* localcache
* localcache
* localcache
* localcache
* localcache
* localcache
* localcache
* localcache
* localcache
* local cache
* local cache
* local cache
* local cache
* fix: GroupApplicationAcceptedNotification
* fix: GroupApplicationAcceptedNotification
* fix: NotificationUserInfoUpdate
* feat: cache add single-flight and timing-wheel.
* feat: local cache
* feat: local cache
* feat: local cache
* feat: cache add single-flight and timing-wheel.
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: msg rpc local cache
* feat: msg rpc local cache
* feat: msg rpc local cache
* feat: msg rpc local cache
* feat: msg rpc local cache
* feat: msg rpc local cache
* refactor: refactor the code of push and optimization.
* cicd: robot automated Change
* refactor: rename cache.
* merge
* fix: refactor project dir avoid import cycle.
* update tools
* merge
* feat: conversation FindRecvMsgNotNotifyUserIDs
* feat: conversation FindRecvMsgNotNotifyUserIDs
* feat: conversation FindRecvMsgNotNotifyUserIDs
* merge
* merge the latest main
---------
Co-authored-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: withchao <withchao@users.noreply.github.com>
2024-03-08 16:30:47 +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
longyuqing112
88bcabee1c
feat: optimize openim make lint style format ( #1995 )
...
* feat: add openim make lint
* feat: add openim make lint
* feat: add openim make lint
* feat: add openim make lint
* feat: add openim make lint
2024-03-04 10:20:25 +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
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
OpenIM-Gordon
8e6c1d74c7
fix: change consumer group receive messages avoid kafka consumer group always rebalanced. ( #1942 )
2024-02-27 08:44:51 +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
OpenIM Bot
35ad4a9510
cicd: bump League Patch ( #1921 )
2024-02-19 02:19:32 +00:00
Brabem
c754ec6e97
fix: refactoring code of graceful exits ( #1885 )
...
* fix: plant a layer
* fix: print chanal
* fix: print sigs
* fix: print the sigs
* fix: reconstruct exit gracefully
* fix: fix the timeout
* fix: fix the netDone
* fix: fix the process exit
* fix: refactor the elegant startup code
* fix: fix the Signal.Notify
* fix: fix the code
* fix: remove not used header import.
* Update init.go
* fix: fix the InitConfig error
* fix: fix branch name
* fix: fix the signal value
* fix: replace the signal with SIGTERM
* fix: fix the script
* fix: fix the unsolve error
* fix: return the SIGTERM received,shutting down
* fix: fix the tranfer exit error
* fix: fix the error
* fix: replace the SIGnal
* fix: del the error return in tranfer
* fix: fix SIGTERM error
* fix: del the unreachalbe code
* fix: fix the make stop print error
---------
Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
2024-02-18 12:16:47 +00:00
OpenIM-Gordon
c55e03dc70
fix: process add errors wrap. ( #1862 )
...
* fix: process add errors wrap.
* fix: process add errors wrap.
2024-02-02 02:11:13 +00:00
Brabem
32cd79044b
feat: del the manager configure and it's initializestatement ( #1830 )
...
* 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
2024-01-29 11:57:37 +00:00
a3d21
b14c0475d2
fix duplicated offline push ( #1816 )
2024-01-27 02:52:13 +00:00
Xinwei Xiong
d356f7a035
feat(main): 🚀 Database Name Correction and S3 Module Int32 Overflow Fix with Go Routine Integration for Automated Checks and Script Optimization ( #1799 )
...
* feat: replace mongo database openIM_v3 to openim_v3
* openim-building-an-efficient-version-control-and-testing-workflow
* feat: complete openim source deployment rpc start timeout
* feat: optimize config
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add scripts format
* feat: use scripts format code
* fix cos and minio etc to typecheck
* feat: scripts make verify check ci
* fix: make file verify spelling
* fix: make file verify spelling
* Concurrent Type Checking and Cross-Platform Development in Go
* feat: add copyright make lint and format
* feat: add config examples file
Signed-off-by: Xinwei Xiong <3293172751@qq.com>
* feat: add config examples file
Signed-off-by: Xinwei Xiong <3293172751@qq.com>
---------
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
Signed-off-by: Xinwei Xiong <3293172751@qq.com>
2024-01-26 02:02:53 +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
Gordon
de451d4cea
fix: online notifications do not push to herself. ( #1534 )
...
* fix: online notifications do not push to herself.
* fix: online notifications do not push to herself.
* fix: online notifications do not push to herself.
2023-12-25 08:30:18 +00:00
xuexihuang
34ed032af1
K8s environment supports multiple msggateway by consistent hash ( #1600 )
...
* feature:support multi msggateway
* feature:support multi msggateway
* feature:support multi msggateway by hash method
* fix:fix log
* change to consistent hash
* change go.mod
* fix:fix go routine values error
* fix:fix push filter logic
* fix:fix push filter logic
---------
Co-authored-by: lin.huang <lin.huang@apulis.com>
2023-12-25 15:32:07 +08: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
Gordon
60f4f67fb7
fix: online notifications do not push to herself. ( #1528 )
2023-12-06 13:04:48 +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
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
fengyun.rui
eeb16d4116
perf: broadcast msg to all gateway with concurrency ( #1411 )
...
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
2023-11-15 14:24:17 +00:00
chao
2ac54e09a6
fix: the original quoted message is withdrawn and the quoted original message is displayed. ( #1388 )
...
* 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
---------
Co-authored-by: withchao <withchao@users.noreply.github.com>
2023-11-13 12:01:31 +00:00
Xinwei Xiong
e2004c1e9d
☀️ feat: Enhancing OpenIM with Integrated E2E Testing and CI/CD Enhancements ( #1359 )
...
* cicd: robot automated Change
* feat: add api test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add api test make file
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add openim e2e test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add openim e2e test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* fix: Fixed some unused scripts and some names
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* docs: optimize openim docs
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add prom address
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add openim info test
* feat: add openim images config path
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* fix: fix tim file rename
* fix: fix tim file rename
* fix: fix tim file rename
* fix: fix tim file rename
* fix: add openim test e2e
* feat: add openim test .keep
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add openim test .keep
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: openim test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: openim test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: openim test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
---------
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
Co-authored-by: cubxxw <cubxxw@users.noreply.github.com>
2023-11-10 11:37:25 +00:00