1938 Commits

Author SHA1 Message Date
mo3et
13dd41afc6 fix: solve incorrect time.Unix and logger asyncwrite in pre-release-v3.8.4 branch. 2025-09-30 17:54:01 +08:00
Monet Lee
262789887c
fix: switch kafka & etcd image namespace to bitnamilegacy in pre-release-v3.8.4 branch. (#3556) 2025-09-03 16:34:38 +08:00
chao
56fe999b60
Merge pull request #3500 from withchao/pre-release-v3.8.4
fix: admin token in standalone mode (#3499)
2025-08-01 10:59:38 +08:00
chao
9551ae4f74 fix: admin token in standalone mode (#3499)
* fix: performance issues with Kafka caused by encapsulating the MQ interface

* fix: admin token in standalone mode

(cherry picked from commit d817cb0ffd4ad9c540a36b358c71c081e800920b)
2025-08-01 10:57:39 +08:00
chao
4f6d5ebfc9
Merge pull request #3494 from withchao/pre-release-v3.8.4
feat: merge main branch
2025-07-30 10:46:28 +08:00
withchao
e655f6422c feat: merge main branch 2025-07-29 17:35:39 +08:00
withchao
dd5253f015 feat: merge main branch 2025-07-29 17:30:06 +08:00
withchao
08c7461ade Merge remote-tracking branch 'origin/main' into pre-release-v3.8.4
# Conflicts:
#	.env
#	.github/workflows/docker-build-and-release-services-images.yml
#	.github/workflows/merge-from-milestone.yml
#	.github/workflows/update-version-file-on-release.yml
#	README.md
#	README_zh_CN.md
#	cmd/main.go
#	config/discovery.yml
#	config/notification.yml
#	config/openim-api.yml
#	config/openim-msggateway.yml
#	config/openim-msgtransfer.yml
#	config/openim-push.yml
#	config/openim-rpc-auth.yml
#	config/openim-rpc-conversation.yml
#	config/openim-rpc-friend.yml
#	config/openim-rpc-group.yml
#	config/openim-rpc-msg.yml
#	config/openim-rpc-third.yml
#	config/openim-rpc-user.yml
#	config/share.yml
#	config/webhooks.yml
#	deployments/templates/config.yaml
#	docker-compose.yml
#	go.mod
#	go.sum
#	internal/api/init.go
#	internal/api/jssdk/tools.go
#	internal/api/msg.go
#	internal/api/prometheus_discovery.go
#	internal/api/router.go
#	internal/msggateway/init.go
#	internal/msggateway/ws_server.go
#	internal/msgtransfer/init.go
#	internal/msgtransfer/online_history_msg_handler.go
#	internal/msgtransfer/online_msg_to_mongo_handler.go
#	internal/push/push.go
#	internal/rpc/auth/auth.go
#	internal/rpc/conversation/conversation.go
#	internal/rpc/group/group.go
#	internal/rpc/msg/callback.go
#	internal/rpc/msg/server.go
#	internal/rpc/relation/friend.go
#	internal/rpc/relation/notification.go
#	internal/rpc/third/third.go
#	internal/rpc/user/user.go
#	internal/tools/cron/cron_task.go
#	magefile.go
#	pkg/common/cmd/api.go
#	pkg/common/cmd/msg_transfer.go
#	pkg/common/config/config.go
#	pkg/common/discovery/discoveryregister.go
#	pkg/common/prommetrics/prommetrics.go
#	pkg/common/startrpc/start.go
#	pkg/common/storage/database/mgo/cache.go
#	pkg/common/storage/database/mgo/msg_test.go
#	pkg/rpcli/auth.go
#	pkg/rpcli/tool.go
#	pkg/rpcli/user.go
#	test/stress-test-v2/main.go
#	test/stress-test/main.go
#	tools/seq/internal/seq.go
#	version/version
2025-07-29 17:29:08 +08:00
chao
55ebedc452
Merge branch 'openimsdk:main' into main 2025-07-29 16:23:40 +08:00
xuzhijvn
c208c3789f
fix: searchMessage method has potential NPE bug (#3287) (#3289) 2025-07-29 08:16:30 +00:00
chao
2d4cf99744
fix: performance issues with Kafka caused by encapsulating the MQ interface (#3485) 2025-07-28 09:10:38 +00:00
chao
031b37f06f
Merge branch 'openimsdk:main' into main 2025-07-28 16:58:36 +08:00
withchao
eebff88a29 fix: performance issues with Kafka caused by encapsulating the MQ interface 2025-07-28 16:57:58 +08:00
OpenIM-Gordon
b44e56b151
docs: update readme of config file. (#3356) 2025-07-28 07:51:26 +00:00
github-actions[bot]
b19b81b10e
Update CHANGELOG for release v3.8.3-patch.6 (#3473)
Co-authored-by: FGadvancer <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
2025-07-28 07:33:05 +00:00
github-actions[bot]
80de08e8ed
Update CHANGELOG for release v3.8.3-patch.5 (#3405)
Co-authored-by: mo3et <34803812+mo3et@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
2025-07-28 07:29:41 +00:00
Monet Lee
4c9fdf70db
feat: support mongo replicaset mode. (#3433)
* feat: support mongo replicaset mode.

* fix mongo config.
2025-07-28 06:22:40 +00:00
OpenIM-Gordon
d6cd0258a5
fix: correctly aggregate read seqs by conversation and user before DB update. (#3442)
* build: docker compose file add some comments.

* fix: correctly aggregate read seqs by conversation and user before DB update.
2025-07-28 04:11:38 +00:00
OpenIM-Robot
b1837434df
feat: set configs (#3183) (#3243)
Co-authored-by: icey-yu <119291641+icey-yu@users.noreply.github.com>
2025-07-28 11:37:39 +08:00
Monet Lee
becc999d63
fix: solve batch incorrect error in Find DocIDs (#3476) 2025-07-28 03:29:51 +00:00
OpenIM-Gordon
f9475bdd87
fix: added AtUserIDList to the @ message for API sending. (#3472) 2025-07-28 03:18:49 +00:00
github-actions[bot]
839d7d90ac
Update CHANGELOG for release v3.8.3-patch.4 (#3226)
Co-authored-by: mo3et <34803812+mo3et@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
2025-07-28 03:13:35 +00:00
github-actions[bot]
359201a005
Update CHANGELOG for release v3.8.3-patch.3 (#3206)
Co-authored-by: withchao <48119764+withchao@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
2025-07-28 03:10:42 +00:00
github-actions[bot]
865eaa719f
Update CHANGELOG for release v3.8.3-patch.2 (#3175)
Co-authored-by: icey-yu <119291641+icey-yu@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
2025-07-28 03:07:59 +00:00
Monet Lee
097e033347
fix: fix incorrect kicked logic. (#3480)
* fix: fix incorrect ws check logic.

* optimize checkSameToken logic.
2025-07-28 02:57:44 +00:00
github-actions[bot]
3ad24d9521
Update CHANGELOG for release v3.8.3-patch.1 (#3164)
Co-authored-by: withchao <48119764+withchao@users.noreply.github.com>
2025-07-28 02:52:25 +00:00
Monet Lee
230c93cc16
docs: update slack link. (#3479) 2025-07-28 02:46:23 +00:00
Monet Lee
4ae05d2e38
fix: use safe submodule init in workflows. (#3468)
* fix: use safe submodule init in workflows.

* update to latest version.
2025-07-25 07:02:49 +00:00
Monet Lee
b1659ef84d
refactor: support modified config and args in mage. (#3466)
* refactor: support modified config and args in mage.

* fix: update go make version.
2025-07-22 02:24:01 +00:00
Monet Lee
5e813ef079
fix: solve createTime not set in setConversation and Create Conversation. (#3447) 2025-07-08 08:33:39 +00:00
Monet Lee
bd56bd23b8
fix: update log level in crontask dist look. (#3440) 2025-07-08 08:33:25 +00:00
icey-yu
a5ac7f2a81
feat: add nickname for adminUser (#3435)
* feat: add nickname for adminUser

* feat: add nickname for adminUser

* feat: add nickname for adminUser
2025-06-25 03:33:19 +00:00
chao
6912ad6f33
feat: add api logger (#3427)
* pb

* fix: Modifying other fields while setting IsPrivateChat does not take effect

* fix: quote message error revoke

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* upgrading pkg tools

* fix

* fix

* optimize log output

* feat: support GetLastMessage

* feat: support GetLastMessage

* feat: s3 switch

* feat: s3 switch

* fix: GetUsersOnline

* feat: SendBusinessNotification supported configuration parameters

* feat: SendBusinessNotification supported configuration parameters

* feat: SendBusinessNotification supported configuration parameters

* feat: seq conversion failed without exiting

* fix: DeleteDoc crash

* fix: fill send time

* fix: fill send time

* fix: crash caused by withdrawing messages from users who have left the group

* fix: user msg timestamp

* seq read config

* seq read config

* fix: the source message of the reference is withdrawn, and the referenced message is deleted

* feat: optimize the default notification.yml

* fix: shouldPushOffline

* fix: the sorting is wrong after canceling the administrator in group settings

* feat: Sending messages supports returning fields modified by webhook

* feat: Sending messages supports returning fields modified by webhook

* feat: Sending messages supports returning fields modified by webhook

* fix: oss specifies content-type when uploading

* fix: the version number contains a line break

* fix: the version number contains a line break

* feat: GetConversationsHasReadAndMaxSeq support pinned

* feat: GetConversationsHasReadAndMaxSeq support pinned

* feat: GetConversationsHasReadAndMaxSeq support pinned

* fix: transferring the group owner to a muted member, incremental version error

* feat: unified conversion code

* feat: update gomake

* fix: in standalone mode, the user online status is wrong

* fix: add permission check

* fix: add permission check

* fix: add rpc interface permission check

* fix: CreateGroupChatConversations

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* fix: optimize friend and group applications

* feat: add api logger
2025-06-19 03:51:35 +00:00
Monet Lee
53bf8acc21
fix: solve webhook incorrect attentionID references. (#3411) 2025-06-18 06:32:29 +00:00
Monet Lee
8f7b02979d
feat: support redis sentinel. (#3423)
* feat: support redis sentinel.

* update docker compose contents.

* update config contents.

* revert content.

* supoort redisMode.

* update config.

* remvove print.
2025-06-18 06:31:09 +00:00
Monet Lee
1baf9a8e0f
feat: Implement etcd and kafka auth. (#3394)
* feat: Implement etcd and kafka auth.

* Update etcd command contents.

* update contents.

* feat: update auth logic to compatible old version.

* update comment.

* update contents.
2025-06-17 07:33:25 +00:00
Monet Lee
1e2375faca
fix: improve mileston PR workflows contents. (#3382) 2025-06-17 07:12:25 +00:00
icey-yu
545125884e
fix: import friends send notification (#3420) 2025-06-16 02:46:07 +00:00
icey-yu
d156e1e519
fix: prometheus discovery (#3408) 2025-06-11 08:29:44 +00:00
Monet Lee
75367545ea
feat: support distributed lock in crontask. (#3401)
* feat: support distributed lock in crontask.

* remove space.

* remove comment.

* remove log.

* Update logic.

* Update contents.
2025-06-06 06:25:58 +00:00
Monet Lee
04ee509b68
fix: solve incorrect when sendMsg webhook callback after. (#3409)
* fix: solve incorrect when sendMsg webhook callback after.

* remove print.
2025-06-06 03:29:45 +00:00
HonQi
b7ca3bd95f
fix redis config db field (#3395) 2025-06-04 02:46:20 +00:00
chao
e816626b9c
Merge pull request #3390 from withchao/pre-release-v3.8.4
fix: optimize friend and group applications
2025-05-27 15:05:58 +08:00
withchao
4919aaef3d Merge remote-tracking branch 'origin/pre-release-v3.8.4' into pre-release-v3.8.4 2025-05-27 15:04:43 +08:00
chao
fd79302a3b fix: optimize friend and group applications (#3389)
* pb

* fix: Modifying other fields while setting IsPrivateChat does not take effect

* fix: quote message error revoke

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* upgrading pkg tools

* fix

* fix

* optimize log output

* feat: support GetLastMessage

* feat: support GetLastMessage

* feat: s3 switch

* feat: s3 switch

* fix: GetUsersOnline

* feat: SendBusinessNotification supported configuration parameters

* feat: SendBusinessNotification supported configuration parameters

* feat: SendBusinessNotification supported configuration parameters

* feat: seq conversion failed without exiting

* fix: DeleteDoc crash

* fix: fill send time

* fix: fill send time

* fix: crash caused by withdrawing messages from users who have left the group

* fix: user msg timestamp

* seq read config

* seq read config

* fix: the source message of the reference is withdrawn, and the referenced message is deleted

* feat: optimize the default notification.yml

* fix: shouldPushOffline

* fix: the sorting is wrong after canceling the administrator in group settings

* feat: Sending messages supports returning fields modified by webhook

* feat: Sending messages supports returning fields modified by webhook

* feat: Sending messages supports returning fields modified by webhook

* fix: oss specifies content-type when uploading

* fix: the version number contains a line break

* fix: the version number contains a line break

* feat: GetConversationsHasReadAndMaxSeq support pinned

* feat: GetConversationsHasReadAndMaxSeq support pinned

* feat: GetConversationsHasReadAndMaxSeq support pinned

* fix: transferring the group owner to a muted member, incremental version error

* feat: unified conversion code

* feat: update gomake

* fix: in standalone mode, the user online status is wrong

* fix: add permission check

* fix: add permission check

* fix: add rpc interface permission check

* fix: CreateGroupChatConversations

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* fix: optimize friend and group applications

(cherry picked from commit 812c1e41271750306c3b4705c555a0bc7913aaa4)
2025-05-27 15:04:30 +08:00
chao
812c1e4127
fix: optimize friend and group applications (#3389)
* pb

* fix: Modifying other fields while setting IsPrivateChat does not take effect

* fix: quote message error revoke

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* upgrading pkg tools

* fix

* fix

* optimize log output

* feat: support GetLastMessage

* feat: support GetLastMessage

* feat: s3 switch

* feat: s3 switch

* fix: GetUsersOnline

* feat: SendBusinessNotification supported configuration parameters

* feat: SendBusinessNotification supported configuration parameters

* feat: SendBusinessNotification supported configuration parameters

* feat: seq conversion failed without exiting

* fix: DeleteDoc crash

* fix: fill send time

* fix: fill send time

* fix: crash caused by withdrawing messages from users who have left the group

* fix: user msg timestamp

* seq read config

* seq read config

* fix: the source message of the reference is withdrawn, and the referenced message is deleted

* feat: optimize the default notification.yml

* fix: shouldPushOffline

* fix: the sorting is wrong after canceling the administrator in group settings

* feat: Sending messages supports returning fields modified by webhook

* feat: Sending messages supports returning fields modified by webhook

* feat: Sending messages supports returning fields modified by webhook

* fix: oss specifies content-type when uploading

* fix: the version number contains a line break

* fix: the version number contains a line break

* feat: GetConversationsHasReadAndMaxSeq support pinned

* feat: GetConversationsHasReadAndMaxSeq support pinned

* feat: GetConversationsHasReadAndMaxSeq support pinned

* fix: transferring the group owner to a muted member, incremental version error

* feat: unified conversion code

* feat: update gomake

* fix: in standalone mode, the user online status is wrong

* fix: add permission check

* fix: add permission check

* fix: add rpc interface permission check

* fix: CreateGroupChatConversations

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* fix: optimize friend and group applications
2025-05-27 07:01:09 +00:00
chao
2c8379a988
Merge pull request #3387 from withchao/pre-release-v3.8.4
feat: optimize friend and group applications (#3384)
2025-05-26 10:24:39 +08:00
chao
8846cbbd31 feat: optimize friend and group applications (#3384)
* pb

* fix: Modifying other fields while setting IsPrivateChat does not take effect

* fix: quote message error revoke

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* upgrading pkg tools

* fix

* fix

* optimize log output

* feat: support GetLastMessage

* feat: support GetLastMessage

* feat: s3 switch

* feat: s3 switch

* fix: GetUsersOnline

* feat: SendBusinessNotification supported configuration parameters

* feat: SendBusinessNotification supported configuration parameters

* feat: SendBusinessNotification supported configuration parameters

* feat: seq conversion failed without exiting

* fix: DeleteDoc crash

* fix: fill send time

* fix: fill send time

* fix: crash caused by withdrawing messages from users who have left the group

* fix: user msg timestamp

* seq read config

* seq read config

* fix: the source message of the reference is withdrawn, and the referenced message is deleted

* feat: optimize the default notification.yml

* fix: shouldPushOffline

* fix: the sorting is wrong after canceling the administrator in group settings

* feat: Sending messages supports returning fields modified by webhook

* feat: Sending messages supports returning fields modified by webhook

* feat: Sending messages supports returning fields modified by webhook

* fix: oss specifies content-type when uploading

* fix: the version number contains a line break

* fix: the version number contains a line break

* feat: GetConversationsHasReadAndMaxSeq support pinned

* feat: GetConversationsHasReadAndMaxSeq support pinned

* feat: GetConversationsHasReadAndMaxSeq support pinned

* fix: transferring the group owner to a muted member, incremental version error

* feat: unified conversion code

* feat: update gomake

* fix: in standalone mode, the user online status is wrong

* fix: add permission check

* fix: add permission check

* fix: add rpc interface permission check

* fix: CreateGroupChatConversations

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* feat: optimize friend and group applications

(cherry picked from commit 8e61f30e9c59916671e4a75844dcc0a4dfcd5d8a)

# Conflicts:
#	go.mod
#	go.sum
2025-05-26 10:21:36 +08:00
chao
8e61f30e9c
feat: optimize friend and group applications (#3384)
* pb

* fix: Modifying other fields while setting IsPrivateChat does not take effect

* fix: quote message error revoke

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* refactoring scheduled tasks

* upgrading pkg tools

* fix

* fix

* optimize log output

* feat: support GetLastMessage

* feat: support GetLastMessage

* feat: s3 switch

* feat: s3 switch

* fix: GetUsersOnline

* feat: SendBusinessNotification supported configuration parameters

* feat: SendBusinessNotification supported configuration parameters

* feat: SendBusinessNotification supported configuration parameters

* feat: seq conversion failed without exiting

* fix: DeleteDoc crash

* fix: fill send time

* fix: fill send time

* fix: crash caused by withdrawing messages from users who have left the group

* fix: user msg timestamp

* seq read config

* seq read config

* fix: the source message of the reference is withdrawn, and the referenced message is deleted

* feat: optimize the default notification.yml

* fix: shouldPushOffline

* fix: the sorting is wrong after canceling the administrator in group settings

* feat: Sending messages supports returning fields modified by webhook

* feat: Sending messages supports returning fields modified by webhook

* feat: Sending messages supports returning fields modified by webhook

* fix: oss specifies content-type when uploading

* fix: the version number contains a line break

* fix: the version number contains a line break

* feat: GetConversationsHasReadAndMaxSeq support pinned

* feat: GetConversationsHasReadAndMaxSeq support pinned

* feat: GetConversationsHasReadAndMaxSeq support pinned

* fix: transferring the group owner to a muted member, incremental version error

* feat: unified conversion code

* feat: update gomake

* fix: in standalone mode, the user online status is wrong

* fix: add permission check

* fix: add permission check

* fix: add rpc interface permission check

* fix: CreateGroupChatConversations

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* feat: optimize friend and group applications

* feat: optimize friend and group applications
2025-05-26 02:06:35 +00:00
chao
6d80e6ec12
Merge pull request #3378 from withchao/pre-release-v3.8.4
fix: add rpc interface permission check
2025-05-22 17:28:13 +08:00