426 Commits

Author SHA1 Message Date
withchao
ddf8f0d5cd remove old version online subscription 2024-07-18 17:55:33 +08:00
withchao
ca1b1a2d72 sort version 2024-07-18 17:37:08 +08:00
withchao
1ef057bbe2 sort version 2024-07-18 17:24:52 +08:00
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
5a1d1005cb Merge remote-tracking branch 'origin/main' into allmerge
# Conflicts:
#	config/prometheus.yml
#	go.mod
#	go.sum
2024-07-17 15:21:50 +08:00
icey-yu
dcc0b57382
Feature domain (#2414)
* Revert "fix:log (#2396)"

This reverts commit cc2f993e

* feat: prometheus config and log
2024-07-17 02:31:02 +00: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
14c486b1dd
Merge pull request #9 from icey-yu/prometheus
feat: prometheus
2024-07-15 18:56:25 +08:00
icey-yu
7f4d6def53 feat: prometheus 2024-07-15 18:04:54 +08: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
printlin
ea7e505269
feature: support for Kodo (#2363)
* support for Kodo

* fix mod bug
2024-07-15 03:10:04 +00: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
98b3846d38 Merge remote-tracking branch 'origin/count' into allmerge
# Conflicts:
#	go.mod
#	go.sum
2024-07-10 15:40:02 +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
daaf993d1c Merge remote-tracking branch 'upstream/main' into online
# Conflicts:
#	go.mod
#	go.sum
2024-07-08 10:11:30 +08:00
withchao
c1967a63ca online status 2024-07-05 18:47:48 +08:00
withchao
181107d1d3 Merge branch 'main' into count
# Conflicts:
#	go.mod
#	go.sum
2024-07-05 14:59:09 +08:00
withchao
0a9b53bbe3 rpc prommetrics 2024-07-05 14:19:34 +08:00
icey-yu
cc2f993eab
fix:log (#2396) 2024-07-04 11:58:41 +00:00
withchao
e3ee24df31 api prommetrics 2024-07-04 16:40:09 +08:00
withchao
9151b56fe9 api prommetrics 2024-07-04 16:21:24 +08:00
withchao
6713986887 api prommetrics 2024-07-04 16:15:27 +08:00
withchao
1336b83142 api prommetrics 2024-07-04 16:10:26 +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
f231ea1f21
fix:start (#2389) 2024-07-03 07:39:59 +00: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