Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge js sdk to latest. #2668

Merged
merged 38 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a5292bb
feat: update group notification when set to null. (#2590)
mo3et Sep 3, 2024
38a8802
feat: add long time push msg in prometheus (#2584)
icey-yu Sep 3, 2024
2477a66
feat: supports getting messages based on session ID and seq (#2582)
withchao Sep 4, 2024
20085d0
feat: implement request batch count limit. (#2591)
mo3et Sep 5, 2024
6dd4e56
fix: getting messages based on session ID and seq (#2595)
withchao Sep 5, 2024
eea2627
feat: avoid pulling messages from sessions with a large number of max…
withchao Sep 9, 2024
c581d43
refactor: improve db structure in `storage/controller` (#2604)
mo3et Sep 10, 2024
3381b85
feat: implement offline push using kafka (#2600)
mo3et Sep 10, 2024
b703449
feat: API supports gzip (#2609)
withchao Sep 11, 2024
0276c7d
Fix err (#2608)
icey-yu Sep 12, 2024
80c71b7
feature: add GetConversationsHasReadAndMaxSeq interface to the WebSoc…
FGadvancer Sep 12, 2024
b13c337
fix: lru lock (#2613)
icey-yu Sep 12, 2024
67855d4
fix: nil pointer error on close (#2618)
withchao Sep 12, 2024
34d7d38
feat: create group can push notification (#2617)
icey-yu Sep 12, 2024
f2bfb1e
fix: blockage caused by listen error (#2620)
withchao Sep 12, 2024
12b284d
fix: go.mod (#2621)
withchao Sep 12, 2024
9424e3e
feat: improve searchMsg implement. (#2614)
mo3et Sep 13, 2024
9c92fbb
Fix lock (#2622)
icey-yu Sep 13, 2024
8875a9d
fix: update setGroupInfoEX field name. (#2625)
mo3et Sep 14, 2024
51b1a1d
fix: update setGroupInfoEX field name (#2626)
mo3et Sep 14, 2024
56acee1
feat: msg gateway add log (#2631)
withchao Sep 18, 2024
b64edb6
fix: update setGroupInfoEx func name and field. (#2634)
mo3et Sep 19, 2024
4f0830b
fix: fix setConversations req fill. (#2645)
mo3et Sep 23, 2024
67f3019
fix: GetMsgBySeqs boundary issues (#2647)
withchao Sep 23, 2024
5b2b2c1
fix: the attribute version is obsolete, remove it (#2644)
caixiangyue Sep 23, 2024
79bf214
refactor: update Userregister request field. (#2650)
mo3et Sep 23, 2024
c0eaa1c
Test Workflow (#2640)
icey-yu Sep 23, 2024
6add09d
fix: kick group member callback (#2643)
icey-yu Sep 23, 2024
7090c99
fix: route (#2654)
icey-yu Sep 24, 2024
6006de4
feat: add GetSpecifiedBlacks interface. (#2656)
mo3et Sep 25, 2024
031c1cd
Upgrade the Google Firebase version. (#2638)
zhanghongzheng6 Sep 25, 2024
f6364a4
Fix token (#2653)
icey-yu Sep 25, 2024
51aaf08
feat: get not notify conversationIDs (#2658)
icey-yu Sep 25, 2024
7da87e1
feat: GetPinnedConversationIDs (#2660)
icey-yu Sep 25, 2024
d279a5f
Upgrade the FCM SDK to version 4, and use the SendEach method instead…
zhaolibo1989 Sep 25, 2024
3472952
feat: implement GetSpecifiedUserGroupRequestInfo interface. (#2661)
mo3et Sep 25, 2024
80a46b3
feat: provide the interface required by js sdk (#2664)
withchao Sep 26, 2024
b9217f7
feat: improve get admin role memberIDs implement. (#2666)
mo3et Sep 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .github/workflows/go-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,65 @@ jobs:
mage start
mage check

go-test:
name: Benchmark Test with go ${{ matrix.go_version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
permissions:
contents: write
env:
SDK_DIR: openim-sdk-core
CONFIG_PATH: config/notification.yml
# pull-requests: write
strategy:
matrix:
os: [ ubuntu-latest ]
go_version: [ "1.22.x" ]

steps:
- name: Checkout Server repository
uses: actions/checkout@v4

- name: Checkout SDK repository
uses: actions/checkout@v4
with:
repository: 'openimsdk/openim-sdk-core'
path: ${{ env.SDK_DIR }}

- name: Set up Go ${{ matrix.go_version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go_version }}

- name: Get Server dependencies
run: |
go install github.com/magefile/mage@latest
go mod download

- name: Install yq
run: |
sudo wget https://github.com/mikefarah/yq/releases/download/v4.34.1/yq_linux_amd64 -O /usr/bin/yq
sudo chmod +x /usr/bin/yq

- name: Modify Server Configuration
run: |
yq e '.groupCreated.unreadCount = true' -i ${{ env.CONFIG_PATH }}
yq e '.friendApplicationApproved.unreadCount = true' -i ${{ env.CONFIG_PATH }}

- name: Start Server Services
run: |
docker compose up -d
mage build
mage start
mage check

- name: Build test SDK core
run: |
cd ${{ env.SDK_DIR }}
go mod tidy
cd integration_test
mkdir data
go run main.go -lgr 0.8 -imf -crg -ckgn -ckcon -sem -ckmsn -u 20 -su 5 -lg 2 -cg 2 -cgm 3 -sm 10 -gm 10 -reg

dockerfile-test:
name: Build and Test Dockerfile
runs-on: ubuntu-latest
Expand Down
Loading
Loading