Gordon
22f5dd3937
refactor: replace errors into errs.
2024-04-01 15:08:26 +08:00
withchao
519a9153e3
feat: extract kafka
2024-03-29 14:53:19 +08:00
Xinwei Xiong (cubxxw)
2dd52d5274
feat: add oepnim make lint format all code
2024-03-28 00:09:36 +08:00
Gordon
b9c62b20b8
Merge remote-tracking branch 'origin/3.6.1-code-conventions' into 3.6.1-code-conventions
...
# Conflicts:
# internal/msggateway/user_map.go
2024-03-27 16:12:28 +08:00
Gordon
25e71d6b3c
fix: pkg update.
2024-03-27 16:10:58 +08:00
Xinwei Xiong (cubxxw)
3053d4a5ce
fix: fix get functions bug
2024-03-27 14:55:49 +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
177c8b3d59
fix: api and msg gateway update.
2024-03-26 16:01:28 +08:00
Gordon
0bd7269f1e
fix: message gateway update.
2024-03-25 21:17:35 +08:00
withchao
cf635918ae
feat: msg format
2024-03-21 18:14:24 +08:00
Gordon
952160e0c9
refactor: unified naming for module startup functions.
2024-03-19 19:57:33 +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
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
Xinwei Xiong (cubxxw)
843fbdc62b
build: make lint format code
2024-03-19 14:19:38 +08:00
Gordon
993e97019a
refactor: unified naming for module startup functions.
2024-03-19 11:52:38 +08:00
Xinwei Xiong (cubxxw)
f499cecc3c
feat: optimize openim config code
2024-03-18 16:37:35 +08:00
Gordon
3150e5377a
Merge remote-tracking branch 'origin/3.6.1-code-conventions' into 3.6.1-code-conventions
2024-03-18 16:34:28 +08:00
Gordon
269794456a
refactor: unified naming for module startup functions.
2024-03-18 16:34:03 +08:00
Xinwei Xiong (cubxxw)
999d0dfd85
feat: optimize openim config code
2024-03-18 14:45:01 +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
Gordon
1ebd4aa0d9
refactor: separate functions with error containing message and error with only stack trace.
2024-03-15 17:56:40 +08:00
Xinwei Xiong (cubxxw)
1c29734a76
fix: fix user module format code
2024-03-15 14:19:37 +08: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
Gordon
f7e5aab805
refactor: friend rpc config change.
2024-03-14 12:53:21 +08:00
Gordon
a2ff3de7e4
refactor: extract nested structures in the config.
2024-03-14 10:16:26 +08:00
Gordon
1f563fde3a
refactor: extract nested structures in the config.
2024-03-13 21:11:07 +08:00
Xinwei Xiong (cubxxw)
8d3402982d
feat: optimize rpc group
2024-03-13 18:32:33 +08:00
Gordon
7380dd1e0b
refactor: extract nested structures in the config.
2024-03-13 11:22:34 +08: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
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
Brabem
ac8775827d
fix: reconstruct the script of 'make start' 'make stop' and 'make check' ( #1953 )
...
* fix: del the error world
* fix: refactoring scripts
* fix: del nounset
* rm set error
* rm set error
* replace openim::log::info
* replace openim::log::info
* replace openim::log::info
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* fix: fix the error output format
* log
* fix: fix the error
* log
* log
* fix: fi the code error
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* log
* fix: use printf replace the echo
---------
Co-authored-by: skiffer-git <44203734@qq.com>
2024-02-27 09:58:54 +00:00
xuan
b13f2614b8
makelint internal/ ( #1951 )
...
Signed-off-by: xuan <146319162+wxuanF@users.noreply.github.com>
2024-02-25 14:23:29 +00:00
OpenIM Bot
3c738c3b28
cicd: bump League Patch ( #1937 )
2024-02-21 03:30:48 +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
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
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
Gordon
5d1cf8c061
fix: Adjust the logic in multiTerminalLoginChecker to prevent onlineUserNum from decreasing below zero, thereby avoiding negative values. ( #1658 )
...
* fix: add notifications for some notifications.
* fix: modify dismissed group's status.
* fix: Adjust the logic in multiTerminalLoginChecker to prevent onlineUserNum from decreasing below zero, thereby avoiding negative values.
2024-01-03 07:32:42 +00:00
chao
3fffc2f212
feat: support websocket first message method response code ( #1651 )
...
* upgrade package and rtc convert
* upgrade package and rtc convert
* upgrade package and rtc convert
* upgrade package and rtc convert
* friend user
* s3 form data
* s3 form data
* s3 form data
* s3 form data
* s3 form data
* s3 form data
* s3 form data
* s3 form data
* s3 form data
* ws
* ws
* ws
* ws
* ws
2024-01-02 03:51:09 +00:00
AndrewZuo01
998d4a3504
Add updates friend, set user ex ( #1592 )
...
* 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
---------
Co-authored-by: Xinwei Xiong <3293172751@qq.com>
2023-12-28 06:45:27 +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