513 Commits

Author SHA1 Message Date
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
withchao
6a6c712f52 merge 2024-07-15 16:12:44 +08:00
withchao
4ca7d2f7ed Merge remote-tracking branch 'origin/main' into allmerge
# Conflicts:
#	go.mod
#	go.sum
#	internal/api/router.go
#	pkg/common/storage/database/name.go
2024-07-15 16:10:14 +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
Gordon
29837c95a1 fix: change incremental syncer router name. 2024-07-11 18:17:50 +08:00
withchao
ec7bebfb86 GetOwnerConversation 2024-07-11 10:52:18 +08:00
Monet Lee
28898f5b79
feat: implement server-initiated heartbeat in msgGateway module (#2404)
* feat: implement send ping msg when platform is web in gateway.

* add context life cycle control.

* feat: implement heartbeat logic in msggateway.

* update heartbeat logic.

* update to correct method name and comment.

* update initiate heartbeat logic.

* rename ws_server

* update writePingMsg logic

* update log level to warn.
2024-07-10 07:48:12 +00:00
withchao
1d54c61b8c merge seq 2024-07-10 15:42:52 +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
e17f0c95aa conversation version incremental 2024-07-10 14:44:26 +08:00
withchao
9a4f5f78cb sub 2024-07-09 14:26:55 +08:00
withchao
b53a26d2ca online status 2024-07-08 10:04:31 +08:00
withchao
c1967a63ca online status 2024-07-05 18:47:48 +08:00
withchao
0a9b53bbe3 rpc prommetrics 2024-07-05 14:19:34 +08:00
withchao
c1d66faa10 api prommetrics 2024-07-04 16:36:20 +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
a9ab9baa23 resolving conflicts 2024-07-04 10:36:18 +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
withchao
fcda73f4bc online push 2024-07-04 10:16:31 +08:00
withchao
e791cbde96 online push 2024-07-03 15:06:09 +08:00
Monet Lee
a421bd11bb fix uncorrect args call. 2024-07-03 11:14:38 +08:00
Monet Lee
686ccae18d remove unnesseary incr. 2024-07-03 11:10:33 +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
withchao
3df39a8382 online cache 2024-07-02 16:43:43 +08:00
withchao
dcd874979e online cache 2024-07-02 16:16:11 +08:00
withchao
1bfaf3e2d9 online cache 2024-07-02 15:56:20 +08:00
withchao
f87ee44459 online cache 2024-07-02 15:52:57 +08:00
withchao
6e2659c64a online cache 2024-07-02 15:46:57 +08:00
withchao
28c8b78b31 online cache 2024-07-02 15:33:31 +08:00
withchao
9388cb61e8 online cache 2024-07-02 15:25:43 +08:00
withchao
32c5f65d2f online cache 2024-07-02 14:32:58 +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
45b07bc3cc online cache 2024-07-01 17:23:35 +08: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
3ef62d4aa5 fix 2024-06-28 16:57:01 +08:00
withchao
affa909e17 fix 2024-06-28 16:31:53 +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