@ -0,0 +1,7 @@
|
|||||||
|
# https://github.com/apps/weekly-digest/installations/new
|
||||||
|
publishDay: sun
|
||||||
|
canPublishIssues: true
|
||||||
|
canPublishPullRequests: true
|
||||||
|
canPublishContributors: true
|
||||||
|
canPublishStargazers: true
|
||||||
|
canPublishCommits: true
|
@ -0,0 +1,51 @@
|
|||||||
|
# Copyright © 2023 OpenIM open source community. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
|
name: OpenKF golangci-lint
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
# pull_request:
|
||||||
|
# branches: [main]
|
||||||
|
jobs:
|
||||||
|
golangci:
|
||||||
|
name: lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '1.20'
|
||||||
|
cache: false
|
||||||
|
- name: golangci-lint
|
||||||
|
uses: golangci/golangci-lint-action@v3
|
||||||
|
with:
|
||||||
|
# Require: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
||||||
|
version: v1.53
|
||||||
|
|
||||||
|
# Optional: working directory, useful for monorepos
|
||||||
|
working-directory: server
|
||||||
|
|
||||||
|
# Optional: golangci-lint command line arguments.
|
||||||
|
#
|
||||||
|
# Note: by default the `.golangci.yml` file should be at the root of the repository.
|
||||||
|
# The location of the configuration file can be changed by using `--config=`
|
||||||
|
# args: --timeout=30m --config=/my/path/.golangci.yml --issues-exit-code=0
|
||||||
|
|
||||||
|
# Optional: show only new issues if it's a pull request. The default value is `false`.
|
||||||
|
# only-new-issues: true
|
||||||
|
|
||||||
|
# Optional:The mode to install golangci-lint. It can be 'binary' or 'goinstall'.
|
||||||
|
install-mode: "goinstall"
|
@ -0,0 +1,81 @@
|
|||||||
|
name: Build Image
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "**.go"
|
||||||
|
- "!**_test.go"
|
||||||
|
- "build/**"
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
components: [core, swagger]
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 20
|
||||||
|
- uses: dorny/paths-filter@v2
|
||||||
|
if: ${{ !startsWith(github.ref_name, 'v') }}
|
||||||
|
id: changes
|
||||||
|
with:
|
||||||
|
filters: |
|
||||||
|
go:
|
||||||
|
- '**.go'
|
||||||
|
- 'build/core/Dockerfile'
|
||||||
|
api:
|
||||||
|
- 'openapi/**'
|
||||||
|
- 'build/swagger/build.sh'
|
||||||
|
- 'build/swagger/Dockerfile'
|
||||||
|
- name: Docker meta
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v4
|
||||||
|
with:
|
||||||
|
flavor: |
|
||||||
|
latest=false
|
||||||
|
images: |
|
||||||
|
${{ secrets.DOCKERHUB_USERNAME }}/openimsdk-${{ matrix.components }}
|
||||||
|
registry.cn-hangzhou.aliyuncs.com/${{ secrets.ALIREGISTRY_NAMESPACE }}/openimsdk-${{ matrix.components }}
|
||||||
|
tags: |
|
||||||
|
type=ref,event=branch
|
||||||
|
type=sha,prefix={{branch}}-,enable=${{ github.ref_type == 'branch' }}
|
||||||
|
type=ref,event=tag
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Login to Ali Container Registry
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: registry.cn-hangzhou.aliyuncs.com
|
||||||
|
username: ${{ secrets.ALIREGISTRY_USERNAME }}
|
||||||
|
password: ${{ secrets.ALIREGISTRY_TOKEN }}
|
||||||
|
|
||||||
|
- name: Condition
|
||||||
|
id: condition
|
||||||
|
run: |
|
||||||
|
echo "run=${{ startsWith(github.ref_name, 'v') || ((steps.changes.outputs.go == 'true' && (matrix.components == 'core' || matrix.components == 'job')) || (steps.changes.outputs.api == 'true' && matrix.components == 'swagger')) }}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
if: ${{ steps.condition.outputs.run == 'true' }}
|
||||||
|
uses: docker/setup-qemu-action@v2
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
if: ${{ steps.condition.outputs.run == 'true' }}
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
- name: Build and push
|
||||||
|
if: ${{ steps.condition.outputs.run == 'true' }}
|
||||||
|
uses: docker/build-push-action@v3
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./build/${{ matrix.components }}/Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
push: true
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
@ -0,0 +1,152 @@
|
|||||||
|
# Copyright © 2023 OpenIM open source community. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
name: OpenIM CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- "docs/**"
|
||||||
|
- "README.md"
|
||||||
|
- "README_zh-CN.md"
|
||||||
|
- "CONTRIBUTING.md"
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- "README.md"
|
||||||
|
- "README_zh-CN.md"
|
||||||
|
- "CONTRIBUTING.md"
|
||||||
|
- "docs/**"
|
||||||
|
|
||||||
|
env:
|
||||||
|
GO_VERSION: "1.19"
|
||||||
|
GOLANGCI_VERSION: "v1.50.1"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
openim:
|
||||||
|
name: Test with go ${{ matrix.go_version }} on ${{ matrix.os }}
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
environment:
|
||||||
|
name: openim
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
go_version: ["1.18","1.19","1.20"]
|
||||||
|
os: [ubuntu-latest]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Set up Go ${{ matrix.go_version }}
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: ${{ matrix.go_version }}
|
||||||
|
id: go
|
||||||
|
|
||||||
|
- name: Check out code into the Go module directory
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Run go modules tidy
|
||||||
|
run: |
|
||||||
|
make tidy
|
||||||
|
|
||||||
|
- name: Run go format
|
||||||
|
run: |
|
||||||
|
make format
|
||||||
|
echo "Run go format successfully"
|
||||||
|
|
||||||
|
# - name: Generate all necessary files, such as error code files
|
||||||
|
# run: |
|
||||||
|
# make generate
|
||||||
|
|
||||||
|
# - name: Check syntax and styling of go sources
|
||||||
|
# run: |
|
||||||
|
# set -e
|
||||||
|
# make lint
|
||||||
|
|
||||||
|
# - name: Run unit test and get test coverage
|
||||||
|
# run: |
|
||||||
|
# make cover
|
||||||
|
|
||||||
|
- name: Build source code for host platform
|
||||||
|
run: |
|
||||||
|
make multiarch
|
||||||
|
echo "Build source code for host platform successfully"
|
||||||
|
|
||||||
|
# - name: Collect Test Coverage File
|
||||||
|
# uses: actions/upload-artifact@v1.0.0
|
||||||
|
# with:
|
||||||
|
# name: main-output
|
||||||
|
# path: _output/tmp/coverage.out
|
||||||
|
|
||||||
|
# - name: Set up Docker Buildx
|
||||||
|
# uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
# lint:
|
||||||
|
# runs-on: ubuntu-20.04
|
||||||
|
# steps:
|
||||||
|
# - name: Checkout
|
||||||
|
# uses: actions/checkout@v3
|
||||||
|
# with:
|
||||||
|
# fetch-depth: 0
|
||||||
|
|
||||||
|
# - name: Set up Go
|
||||||
|
# uses: actions/setup-go@v3
|
||||||
|
# with:
|
||||||
|
# go-version: ${{ env.GO_VERSION }}
|
||||||
|
|
||||||
|
# - name: golangci-lint
|
||||||
|
# uses: golangci/golangci-lint-action@v3
|
||||||
|
# with:
|
||||||
|
# version: ${{ env.GOLANGCI_VERSION }}
|
||||||
|
|
||||||
|
# docker-image-tests:
|
||||||
|
# runs-on: ubuntu-20.04
|
||||||
|
# steps:
|
||||||
|
# - name: Checkout
|
||||||
|
# uses: actions/checkout@v3
|
||||||
|
# with:
|
||||||
|
# fetch-depth: 0
|
||||||
|
|
||||||
|
# - name: Set up Go
|
||||||
|
# uses: actions/setup-go@v3
|
||||||
|
# with:
|
||||||
|
# go-version: ${{ env.GO_VERSION }}
|
||||||
|
|
||||||
|
# - name: Run tests
|
||||||
|
# run: make build
|
||||||
|
|
||||||
|
# - name: Test docker image
|
||||||
|
# run: |
|
||||||
|
# docker build -t openim:ci-build .
|
||||||
|
|
||||||
|
# goreleaser-test:
|
||||||
|
# runs-on: ubuntu-20.04
|
||||||
|
# steps:
|
||||||
|
# - name: Checkout
|
||||||
|
# uses: actions/checkout@v3
|
||||||
|
# with:
|
||||||
|
# fetch-depth: 0
|
||||||
|
|
||||||
|
# - name: Set up Go
|
||||||
|
# uses: actions/setup-go@v3
|
||||||
|
# with:
|
||||||
|
# go-version: ${{ env.GO_VERSION }}
|
||||||
|
|
||||||
|
# - name: Run GoReleaser
|
||||||
|
# uses: goreleaser/goreleaser-action@v4
|
||||||
|
# with:
|
||||||
|
# version: latest
|
||||||
|
# args: release --clean --skip-publish --snapshot
|
@ -0,0 +1,69 @@
|
|||||||
|
name: OpenIM Start Execute Scripts
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- "docs/**"
|
||||||
|
- "README.md"
|
||||||
|
- "README_zh-CN.md"
|
||||||
|
- "CONTRIBUTING.md"
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- "README.md"
|
||||||
|
- "README_zh-CN.md"
|
||||||
|
- "CONTRIBUTING.md"
|
||||||
|
- "docs/**"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
execute-scripts:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Start Docker Compose
|
||||||
|
run: |
|
||||||
|
docker-compose stop
|
||||||
|
docker-compose up -d
|
||||||
|
sleep 60
|
||||||
|
|
||||||
|
- name: Stop all services
|
||||||
|
run: |
|
||||||
|
chmod +x ./scripts/stop_all.sh
|
||||||
|
./scripts/stop_all.sh
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Build all services
|
||||||
|
run: |
|
||||||
|
chmod +x ./scripts/build_all_service.sh
|
||||||
|
./scripts/build_all_service.sh
|
||||||
|
cat logs/openIM.log
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Start all services
|
||||||
|
run: |
|
||||||
|
chmod +x ./scripts/start_all.sh
|
||||||
|
./scripts/start_all.sh
|
||||||
|
cat logs/openIM.log
|
||||||
|
continue-on-error: true
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Check all services
|
||||||
|
run: |
|
||||||
|
chmod +x ./scripts/check_all.sh
|
||||||
|
./scripts/check_all.sh
|
||||||
|
cat logs/openIM.log
|
||||||
|
shell: bash
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Print openIM.log
|
||||||
|
run: |
|
||||||
|
cat logs/openIM.log
|
||||||
|
cat logs/openIM.log >> "$GITHUB_OUTPUT"
|
||||||
|
shell: bash
|
||||||
|
continue-on-error: true
|
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
[submodule "cmd/Open-IM-SDK-Core"]
|
|
||||||
path = cmd/Open-IM-SDK-Core
|
|
||||||
url = https://github.com/OpenIMSDK/Open-IM-SDK-Core.git
|
|
@ -0,0 +1 @@
|
|||||||
|
CHANGELOG/CHANGELOG.md
|
@ -1,40 +1,62 @@
|
|||||||
{{ range .Versions }}
|
# Version logging for OpenIM
|
||||||
<a name="{{ .Tag.Name }}"></a>
|
|
||||||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }}
|
|
||||||
|
|
||||||
> {{ datetime "2006-01-02" .Tag.Date }}
|
<!-- BEGIN MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
{{ range .CommitGroups -}}
|
<!-- END MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
{{ if .Versions -}}
|
||||||
|
<a name="unreleased"></a>
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
{{ if .Unreleased.CommitGroups -}}
|
||||||
|
{{ range .Unreleased.CommitGroups -}}
|
||||||
### {{ .Title }}
|
### {{ .Title }}
|
||||||
|
{{ range .Commits -}}
|
||||||
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ range .Versions }}
|
||||||
|
<a name="{{ .Tag.Name }}"></a>
|
||||||
|
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
|
||||||
|
{{ range .CommitGroups -}}
|
||||||
|
### {{ .Title }}
|
||||||
{{ range .Commits -}}
|
{{ range .Commits -}}
|
||||||
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{- if .RevertCommits -}}
|
{{- if .RevertCommits -}}
|
||||||
### Reverts
|
### Reverts
|
||||||
|
|
||||||
{{ range .RevertCommits -}}
|
{{ range .RevertCommits -}}
|
||||||
* {{ .Revert.Header }}
|
- {{ .Revert.Header }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{- if .MergeCommits -}}
|
{{- if .MergeCommits -}}
|
||||||
### Pull Requests
|
### Pull Requests
|
||||||
|
|
||||||
{{ range .MergeCommits -}}
|
{{ range .MergeCommits -}}
|
||||||
* {{ .Header }}
|
- {{ .Header }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{- if .NoteGroups -}}
|
{{- if .NoteGroups -}}
|
||||||
{{ range .NoteGroups -}}
|
{{ range .NoteGroups -}}
|
||||||
### {{ .Title }}
|
### {{ .Title }}
|
||||||
|
|
||||||
{{ range .Notes }}
|
{{ range .Notes }}
|
||||||
{{ .Body }}
|
{{ .Body }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
{{- if .Versions }}
|
||||||
|
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
|
||||||
|
{{ range .Versions -}}
|
||||||
|
{{ if .Tag.Previous -}}
|
||||||
|
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
@ -1,28 +1,67 @@
|
|||||||
|
bin: git
|
||||||
style: github
|
style: github
|
||||||
template: CHANGELOG.tpl.md
|
template: CHANGELOG.tpl.md
|
||||||
info:
|
info:
|
||||||
title: CHANGELOG
|
title: CHANGELOG
|
||||||
repository_url: https://github.com/OpenIMSDK/Open-IM-Server
|
repository_url: https://github.com/OpenIMSDK/Open-IM-Server
|
||||||
options:
|
options:
|
||||||
|
tag_filter_pattern: '^v'
|
||||||
|
sort: "date"
|
||||||
|
|
||||||
commits:
|
commits:
|
||||||
# filters:
|
filters:
|
||||||
# Type:
|
Type:
|
||||||
# - feat
|
- feat
|
||||||
# - fix
|
- fix
|
||||||
# - perf
|
- perf
|
||||||
# - refactor
|
- refactor
|
||||||
|
- docs
|
||||||
|
- test
|
||||||
|
- chore
|
||||||
|
- ci
|
||||||
|
- build
|
||||||
|
sort_by: Scope
|
||||||
|
|
||||||
commit_groups:
|
commit_groups:
|
||||||
# title_maps:
|
group_by: Type
|
||||||
# feat: Features
|
sort_by: Title
|
||||||
# fix: Bug Fixes
|
title_order:
|
||||||
# perf: Performance Improvements
|
- feat
|
||||||
# refactor: Code Refactoring
|
- fix
|
||||||
|
- perf
|
||||||
|
- refactor
|
||||||
|
- docs
|
||||||
|
- test
|
||||||
|
- chore
|
||||||
|
- ci
|
||||||
|
- build
|
||||||
|
title_maps:
|
||||||
|
feat: Features
|
||||||
|
|
||||||
header:
|
header:
|
||||||
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
|
pattern: "<regexp>"
|
||||||
pattern_maps:
|
pattern_maps:
|
||||||
- Type
|
- PropName
|
||||||
- Scope
|
|
||||||
- Subject
|
issues:
|
||||||
|
prefix:
|
||||||
|
- #
|
||||||
|
|
||||||
|
refs:
|
||||||
|
actions:
|
||||||
|
- Closes
|
||||||
|
- Fixes
|
||||||
|
|
||||||
|
merges:
|
||||||
|
pattern: "^Merge branch '(\\w+)'$"
|
||||||
|
pattern_maps:
|
||||||
|
- Source
|
||||||
|
|
||||||
|
reverts:
|
||||||
|
pattern: "^Revert \"([\\s\\S]*)\"$"
|
||||||
|
pattern_maps:
|
||||||
|
- Header
|
||||||
|
|
||||||
notes:
|
notes:
|
||||||
keywords:
|
keywords:
|
||||||
- BREAKING CHANGE
|
- BREAKING CHANGE
|
@ -1,228 +0,0 @@
|
|||||||
|
|
||||||
<a name="v2.3.3"></a>
|
|
||||||
## [v2.3.3](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.2...v2.3.3)
|
|
||||||
|
|
||||||
> 2022-09-18
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.3.2"></a>
|
|
||||||
## [v2.3.2](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc2...v2.3.2)
|
|
||||||
|
|
||||||
> 2022-09-09
|
|
||||||
|
|
||||||
### GetSelfUserInfo
|
|
||||||
|
|
||||||
* Handle the case where the user does not exist
|
|
||||||
|
|
||||||
### Pull Requests
|
|
||||||
|
|
||||||
* Merge pull request [#267](https://github.com/OpenIMSDK/Open-IM-Server/issues/267) from ouyangshi/del
|
|
||||||
* Merge pull request [#265](https://github.com/OpenIMSDK/Open-IM-Server/issues/265) from ouyangshi/del
|
|
||||||
* Merge pull request [#252](https://github.com/OpenIMSDK/Open-IM-Server/issues/252) from x-shadow-man/config-perf
|
|
||||||
* Merge pull request [#263](https://github.com/OpenIMSDK/Open-IM-Server/issues/263) from ouyangshi/main
|
|
||||||
* Merge pull request [#258](https://github.com/OpenIMSDK/Open-IM-Server/issues/258) from ouyangshi/main
|
|
||||||
* Merge pull request [#261](https://github.com/OpenIMSDK/Open-IM-Server/issues/261) from ouyangshi/v2.3.0release
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.3.0-rc2"></a>
|
|
||||||
## [v2.3.0-rc2](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc1...v2.3.0-rc2)
|
|
||||||
|
|
||||||
> 2022-07-29
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.3.0-rc1"></a>
|
|
||||||
## [v2.3.0-rc1](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc0...v2.3.0-rc1)
|
|
||||||
|
|
||||||
> 2022-07-25
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.3.0-rc0"></a>
|
|
||||||
## [v2.3.0-rc0](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.2.0...v2.3.0-rc0)
|
|
||||||
|
|
||||||
> 2022-07-15
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.2.0"></a>
|
|
||||||
## [v2.2.0](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.1.0...v2.2.0)
|
|
||||||
|
|
||||||
> 2022-07-01
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.1.0"></a>
|
|
||||||
## [v2.1.0](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.10...v2.1.0)
|
|
||||||
|
|
||||||
> 2022-06-17
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.0.10"></a>
|
|
||||||
## [v2.0.10](https://github.com/OpenIMSDK/Open-IM-Server/compare/list...v2.0.10)
|
|
||||||
|
|
||||||
> 2022-05-13
|
|
||||||
|
|
||||||
|
|
||||||
<a name="list"></a>
|
|
||||||
## [list](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.9...list)
|
|
||||||
|
|
||||||
> 2022-04-29
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.0.9"></a>
|
|
||||||
## [v2.0.9](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.7...v2.0.9)
|
|
||||||
|
|
||||||
> 2022-04-29
|
|
||||||
|
|
||||||
### Reverts
|
|
||||||
|
|
||||||
* update etcd to v3.5.2 ([#206](https://github.com/OpenIMSDK/Open-IM-Server/issues/206))
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.0.7"></a>
|
|
||||||
## [v2.0.7](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.6...v2.0.7)
|
|
||||||
|
|
||||||
> 2022-04-08
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.0.6"></a>
|
|
||||||
## [v2.0.6](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.5...v2.0.6)
|
|
||||||
|
|
||||||
> 2022-04-01
|
|
||||||
|
|
||||||
### Fix
|
|
||||||
|
|
||||||
* json tag value of UserIDResult.UserID ([#178](https://github.com/OpenIMSDK/Open-IM-Server/issues/178))
|
|
||||||
|
|
||||||
### Pull Requests
|
|
||||||
|
|
||||||
* Merge pull request [#173](https://github.com/OpenIMSDK/Open-IM-Server/issues/173) from OpenIMSDK/tuoyun
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.0.5"></a>
|
|
||||||
## [v2.0.5](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.04...v2.0.5)
|
|
||||||
|
|
||||||
> 2022-03-24
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.04"></a>
|
|
||||||
## [v2.04](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.3...v2.04)
|
|
||||||
|
|
||||||
> 2022-03-18
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.0.3"></a>
|
|
||||||
## [v2.0.3](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.2...v2.0.3)
|
|
||||||
|
|
||||||
> 2022-03-11
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.0.2"></a>
|
|
||||||
## [v2.0.2](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.1...v2.0.2)
|
|
||||||
|
|
||||||
> 2022-03-04
|
|
||||||
|
|
||||||
### Version
|
|
||||||
|
|
||||||
* "3"
|
|
||||||
* "2"
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.0.1"></a>
|
|
||||||
## [v2.0.1](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.0...v2.0.1)
|
|
||||||
|
|
||||||
> 2022-02-25
|
|
||||||
|
|
||||||
### DbMysqlDatabaseName
|
|
||||||
|
|
||||||
* openIM_v2
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v2.0.0"></a>
|
|
||||||
## [v2.0.0](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.7...v2.0.0)
|
|
||||||
|
|
||||||
> 2022-02-23
|
|
||||||
|
|
||||||
### Pb
|
|
||||||
|
|
||||||
* open_im_sdk.OfflinePushInfo
|
|
||||||
|
|
||||||
### Pull Requests
|
|
||||||
|
|
||||||
* Merge pull request [#131](https://github.com/OpenIMSDK/Open-IM-Server/issues/131) from OpenIMSDK/cms-dev
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v1.0.7"></a>
|
|
||||||
## [v1.0.7](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.6...v1.0.7)
|
|
||||||
|
|
||||||
> 2021-12-17
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v1.0.6"></a>
|
|
||||||
## [v1.0.6](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.5...v1.0.6)
|
|
||||||
|
|
||||||
> 2021-12-10
|
|
||||||
|
|
||||||
### Pb
|
|
||||||
|
|
||||||
* open_im_sdk.OfflinePushInfo
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v1.0.5"></a>
|
|
||||||
## [v1.0.5](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.4...v1.0.5)
|
|
||||||
|
|
||||||
> 2021-12-03
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v1.0.4"></a>
|
|
||||||
## [v1.0.4](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.3...v1.0.4)
|
|
||||||
|
|
||||||
> 2021-11-25
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v1.0.3"></a>
|
|
||||||
## [v1.0.3](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.1...v1.0.3)
|
|
||||||
|
|
||||||
> 2021-11-12
|
|
||||||
|
|
||||||
### Feat
|
|
||||||
|
|
||||||
* test utils ([#26](https://github.com/OpenIMSDK/Open-IM-Server/issues/26))
|
|
||||||
|
|
||||||
### Fix
|
|
||||||
|
|
||||||
* Startup error ([#11](https://github.com/OpenIMSDK/Open-IM-Server/issues/11))
|
|
||||||
|
|
||||||
### Pull Requests
|
|
||||||
|
|
||||||
* Merge pull request [#12](https://github.com/OpenIMSDK/Open-IM-Server/issues/12) from njulk/main
|
|
||||||
* Merge pull request [#9](https://github.com/OpenIMSDK/Open-IM-Server/issues/9) from xmcy0011/dev
|
|
||||||
* Merge pull request [#6](https://github.com/OpenIMSDK/Open-IM-Server/issues/6) from Bloomingg/int
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v1.0.1"></a>
|
|
||||||
## [v1.0.1](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.0...v1.0.1)
|
|
||||||
|
|
||||||
> 2021-11-04
|
|
||||||
|
|
||||||
|
|
||||||
<a name="v1.0.0"></a>
|
|
||||||
## v1.0.0
|
|
||||||
|
|
||||||
> 2021-10-28
|
|
||||||
|
|
||||||
### Ci
|
|
||||||
|
|
||||||
* ignore files created by docker-compose ([#19](https://github.com/OpenIMSDK/Open-IM-Server/issues/19))
|
|
||||||
|
|
||||||
### Feat
|
|
||||||
|
|
||||||
* optimise get server ip ([#20](https://github.com/OpenIMSDK/Open-IM-Server/issues/20))
|
|
||||||
|
|
||||||
### Reverts
|
|
||||||
|
|
||||||
* friend modify
|
|
||||||
* update
|
|
||||||
|
|
||||||
### Pull Requests
|
|
||||||
|
|
||||||
* Merge pull request [#7](https://github.com/OpenIMSDK/Open-IM-Server/issues/7) from memory-qianxiao/docker-compose_update
|
|
||||||
* Merge pull request [#4](https://github.com/OpenIMSDK/Open-IM-Server/issues/4) from wujingke/patch-1
|
|
||||||
|
|
@ -0,0 +1,56 @@
|
|||||||
|
# Version logging for OpenIM
|
||||||
|
|
||||||
|
> **Note**:
|
||||||
|
> Deprecated version logging for OpenIM, please refer to [CHANGELOG.md](../CHANGELOG.md)
|
||||||
|
|
||||||
|
<!-- BEGIN MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
- [Version logging for OpenIM](#version-logging-for-openim)
|
||||||
|
- [Unreleased](#unreleased)
|
||||||
|
- [v1.0.7 - 2021-12-17](#v107---2021-12-17)
|
||||||
|
- [v1.0.6 - 2021-12-10](#v106---2021-12-10)
|
||||||
|
- [v1.0.5 - 2021-12-03](#v105---2021-12-03)
|
||||||
|
- [v1.0.4 - 2021-11-25](#v104---2021-11-25)
|
||||||
|
- [v1.0.3 - 2021-11-12](#v103---2021-11-12)
|
||||||
|
- [v1.0.1 - 2021-11-04](#v101---2021-11-04)
|
||||||
|
- [v1.0.0 - 2021-10-28](#v100---2021-10-28)
|
||||||
|
- [Reverts](#reverts)
|
||||||
|
|
||||||
|
<!-- END MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
<a name="unreleased"></a>
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v1.0.7"></a>
|
||||||
|
## [v1.0.7] - 2021-12-17
|
||||||
|
|
||||||
|
<a name="v1.0.6"></a>
|
||||||
|
## [v1.0.6] - 2021-12-10
|
||||||
|
|
||||||
|
<a name="v1.0.5"></a>
|
||||||
|
## [v1.0.5] - 2021-12-03
|
||||||
|
|
||||||
|
<a name="v1.0.4"></a>
|
||||||
|
## [v1.0.4] - 2021-11-25
|
||||||
|
|
||||||
|
<a name="v1.0.3"></a>
|
||||||
|
## [v1.0.3] - 2021-11-12
|
||||||
|
|
||||||
|
<a name="v1.0.1"></a>
|
||||||
|
## [v1.0.1] - 2021-11-04
|
||||||
|
|
||||||
|
<a name="v1.0.0"></a>
|
||||||
|
## v1.0.0 - 2021-10-28
|
||||||
|
### Reverts
|
||||||
|
- friend modify
|
||||||
|
- update
|
||||||
|
|
||||||
|
|
||||||
|
[Unreleased]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.7...HEAD
|
||||||
|
[v1.0.7]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.6...v1.0.7
|
||||||
|
[v1.0.6]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.5...v1.0.6
|
||||||
|
[v1.0.5]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.4...v1.0.5
|
||||||
|
[v1.0.4]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.3...v1.0.4
|
||||||
|
[v1.0.3]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.1...v1.0.3
|
||||||
|
[v1.0.1]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.0...v1.0.1
|
@ -0,0 +1,121 @@
|
|||||||
|
# Version logging for OpenIM:v2.0
|
||||||
|
|
||||||
|
> **Note**:
|
||||||
|
> Deprecated version logging for OpenIM, please refer to [CHANGELOG.md](../CHANGELOG.md)
|
||||||
|
|
||||||
|
<!-- BEGIN MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
- [Version logging for OpenIM:v2.0](#version-logging-for-openimv20)
|
||||||
|
- [\[Unreleased\]](#unreleased)
|
||||||
|
- [\[v2.0.10\] - 2022-05-13](#v2010---2022-05-13)
|
||||||
|
- [\[v2.0.9\] - 2022-04-29](#v209---2022-04-29)
|
||||||
|
- [Reverts](#reverts)
|
||||||
|
- [Pull Requests](#pull-requests)
|
||||||
|
- [\[v2.0.8\] - 2022-04-24](#v208---2022-04-24)
|
||||||
|
- [Pull Requests](#pull-requests-1)
|
||||||
|
- [\[v2.0.7\] - 2022-04-08](#v207---2022-04-08)
|
||||||
|
- [Pull Requests](#pull-requests-2)
|
||||||
|
- [\[v2.0.6\] - 2022-04-01](#v206---2022-04-01)
|
||||||
|
- [Pull Requests](#pull-requests-3)
|
||||||
|
- [\[v2.0.5\] - 2022-03-24](#v205---2022-03-24)
|
||||||
|
- [\[v2.04\] - 2022-03-18](#v204---2022-03-18)
|
||||||
|
- [\[v2.0.3\] - 2022-03-11](#v203---2022-03-11)
|
||||||
|
- [\[v2.0.2\] - 2022-03-04](#v202---2022-03-04)
|
||||||
|
- [Pull Requests](#pull-requests-4)
|
||||||
|
- [\[v2.0.1\] - 2022-02-25](#v201---2022-02-25)
|
||||||
|
- [v2.0.0 - 2022-02-23](#v200---2022-02-23)
|
||||||
|
- [Reverts](#reverts-1)
|
||||||
|
|
||||||
|
<!-- END MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
|
||||||
|
<a name="unreleased"></a>
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.10"></a>
|
||||||
|
|
||||||
|
## [v2.0.10] - 2022-05-13
|
||||||
|
|
||||||
|
<a name="v2.0.9"></a>
|
||||||
|
|
||||||
|
## [v2.0.9] - 2022-04-29
|
||||||
|
|
||||||
|
### Reverts
|
||||||
|
|
||||||
|
- update etcd to v3.5.2 ([#206](https://github.com/OpenIMSDK/Open-IM-Server/issues/206))
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.8"></a>
|
||||||
|
|
||||||
|
## [v2.0.8] - 2022-04-24
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.7"></a>
|
||||||
|
|
||||||
|
## [v2.0.7] - 2022-04-08
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.6"></a>
|
||||||
|
|
||||||
|
## [v2.0.6] - 2022-04-01
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.5"></a>
|
||||||
|
|
||||||
|
## [v2.0.5] - 2022-03-24
|
||||||
|
|
||||||
|
<a name="v2.04"></a>
|
||||||
|
|
||||||
|
## [v2.04] - 2022-03-18
|
||||||
|
|
||||||
|
<a name="v2.0.3"></a>
|
||||||
|
|
||||||
|
## [v2.0.3] - 2022-03-11
|
||||||
|
|
||||||
|
<a name="v2.0.2"></a>
|
||||||
|
|
||||||
|
## [v2.0.2] - 2022-03-04
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.1"></a>
|
||||||
|
|
||||||
|
## [v2.0.1] - 2022-02-25
|
||||||
|
|
||||||
|
<a name="v2.0.0"></a>
|
||||||
|
|
||||||
|
## v2.0.0 - 2022-02-23
|
||||||
|
|
||||||
|
### Reverts
|
@ -0,0 +1,50 @@
|
|||||||
|
# Version logging for OpenIM:v2.1
|
||||||
|
|
||||||
|
> **Note**:
|
||||||
|
> Deprecated version logging for OpenIM, please refer to [CHANGELOG.md](../CHANGELOG.md)
|
||||||
|
|
||||||
|
<!-- BEGIN MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
- [Version logging for OpenIM:v2.1](#version-logging-for-openimv21)
|
||||||
|
- [Unreleased](#unreleased)
|
||||||
|
- [v2.1.0 - 2022-06-17](#v210---2022-06-17)
|
||||||
|
- [Reverts](#reverts)
|
||||||
|
- [Pull Requests](#pull-requests)
|
||||||
|
|
||||||
|
|
||||||
|
<!-- END MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
<a name="unreleased"></a>
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.1.0"></a>
|
||||||
|
## v2.1.0 - 2022-06-17
|
||||||
|
### Reverts
|
||||||
|
- update etcd to v3.5.2 ([#206](https://github.com/OpenIMSDK/Open-IM-Server/issues/206))
|
||||||
|
- friend modify
|
||||||
|
- update
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
[Unreleased]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.1.0...HEAD
|
@ -0,0 +1,50 @@
|
|||||||
|
# Version logging for OpenIM:v2.2
|
||||||
|
|
||||||
|
> **Note**:
|
||||||
|
> Deprecated version logging for OpenIM, please refer to [CHANGELOG.md](../CHANGELOG.md)
|
||||||
|
|
||||||
|
<!-- BEGIN MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
- [Version logging for OpenIM:v2.2](#version-logging-for-openimv22)
|
||||||
|
- [Unreleased](#unreleased)
|
||||||
|
- [v2.2.0 - 2022-07-01](#v220---2022-07-01)
|
||||||
|
- [Reverts](#reverts)
|
||||||
|
- [Pull Requests](#pull-requests)
|
||||||
|
|
||||||
|
|
||||||
|
<!-- END MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
<a name="unreleased"></a>
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.2.0"></a>
|
||||||
|
## v2.2.0 - 2022-07-01
|
||||||
|
### Reverts
|
||||||
|
- update etcd to v3.5.2 ([#206](https://github.com/OpenIMSDK/Open-IM-Server/issues/206))
|
||||||
|
- friend modify
|
||||||
|
- update
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
[Unreleased]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.2.0...HEAD
|
@ -0,0 +1,70 @@
|
|||||||
|
# Version logging for OpenIM:v2.3
|
||||||
|
|
||||||
|
> **Note**:
|
||||||
|
> Deprecated version logging for OpenIM, please refer to [CHANGELOG.md](../CHANGELOG.md)
|
||||||
|
|
||||||
|
<!-- BEGIN MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
- [Version logging for OpenIM:v2.3](#version-logging-for-openimv23)
|
||||||
|
- [Unreleased](#unreleased)
|
||||||
|
- [v2.3.3 - 2022-09-18](#v233---2022-09-18)
|
||||||
|
- [v2.3.2 - 2022-09-09](#v232---2022-09-09)
|
||||||
|
- [v2.3.0-rc2 - 2022-07-29](#v230-rc2---2022-07-29)
|
||||||
|
- [v2.3.0-rc1 - 2022-07-25](#v230-rc1---2022-07-25)
|
||||||
|
- [v2.3.0-rc0 - 2022-07-15](#v230-rc0---2022-07-15)
|
||||||
|
- [Reverts](#reverts)
|
||||||
|
- [Pull Requests](#pull-requests)
|
||||||
|
|
||||||
|
|
||||||
|
<!-- END MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
<a name="unreleased"></a>
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.3.3"></a>
|
||||||
|
## [v2.3.3] - 2022-09-18
|
||||||
|
|
||||||
|
<a name="v2.3.2"></a>
|
||||||
|
## [v2.3.2] - 2022-09-09
|
||||||
|
|
||||||
|
<a name="v2.3.0-rc2"></a>
|
||||||
|
## [v2.3.0-rc2] - 2022-07-29
|
||||||
|
|
||||||
|
<a name="v2.3.0-rc1"></a>
|
||||||
|
## [v2.3.0-rc1] - 2022-07-25
|
||||||
|
|
||||||
|
<a name="v2.3.0-rc0"></a>
|
||||||
|
## v2.3.0-rc0 - 2022-07-15
|
||||||
|
### Reverts
|
||||||
|
- update etcd to v3.5.2 ([#206](https://github.com/OpenIMSDK/Open-IM-Server/issues/206))
|
||||||
|
- friend modify
|
||||||
|
- update
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
[Unreleased]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.3...HEAD
|
||||||
|
[v2.3.3]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.2...v2.3.3
|
||||||
|
[v2.3.2]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc2...v2.3.2
|
||||||
|
[v2.3.0-rc2]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc1...v2.3.0-rc2
|
||||||
|
[v2.3.0-rc1]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc0...v2.3.0-rc1
|
@ -0,0 +1,52 @@
|
|||||||
|
# Version logging for OpenIM
|
||||||
|
|
||||||
|
<!-- BEGIN MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
- [Version logging for OpenIM](#version-logging-for-openim)
|
||||||
|
- [Unreleased](#unreleased)
|
||||||
|
- [v2.9.0+1.839643f - 2023-07-07](#v2901839643f---2023-07-07)
|
||||||
|
- [v2.9.0+2.35f07fe - 2023-07-06](#v290235f07fe---2023-07-06)
|
||||||
|
- [v2.9.0+1.b5072b1 - 2023-07-05](#v2901b5072b1---2023-07-05)
|
||||||
|
- [v2.9.0+3.2667a3a - 2023-07-05](#v29032667a3a---2023-07-05)
|
||||||
|
- [v2.9.0+7.04818ca - 2023-07-05](#v290704818ca---2023-07-05)
|
||||||
|
- [v2.9.0 - 2023-07-04](#v290---2023-07-04)
|
||||||
|
- [Reverts](#reverts)
|
||||||
|
- [Pull Requests](#pull-requests)
|
||||||
|
|
||||||
|
|
||||||
|
<!-- END MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
<a name="unreleased"></a>
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.9.0+1.839643f"></a>
|
||||||
|
## [v2.9.0+1.839643f] - 2023-07-07
|
||||||
|
|
||||||
|
<a name="v2.9.0+2.35f07fe"></a>
|
||||||
|
## [v2.9.0+2.35f07fe] - 2023-07-06
|
||||||
|
|
||||||
|
<a name="v2.9.0+1.b5072b1"></a>
|
||||||
|
## [v2.9.0+1.b5072b1] - 2023-07-05
|
||||||
|
|
||||||
|
<a name="v2.9.0+3.2667a3a"></a>
|
||||||
|
## [v2.9.0+3.2667a3a] - 2023-07-05
|
||||||
|
|
||||||
|
<a name="v2.9.0+7.04818ca"></a>
|
||||||
|
## [v2.9.0+7.04818ca] - 2023-07-05
|
||||||
|
|
||||||
|
<a name="v2.9.0"></a>
|
||||||
|
## v2.9.0 - 2023-07-04
|
||||||
|
### Reverts
|
||||||
|
- update etcd to v3.5.2 ([#206](https://github.com/OpenIMSDK/Open-IM-Server/issues/206))
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
[Unreleased]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.9.0+1.839643f...HEAD
|
||||||
|
[v2.9.0+1.839643f]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.9.0+2.35f07fe...v2.9.0+1.839643f
|
||||||
|
[v2.9.0+2.35f07fe]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.9.0+1.b5072b1...v2.9.0+2.35f07fe
|
||||||
|
[v2.9.0+1.b5072b1]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.9.0+3.2667a3a...v2.9.0+1.b5072b1
|
||||||
|
[v2.9.0+3.2667a3a]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.9.0+7.04818ca...v2.9.0+3.2667a3a
|
||||||
|
[v2.9.0+7.04818ca]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.9.0...v2.9.0+7.04818ca
|
@ -0,0 +1,188 @@
|
|||||||
|
# Version logging for OpenIM
|
||||||
|
|
||||||
|
<!-- BEGIN MUNGE: GENERATED_TOC -->
|
||||||
|
- [Version logging for OpenIM](#version-logging-for-openim)
|
||||||
|
- [Unreleased](#unreleased)
|
||||||
|
- [v2.9.0 - 2023-07-04](#v290---2023-07-04)
|
||||||
|
- [Reverts](#reverts)
|
||||||
|
- [Pull Requests](#pull-requests)
|
||||||
|
- [v2.3.3 - 2022-09-18](#v233---2022-09-18)
|
||||||
|
- [v2.3.2 - 2022-09-09](#v232---2022-09-09)
|
||||||
|
- [v2.3.0-rc2 - 2022-07-29](#v230-rc2---2022-07-29)
|
||||||
|
- [v2.3.0-rc1 - 2022-07-25](#v230-rc1---2022-07-25)
|
||||||
|
- [v2.3.0-rc0 - 2022-07-15](#v230-rc0---2022-07-15)
|
||||||
|
- [v2.2.0 - 2022-07-01](#v220---2022-07-01)
|
||||||
|
- [v2.1.0 - 2022-06-17](#v210---2022-06-17)
|
||||||
|
- [Pull Requests](#pull-requests-1)
|
||||||
|
- [v2.0.10 - 2022-05-13](#v2010---2022-05-13)
|
||||||
|
- [v2.0.9 - 2022-04-29](#v209---2022-04-29)
|
||||||
|
- [Reverts](#reverts-1)
|
||||||
|
- [Pull Requests](#pull-requests-2)
|
||||||
|
- [v2.0.7 - 2022-04-08](#v207---2022-04-08)
|
||||||
|
- [Pull Requests](#pull-requests-3)
|
||||||
|
- [v2.0.6 - 2022-04-01](#v206---2022-04-01)
|
||||||
|
- [Pull Requests](#pull-requests-4)
|
||||||
|
- [v2.0.5 - 2022-03-24](#v205---2022-03-24)
|
||||||
|
- [v2.04 - 2022-03-18](#v204---2022-03-18)
|
||||||
|
- [v2.0.3 - 2022-03-11](#v203---2022-03-11)
|
||||||
|
- [v2.0.2 - 2022-03-04](#v202---2022-03-04)
|
||||||
|
- [Pull Requests](#pull-requests-5)
|
||||||
|
- [v2.0.1 - 2022-02-25](#v201---2022-02-25)
|
||||||
|
- [v2.0.0 - 2022-02-23](#v200---2022-02-23)
|
||||||
|
- [v1.0.7 - 2021-12-17](#v107---2021-12-17)
|
||||||
|
- [v1.0.6 - 2021-12-10](#v106---2021-12-10)
|
||||||
|
- [v1.0.5 - 2021-12-03](#v105---2021-12-03)
|
||||||
|
- [v1.0.4 - 2021-11-25](#v104---2021-11-25)
|
||||||
|
- [v1.0.3 - 2021-11-12](#v103---2021-11-12)
|
||||||
|
- [v1.0.1 - 2021-11-04](#v101---2021-11-04)
|
||||||
|
- [v1.0.0 - 2021-10-28](#v100---2021-10-28)
|
||||||
|
- [Reverts](#reverts-2)
|
||||||
|
|
||||||
|
<!-- END MUNGE: GENERATED_TOC -->
|
||||||
|
|
||||||
|
<a name="unreleased"></a>
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.9.0"></a>
|
||||||
|
## [v2.9.0] - 2023-07-04
|
||||||
|
### Reverts
|
||||||
|
- update etcd to v3.5.2 ([#206](https://github.com/OpenIMSDK/Open-IM-Server/issues/206))
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.3.3"></a>
|
||||||
|
## [v2.3.3] - 2022-09-18
|
||||||
|
|
||||||
|
<a name="v2.3.2"></a>
|
||||||
|
## [v2.3.2] - 2022-09-09
|
||||||
|
|
||||||
|
<a name="v2.3.0-rc2"></a>
|
||||||
|
## [v2.3.0-rc2] - 2022-07-29
|
||||||
|
|
||||||
|
<a name="v2.3.0-rc1"></a>
|
||||||
|
## [v2.3.0-rc1] - 2022-07-25
|
||||||
|
|
||||||
|
<a name="v2.3.0-rc0"></a>
|
||||||
|
## [v2.3.0-rc0] - 2022-07-15
|
||||||
|
|
||||||
|
<a name="v2.2.0"></a>
|
||||||
|
## [v2.2.0] - 2022-07-01
|
||||||
|
|
||||||
|
<a name="v2.1.0"></a>
|
||||||
|
## [v2.1.0] - 2022-06-17
|
||||||
|
### Pull Requests
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.10"></a>
|
||||||
|
## [v2.0.10] - 2022-05-13
|
||||||
|
|
||||||
|
<a name="v2.0.9"></a>
|
||||||
|
## [v2.0.9] - 2022-04-29
|
||||||
|
### Reverts
|
||||||
|
- update etcd to v3.5.2 ([#206](https://github.com/OpenIMSDK/Open-IM-Server/issues/206))
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.7"></a>
|
||||||
|
## [v2.0.7] - 2022-04-08
|
||||||
|
### Pull Requests
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.6"></a>
|
||||||
|
## [v2.0.6] - 2022-04-01
|
||||||
|
### Pull Requests
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.5"></a>
|
||||||
|
## [v2.0.5] - 2022-03-24
|
||||||
|
|
||||||
|
<a name="v2.04"></a>
|
||||||
|
## [v2.04] - 2022-03-18
|
||||||
|
|
||||||
|
<a name="v2.0.3"></a>
|
||||||
|
## [v2.0.3] - 2022-03-11
|
||||||
|
|
||||||
|
<a name="v2.0.2"></a>
|
||||||
|
## [v2.0.2] - 2022-03-04
|
||||||
|
### Pull Requests
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
- Merge branch 'tuoyun'
|
||||||
|
|
||||||
|
|
||||||
|
<a name="v2.0.1"></a>
|
||||||
|
## [v2.0.1] - 2022-02-25
|
||||||
|
|
||||||
|
<a name="v2.0.0"></a>
|
||||||
|
## [v2.0.0] - 2022-02-23
|
||||||
|
|
||||||
|
<a name="v1.0.7"></a>
|
||||||
|
## [v1.0.7] - 2021-12-17
|
||||||
|
|
||||||
|
<a name="v1.0.6"></a>
|
||||||
|
## [v1.0.6] - 2021-12-10
|
||||||
|
|
||||||
|
<a name="v1.0.5"></a>
|
||||||
|
## [v1.0.5] - 2021-12-03
|
||||||
|
|
||||||
|
<a name="v1.0.4"></a>
|
||||||
|
## [v1.0.4] - 2021-11-25
|
||||||
|
|
||||||
|
<a name="v1.0.3"></a>
|
||||||
|
## [v1.0.3] - 2021-11-12
|
||||||
|
|
||||||
|
<a name="v1.0.1"></a>
|
||||||
|
## [v1.0.1] - 2021-11-04
|
||||||
|
|
||||||
|
<a name="v1.0.0"></a>
|
||||||
|
## v1.0.0 - 2021-10-28
|
||||||
|
### Reverts
|
||||||
|
- friend modify
|
||||||
|
- update
|
||||||
|
|
||||||
|
|
||||||
|
[Unreleased]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.9.0...HEAD
|
||||||
|
[v2.9.0]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.3...v2.9.0
|
||||||
|
[v2.3.3]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.2...v2.3.3
|
||||||
|
[v2.3.2]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc2...v2.3.2
|
||||||
|
[v2.3.0-rc2]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc1...v2.3.0-rc2
|
||||||
|
[v2.3.0-rc1]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc0...v2.3.0-rc1
|
||||||
|
[v2.3.0-rc0]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.2.0...v2.3.0-rc0
|
||||||
|
[v2.2.0]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.1.0...v2.2.0
|
||||||
|
[v2.1.0]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.10...v2.1.0
|
||||||
|
[v2.0.10]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.9...v2.0.10
|
||||||
|
[v2.0.9]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.7...v2.0.9
|
||||||
|
[v2.0.7]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.6...v2.0.7
|
||||||
|
[v2.0.6]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.5...v2.0.6
|
||||||
|
[v2.0.5]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.04...v2.0.5
|
||||||
|
[v2.04]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.3...v2.04
|
||||||
|
[v2.0.3]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.2...v2.0.3
|
||||||
|
[v2.0.2]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.1...v2.0.2
|
||||||
|
[v2.0.1]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.0...v2.0.1
|
||||||
|
[v2.0.0]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.7...v2.0.0
|
||||||
|
[v1.0.7]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.6...v1.0.7
|
||||||
|
[v1.0.6]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.5...v1.0.6
|
||||||
|
[v1.0.5]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.4...v1.0.5
|
||||||
|
[v1.0.4]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.3...v1.0.4
|
||||||
|
[v1.0.3]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.1...v1.0.3
|
||||||
|
[v1.0.1]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.0...v1.0.1
|
@ -1,3 +1,37 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
+ [https://github.com/OpenIMSDK/Open-IM-Server/releases](https://github.com/OpenIMSDK/Open-IM-Server/releases)
|
||||||
|
|
||||||
|
## command
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git-chglog --tag-filter-pattern 'v2.0.*' -o CHANGELOG-2.0.md
|
||||||
|
```
|
||||||
|
|
||||||
|
## create next tag
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git-chglog --next-tag 2.0.0 -o CHANGELOG.md
|
||||||
|
git commit -am "release 2.0.0"
|
||||||
|
git tag 2.0.0
|
||||||
|
```
|
||||||
|
|
||||||
|
| Query | Description | Example |
|
||||||
|
| -------------- | ---------------------------------------------- | --------------------------- |
|
||||||
|
| `<old>..<new>` | Commit contained in `<new>` tags from `<old>`. | `$ git-chglog 1.0.0..2.0.0` |
|
||||||
|
| `<name>..` | Commit from the `<name>` to the latest tag. | `$ git-chglog 1.0.0..` |
|
||||||
|
| `..<name>` | Commit from the oldest tag to `<name>`. | `$ git-chglog ..2.0.0` |
|
||||||
|
| `<name>` | Commit contained in `<name>`. | `$ git-chglog 1.0.0` |
|
||||||
|
|
||||||
|
|
||||||
|
## Release version logs
|
||||||
|
|
||||||
|
+ [OpenIM CHANGELOG-V1.0](CHANGELOG-1.0.md)
|
||||||
|
+ [OpenIM CHANGELOG-V2.0](CHANGELOG-2.0.md)
|
||||||
|
+ [OpenIM CHANGELOG-V2.1](CHANGELOG-2.1.md)
|
||||||
|
+ [OpenIM CHANGELOG-V2.2](CHANGELOG-2.2.md)
|
||||||
|
+ [OpenIM CHANGELOG-V2.3](CHANGELOG-2.3.md)
|
||||||
|
+ [OpenIM CHANGELOG-V2.9](CHANGELOG-2.9.md)
|
||||||
|
+ [OpenIM CHANGELOG-V3.0](CHANGELOG-3.0.md)
|
@ -0,0 +1,32 @@
|
|||||||
|
# `/assets`
|
||||||
|
|
||||||
|
The `/assets` directory in the OpenIM repository contains various assets such as images, logos, and animated GIFs. These assets serve different purposes and contribute to the functionality and aesthetics of the OpenIM project.
|
||||||
|
|
||||||
|
## Directory Structure:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
assets/
|
||||||
|
├── README.md # Documentation for the assets directory
|
||||||
|
├── images # Directory holding images related to OpenIM
|
||||||
|
│ ├── architecture.png # Image depicting the architecture of OpenIM
|
||||||
|
│ └── mvc.png # Image illustrating the Model-View-Controller (MVC) pattern
|
||||||
|
├── intive-slack.png # Image displaying the Intive Slack logo
|
||||||
|
├── logo # Directory containing various logo variations for OpenIM
|
||||||
|
│ ├── openim-logo-black.png # OpenIM logo with a black background
|
||||||
|
│ ├── openim-logo-blue.png # OpenIM logo with a blue background
|
||||||
|
│ ├── openim-logo-green.png # OpenIM logo with a green background
|
||||||
|
│ ├── openim-logo-purple.png # OpenIM logo with a purple background
|
||||||
|
│ ├── openim-logo-white.png # OpenIM logo with a white background
|
||||||
|
│ ├── openim-logo-yellow.png # OpenIM logo with a yellow background
|
||||||
|
│ └── openim-logo.png # OpenIM logo with a transparent background
|
||||||
|
└── logo-gif # Directory containing animated GIF versions of the OpenIM logo
|
||||||
|
└── openim-log.gif # Animated OpenIM logo with a transparent background
|
||||||
|
```
|
||||||
|
|
||||||
|
## Copyright Notice:
|
||||||
|
|
||||||
|
The OpenIM logo, including its variations and animated versions, displayed in this repository [OpenIM](https://github.com/OpenIMSDK/openim) under the `/assets/logo` and `/assets/logo-gif` directories, are protected by copyright laws.
|
||||||
|
|
||||||
|
The logo design is credited to @Xx(席欣).
|
||||||
|
|
||||||
|
Please respect the intellectual property rights and refrain from unauthorized use and distribution of these assets.
|
After Width: | Height: | Size: 21 KiB |
@ -0,0 +1 @@
|
|||||||
|
# The OpenIM logo files are licensed under a choice of either Apache-2.0 or CC-BY-4.0 (Creative Commons Attribution 4.0 International).
|
After Width: | Height: | Size: 1.6 MiB |
@ -0,0 +1 @@
|
|||||||
|
# The OpenIM logo files are licensed under a choice of either Apache-2.0 or CC-BY-4.0 (Creative Commons Attribution 4.0 International).
|
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 58 KiB |
@ -1,18 +0,0 @@
|
|||||||
FROM ubuntu
|
|
||||||
|
|
||||||
WORKDIR /Open-IM-Server/bin
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
|
||||||
&&apt-get install net-tools
|
|
||||||
#Non-interactive operation
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
|
||||||
RUN apt-get install -y vim curl tzdata gawk
|
|
||||||
#Time zone adjusted to East eighth District
|
|
||||||
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
|
||||||
RUN apt-get -qq update \
|
|
||||||
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
|
||||||
COPY ./open_im_api ./
|
|
||||||
|
|
||||||
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
|
||||||
|
|
||||||
CMD ["./open_im_api","--port", "10002"]
|
|
@ -1,18 +0,0 @@
|
|||||||
FROM ubuntu
|
|
||||||
|
|
||||||
WORKDIR /Open-IM-Server/bin
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
|
||||||
&&apt-get install net-tools
|
|
||||||
#Non-interactive operation
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
|
||||||
RUN apt-get install -y vim curl tzdata gawk
|
|
||||||
#Time zone adjusted to East eighth District
|
|
||||||
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
|
||||||
RUN apt-get -qq update \
|
|
||||||
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
|
||||||
COPY ./open_im_cron_task ./
|
|
||||||
|
|
||||||
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
|
||||||
|
|
||||||
CMD ["./open_im_cron_task"]
|
|
@ -1,13 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/internal/tools"
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
cronTaskCmd := cmd.NewCronTaskCmd()
|
|
||||||
if err := cronTaskCmd.Exec(tools.StartCronTask); err != nil {
|
|
||||||
panic(err.Error())
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
msgGatewayCmd := cmd.NewMsgGatewayCmd()
|
|
||||||
msgGatewayCmd.AddWsPortFlag()
|
|
||||||
msgGatewayCmd.AddPortFlag()
|
|
||||||
msgGatewayCmd.AddPrometheusPortFlag()
|
|
||||||
if err := msgGatewayCmd.Exec(); err != nil {
|
|
||||||
panic(err.Error())
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
.PHONY: all build run gotool install clean help
|
|
||||||
|
|
||||||
NAME=open_im_msg_transfer
|
|
||||||
BIN_DIR=../../bin/
|
|
||||||
|
|
||||||
OS:= $(or $(os),linux)
|
|
||||||
ARCH:=$(or $(arch),amd64)
|
|
||||||
all: gotool build
|
|
||||||
|
|
||||||
ifeq ($(OS),windows)
|
|
||||||
|
|
||||||
BINARY_NAME=${NAME}.exe
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
BINARY_NAME=${NAME}
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
build:
|
|
||||||
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
|
|
||||||
|
|
||||||
run:
|
|
||||||
@go run ./
|
|
||||||
|
|
||||||
gotool:
|
|
||||||
go fmt ./
|
|
||||||
go vet ./
|
|
||||||
|
|
||||||
install:build
|
|
||||||
mv ${BINARY_NAME} ${BIN_DIR}
|
|
||||||
|
|
||||||
clean:
|
|
||||||
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
|
|
@ -1,18 +0,0 @@
|
|||||||
FROM ubuntu
|
|
||||||
|
|
||||||
WORKDIR /Open-IM-Server/bin
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
|
||||||
&&apt-get install net-tools
|
|
||||||
#Non-interactive operation
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
|
||||||
RUN apt-get install -y vim curl tzdata gawk
|
|
||||||
#Time zone adjusted to East eighth District
|
|
||||||
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
|
||||||
RUN apt-get -qq update \
|
|
||||||
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
|
||||||
COPY ./open_im_msg_transfer ./
|
|
||||||
|
|
||||||
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
|
||||||
|
|
||||||
CMD ["./open_im_msg_transfer","--prometheus_port", "21400"]
|
|
@ -1,6 +1,6 @@
|
|||||||
.PHONY: all build run gotool install clean help
|
.PHONY: all build run gotool install clean help
|
||||||
|
|
||||||
NAME=open_im_api
|
NAME=openim-api
|
||||||
BIN_DIR=../../bin/
|
BIN_DIR=../../bin/
|
||||||
|
|
||||||
OS:= $(or $(os),linux)
|
OS:= $(or $(os),linux)
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-api ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-api","--port", "10002"]
|
@ -1,6 +1,6 @@
|
|||||||
.PHONY: all build run gotool install clean help
|
.PHONY: all build run gotool install clean help
|
||||||
|
|
||||||
NAME=open_im_cmd_utils
|
NAME=openim-cmdutils
|
||||||
BIN_DIR=../../bin/
|
BIN_DIR=../../bin/
|
||||||
|
|
||||||
OS:= $(or $(os),linux)
|
OS:= $(or $(os),linux)
|
@ -1,3 +1,17 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
@ -1,6 +1,6 @@
|
|||||||
.PHONY: all build run gotool install clean help
|
.PHONY: all build run gotool install clean help
|
||||||
|
|
||||||
NAME=open_im_cron_task
|
NAME=openim-crontask
|
||||||
BIN_DIR=../../bin/
|
BIN_DIR=../../bin/
|
||||||
|
|
||||||
OS:= $(or $(os),linux)
|
OS:= $(or $(os),linux)
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-crontask ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-crontask"]
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-rpc-msg_gateway ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-rpc-msg_gateway","--port", "10140" "--ws_port", "10001", "--prometheus_port", "20240"]
|
@ -0,0 +1,29 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
msgGatewayCmd := cmd.NewMsgGatewayCmd()
|
||||||
|
msgGatewayCmd.AddWsPortFlag()
|
||||||
|
msgGatewayCmd.AddPortFlag()
|
||||||
|
msgGatewayCmd.AddPrometheusPortFlag()
|
||||||
|
if err := msgGatewayCmd.Exec(); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
.PHONY: all build run gotool install clean help
|
||||||
|
|
||||||
|
NAME=openim-msgtransfer
|
||||||
|
BIN_DIR=../../bin/
|
||||||
|
|
||||||
|
OS:= $(or $(os),linux)
|
||||||
|
ARCH:=$(or $(arch),amd64)
|
||||||
|
all: gotool build
|
||||||
|
|
||||||
|
ifeq ($(OS),windows)
|
||||||
|
|
||||||
|
BINARY_NAME=${NAME}.exe
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
BINARY_NAME=${NAME}
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
build:
|
||||||
|
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
|
||||||
|
|
||||||
|
run:
|
||||||
|
@go run ./
|
||||||
|
|
||||||
|
gotool:
|
||||||
|
go fmt ./
|
||||||
|
go vet ./
|
||||||
|
|
||||||
|
install:build
|
||||||
|
mv ${BINARY_NAME} ${BIN_DIR}
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-msgtransfer ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-msgtransfer","--prometheus_port", "21400"]
|
@ -1,6 +1,6 @@
|
|||||||
.PHONY: all build run gotool install clean help
|
.PHONY: all build run gotool install clean help
|
||||||
|
|
||||||
NAME=open_im_push
|
NAME=openim-push
|
||||||
BIN_DIR=../../bin/
|
BIN_DIR=../../bin/
|
||||||
|
|
||||||
OS:= $(or $(os),linux)
|
OS:= $(or $(os),linux)
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-push ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-push", "--port", "10170", "--prometheus_port", "20170"]
|
@ -0,0 +1,33 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/internal/push"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
pushCmd := cmd.NewRpcCmd("push")
|
||||||
|
pushCmd.AddPortFlag()
|
||||||
|
pushCmd.AddPrometheusPortFlag()
|
||||||
|
if err := pushCmd.Exec(); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
if err := pushCmd.StartSvr(config.Config.RpcRegisterName.OpenImPushName, push.Start); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-rpc-auth ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-rpc-auth", "--port", "10160"]
|
@ -0,0 +1,33 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/auth"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
authCmd := cmd.NewRpcCmd("auth")
|
||||||
|
authCmd.AddPortFlag()
|
||||||
|
authCmd.AddPrometheusPortFlag()
|
||||||
|
if err := authCmd.Exec(); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
if err := authCmd.StartSvr(config.Config.RpcRegisterName.OpenImAuthName, auth.Start); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
.PHONY: all build run gotool install clean help
|
.PHONY: all build run gotool install clean help
|
||||||
|
|
||||||
NAME=open_im_conversation
|
NAME=openim-rpc-conversation
|
||||||
BIN_DIR=../../../bin/
|
BIN_DIR=../../../bin/
|
||||||
|
|
||||||
OS:= $(or $(os),linux)
|
OS:= $(or $(os),linux)
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-rpc-conversation ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-rpc-conversation", "--port", "10230", "--prometheus_port","20230"]
|
@ -0,0 +1,33 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/conversation"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
rpcCmd := cmd.NewRpcCmd("conversation")
|
||||||
|
rpcCmd.AddPortFlag()
|
||||||
|
rpcCmd.AddPrometheusPortFlag()
|
||||||
|
if err := rpcCmd.Exec(); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImConversationName, conversation.Start); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-rpc-friend ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-rpc-friend", "--port", "10120", "--prometheus_port","20120"]
|
@ -0,0 +1,33 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/friend"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
rpcCmd := cmd.NewRpcCmd("friend")
|
||||||
|
rpcCmd.AddPortFlag()
|
||||||
|
rpcCmd.AddPrometheusPortFlag()
|
||||||
|
if err := rpcCmd.Exec(); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImFriendName, friend.Start); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-rpc-group ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-rpc-group", "--port", "10150", "--prometheus_port","20150"]
|
@ -0,0 +1,33 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/group"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
rpcCmd := cmd.NewRpcCmd("group")
|
||||||
|
rpcCmd.AddPortFlag()
|
||||||
|
rpcCmd.AddPrometheusPortFlag()
|
||||||
|
if err := rpcCmd.Exec(); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImGroupName, group.Start); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
.PHONY: all build run gotool install clean help
|
.PHONY: all build run gotool install clean help
|
||||||
|
|
||||||
NAME=open_im_auth
|
NAME=openim-rpc-msg
|
||||||
BIN_DIR=../../../bin/
|
BIN_DIR=../../../bin/
|
||||||
|
|
||||||
OS:= $(or $(os),linux)
|
OS:= $(or $(os),linux)
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-rpc-msg ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-rpc-msg", "--port", "10130", "--prometheus_port","20130"]
|
@ -0,0 +1,33 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/msg"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
rpcCmd := cmd.NewRpcCmd("msg")
|
||||||
|
rpcCmd.AddPortFlag()
|
||||||
|
rpcCmd.AddPrometheusPortFlag()
|
||||||
|
if err := rpcCmd.Exec(); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImMsgName, msg.Start); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
.PHONY: all build run gotool install clean help
|
||||||
|
|
||||||
|
NAME=openim-rpc-third
|
||||||
|
BIN_DIR=../../../bin/
|
||||||
|
|
||||||
|
OS:= $(or $(os),linux)
|
||||||
|
ARCH:=$(or $(arch),amd64)
|
||||||
|
all: gotool build
|
||||||
|
|
||||||
|
ifeq ($(OS),windows)
|
||||||
|
|
||||||
|
BINARY_NAME=${NAME}.exe
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
BINARY_NAME=${NAME}
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
build:
|
||||||
|
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
|
||||||
|
|
||||||
|
run:
|
||||||
|
@go run ./
|
||||||
|
|
||||||
|
gotool:
|
||||||
|
go fmt ./
|
||||||
|
go vet ./
|
||||||
|
|
||||||
|
install:build
|
||||||
|
mv ${BINARY_NAME} ${BIN_DIR}
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-rpc-third ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-rpc-third", "--port", "10200"]
|
@ -0,0 +1,33 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/third"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
rpcCmd := cmd.NewRpcCmd("third")
|
||||||
|
rpcCmd.AddPortFlag()
|
||||||
|
rpcCmd.AddPrometheusPortFlag()
|
||||||
|
if err := rpcCmd.Exec(); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImThirdName, third.Start); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
.PHONY: all build run gotool install clean help
|
||||||
|
|
||||||
|
NAME=openim-rpc-user
|
||||||
|
BIN_DIR=../../../bin/
|
||||||
|
|
||||||
|
OS:= $(or $(os),linux)
|
||||||
|
ARCH:=$(or $(arch),amd64)
|
||||||
|
all: gotool build
|
||||||
|
|
||||||
|
ifeq ($(OS),windows)
|
||||||
|
|
||||||
|
BINARY_NAME=${NAME}.exe
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
BINARY_NAME=${NAME}
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
build:
|
||||||
|
CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME}
|
||||||
|
|
||||||
|
run:
|
||||||
|
@go run ./
|
||||||
|
|
||||||
|
gotool:
|
||||||
|
go fmt ./
|
||||||
|
go vet ./
|
||||||
|
|
||||||
|
install:build
|
||||||
|
mv ${BINARY_NAME} ${BIN_DIR}
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /Open-IM-Server/bin
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
||||||
|
&&apt-get install net-tools
|
||||||
|
#Non-interactive operation
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get install -y vim curl tzdata gawk
|
||||||
|
#Time zone adjusted to East eighth District
|
||||||
|
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
RUN apt-get -qq update \
|
||||||
|
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
||||||
|
COPY ./openim-rpc-user ./
|
||||||
|
|
||||||
|
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
||||||
|
|
||||||
|
CMD ["./openim-rpc-user", "--port", "10110"]
|
@ -0,0 +1,33 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/user"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
||||||
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
rpcCmd := cmd.NewRpcCmd("user")
|
||||||
|
rpcCmd.AddPortFlag()
|
||||||
|
rpcCmd.AddPrometheusPortFlag()
|
||||||
|
if err := rpcCmd.Exec(); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImUserName, user.Start); err != nil {
|
||||||
|
panic(err.Error())
|
||||||
|
}
|
||||||
|
}
|
@ -1,18 +0,0 @@
|
|||||||
FROM ubuntu
|
|
||||||
|
|
||||||
WORKDIR /Open-IM-Server/bin
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
|
||||||
&&apt-get install net-tools
|
|
||||||
#Non-interactive operation
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
|
||||||
RUN apt-get install -y vim curl tzdata gawk
|
|
||||||
#Time zone adjusted to East eighth District
|
|
||||||
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
|
||||||
RUN apt-get -qq update \
|
|
||||||
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
|
||||||
COPY ./open_im_push ./
|
|
||||||
|
|
||||||
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
|
||||||
|
|
||||||
CMD ["./open_im_push", "--port", "10170", "--prometheus_port", "20170"]
|
|
@ -1,19 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/internal/push"
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
pushCmd := cmd.NewRpcCmd("push")
|
|
||||||
pushCmd.AddPortFlag()
|
|
||||||
pushCmd.AddPrometheusPortFlag()
|
|
||||||
if err := pushCmd.Exec(); err != nil {
|
|
||||||
panic(err.Error())
|
|
||||||
}
|
|
||||||
if err := pushCmd.StartSvr(config.Config.RpcRegisterName.OpenImPushName, push.Start); err != nil {
|
|
||||||
panic(err.Error())
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
FROM ubuntu
|
|
||||||
|
|
||||||
WORKDIR /Open-IM-Server/bin
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
|
||||||
&&apt-get install net-tools
|
|
||||||
#Non-interactive operation
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
|
||||||
RUN apt-get install -y vim curl tzdata gawk
|
|
||||||
#Time zone adjusted to East eighth District
|
|
||||||
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
|
||||||
RUN apt-get -qq update \
|
|
||||||
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
|
||||||
COPY ./open_im_auth ./
|
|
||||||
|
|
||||||
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
|
||||||
|
|
||||||
CMD ["./open_im_auth", "--port", "10160"]
|
|
@ -1,19 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/internal/rpc/auth"
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd"
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
authCmd := cmd.NewRpcCmd("auth")
|
|
||||||
authCmd.AddPortFlag()
|
|
||||||
authCmd.AddPrometheusPortFlag()
|
|
||||||
if err := authCmd.Exec(); err != nil {
|
|
||||||
panic(err.Error())
|
|
||||||
}
|
|
||||||
if err := authCmd.StartSvr(config.Config.RpcRegisterName.OpenImAuthName, auth.Start); err != nil {
|
|
||||||
panic(err.Error())
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
FROM ubuntu
|
|
||||||
|
|
||||||
WORKDIR /Open-IM-Server/bin
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install apt-transport-https && apt-get install procps\
|
|
||||||
&&apt-get install net-tools
|
|
||||||
#Non-interactive operation
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
|
||||||
RUN apt-get install -y vim curl tzdata gawk
|
|
||||||
#Time zone adjusted to East eighth District
|
|
||||||
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
|
|
||||||
RUN apt-get -qq update \
|
|
||||||
&& apt-get -qq install -y --no-install-recommends ca-certificates curl
|
|
||||||
COPY ./open_im_conversation ./
|
|
||||||
|
|
||||||
VOLUME ["/Open-IM-Server/logs","/Open-IM-Server/config"]
|
|
||||||
|
|
||||||
CMD ["./open_im_conversation", "--port", "10230", "--prometheus_port","20230"]
|
|