1437 Commits

Author SHA1 Message Date
Monet Lee
07eb0cb387 update waitgroup to errgroup. 2024-08-01 15:05:00 +08:00
Monet Lee
3e547958b0 update func name and comments. 2024-08-01 14:54:40 +08:00
Monet Lee
d416e977aa update log contents. 2024-08-01 14:29:36 +08:00
Monet Lee
bead363df1 feat: implement scheduled destruct msgs feature in cron task. 2024-08-01 14:25:07 +08:00
Monet Lee
ee428e6395 Merge branch 'main' of github.com:openimsdk/open-im-server into refactor/parse-token 2024-08-01 14:22:39 +08:00
Monet Lee
5dac91569d
refactor: rename friend module to relation. (#2463)
* update protocol in go mod.

* add debug log in writePongMsg.

* update log level.

* add Warn log in writePongMsg.

* add debug log.

* feat: update webhookBeforeMemberJoinGroup to batch method.

* feat: update version field implement.

* update webhook implement contents.

* update method field and contents.

* update callbackCommand field.

* fix: add correct fields.

* update struct tags.

* refactor: rename friend module to relation.
2024-07-31 10:12:19 +00:00
Monet Lee
1237549e25 refactor: rename friend module to relation. 2024-07-31 18:02:58 +08:00
Monet Lee
e74fa5c7ae Merge branch 'main' of github.com:openimsdk/open-im-server into refactor/parse-token 2024-07-31 16:17:15 +08:00
chao
9cfbc3aaff
fix: return value (#2462)
* 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

* version log index

* batch push

* batch push

* seq void filling

* fix: batchGetMaxSeq

* fix: batchGetMaxSeq

* cache db error log

* 111

* fix bug

* fix: ImportFriends

* add online cache

* add some logs

* add some logs

---------

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-31 06:21:19 +00:00
chao
d2b02dbabe
feat: add some logs (#2461)
* 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

* version log index

* batch push

* batch push

* seq void filling

* fix: batchGetMaxSeq

* fix: batchGetMaxSeq

* cache db error log

* 111

* fix bug

* fix: ImportFriends

* add online cache

* add some logs

---------

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-31 02:50:55 +00:00
Monet Lee
fb689618d8
feat: update webhookBeforeMemberJoinGroup to batch method. (#2459)
* update protocol in go mod.

* add debug log in writePongMsg.

* update log level.

* add Warn log in writePongMsg.

* add debug log.

* feat: update webhookBeforeMemberJoinGroup to batch method.

* feat: update version field implement.

* update webhook implement contents.

* update method field and contents.

* update callbackCommand field.

* fix: add correct fields.

* update struct tags.
2024-07-30 10:09:52 +00:00
Monet Lee
3307241654 update struct tags. 2024-07-30 18:07:19 +08:00
Monet Lee
96b7c8dc28 fix: add correct fields. 2024-07-30 17:56:05 +08:00
Monet Lee
4c70bff59b update callbackCommand field. 2024-07-30 17:06:52 +08:00
Monet Lee
ab268c5bcf update method field and contents. 2024-07-30 16:57:51 +08:00
Monet Lee
a38611009a update webhook implement contents. 2024-07-30 16:52:09 +08:00
Monet Lee
ba170badc3 feat: update version field implement. 2024-07-30 16:19:55 +08:00
Monet Lee
7cea3172d5 Merge branch 'main' of github.com:openimsdk/open-im-server into refactor/parse-token 2024-07-30 15:42:30 +08:00
Monet Lee
2eeb6aaaa4 Merge branch 'refactor/parse-token' of github.com:mo3et/open-im-server into refactor/parse-token 2024-07-30 15:42:24 +08:00
Monet Lee
da08d5561b feat: update webhookBeforeMemberJoinGroup to batch method. 2024-07-30 15:42:11 +08:00
chao
ed0ab58a9e
fix ImportFriends (#2458)
* 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

* fix: ImportFriends

---------

Co-authored-by: withchao <withchao@users.noreply.github.com>
2024-07-29 08:53:26 +00:00
Monet Lee
291a318aac Merge branch 'main' of github.com:openimsdk/open-im-server into refactor/parse-token 2024-07-29 16:39:49 +08:00
Monet Lee
61a417dad9
Merge branch 'openimsdk:main' into refactor/parse-token 2024-07-29 16:37:59 +08:00
icey-yu
231aac2b8a
fix: search log can return platform (#2456)
* fix: search log can return platform

* fix: change platform type to string
2024-07-29 08:37:22 +00:00
printlin
b0cc4373a5
fix: #2410 BeforeMemberJoinGroup callback member error (#2423) 2024-07-29 02:08:28 +00:00
Monet Lee
ef46abd193
chore: add Warn log in writePongMsg. (#2452)
* update protocol in go mod.

* add debug log in writePongMsg.

* update log level.

* add Warn log in writePongMsg.

* add debug log.
2024-07-28 03:18:23 +00:00
Monet Lee
a230f0e980 add debug log. 2024-07-28 10:57:17 +08:00
Monet Lee
567ceaf815 Merge branch 'main' of github.com:openimsdk/open-im-server into refactor/parse-token 2024-07-28 10:16:24 +08:00
Monet Lee
8a8b99a8bd add Warn log in writePongMsg. 2024-07-28 10:06:38 +08:00
printlin
220a01d7f8
fix: fill notification offlinePush by config (#2422)
* fix: fill notification offlinePush by config

* fix: fill notification OfflinePush by config
2024-07-26 10:24:25 +00:00
blooming
ff66e97221
fix: rm e2e in ci (#2449) 2024-07-26 18:20:54 +08:00
Monet Lee
86e3e3861e Merge branch 'refactor/parse-token' of github.com:mo3et/open-im-server into refactor/parse-token 2024-07-26 18:10:15 +08:00
Monet Lee
34e1c608fb
Merge branch 'openimsdk:main' into refactor/parse-token 2024-07-26 18:10:00 +08:00
Monet Lee
83dd8a4f65 Merge branch 'main' of github.com:openimsdk/open-im-server into refactor/parse-token 2024-07-26 17:30:29 +08:00
blooming
e9b3a1952f
cicd: add e2e in ci & before build docker image (#2346)
* cicd: add e2e in ci & before build docker image

* cicd: fix env minio addr

* cicd: fix build image timing
v3.8.0-rc.1
2024-07-26 08:36:11 +00:00
skiffer-git
7c3f6db0e3 Merge branch 'coderwander-main1' 2024-07-26 16:33:51 +08:00
skiffer-git
caef9a1941 Merge branch 'main' of https://github.com/coderwander/open-im-server into coderwander-main1 2024-07-26 16:33:45 +08:00
skiffer-git
6c0c83eb3b
Delete config/templates/env.template 2024-07-26 16:32:36 +08:00
skiffer-git
0a7992faab
Update env.template 2024-07-26 16:30:58 +08:00
skiffer-git
dd5c7e43d5 Merge branch 'coderwander-main' 2024-07-26 16:24:19 +08:00
skiffer-git
a837fecda3 merge: fix some typos in comments 2024-07-26 16:23:45 +08:00
skiffer-git
69296539e2 Merge branch 'main' of https://github.com/openimsdk/open-im-server 2024-07-26 16:18:11 +08:00
Monet Lee
7667af484f Merge branch 'refactor/parse-token' of github.com:mo3et/open-im-server into refactor/parse-token 2024-07-26 15:54:32 +08:00
Monet Lee
cac45e484e
Merge branch 'openimsdk:main' into refactor/parse-token 2024-07-26 15:54:19 +08:00
Monet Lee
144a404926 Merge branch 'main' of github.com:openimsdk/open-im-server into refactor/parse-token 2024-07-26 15:53:45 +08:00
chao
5c52840d67
fix: user seq, asynchronous friend notification, message search (#2447)
* 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

* version log index

* batch push

* batch push

* seq void filling

* fix: batchGetMaxSeq

* fix: batchGetMaxSeq

* cache db error log

* 111

* fix bug

---------

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-26 07:53:25 +00:00
Monet Lee
b41823fea9 Merge branch 'main' of github.com:openimsdk/open-im-server into refactor/parse-token 2024-07-26 15:52:57 +08:00
Monet Lee
d6124292d2 Merge branch 'main' of github.com:openimsdk/open-im-server into refactor/parse-token 2024-07-26 15:52:44 +08:00
Monet Lee
c3c9969f2f
chore: add debug log in writePongMsg (#2446)
* update protocol in go mod.

* add debug log in writePongMsg.

* update log level.
2024-07-26 07:52:37 +00:00
Monet Lee
824392e18c update log level. 2024-07-26 15:21:25 +08:00