暴走的大猩猩
031c1cd1e4
Upgrade the Google Firebase version. ( #2638 )
3 months ago
icey-yu
0276c7df60
Fix err ( #2608 )
...
* refactor: refactor workflows contents.
* add tool workflows.
* update field.
* fix: remove chat error.
* Fix err.
* fix error.
* remove cn comment.
* update workflows files.
* update infra config.
* move workflows.
* feat: update bot.
* fix: solve uncorrect outdated msg get.
* update get docIDs logic.
* update
* update skip logic.
* fix
* update.
* fix: delay deleteObject func.
* remove unused content.
* update log type.
* feat: implement request batch count limit.
* update
* update
* feat: add rocksTimeout
* feat: wrap logs
* feat: add logs
* feat: listen config
* feat: enable listen TIME_WAIT port
* feat: add logs
* feat: cache batch
* chore: enable fullUserCache
* feat: push rpc num
* feat: push err
* feat: with operationID
* feat: sleep
* feat: change 1s
* feat: change log
* feat: implement Getbatch in rpcCache.
* feat: print getOnline cost
* feat: change log
* feat: change kafka and push config
* feat: del interface
* feat: fix err
* feat: change config
* feat: go mod
* feat: change config
* feat: change config
* feat: add sleep in push
* feat: warn logs
* feat: logs
* feat: logs
* feat: change port
* feat: start config
* feat: remove port reuse
* feat: prometheus config
* feat: prometheus config
* feat: prometheus config
* feat: add long time send msg to grafana
* feat: init
* feat: init
* feat: implement offline push.
* feat: batch get user online
* feat: implement batch Push spilt
* update go mod
* Revert "feat: change port"
This reverts commit 06d5e944
* feat: change port
* feat: change config
* feat: implement kafka producer and consumer.
* update format,
* add PushMQ log.
* feat: get all online users and init push
* feat: lock in online cache
* feat: config
* fix: init online status
* fix: add logs
* fix: userIDs
* fix: add logs
* feat: update Handler logic.
* update MQ logic.
* update
* update
* fix: method name
* fix: update OfflinePushConsumerHandler.
* fix: prommetrics
* fix: add logs
* fix: ctx
* fix: log
* fix: config
* feat: change port
* fix: atomic online cache status
---------
Co-authored-by: Monet Lee <monet_lee@163.com>
3 months ago
Monet Lee
3381b85895
feat: implement offline push using kafka ( #2600 )
...
* refactor: refactor workflows contents.
* add tool workflows.
* update field.
* fix: remove chat error.
* Fix err.
* fix error.
* remove cn comment.
* update workflows files.
* update infra config.
* move workflows.
* feat: update bot.
* fix: solve uncorrect outdated msg get.
* update get docIDs logic.
* update
* update skip logic.
* fix
* update.
* fix: delay deleteObject func.
* remove unused content.
* update log type.
* feat: implement request batch count limit.
* update
* update
* feat: implement offline push.
* feat: implement batch Push spilt
* update go mod
* feat: implement kafka producer and consumer.
* update format,
* add PushMQ log.
* feat: update Handler logic.
* update MQ logic.
* update
* update
* fix: update OfflinePushConsumerHandler.
4 months ago
icey-yu
38a8802107
feat: add long time push msg in prometheus ( #2584 )
...
* feat: add long time push msg in prometheus
* fix: log print
* fix: go mod
* fix: log msg
* fix: log init
* feat: push msg
* feat: go mod ,remove cgo package
* feat: remove error log
* feat: test dummy push
* feat:redis pool config
* feat: push to kafka log
4 months ago
chao
85614da36f
fix: read seq is written to mongo, online status redis cluster is supported ( #2558 )
...
* 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
* fix: A large number of logs keysAndValues length is not even
* feat: mark read aggregate write
* feat: online status supports redis cluster
* feat: online status supports redis cluster
* feat: online status supports redis cluster
* merge
* merge
* read seq is written to mongo
* read seq is written to mongo
---------
Co-authored-by: withchao <withchao@users.noreply.github.com>
4 months ago
icey-yu
86a325f309
Fix push ( #2559 )
...
* fix:log
* fix: add log
* fix: del return
* fix: push config
* feat: add push err log and extend push wait time
* feat: group config
* feat: add log in write binary msg
* feat: Modify Prometheus data scraping ports and reserve port space.
* feat: change group rpc num
* feat: change log
* fix: remove quotation mark
4 months ago
Mew151
1022b297d4
fix 细节 ( #2525 )
...
1、统一结构体方法 receiver,都用 pointer
2、使用 errors.Is 来做错误判断
3、修复单词拼写的错误
4 months ago
chao
375f63a447
fix: online status renewal ( #2468 )
...
* 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
* fix: onlineUserIDs
* add logs
* test
* test
* test
* test
---------
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>
5 months ago
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>
5 months ago
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>
5 months ago
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>
6 months ago
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>
7 months ago
icey-yu
180532317e
fix:FCM push failed will return error ( #2347 )
...
* fix:FCM push failed will return error
* fix:change error delimiter
7 months ago
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.
7 months ago
OpenIM-Gordon
76d9688a54
refactor: db refactor and cache key add. ( #2320 )
...
* refactor: db refactor and cache key add.
* refactor: db refactor and cache key add.
* refactor: go version update.
* refactor: file name change.
7 months ago
skiffer-git
835ff3824f
Etcd naming and discovery ( #2300 )
...
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* add etcd
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
* Add etcd as a service discovery mechanism
8 months ago
skiffer-git
f8d05b7697
update go.mod go.sum ( #2210 )
...
* 3.6.1 code conventions (#2203 )
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* refactor: webhooks update.
* refactor: kafka update.
* Simplify the Docker Compose configuration, remove unnecessary environment variables, and eliminate the gateway service.
* refactor: kafka update.
* refactor: kafka update.
* Simplify the Docker Compose configuration, remove unnecessary environment variables, and eliminate the gateway service.
* Simplify the Docker Compose configuration, remove unnecessary environment variables, and eliminate the gateway service.
* Windows can compile and run.
* Windows can compile and run.
* refactor: kafka update.
* feat: msg cache split
* refactor: webhooks update
* refactor: webhooks update
* refactor: friends update
* refactor: group update
* refactor: third update
* refactor: api update
* refactor: crontab update
* refactor: msggateway update
* mage
* mage
* refactor: all module update.
* check
* refactor: all module update.
* load config
* load config
* load config
* load config
* refactor: all module update.
* refactor: all module update.
* refactor: all module update.
* refactor: all module update.
* refactor: all module update.
* Optimize Docker configuration and script.
* refactor: all module update.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* refactor: all module update.
* Optimize Docker configuration and script.
* refactor: all module update.
* refactor: all module update.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* update tools
* update tools
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* update protocol
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* refactor: all module update.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* refactor: api remove token auth by redis directly.
* Code Refactoring
* refactor: websocket auth change to call rpc of auth.
* refactor: kick online user and remove token change to call auth rpc.
* refactor: kick online user and remove token change to call auth rpc.
* refactor: remove msggateway redis.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor webhook
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor webhook
* refactor: cmd update.
* refactor: cmd update.
* fix: runtime: goroutine stack exceeds
* refactor: cmd update.
* refactor notification
* refactor notification
* refactor
* refactor: cmd update.
* refactor: cmd update.
* refactor
* refactor
* refactor
* protojson
* protojson
* protojson
* go mod
* wrapperspb
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: context update.
* refactor: websocket update info.
* refactor: websocket update info.
* refactor: websocket update info.
* refactor: websocket update info.
* refactor: api name change.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* fix: update file
* refactor
* refactor
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* fix: callback update.
* fix: callback update.
* refactor
* fix: update message.
* fix: msg cache timeout.
* refactor
* refactor
* fix: push update.
* fix: push update.
* fix: push update.
* fix: push update.
* fix: push update.
* fix: push update.
* refactor
* refactor
* fix: push update.
* fix: websocket handle error remove when upgrade error.
* fix: priority url
* fix: minio config
* refactor: add zk logger.
* refactor
* fix: minio config
* refactor
* remove \r
* remove \r
* remove \r
* remove \r
* remove \r
* remove \r
* remove \r
* remove \r
* remove \r
* remove \r
* fix bug: get localIP
* refactor
* refactor
* refactor
* refactor: remove zk logger.
* refactor: update tools version.
* refactor
* refactor: update server version to 3.7.0.
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor: zk log debug.
* refactor: zk log debug.
* refactor: zk log debug.
* refactor: zk log debug.
* refactor: zk log debug.
* refactor
* refactor
* refactor
* refactor: log level change.
* refactor: 3.7.0 code conventions.
---------
Co-authored-by: skiffer-git <44203734@qq.com>
Co-authored-by: withchao <993506633@qq.com>
Co-authored-by: root <root@localhost.localdomain>
* update go.mod go.sum
* Remove Chinese comments
* user localhost for minio
* user localhost for minio
* Remove Chinese comments
* Remove Chinese comments
* Remove Chinese comments
* Set up 4 instances of transfer
* Set up 4 instances of transfer
* Add comments to the configuration file
* Add comments to the configuration file
---------
Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: withchao <993506633@qq.com>
Co-authored-by: root <root@localhost.localdomain>
8 months ago
OpenIM-Gordon
653b48479d
3.6.1 code conventions ( #2202 )
...
* refactor: webhooks update.
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* feat: s3 api addr
* refactor: webhooks update.
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* refactor: webhooks update.
* refactor: kafka update.
* Simplify the Docker Compose configuration, remove unnecessary environment variables, and eliminate the gateway service.
* refactor: kafka update.
* refactor: kafka update.
* Simplify the Docker Compose configuration, remove unnecessary environment variables, and eliminate the gateway service.
* Simplify the Docker Compose configuration, remove unnecessary environment variables, and eliminate the gateway service.
* Windows can compile and run.
* Windows can compile and run.
* refactor: kafka update.
* feat: msg cache split
* refactor: webhooks update
* refactor: webhooks update
* refactor: friends update
* refactor: group update
* refactor: third update
* refactor: api update
* refactor: crontab update
* refactor: msggateway update
* mage
* mage
* refactor: all module update.
* check
* refactor: all module update.
* load config
* load config
* load config
* load config
* refactor: all module update.
* refactor: all module update.
* refactor: all module update.
* refactor: all module update.
* refactor: all module update.
* Optimize Docker configuration and script.
* refactor: all module update.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* refactor: all module update.
* Optimize Docker configuration and script.
* refactor: all module update.
* refactor: all module update.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* update tools
* update tools
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* update protocol
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* refactor: all module update.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* refactor: api remove token auth by redis directly.
* Code Refactoring
* refactor: websocket auth change to call rpc of auth.
* refactor: kick online user and remove token change to call auth rpc.
* refactor: kick online user and remove token change to call auth rpc.
* refactor: remove msggateway redis.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor webhook
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor webhook
* refactor: cmd update.
* refactor: cmd update.
* fix: runtime: goroutine stack exceeds
* refactor: cmd update.
* refactor notification
* refactor notification
* refactor
* refactor: cmd update.
* refactor: cmd update.
* refactor
* refactor
* refactor
* protojson
* protojson
* protojson
* go mod
* wrapperspb
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: context update.
* refactor: websocket update info.
* refactor: websocket update info.
* refactor: websocket update info.
* refactor: websocket update info.
* refactor: api name change.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* fix: update file
* refactor
* refactor
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* fix: callback update.
* fix: callback update.
* refactor
* fix: update message.
* fix: msg cache timeout.
* refactor
* refactor
* fix: push update.
* fix: push update.
* fix: push update.
* fix: push update.
* fix: push update.
* fix: push update.
* refactor
* refactor
* fix: push update.
* fix: websocket handle error remove when upgrade error.
* fix: priority url
* fix: minio config
* refactor: add zk logger.
* refactor
* fix: minio config
* refactor
* refactor
* refactor
* refactor
* refactor: remove zk logger.
* refactor: update tools version.
* refactor
* refactor: update server version to 3.7.0.
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor: zk log debug.
* refactor: zk log debug.
* refactor: zk log debug.
* refactor: zk log debug.
* refactor: zk log debug.
* refactor
* refactor
* refactor
* refactor: log level change.
* refactor: 3.7.0 code conventions.
---------
Co-authored-by: skiffer-git <44203734@qq.com>
Co-authored-by: withchao <993506633@qq.com>
8 months ago
OpenIM-Gordon
b76816bc14
refactor: 3.7.0 code conventions. ( #2148 )
...
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* feat: add code lint
* feat: add code lint
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Script Refactoring
* feat: code format
* Script Refactoring
* Script Refactoring
* Script Refactoring
* Adjust MinIO configuration settings
* Adjust configuration settings
* Adjust configuration settings
* refactor: config change.
* refactor: webhooks update.
* Adjust configuration settings
* refactor: webhooks update.
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* feat: s3 api addr
* refactor: webhooks update.
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* Adjust configuration settings
* refactor: webhooks update.
* refactor: kafka update.
* Simplify the Docker Compose configuration, remove unnecessary environment variables, and eliminate the gateway service.
* refactor: kafka update.
* refactor: kafka update.
* Simplify the Docker Compose configuration, remove unnecessary environment variables, and eliminate the gateway service.
* Simplify the Docker Compose configuration, remove unnecessary environment variables, and eliminate the gateway service.
* Windows can compile and run.
* Windows can compile and run.
* refactor: kafka update.
* feat: msg cache split
* refactor: webhooks update
* refactor: webhooks update
* refactor: friends update
* refactor: group update
* refactor: third update
* refactor: api update
* refactor: crontab update
* refactor: msggateway update
* mage
* mage
* refactor: all module update.
* check
* refactor: all module update.
* load config
* load config
* load config
* load config
* refactor: all module update.
* refactor: all module update.
* refactor: all module update.
* refactor: all module update.
* refactor: all module update.
* Optimize Docker configuration and script.
* refactor: all module update.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* refactor: all module update.
* Optimize Docker configuration and script.
* refactor: all module update.
* refactor: all module update.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* update tools
* update tools
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* update protocol
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* refactor: all module update.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* Optimize Docker configuration and script.
* refactor: api remove token auth by redis directly.
* Code Refactoring
* refactor: websocket auth change to call rpc of auth.
* refactor: kick online user and remove token change to call auth rpc.
* refactor: kick online user and remove token change to call auth rpc.
* refactor: remove msggateway redis.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor webhook
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor webhook
* refactor: cmd update.
* refactor: cmd update.
* fix: runtime: goroutine stack exceeds
* refactor: cmd update.
* refactor notification
* refactor notification
* refactor
* refactor: cmd update.
* refactor: cmd update.
* refactor
* refactor
* refactor
* protojson
* protojson
* protojson
* go mod
* wrapperspb
* refactor: cmd update.
* refactor: cmd update.
* refactor: cmd update.
* refactor: context update.
* refactor: websocket update info.
* refactor: websocket update info.
* refactor: websocket update info.
* refactor: websocket update info.
* refactor: api name change.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* fix: update file
* refactor
* refactor
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* refactor: debug info.
* fix: callback update.
* fix: callback update.
* refactor
* fix: update message.
* fix: msg cache timeout.
* refactor
* refactor
* fix: push update.
* fix: push update.
* fix: push update.
* fix: push update.
* fix: push update.
* fix: push update.
* fix: push update.
* fix: websocket handle error remove when upgrade error.
---------
Co-authored-by: skiffer-git <44203734@qq.com>
Co-authored-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
Co-authored-by: withchao <993506633@qq.com>
8 months ago
Xinwei Xiong
7c25c91e9b
feat: golang fix apt test design ( #2084 )
...
* feat: make lint format
* feat: make lint format
* feat: make lint format
* fix: fix make lint
* feat: add scripts verify shell check
* feat: add scripts verify shell check
9 months ago
OpenIM Bot
c12f9dca7c
cicd: bump League Patch ( #2057 )
10 months ago
chao
b9cf40034c
feat: add local cache for high frequency reads ( #2036 )
...
* feat: msg local cache
* feat: msg local cache
* feat: msg local cache
* feat: msg local cache
* feat: msg local cache
* feat: msg local cache
* fix: mongo
* fix: mongo
* fix: mongo
* openim.yaml
* localcache
* localcache
* localcache
* localcache
* localcache
* localcache
* localcache
* localcache
* localcache
* local cache
* local cache
* local cache
* local cache
* fix: GroupApplicationAcceptedNotification
* fix: GroupApplicationAcceptedNotification
* fix: NotificationUserInfoUpdate
* feat: cache add single-flight and timing-wheel.
* feat: local cache
* feat: local cache
* feat: local cache
* feat: cache add single-flight and timing-wheel.
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: local cache
* feat: msg rpc local cache
* feat: msg rpc local cache
* feat: msg rpc local cache
* feat: msg rpc local cache
* feat: msg rpc local cache
* feat: msg rpc local cache
* refactor: refactor the code of push and optimization.
* cicd: robot automated Change
* refactor: rename cache.
* merge
* fix: refactor project dir avoid import cycle.
* update tools
* merge
* feat: conversation FindRecvMsgNotNotifyUserIDs
* feat: conversation FindRecvMsgNotNotifyUserIDs
* feat: conversation FindRecvMsgNotNotifyUserIDs
* merge
* merge the latest main
---------
Co-authored-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: withchao <withchao@users.noreply.github.com>
10 months ago
OpenIM Bot
c7dad1a5c1
cicd: bump League Patch ( #2004 )
10 months ago
OpenIM-Gordon
383758782e
optimization: change the configuration file from being read globally … ( #1935 )
...
* optimization: change the configuration file from being read globally to being read independently.
* optimization: change the configuration file from being read globally to being read independently.
* optimization: change the configuration file from being read globally to being read independently.
* optimization: config file changed to dependency injection.
* fix: replace global config with dependency injection
* fix: replace global config with dependency injection
* fix: import the enough param
* fix: import the enough param
* fix: import the enough param
* fix: fix the component check of path
* fix: fix the kafka of tls is nil problem
* fix: fix the TLS.CACrt is nil error
* fix: fix the valiable shadows problem
* fix: fix the comflect
* optimization: message remove options.
* fix: fix the param pass error
* fix: find error
* fix: find error
* fix: find eror
* fix: find error
* fix: find error
* fix: del the undifined func
* fix: find error
* fix: fix the error
* fix: pass config
* fix: find error
* fix: find error
* fix: find error
* fix: find error
* fix: find error
* fix: fix the config
* fix: fix the error
* fix: fix the config pass error
* fix: fix the eror
* fix: fix the error
* fix: fix the error
* fix: fix the error
* fix: find error
* fix: fix the error
* fix: fix the config
* fix: add return err
* fix: fix the err2
* fix: err
* fix: fix the func
* fix: del the chinese comment
* fix: fix the func
* fix: fix the gateway_test logic
* fix: s3
* test
* test
* fix: not found
---------
Co-authored-by: luhaoling <2198702716@qq.com>
Co-authored-by: withchao <993506633@qq.com>
10 months ago
OpenIM Bot
e8377d9c2c
cicd: bump League Patch ( #1998 )
10 months ago
Xinwei Xiong
33a61f29f2
feat: format openim make lint code ( #1997 )
10 months ago
longyuqing112
88bcabee1c
feat: optimize openim make lint style format ( #1995 )
...
* feat: add openim make lint
* feat: add openim make lint
* feat: add openim make lint
* feat: add openim make lint
* feat: add openim make lint
10 months ago
Xinwei Xiong
853ac47e42
feat: Integrate Comprehensive E2E Testing for GoChat ( #1906 )
...
* feat: create e2e test readme
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: fix markdown file
* feat: add openim make lint
* feat: add git chglog pull request
* feat: add git chglog pull request
* fix: fix openim api err code
* fix: fix openim api err code
* fix: fix openim api err code
* feat: Improve CICD
* feat: Combining GitHub and Google Workspace for Effective Project Management'
* feat: fix openim tools error code
* feat: fix openim tools error code
* feat: add openim error handle
* feat: add openim error handle
* feat: optimize tim white prom code return err
* feat: fix openim tools error code
* style: format openim server code style
* feat: add openim optimize commit code
* feat: add openim optimize commit code
* feat: add openim auto format code
* feat: add openim auto format code
* feat: add openim auto format code
* feat: add openim auto format code
* feat: add openim auto format code
* feat: format openim code
* feat: Some of the notes were translated
* feat: Some of the notes were translated
* feat: update openim server code
* feat: optimize openim reset code
* feat: optimize openim reset code
---------
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
10 months ago
xuan
bcc6a95633
Fix lint errors in modified code ( #1966 )
...
* makelint /internal 0228
Signed-off-by: xuan <146319162+wxuanF@users.noreply.github.com>
* Update server.go
---------
Signed-off-by: xuan <146319162+wxuanF@users.noreply.github.com>
10 months ago
OpenIM-Gordon
8e6c1d74c7
fix: change consumer group receive messages avoid kafka consumer group always rebalanced. ( #1942 )
10 months ago
chao
d5d2803e76
feat: optimize server code ( #1931 )
...
* fix: GroupApplicationAcceptedNotification
* fix: GroupApplicationAcceptedNotification
* fix: NotificationUserInfoUpdate
* cicd: robot automated Change
* utils.Wrap -> errs.Wrap
* utils.Wrap -> errs.Wrap
---------
Co-authored-by: withchao <withchao@users.noreply.github.com>
10 months ago
OpenIM Bot
35ad4a9510
cicd: bump League Patch ( #1921 )
10 months ago
Brabem
c754ec6e97
fix: refactoring code of graceful exits ( #1885 )
...
* fix: plant a layer
* fix: print chanal
* fix: print sigs
* fix: print the sigs
* fix: reconstruct exit gracefully
* fix: fix the timeout
* fix: fix the netDone
* fix: fix the process exit
* fix: refactor the elegant startup code
* fix: fix the Signal.Notify
* fix: fix the code
* fix: remove not used header import.
* Update init.go
* fix: fix the InitConfig error
* fix: fix branch name
* fix: fix the signal value
* fix: replace the signal with SIGTERM
* fix: fix the script
* fix: fix the unsolve error
* fix: return the SIGTERM received,shutting down
* fix: fix the tranfer exit error
* fix: fix the error
* fix: replace the SIGnal
* fix: del the error return in tranfer
* fix: fix SIGTERM error
* fix: del the unreachalbe code
* fix: fix the make stop print error
---------
Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
10 months ago
OpenIM-Gordon
c55e03dc70
fix: process add errors wrap. ( #1862 )
...
* fix: process add errors wrap.
* fix: process add errors wrap.
11 months ago
Brabem
32cd79044b
feat: del the manager configure and it's initializestatement ( #1830 )
...
* fix: del the manager config and manger init statement
* fix: fix the Manger judge condition
* fix: fix revokeMsg error
* fix: find erors
* fix: find error
* fix: fix the AdminAccount error
* fix: del the debug statement
11 months ago
a3d21
b14c0475d2
fix duplicated offline push ( #1816 )
11 months ago
Xinwei Xiong
d356f7a035
feat(main): 🚀 Database Name Correction and S3 Module Int32 Overflow Fix with Go Routine Integration for Automated Checks and Script Optimization ( #1799 )
...
* feat: replace mongo database openIM_v3 to openim_v3
* openim-building-an-efficient-version-control-and-testing-workflow
* feat: complete openim source deployment rpc start timeout
* feat: optimize config
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add scripts format
* feat: use scripts format code
* fix cos and minio etc to typecheck
* feat: scripts make verify check ci
* fix: make file verify spelling
* fix: make file verify spelling
* Concurrent Type Checking and Cross-Platform Development in Go
* feat: add copyright make lint and format
* feat: add config examples file
Signed-off-by: Xinwei Xiong <3293172751@qq.com>
* feat: add config examples file
Signed-off-by: Xinwei Xiong <3293172751@qq.com>
---------
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
Signed-off-by: Xinwei Xiong <3293172751@qq.com>
11 months ago
AndrewZuo01
a2a082f681
update usercommand and fix callback ( #1681 )
...
* update set pin friends
* update set pin friends
* update set pin friends
* update set pin friends
* update set pin friends
* update set pin friends
* fix bugs
* fix bugs
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* Update go.mod
* Update friend.go
* debug
* debug
* debug
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* add pin friend test
* I cannot solve todo in test.sh
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* update user command
* Update go.mod
* fix group notification
* fix group notification
* update openimsdk tools
* update openim server remove duplicate code
* update openim server remove duplicate code
* update user command get
* update user command get
* update response of callback response error
* update black ex
* update join group ex
* update user pb2map
* update go sum
* update go sum
* update updateUserInfoEx
* update updateUserInfoEx
* update updateUserInfoEx add callback functions
* fix dismiss group function
* fix dismiss group function
* fix dismiss group function
* fix dismiss group function
* update pin friend to update friend
* fix go mod
* fix err golangci-lint
* fix UserPb2DBMap
* update comments, update go.mod check for register username
* update comments, update go.mod check for register username
* update comments, update go.mod check for register username
* update comments, update go.mod check for register username
* fix callback
* fix go.mod
* fix debug
* fix bugs
* update notification
* update notification
* update notification
* update notification
* update notification
* update notification
* update notification
* update notification
* fix updateUserInfoEx
* fix updateUserInfoEx
* modify go.mod
* fix updateUserInfoEx
* fix updateUserInfoEx
* fix updateUserInfoEx
* update user command notification
* update user command get all notification
* update user command get all notification
* fix type = 0
* fix type = 0
* fix type = 0
* fix type = 0
* fix type = 0
* fix type = 0
* fix typing cause callback
* add ex to usercommand
* add ex to usercommand
* update updatefriends
* fix updatefriend map
* fix updatefriend FriendsInfoUpdateNotification
* fix push online and offline user, but why typing trigger callback push?
* fix push online and offline user, but why typing trigger callback push?
* update user command record not found and user access check
* update user command get all user access check
* update go.mod
* fix callback name and place
* upadtae callback test
* fix callback typing
* fix callback typing
* fix callback typing
* fix callback typing
* fix lint on processusercommand
---------
Co-authored-by: Xinwei Xiong <3293172751@qq.com>
12 months ago
Gordon
de451d4cea
fix: online notifications do not push to herself. ( #1534 )
...
* fix: online notifications do not push to herself.
* fix: online notifications do not push to herself.
* fix: online notifications do not push to herself.
1 year ago
xuexihuang
34ed032af1
K8s environment supports multiple msggateway by consistent hash ( #1600 )
...
* feature:support multi msggateway
* feature:support multi msggateway
* feature:support multi msggateway by hash method
* fix:fix log
* change to consistent hash
* change go.mod
* fix:fix go routine values error
* fix:fix push filter logic
* fix:fix push filter logic
---------
Co-authored-by: lin.huang <lin.huang@apulis.com>
1 year ago
Xinwei Xiong
f1c9686ada
feat: Add OpenIM server, environment support for Docker Compose, and Kubernetes deployment. ( #1559 )
...
* feat: add openim server code
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim env
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim mongo and redis env
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add zk and redis mongo env
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add kafka and redis mongo env
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim docker
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim docker
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim docker
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim copyright
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: docker compose
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: remove openim chat config file
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim config set
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* feat: add openim config set
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: fix Security vulnerability
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: fix Security vulnerability
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* fix: docker compose
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
* Update kubernetes.go
* Update discoveryregister.go
* fix: copyright-add
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
---------
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
1 year ago
Gordon
60f4f67fb7
fix: online notifications do not push to herself. ( #1528 )
1 year ago
chao
c0194f6ef4
feat: Remove MySQL and implement it all with Mongo ( #1508 )
...
* fix: GetUserReqApplicationList error when there is a disbanded group chat
* fix: error when querying some information about disbanded group
* fix: GetUserReqApplicationList dismissed group error
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* merge
* cicd: robot automated Change
* sdkws.MsgData
* user
* interface{} -> any
* user
* third
* group
* group
* group
* group
* group
* group
* conversation
* standalone mysql db model
* tx
* s3
* group
* mongo
* group
* group
* group
* group
* group
* group
* refactor: add openim mysql to mongo refactor
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* refactor: add openim mysql to mongo refactor
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* remove mysql
* remove mysql
* friend
* friend
* friend
* friend
* friend
* friend
* group
* convert
* index
* index
* all
* all
* mysql2mongo
* data conversion
* up35
* up35
* feat: add format set
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* fix: fix scripts
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* merge main
* merge main
* Update init-config.sh
* fix: user args check
---------
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
Co-authored-by: withchao <withchao@users.noreply.github.com>
Co-authored-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
Co-authored-by: Xinwei Xiong <3293172751@qq.com>
1 year ago
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
1 year ago
fengyun.rui
eeb16d4116
perf: broadcast msg to all gateway with concurrency ( #1411 )
...
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
1 year ago
chao
2ac54e09a6
fix: the original quoted message is withdrawn and the quoted original message is displayed. ( #1388 )
...
* fix: GetUserReqApplicationList error when there is a disbanded group chat
* fix: error when querying some information about disbanded group
* fix: GetUserReqApplicationList dismissed group error
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* fix: the original message referenced by the pull message processing is withdrawn
* merge
* cicd: robot automated Change
---------
Co-authored-by: withchao <withchao@users.noreply.github.com>
1 year ago
Xinwei Xiong
e2004c1e9d
☀️ feat: Enhancing OpenIM with Integrated E2E Testing and CI/CD Enhancements ( #1359 )
...
* cicd: robot automated Change
* feat: add api test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add api test make file
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add openim e2e test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add openim e2e test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* fix: Fixed some unused scripts and some names
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* docs: optimize openim docs
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add prom address
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add openim info test
* feat: add openim images config path
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* fix: fix tim file rename
* fix: fix tim file rename
* fix: fix tim file rename
* fix: fix tim file rename
* fix: add openim test e2e
* feat: add openim test .keep
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: add openim test .keep
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: openim test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: openim test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
* feat: openim test
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
---------
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
Co-authored-by: cubxxw <cubxxw@users.noreply.github.com>
1 year ago
fengyun.rui
686fa80800
refactor: lower the level of code nesting ( #1370 )
...
* refactor: lower the level of code nesting
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
* refactor: lower the level of code nesting
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
---------
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
1 year ago
xuexihuang
82a8f3351f
Add Prometheus monitoring function ( #1337 )
...
* 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
---------
Co-authored-by: lin.huang <lin.huang@apulis.com>
Co-authored-by: Xinwei Xiong <3293172751@qq.com>
1 year ago
a3d21
297a8db788
feat: use dummy pusher by default ( #1349 )
1 year ago