412 Commits

Author SHA1 Message Date
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
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
printlin
118c5f56f3
feature: add webhook AttentionIds (#2370) 2024-06-27 10:10:06 +00:00
withchao
8f0403e67c user online 2024-06-26 18:19:38 +08: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
8e3890ed88 seq 2024-06-21 18:24:30 +08:00
withchao
2d2941a526 seq 2024-06-20 15:56:02 +08:00
withchao
ac9f4f667d Merge remote-tracking branch 'origin/list' into seq38 2024-06-20 15:23:00 +08:00
withchao
88c1510be7 Merge remote-tracking branch 'origin/list' into list 2024-06-20 14:57:47 +08:00
withchao
03d4564596 user version 2024-06-20 14:55:59 +08:00
Gordon
4f359b7335 fix: sort by id avoid unstable sort friends. 2024-06-19 20:35:32 +08:00
Gordon
5006af5b54 fix: sort by id avoid unstable sort friends. 2024-06-19 20:28:09 +08:00
Gordon
924888dbd1 fix: sort by id avoid unstable sort friends. 2024-06-19 20:17:28 +08:00