chao
eca9abe1f7
Merge branch 'openimsdk:main' into main
2024-07-22 17:40:21 +08:00
Monet Lee
d0d33b6b78
feat: implement true batchGetIncrGroupMember RPC method and dependency methods. ( #2417 )
...
* update wip contents.
* update protocol pkg.
* feat: add BatchOption struct and method.
* fix: remove unnecessary field.
* feat: implement true BatchGetIncrGroupMember RPC method and corresponding dependency methods.
* fix: update mongo version collection have unique index.
* optimize method structures.
* update resp in add sortVersion field.
* fix uncorrect condition.
* add errs pkg.
2024-07-19 09:20:11 +00: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
chao
091f9c3f1d
Merge branch 'openimsdk:main' into main
2024-07-18 17:02:55 +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
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
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
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
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
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
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
chao
fdb6ea7a47
Merge branch 'openimsdk:main' into main
2024-07-10 15:07:42 +08:00
icey-yu
213613cf54
Fix token ( #2403 )
...
* fix:log config
* fix: token update expire time
2024-07-09 10:17:44 +00:00
chao
df9bbeb313
Merge branch 'openimsdk:main' into main
2024-07-09 14:39:22 +08:00
Monet Lee
407a117a05
fix: remove repeat append logic. ( #2400 )
2024-07-08 04:34:46 +00:00
chao
ab84d77b38
Merge branch 'openimsdk:main' into main
2024-07-05 14:55:56 +08:00
icey-yu
cc2f993eab
fix:log ( #2396 )
2024-07-04 11:58:41 +00:00
chao
a464750de2
Merge branch 'openimsdk:main' into main
2024-07-04 10:18:13 +08:00
icey-yu
f231ea1f21
fix:start ( #2389 )
2024-07-03 07:39:59 +00:00
chao
644eaf996c
update gomake version ( #2386 )
...
* 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
---------
Co-authored-by: withchao <withchao@users.noreply.github.com>
2024-07-03 06:27:16 +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
withchao
0b4c802074
update gomake version
2024-07-03 10:45:11 +08:00
withchao
8d4737cb67
update gomake version
2024-07-03 10:30:06 +08:00
chao
bfbfb78da4
Merge branch 'openimsdk:main' into main
2024-07-03 10:21:28 +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
chao
4781cf4043
Merge branch 'openimsdk:main' into main
2024-07-01 16:51:11 +08:00
icey-yu
fe7c029c2a
fix: group application ( #2367 )
...
* fix: group application
* feat: constant
2024-06-27 10:16:03 +00:00
printlin
118c5f56f3
feature: add webhook AttentionIds ( #2370 )
2024-06-27 10:10:06 +00:00
icey-yu
e6f1232582
fix: message can store Ex ( #2371 )
2024-06-27 09:54:42 +00: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
chao
51567959db
Merge branch 'openimsdk:main' into main
2024-06-17 15:28:54 +08:00
icey-yu
877abfe7ce
Fix group and config ( #2341 )
...
* fix:fcm config path
* update:go mod(only one can create group)
* feat:get fcm config from url
* fix:err and name
* fix:config name and annotation
* refactor:change FCM config name
* refactor:change standardized URL
* Update openim-push.yml
---------
Co-authored-by: skiffer-git <72860476+skiffer-git@users.noreply.github.com>
2024-06-13 04:13:13 +00:00
icey-yu
180532317e
fix:FCM push failed will return error ( #2347 )
...
* fix:FCM push failed will return error
* fix:change error delimiter
2024-06-13 04:09:00 +00:00
Monet Lee
a8d5ec314a
feat: implement to invalid token when forceKickOff user. ( #2345 )
...
* feat: implement to invalid token when forceKickOff user.
* fix uncorrect contents.
* fix: remove unnecessary contents.
2024-06-13 01:55:07 +00:00
chao
17dad5cf43
Merge branch 'openimsdk:main' into main
2024-06-12 14:42:26 +08:00
skiffer-git
e32d30f287
Add a retry mechanism to mongo init ( #2328 )
2024-06-03 12:27:43 +00: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
chao
61740d4d3a
Merge branch 'openimsdk:main' into main
2024-05-30 14:20:42 +08:00
OpenIM-Gordon
67fe13f089
fix: at group message. ( #2316 )
2024-05-27 03:59:35 +00:00