297 Commits

Author SHA1 Message Date
withchao
ddf8f0d5cd remove old version online subscription 2024-07-18 17:55:33 +08:00
withchao
1ef057bbe2 sort version 2024-07-18 17:24:52 +08:00
withchao
ae06f16c5a sort version 2024-07-18 16:58:46 +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
withchao
ec7bebfb86 GetOwnerConversation 2024-07-11 10:52:18 +08: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
e17f0c95aa conversation version incremental 2024-07-10 14:44: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
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
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
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
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
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
ac9f4f667d Merge remote-tracking branch 'origin/list' into seq38 2024-06-20 15:23:00 +08:00
withchao
03d4564596 user version 2024-06-20 14:55:59 +08:00
withchao
1ee33f36f7 group 2024-06-19 17:38:30 +08:00
withchao
7182298d2f Merge remote-tracking branch 'origin/list' into seq38 2024-06-19 17:00:15 +08:00
withchao
f613c6dfc9 group 2024-06-19 16:52:44 +08:00
withchao
08cb4a948d group 2024-06-19 16:28:28 +08:00
withchao
a2a28b43c5 seq 2024-06-18 16:46:06 +08:00
withchao
ec40d824f6 Merge remote-tracking branch 'origin/main' into list
# Conflicts:
#	go.mod
#	go.sum
2024-06-17 15:38:29 +08:00
withchao
bd4fb8a1a0 merge 2024-06-17 15:37:13 +08:00
withchao
c161330208 Merge remote-tracking branch 'origin/list' into list
# Conflicts:
#	go.mod
#	go.sum
#	internal/api/router.go
#	internal/rpc/group/sync.go
2024-06-17 15:34:49 +08:00
withchao
a41c8c6a9d group version 2024-06-17 15:28:09 +08:00
icey-yu
f19f6f9112 feat: get full friend user ids 2024-06-14 17:17:59 +08:00
icey-yu
c5fa596cdd refactor: change incremental to full 2024-06-14 17:14:43 +08: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
withchao
caebdf32ca sync 2024-06-11 18:38:36 +08:00
withchao
58c4c13cf1 sync 2024-06-07 17:45:41 +08:00
withchao
a1523f47e7 sync option 2024-06-06 15:28:03 +08:00
withchao
c5f565ff20 sync option 2024-06-06 09:57:47 +08:00
withchao
8e1d0c5a1f Merge remote-tracking branch 'origin/list' into list
# Conflicts:
#	internal/rpc/friend/black.go
#	internal/rpc/friend/callback.go
#	internal/rpc/friend/convert.go
#	internal/rpc/friend/friend.go
#	internal/rpc/friend/notification.go
#	internal/rpc/friend/sync.go
#	internal/rpc/user/user.go
2024-06-06 09:55:24 +08:00
withchao
6285b688a2 sync option 2024-06-06 09:45:44 +08:00