1165 Commits

Author SHA1 Message Date
withchao
af951d8208 fix: user args check 2023-12-04 13:14:35 +08:00
Xinwei Xiong
0622ac7eb7
Update init-config.sh 2023-12-01 16:48:53 +08:00
withchao
c13fb56808 Merge remote-tracking branch 'upstream/mongo' into mongo
# Conflicts:
#	go.sum
#	internal/rpc/group/group.go
2023-12-01 16:22:19 +08:00
withchao
768e6bc758 merge main 2023-11-30 20:46:52 +08:00
withchao
df7bfc67b6 merge main 2023-11-30 20:18:12 +08:00
withchao
775e62b539 Merge remote-tracking branch 'upstream/main' into mongo
# Conflicts:
#	internal/msggateway/n_ws_server.go
#	internal/rpc/group/group.go
#	internal/rpc/third/third.go
#	pkg/common/convert/user.go
#	pkg/common/http/http_client.go
2023-11-30 20:16:38 +08:00
Xinwei Xiong
4b192027aa
Ⓜ️feat: openim docker fix (#1502)
* fix: fix auto gen config

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>

* feat: add openim openim compatibility

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>

* fix: fix ai fix git commit  continue-on-error: true

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>

* fix: fix ai fix git commit  continue-on-error: true

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>

* fix: fix ai fix git commit  continue-on-error: true

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>

* fix: fix ai fix git commit  continue-on-error: true

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>

* fix: fix ai fix git commit  continue-on-error: true

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>

---------

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
2023-11-30 10:25:38 +00:00
fengyun.rui
be5a3e5a3f
docs: add rfyiamcool to code_owners (#1491)
* docs: add rfyiamcool to code_owners

Signed-off-by: rfyiamcool <rfyiamcool@163.com>

* Update CODEOWNERS

---------

Signed-off-by: rfyiamcool <rfyiamcool@163.com>
Co-authored-by: Xinwei Xiong <3293172751@qq.com>
2023-11-30 08:58:53 +00:00
Xinwei Xiong
5b697d5e95
feat: update openim pull message by seq (#1498) 2023-11-30 08:57:06 +00:00
AndrewZuo01
0efc235f45
add webhooks (#1465)
* add callback before join group

* fix bug

* fix deployments/templates/alertmanager.yml

* fix bug

* update callback after join group

* merge callback after join group

* update callback setrgoup info

* test

* test

* test

* update three functions in friend category

* test friend and blacklist

* test

* test

* test

* Update openim.yaml

* merge callback after join group

* merge callback after join group

* merge callback after join group

* fix callbackbeforesetgroupinfo

* fix eventtime

* update api request required

* update api request required

* update api request required

* delete unused code

* delete unused code

* fix

* Update .env

* Update .env

* Update callback.go

* Update callback.go

* Update .env

* Update .env

* fix: merge

* update

* fix: merge

* fix: fix bugs

* update callback enable

* update callback enable

* update callback enable

* update callback enable

* update callback enable

* update callback enable

* Update openim.yaml

* Update environment.sh

* Update environment.md

* Update environment.md

* Update environment.sh

---------

Co-authored-by: Gordon <1432970085@qq.com>
2023-11-30 02:10:48 +00:00
Xinwei Xiong(cubxxw)
104e69ecd4 fix: fix scripts
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
2023-11-29 17:10:36 +08:00
Xinwei Xiong(cubxxw)
3b74ad56d4 feat: add format set
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
2023-11-29 16:27:26 +08:00
withchao
ec840aa0f6 up35 2023-11-29 15:50:49 +08:00
withchao
33e644e4fd up35 2023-11-29 15:39:01 +08:00
fengyun.rui
35bac04f58
fix: grace shutdown for gw (#1478)
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
2023-11-29 02:44:37 +00:00
healingtjx
4c7e0295bf
feat: OpenIMServer compatible qiniu kodo (#1460)
* build : add aws and kodo dependency

* feat: add qiniu kodo

* Doc : Add Qiniu Cloud Kodo Document and Config
2023-11-29 02:41:47 +00:00
xuexihuang
ceb669dfb8
Feature middleware (#1476)
* fix:fix error values&logs

* modify: add logs

* feature:add redis io retry logic

* feature:add redis error alert rule

* test:for test alert

* fix:fix prometheus rules

* del:del test code

---------

Co-authored-by: lin.huang <lin.huang@apulis.com>
2023-11-29 02:41:11 +00:00
Brabem
02142c55b2
feat: add callback func (#1480)
* feat:add callback func

* fix: fix the error

* fix: fix the error of repalce

* fix: fix the error of repalce
2023-11-28 07:26:46 +00:00
Xinwei Xiong
100926da0e
docs: add openim search test (#1485) 2023-11-28 06:44:02 +00:00
withchao
cb4343007d data conversion 2023-11-28 10:41:11 +08:00
Gordon
f935d36715
fix: wrong single message read state. (#1443)
* fix: wrong single message read state.

* Update as_read.go

* Update as_read.go

* Update as_read.go

---------

Co-authored-by: Xinwei Xiong <3293172751@qq.com>
2023-11-26 12:49:31 +00:00
fengyun.rui
3cecbbc69a
fix: grace shutdown for api server (#1439)
* fix: add grace shutdown for api server

Signed-off-by: rfyiamcool <rfyiamcool@163.com>

* fix: add grace shutdown for api server

Signed-off-by: rfyiamcool <rfyiamcool@163.com>

---------

Signed-off-by: rfyiamcool <rfyiamcool@163.com>
2023-11-26 12:25:37 +00:00
Gordon
e4046994cf
fix: update user's info will modify user create time when modify user's nickname or avatar. (#1446) 2023-11-26 12:22:41 +00:00
fengyun.rui
403cfb6055
perf: redis block with keys command (#1423)
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
2023-11-26 12:16:02 +00:00
Xinwei Xiong
1f7dfa33d7
Update README.md (#1477) 2023-11-26 03:19:12 +00:00
withchao
103fe1b654 mysql2mongo 2023-11-24 15:27:25 +08:00
withchao
f0d09dc4b6 all 2023-11-23 17:04:08 +08:00
withchao
92f60d535f all 2023-11-23 17:03:05 +08:00
withchao
0dba9db45b index 2023-11-23 11:15:13 +08:00
withchao
7e4b4188b3 index 2023-11-23 10:50:58 +08:00
withchao
57399066c3 convert 2023-11-22 19:33:06 +08:00
fengyun.rui
a9153afc38
perf: control ws write buffer (#1451)
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
2023-11-22 09:31:37 +00:00
withchao
0aba7d60a1 group 2023-11-22 15:21:33 +08:00
withchao
84bc7f3293 friend 2023-11-22 15:09:34 +08:00
withchao
3be274be28 friend 2023-11-22 15:08:44 +08:00
withchao
9454dffc48 friend 2023-11-22 14:50:00 +08:00
withchao
73d404d384 friend 2023-11-22 14:43:02 +08:00
withchao
dbeeb6d2b1 friend 2023-11-22 14:42:02 +08:00
withchao
7834c038a9 friend 2023-11-22 14:38:56 +08:00
withchao
1dbd824a08 remove mysql 2023-11-22 14:12:53 +08:00
withchao
ce3b4eec08 remove mysql 2023-11-21 18:10:27 +08:00
xuexihuang
7a13284b2e
kafka work error ,alertmanager work error (#1455)
* Code adaptation k8s: service discovery and registration adaptation, configuration adaptation

* Initial submission of the help charts script for openim API

* change the help charts script

* change the help charts script

* change helm chart codes

* change dockerfiles script

* change chart script:add configmap mounts

* change chart script:change repository

* change chart script:msggateway add one service

* change config.yaml

* roll back some config values

* change chart script:change Ingress rule with a rewrite annotation

* add mysql charts scrible

* change chart script:add mysql.config.yaml

* add nfs provisioner charts

* change chart script:add nfs.config.yaml

* add ingress-nginx charts

* change chart script:add ingress-nginx.config.yaml

* add redis &mongodb charts

* add kafka&minio charts

* change chart script:change redis.values.yaml

* change chart script:add redis.config.yaml

* change chart script:change redis.config.yaml

* change chart script:change mongodb.value.yaml

* change chart script:change mongodb.value.yaml

* change chart script:add mongodb.config.yaml

* change chart script:change minio.values.yaml

* change chart script:add minio.config.yaml

* change chart script:change kafka.values.yaml

* change chart script:add kafka.config.yaml

* change chart script:change services.config.yaml

* bug fix:Delete websocket's Port restrictions

* bug fix:change port value

* change chart script:Submit a stable version script

* fix bug:Implement option interface

* fix bug:change K8sDR.Register

* change config.yaml

* change chats script:minio service add ingress

* change chats script:minio service add ingress

* change chats script:kafka.replicaCount=3& change minio.api ingress

* delete change chats script

* change config.yaml

* change openim.yaml

* merge go.sum

* Add monitoring function and struct for Prometheus on gin and GRPC

* Add GRPC and gin server monitoring logic

* Add GRPC and gin server monitoring logic2

* Add GRPC and gin server monitoring logic3

* Add GRPC and gin server monitoring logic4

* Add GRPC and gin server monitoring logic5

* Add GRPC and gin server monitoring logic6

* Add GRPC and gin server monitoring logic7

* delete:old monitoring code

* add for test

* fix bug:change packname

* fix bug:delete getPromPort funciton

* fix bug:delete getPromPort funciton

* fix bug:change logs

* fix bug:change registerName logic in GetGrpcCusMetrics function

* add getPrometheus url api

* fix:config path logic

* fix:prometheus enable function

* fix:prometheus enable function

* fix:transfer Multi process monitoring logic

* del:del not using manifest

* fix:openim-msgtransfer.sh

* fix:openim-msgtransfer.sh

* cicd: robot automated Change

* delete not using files

* add prometheus docker-compose for monitor

* fix prometheus.yaml

* fix environment.sh

* fix init-config.sh

* fix init-config.sh

* fix env_template.yaml

* fix docker-compose.yml

* fix docker-compose.yml

* add openim_admin_front service

* change openim-admin-front

* del not using files

* add node-exporter-dashaboard.yaml

* cicd: robot automated Change

* cicd: robot automated Change

* feature: add alertmanager function

* feature: add alertmanager function

* feature: add alertmanager function

* feature: add alertmanager function

* feature: add alertmanager function

* del:delete not using files

* del:delete not using files

* change:change to personal email info

* fix:alertmanager.yml

* fix:fix docker-compose.yml

* del:not using files

---------

Co-authored-by: lin.huang <lin.huang@apulis.com>
Co-authored-by: Xinwei Xiong <3293172751@qq.com>
Co-authored-by: xuexihuang <xuexihuang@users.noreply.github.com>
Co-authored-by: cubxxw <cubxxw@users.noreply.github.com>
2023-11-21 09:09:31 +00:00
Xinwei Xiong(cubxxw)
d98f63734b refactor: add openim mysql to mongo refactor
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
2023-11-21 13:33:08 +08:00
Xinwei Xiong
c69420e1f4
Merge pull request #1449 from withchao/mongo
Mongo
2023-11-21 09:09:37 +08:00
Xinwei Xiong
76e32ddfcf
Merge pull request #1447 from cubxxw/feat/mongo
Feat/mongo
2023-11-21 09:06:49 +08:00
Xinwei Xiong
6fddaf27e7
Merge branch 'mongo' into feat/mongo 2023-11-21 09:06:13 +08:00
Xinwei Xiong(cubxxw)
ca30a76952 refactor: add openim mysql to mongo refactor
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
2023-11-21 08:55:10 +08:00
withchao
47680aff3e group 2023-11-20 16:29:38 +08:00
withchao
f3e1969c68 group 2023-11-20 16:02:07 +08:00
withchao
6b990e3567 group 2023-11-20 15:40:00 +08:00