70 Commits

Author SHA1 Message Date
withchao
8b32ce7144 Merge remote-tracking branch 'origin/main' into allmerge 2024-07-18 17:03:47 +08:00
withchao
ae06f16c5a sort version 2024-07-18 16:58:46 +08:00
withchao
d521f0b031 fix: redis pipe exec 2024-07-17 21:43:10 +08:00
withchao
059902020d group member sort 2024-07-17 10:27:59 +08:00
chao
4aaf496086
feat: new features merged (#2409)
* 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

* seq

* update: go mod

* refactor: change incremental to full

* feat: get full friend user ids

* feat: api and config

* seq

* group version

* merge

* seq

* seq

* seq

* 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

* seq

* seq

* seq user

* user online

* implement minio expire delete.

* user online

* config

* fix

* fix

* implement minio expire delete logic.

* online cache

* online cache

* online cache

* online cache

* online cache

* online cache

* online cache

* online cache

* online cache

* online cache

* online cache

* online cache

* feat: implement scheduled delete outdated object in minio.

* update gomake version

* update gomake version

* implement FindExpires pagination.

* remove unnesseary incr.

* fix uncorrect args call.

* online push

* online push

* online push

* resolving conflicts

* resolving conflicts

* test

* api prommetrics

* api prommetrics

* api prommetrics

* api prommetrics

* api prommetrics

* rpc prommetrics

* rpc prommetrics

* online status

* online status

* online status

* online status

* sub

* conversation version incremental

* merge seq

* merge online

* merge online

* merge online

* merge seq

* GetOwnerConversation

* fix: change incremental syncer router name.

* rockscache batch get

* rockscache seq batch get

* fix: GetMsgDocModelByIndex bug

* update go.mod

* update go.mod

* merge

* feat: prometheus

* feat: prometheus

---------

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-16 02:46:21 +00:00
chao
5f52fa19bd
feat: incremental synchronization of session list (#2408)
* 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

* update gomake version

* update gomake version

* conversation version incremental

* GetOwnerConversation

* fix: change incremental syncer router name.

* fix: GetMsgDocModelByIndex bug

* update go.mod

---------

Co-authored-by: withchao <withchao@users.noreply.github.com>
Co-authored-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
2024-07-15 07:35:27 +00:00
withchao
68c41ba432 update go.mod 2024-07-15 15:04:03 +08:00
withchao
0e7687c4a4 Merge remote-tracking branch 'origin/convincr' into allmerge
# Conflicts:
#	internal/api/router.go
#	internal/msggateway/client.go
2024-07-15 14:45:02 +08:00
withchao
1e5e87b7e3 Merge remote-tracking branch 'origin/main' into convincr 2024-07-15 11:11:37 +08:00
withchao
3d7090e2f6 fix: GetMsgDocModelByIndex bug 2024-07-15 11:05:34 +08:00
withchao
a7d1a5351c rockscache seq batch get 2024-07-12 18:44:20 +08:00
withchao
326dc3836c rockscache batch get 2024-07-11 18:47:25 +08:00
withchao
ec7bebfb86 GetOwnerConversation 2024-07-11 10:52:18 +08:00
withchao
4875a34ff4 Merge branch 'convincr' into allmerge
# Conflicts:
#	pkg/common/storage/database/name.go
2024-07-10 15:41:55 +08:00
withchao
65d4fc7f81 Merge branch 'online' into allmerge
# Conflicts:
#	go.mod
#	go.sum
2024-07-10 15:20:41 +08:00
withchao
df808658b2 Merge branch 'seq38' into allmerge
# Conflicts:
#	go.mod
#	go.sum
2024-07-10 15:18:02 +08:00
withchao
e17f0c95aa conversation version incremental 2024-07-10 14:44:26 +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
67d17c82d5 online status 2024-07-08 11:09:03 +08:00
withchao
97636c4c7a test 2024-07-04 10:51:26 +08:00
withchao
f315177a93 Merge branch 'seq38' into online
# Conflicts:
#	go.mod
#	go.sum
#	internal/tools/cron_task.go
#	pkg/common/config/config.go
2024-07-04 10:33:21 +08: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
withchao
3167780620 online cache 2024-07-01 16:29:13 +08:00
Monet Lee
dac8fba11f implement minio expire delete logic. 2024-06-28 17:59:57 +08:00
withchao
8f86049599 user online 2024-06-28 16:18:21 +08:00
Monet Lee
2b2a75f19e implement minio expire delete. 2024-06-28 15:29:03 +08:00
withchao
8f0403e67c user online 2024-06-26 18:19:38 +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