1723 Commits

Author SHA1 Message Date
Sai Asish Y
0458fbd8ad
Merge aa2cade54f15faaf394c227c82f638f3b1f47d91 into d16a617ba8ff690cb668558bb2e597b4f3cbecf6 2026-05-02 02:21:35 +00:00
SAY-5
aa2cade54f ci: retrigger after transient gha outage
Signed-off-by: SAY-5 <say.apm35@gmail.com>
2026-05-01 19:21:30 -07:00
SAY-5
30b7814aaf pkg/tools/batcher: stop scheduler panicking when b.data is closed externally
scheduler()'s defer unconditionally calls close(b.data). If the channel
was closed by the caller (or an upstream producer) instead of via the
normal Close()-sends-nil path, the receive on b.data returns ok == false,
scheduler returns, and the deferred close(b.data) then fires on an
already-closed channel:

    panic: close of closed channel

reliably reproducible under the #3653 steps (manually closing b.data
while Start() is running).

Track whether we observed the external-close via a local
`externallyClosed` flag set in the `ok == false` branch. The defer
only closes b.data when that flag is false, i.e. when the scheduler
exited through the nil-message or ticker paths and still owns the
channel. No behaviour change on the graceful Close() path.

Fixes #3653
2026-04-20 03:08:42 -07:00
dsx137
d16a617ba8
feat: gomake upgrade (#3702) 2026-03-19 04:09:02 +00:00
icey-yu
942d155d2d
feat: update protocol support botPlatform (#3696) 2026-03-11 05:44:36 +00:00
chao
b7200c163c
feat: add error code for handled friend requests and improve error handling in friend operations (#3670)
* fix: performance issues with Kafka caused by encapsulating the MQ interface

* fix: admin token in standalone mode

* fix: full id version

* fix: resolve deadlock in cache eviction and improve GetBatch implementation

* refactor: replace LongConn with ClientConn interface and simplify message handling

* refactor: replace LongConn with ClientConn interface and simplify message handling

* fix: seq use $setOnInsert for min_seq in conversation update

* feat: add error code for handled friend requests and improve error handling in friend operations
2026-01-22 08:34:00 +00:00
神奇bug在哪里
579db3bd48
bugfix(conversation):removed unexpectedly called functions and itself to avoid out of index query. (#3668)
# Conflicts:
#	internal/rpc/conversation/conversation.go
#	pkg/common/storage/database/mgo/conversation.go
2026-01-21 10:10:29 +00:00
chao
a0e6d9aa69
fix: Mongo Malloc upsert overwrites min_seq initialization (#3657)
* fix: performance issues with Kafka caused by encapsulating the MQ interface

* fix: admin token in standalone mode

* fix: full id version

* fix: resolve deadlock in cache eviction and improve GetBatch implementation

* refactor: replace LongConn with ClientConn interface and simplify message handling

* refactor: replace LongConn with ClientConn interface and simplify message handling

* fix: seq use $setOnInsert for min_seq in conversation update
2026-01-15 06:24:17 +00:00
dsx137
fbca49d431
fix(group): set max_seq to 0 when join group (#3649) 2025-12-31 10:02:38 +00:00
dsx137
0a93fb1b6d
fix(group): move member count retrieval after member deletion for accurate updates (#3651) 2025-12-31 10:01:51 +00:00
chao
78b255396f
feat: replace LongConn with ClientConn interface and simplify message handling (#3643)
* fix: performance issues with Kafka caused by encapsulating the MQ interface

* fix: admin token in standalone mode

* fix: full id version

* fix: resolve deadlock in cache eviction and improve GetBatch implementation

* refactor: replace LongConn with ClientConn interface and simplify message handling

* refactor: replace LongConn with ClientConn interface and simplify message handling
2025-12-25 08:27:16 +00:00
ribin2333
6f33c0a515
fix: reset user conversation seq when rejoining group to resolve message recall issue (#3640)
* fix: reset user conversation seq when rejoining group to resolve message recall issue

* fix: refactor setMemberJoinSeq based on review feedback

* group: 入群个人上限重置为不受限值;退出个人上限固化;通知控制入群 minSeq
2025-12-23 06:37:32 +00:00
Gagan Singh
c97d63754b
Simplify iOS background push gating (#3611) (#3612) 2025-12-15 09:16:29 +00:00
chao
1b8a3b0b75
fix: resolve deadlock in cache eviction and improve GetBatch implementation and full id version (#3591)
* fix: performance issues with Kafka caused by encapsulating the MQ interface

* fix: admin token in standalone mode

* fix: full id version

* fix: resolve deadlock in cache eviction and improve GetBatch implementation
2025-12-12 08:24:39 +00:00
icey-yu
b8c4b459fa
merge: pre-release-v3.8.4 (#3623)
* merge: pre-release-v3.8.4

* merge: v3.8.4
2025-11-25 08:23:22 +00:00
Monet Lee
07badb162f
​Build: Implement rate limiting and circuit breaker for API and RPC services.​​ (#3572)
* feat: implement ratelimit and circuitbreaker in middleware.

* ​Build: Implement rate limiting and circuit breaker for API and RPC services.​​

* revert change.

* update ratelimiter and circuitbreaker config.

* update tools to openimsdk tools
2025-11-05 07:12:06 +00:00
Monet Lee
3a1c8df3b9
fix: solve msg wsHandler panic. (#3595) 2025-11-05 06:30:11 +00:00
Monet Lee
0e3879aad6
feat: implement DeleteConversations interface. (#3549)
* feat: implement DeleteConversations interface.

* remove unused comment.

* update logic and rename method.
2025-11-05 06:16:23 +00:00
Monet Lee
390d253cea
Fix: Resolved the issue of incorrect generation of conversationID (#3581) 2025-11-05 02:43:51 +00:00
Monet Lee
cbd29a71de
build: add sdk version log when registerClient (#3574) 2025-11-04 06:55:32 +00:00
Monet Lee
ea6b7eb525
build: improve publish docker image workflow. (#3552) 2025-11-04 06:54:43 +00:00
Monet Lee
b36f00f2ad
feat: add msgDBSave webhook when data save to DB. (#3578)
* feat: add msgDBSave webhook when data save to DB.

* update callback args condition.

* remove unused contents.
2025-11-04 04:18:06 +00:00
Monet Lee
7d6682ca4b
fix: update JSON field names to camelCase in conversation structs (#3609) 2025-10-31 06:39:16 +00:00
icey-yu
11358404f9
fix: db manager (#3600) 2025-10-23 07:56:09 +00:00
Monet Lee
277da378ea
fix: solve incorrect time.Unix and logger asyncwrite (#3584) 2025-10-07 01:53:30 +00:00
Monet Lee
bf0289075b
fix: switch kafka & etcd image namespace to bitnamilegacy (#3555) 2025-09-03 08:16:06 +00:00
Monet Lee
219fb04f03
build: comment admin services. (#3537) 2025-08-28 04:15:11 +00:00
Monet Lee
6856a864d0
feat: implement auth local cache. (#3533)
* feat: add auth local cache.

* feat: implement auth local cache.

* feat: improve auth localcache.
2025-08-28 03:26:02 +00:00
Monet Lee
349a8cd9af
fix: nil pointer when chatlog not found. (#3531) 2025-08-19 09:22:09 +00:00
Monet Lee
929c6704f3
fix: solve incorrect batchGetIncrGroupMember when group dismissed. (#3526) 2025-08-19 09:20:58 +00:00
icey-yu
68a735ba99
feat: enable redis aof-use-rdb-preamble && disable auto rdb (#3529) 2025-08-19 08:23:27 +00:00
OpenIM-Gordon
123abe9803
fix: fill in the most recent sendTime for a gap message to prevent the client from repeatedly retrieving the same message due to sendTime being 0. (#3522) 2025-08-14 06:16:50 +00:00
Monet Lee
34971c8b96
fix: optimize to lru local cache. (#3514)
* fix: optimize to lru  local cache.

* revert lock timing.
2025-08-14 02:19:11 +00:00
Monet Lee
d542df7000
fix: revert contentType in API msg (#3509) 2025-08-13 09:01:27 +00:00
chao
d817cb0ffd
fix: admin token in standalone mode (#3499)
* fix: performance issues with Kafka caused by encapsulating the MQ interface

* fix: admin token in standalone mode
2025-08-01 02:48:25 +00: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
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
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