1578 Commits

Author SHA1 Message Date
withchao
daf263962e Merge remote-tracking branch 'origin/main' into allmerge 2024-07-19 16:09:37 +08:00
chao
4d42fe9e66
Merge branch 'openimsdk:main' into main 2024-07-19 16:09:07 +08:00
icey-yu
6c8ac45137
Feat metrics (#2429)
* feat: register and alert

* feat: grafana
2024-07-19 08:08:39 +00:00
chao
d945a07549
feat: group members, friends sorting version, client online subscription (#2427)
* 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

* group member sort

* sub

* sub

* fix: seq conversion bug

* fix: redis pipe exec

* sort version

* sort version

* sort version

* remove old version online subscription

* remove old version online subscription

* version log index

---------

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-19 02:47:55 +00:00
withchao
187903e3c3 version log index 2024-07-18 18:10:54 +08:00
withchao
f8394d4fd8 remove old version online subscription 2024-07-18 18:05:09 +08:00
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
chao
091f9c3f1d
Merge branch 'openimsdk:main' into main 2024-07-18 17:02:55 +08:00
withchao
ae06f16c5a sort version 2024-07-18 16:58:46 +08:00
chao
01f62c8baf
fix: redis pipe exec (#2421)
* 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

* fix: seq conversion bug

* fix: redis pipe exec

---------

Co-authored-by: withchao <withchao@users.noreply.github.com>
2024-07-17 13:47:02 +00:00
chao
87b88e0715
Merge branch 'openimsdk:main' into main 2024-07-17 21:43:30 +08:00
withchao
d521f0b031 fix: redis pipe exec 2024-07-17 21:43:10 +08:00
chao
44ecbd776f
fix: seq conversion bug (#2419)
* 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

* fix: seq conversion bug

---------

Co-authored-by: withchao <withchao@users.noreply.github.com>
2024-07-17 12:33:53 +00:00
withchao
2ce8d22189 fix: seq conversion bug 2024-07-17 20:31:21 +08:00
chao
6df8412f56
Merge branch 'openimsdk:main' into main 2024-07-17 20:11:38 +08:00
withchao
bfca6ced2a sub 2024-07-17 18:03:10 +08:00
Monet Lee
42a66cff4a
chore: add ping Handler DEBUG log in msgGateway. (#2415)
* chore: add  ping Handler debug log in mgsGateway.

* update log print content.

* update pingHandler method send args.
2024-07-17 10:02:14 +00:00
withchao
b6ab4a5f84 sub 2024-07-17 16:20:01 +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
chao
904c66958a
Merge branch 'openimsdk:main' into main 2024-07-17 15:20:06 +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
4738d1729c feat: prometheus 2024-07-15 18:26:58 +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
71ba69b6ee
Merge branch 'openimsdk:main' into main 2024-07-15 16:07:55 +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
e4fb5baf44 update go.mod 2024-07-15 11:20:34 +08:00
withchao
1e5e87b7e3 Merge remote-tracking branch 'origin/main' into convincr 2024-07-15 11:11:37 +08:00
chao
33de30b97a
Merge branch 'openimsdk:main' into main 2024-07-15 11:11:12 +08:00
printlin
ea7e505269
feature: support for Kodo (#2363)
* support for Kodo

* fix mod bug
2024-07-15 03:10:04 +00:00
withchao
aca631f0d1 Merge remote-tracking branch 'origin/convincr' into convincr 2024-07-15 11:05:50 +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
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
chao
18cc83cab8
Merge branch 'openimsdk:main' into main 2024-07-11 10:31:23 +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
e1e3bb8248 merge online 2024-07-10 15:40:41 +08:00