48 Commits

Author SHA1 Message Date
withchao
df808658b2 Merge branch 'seq38' into allmerge
# Conflicts:
#	go.mod
#	go.sum
2024-07-10 15:18:02 +08:00
icey-yu
213613cf54
Fix token (#2403)
* fix:log config

* fix: token update expire time
2024-07-09 10:17:44 +00:00
Monet Lee
407a117a05
fix: remove repeat append logic. (#2400) 2024-07-08 04:34:46 +00:00
withchao
c5cf078cd6 resolving conflicts 2024-07-04 10:29:33 +08:00
withchao
73a9265957 Merge remote-tracking branch 'origin/main' into seq38
# Conflicts:
#	go.mod
#	go.sum
#	internal/api/friend.go
#	internal/rpc/group/sync.go
#	pkg/common/storage/cache/redis/seq.go
#	pkg/common/storage/controller/group.go
#	pkg/common/storage/database/mgo/group_member.go
#	pkg/common/storage/database/name.go
2024-07-04 10:26:48 +08:00
icey-yu
95df4194ca
Optimize get conversation seq (#2387)
* feat:optimize GetConversationsHasReadAndMaxSeq

* fix:get max seqs

* fix:get max seqs

* fix:get max seqs

* fix:get max seqs
2024-07-03 06:25:10 +00:00
Monet Lee
a421bd11bb fix uncorrect args call. 2024-07-03 11:14:38 +08:00
Monet Lee
7897044e28 implement FindExpires pagination. 2024-07-03 11:03:03 +08:00
Monet Lee
330611796c feat: implement scheduled delete outdated object in minio. 2024-07-02 18:10:27 +08:00
chao
88c0d5f5ad
feat: support incremental synchronization (#2379)
* fix: GroupApplicationAcceptedNotification

* fix: GroupApplicationAcceptedNotification

* fix: NotificationUserInfoUpdate

* cicd: robot automated Change

* fix: component

* fix: getConversationInfo

* feat: cron task

* feat: cron task

* feat: cron task

* feat: cron task

* feat: cron task

* fix: minio config url recognition error

* new mongo

* new mongo

* new mongo

* new mongo

* new mongo

* new mongo

* new mongo

* new mongo

* friend incr sync

* friend incr sync

* friend incr sync

* friend incr sync

* friend incr sync

* mage

* optimization version log

* optimization version log

* sync

* sync

* sync

* group sync

* sync option

* sync option

* refactor: replace `friend` package with `realtion`.

* refactor: update lastest commit to relation.

* sync option

* sync option

* sync option

* sync

* sync

* go.mod

* update: go mod

* refactor: change incremental to full

* feat: get full friend user ids

* feat: api and config

* group version

* merge

* fix: sort by id avoid unstable sort friends.

* group

* group

* group

* fix: sort by id avoid unstable sort friends.

* fix: sort by id avoid unstable sort friends.

* fix: sort by id avoid unstable sort friends.

* user version

* fix: sort by id avoid unstable sort friends.

* test: test log add.

* test: debug log remove.

* fix: transfer group owner incr version more than 1.

* fix: add condition to kick owner.

* feat: replace resp nil

* feat: replace nil

* fix: delete cache of max group joined version avoid sync joined group failed.

* fix: nil

* fix: delete cache of max group joined version avoid sync joined group failed.

* fix: delete cache of max group joined version avoid sync joined group failed.

* return group information for any changes

* online cache

---------

Co-authored-by: withchao <withchao@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: icey-yu <1186114839@qq.com>
2024-07-01 09:38:14 +00:00
Monet Lee
dac8fba11f implement minio expire delete logic. 2024-06-28 17:59:57 +08:00
Monet Lee
2b2a75f19e implement minio expire delete. 2024-06-28 15:29:03 +08:00
withchao
9b043feca7 seq user 2024-06-24 17:34:49 +08:00
icey-yu
d6606152ee
fix:create auth token can add expire time (#2352)
* fix:create auth token can add expire time

* refactor:move expire time calculate into cache from controller
2024-06-24 08:11:19 +00:00
withchao
8e3890ed88 seq 2024-06-21 18:24:30 +08:00
withchao
2d2941a526 seq 2024-06-20 15:56:02 +08:00
withchao
ac9f4f667d Merge remote-tracking branch 'origin/list' into seq38 2024-06-20 15:23:00 +08:00
withchao
88c1510be7 Merge remote-tracking branch 'origin/list' into list 2024-06-20 14:57:47 +08:00
withchao
03d4564596 user version 2024-06-20 14:55:59 +08:00
Gordon
4f359b7335 fix: sort by id avoid unstable sort friends. 2024-06-19 20:35:32 +08:00
Gordon
5006af5b54 fix: sort by id avoid unstable sort friends. 2024-06-19 20:28:09 +08:00
Gordon
924888dbd1 fix: sort by id avoid unstable sort friends. 2024-06-19 20:17:28 +08:00
withchao
7182298d2f Merge remote-tracking branch 'origin/list' into seq38 2024-06-19 17:00:15 +08:00
withchao
08cb4a948d group 2024-06-19 16:28:28 +08:00
Gordon
aff8322bc5 fix: sort by id avoid unstable sort friends. 2024-06-18 21:04:03 +08:00
withchao
cce382d0c3 seq 2024-06-18 18:06:40 +08:00
withchao
a2a28b43c5 seq 2024-06-18 16:46:06 +08:00
withchao
d55d416f68 seq 2024-06-17 17:41:28 +08:00
withchao
a41c8c6a9d group version 2024-06-17 15:28:09 +08:00
withchao
fe4842b496 seq 2024-06-14 18:49:05 +08:00
withchao
ef71d0cf62 seq 2024-06-14 10:54:24 +08:00
withchao
caebdf32ca sync 2024-06-11 18:38:36 +08:00
withchao
58c4c13cf1 sync 2024-06-07 17:45:41 +08:00
withchao
a1523f47e7 sync option 2024-06-06 15:28:03 +08:00
withchao
8e1d0c5a1f Merge remote-tracking branch 'origin/list' into list
# Conflicts:
#	internal/rpc/friend/black.go
#	internal/rpc/friend/callback.go
#	internal/rpc/friend/convert.go
#	internal/rpc/friend/friend.go
#	internal/rpc/friend/notification.go
#	internal/rpc/friend/sync.go
#	internal/rpc/user/user.go
2024-06-06 09:55:24 +08:00
withchao
6285b688a2 sync option 2024-06-06 09:45:44 +08:00
Monet Lee
7821f5f265
Merge branch 'list' into list 2024-06-05 11:37:56 +08:00
Monet Lee
cfd07b1a98
Merge branch 'openimsdk:main' into list 2024-06-05 11:22:47 +08:00
withchao
7e13faaa98 sync option 2024-06-04 19:11:16 +08:00
withchao
693935237a sync option 2024-06-04 17:31:49 +08:00
withchao
1b5621bc09 group sync 2024-06-03 18:44:42 +08:00
OpenIM-Gordon
973442e3d3
refactor: db cache batch refactor and batch consume message. (#2325)
* refactor: cmd update.

* refactor: msg transfer refactor.

* refactor: msg transfer refactor.

* refactor: msg transfer refactor.

* fix: read prometheus port when flag set to enable and prevent failure during startup.

* fix: notification has counted unread counts bug fix.

* fix: merge opensource code into local.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* refactor: delete message and message batch use lua.

* fix: add protective measures against memory overflow.
2024-06-03 03:24:37 +00:00
withchao
cfc01bb3d9 sync 2024-05-31 18:41:34 +08:00
withchao
0f72de85b2 optimization version log 2024-05-30 15:49:34 +08:00
withchao
0aaf8b93a0 optimization version log 2024-05-30 15:41:45 +08:00
withchao
eb362daaf2 mage 2024-05-30 15:07:42 +08:00
withchao
10315e9f86 Merge branch 'main' into list
# Conflicts:
#	internal/rpc/user/user.go
#	pkg/common/convert/user.go
#	pkg/common/storage/cache/redis/friend.go
#	pkg/common/storage/controller/friend.go
#	pkg/common/storage/database/friend.go
#	pkg/common/storage/database/mgo/friend.go
#	pkg/common/storage/database/mgo/mongo_test.go
2024-05-30 14:40:46 +08:00
OpenIM-Gordon
76d9688a54
refactor: db refactor and cache key add. (#2320)
* refactor: db refactor and cache key add.

* refactor: db refactor and cache key add.

* refactor: go version update.

* refactor: file name change.
2024-05-27 03:58:36 +00:00