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: update release-v3.8 with main changes #735

Merged
merged 65 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
e2a7e9c
bump: update go mod dependency version to latest. (#632)
mo3et Aug 2, 2024
e83c038
fix: accept or refuse group application remove lock. (#634)
FGadvancer Aug 2, 2024
aa7e117
fix: solve get list is nil when batch fetch. (#635)
mo3et Aug 5, 2024
c7f2694
fix: filter Invalid. (#636)
mo3et Aug 5, 2024
7d924b5
deps: update bug-report.yaml (#639)
mo3et Aug 7, 2024
008054d
deps: move yaml locate. (#640)
mo3et Aug 7, 2024
8279fc0
feat: update issue template in sdk core. (#641)
mo3et Aug 7, 2024
ec303fd
build(deps): update translator.yml (#642)
mo3et Aug 7, 2024
23f4cd2
Refactor: reconstruct issue and label in GitHub. (#648)
mo3et Aug 8, 2024
3c47eef
fix: update uncorrect workflow. (#649)
mo3et Aug 8, 2024
272ca11
fix: remove env. (#651)
mo3et Aug 8, 2024
bd1c862
Feat add cache init (#653)
icey-yu Aug 9, 2024
2341ac2
fix: remove unused release files. (#654)
mo3et Aug 9, 2024
a007e33
refactor: update workflows and remove unnecessary contents. (#655)
mo3et Aug 12, 2024
70c4196
feat send message (#629)
icey-yu Aug 13, 2024
a5ce7ec
feat: change lock to global db lock (#658)
icey-yu Aug 14, 2024
4b70c00
feat: implement log interface. (#657)
mo3et Aug 14, 2024
e0622ec
fix: update interface func. (#661)
mo3et Aug 15, 2024
875b11b
fix: update Logs field type. (#662)
mo3et Aug 15, 2024
fa5e348
fix: remove the conversation trigger to prevent waiting in a circular…
FGadvancer Aug 15, 2024
7c1a9d4
Feat test (#665)
icey-yu Aug 15, 2024
a25de99
fix: remove redundant func. (#664)
mo3et Aug 15, 2024
2b6ebb4
feat: implement panic recovery. (#666)
mo3et Aug 16, 2024
bbc6472
feat: implment SDK log interface. (#667)
mo3et Aug 19, 2024
b345cfa
fix: optimize delete msg local logic. (#669)
mo3et Aug 21, 2024
9ebf5ef
fix: Bug fix for clearing unread messages.
FGadvancer Aug 27, 2024
6e3316e
fix: fixed revoke burnMessage panic. (#672)
mo3et Aug 27, 2024
9bae793
fix: the crash caused by calling log when sdk is not logged in (#674)
withchao Aug 29, 2024
fc60b8e
fix: update Logs interface. (#675)
mo3et Aug 29, 2024
9effc2b
fix: Bug fix for clearing unread messages. (#677)
FGadvancer Aug 29, 2024
5bc7ee3
feat: implement resource manager tool. (#682)
mo3et Sep 2, 2024
1404a2b
fix: solve latest msg update. (#683)
mo3et Sep 2, 2024
6778adb
refactor: performance optimization of pull messages. (#684)
FGadvancer Sep 2, 2024
ce00756
fix: solve AddFriend uncorrect call. (#685)
mo3et Sep 3, 2024
c4c15f5
feat: update set GroupInfo logic. (#686)
mo3et Sep 3, 2024
b55cb90
refactor: performance optimization of pull messages. (#688)
FGadvancer Sep 4, 2024
3750b0f
feat: implement batchNewMessages method. (#687)
mo3et Sep 4, 2024
fc88414
refactor: performance optimization of pull messages. (#689)
FGadvancer Sep 5, 2024
2522772
refactor: performance optimization of pull messages. (#690)
FGadvancer Sep 5, 2024
c01611e
refactor: performance optimization of pull messages and reduce redund…
FGadvancer Sep 9, 2024
f4e2242
fix: cmd panic and remove struct. (#695)
FGadvancer Sep 9, 2024
dc46fa5
feat: API supports gzip (#698)
withchao Sep 11, 2024
8beaffa
Test feat (#699)
icey-yu Sep 11, 2024
221ca9e
refactor: mv GetConversationsHasReadAndMaxSeq from HTTP to Websocket.
FGadvancer Sep 11, 2024
cc7b613
Revert "refactor: mv GetConversationsHasReadAndMaxSeq from HTTP to We…
FGadvancer Sep 11, 2024
57d3f9d
refactor: mv GetConversationsHasReadAndMaxSeq from HTTP to Websocket.…
FGadvancer Sep 11, 2024
536d766
fix: ws read max seq error. (#701)
FGadvancer Sep 12, 2024
c8dac40
refactor: directory structure of SDK change and remove redundant cod…
FGadvancer Sep 14, 2024
ba04362
refactor: fix error handling in SendMessage function (#704)
mo3et Sep 18, 2024
2e37562
Refactor: Remove unused GetUsersInfoWithCache function (#707)
mo3et Sep 18, 2024
48ff4d5
refactor: friend and conversation update. (#708)
FGadvancer Sep 18, 2024
ae6310d
fix: IncrSyncGroupAndMember error (#710)
icey-yu Sep 18, 2024
a75aba6
refactor: update setGroupInfoEx field. (#709)
mo3et Sep 18, 2024
f2ab402
fix: udpate setGroupInfo fields. (#711)
mo3et Sep 19, 2024
87e1995
refactor: Exclude files and directories from non-English comment che…
mo3et Sep 23, 2024
d2f919f
feat: test Workflow (#712)
icey-yu Sep 23, 2024
fa6d38a
feat: cmd2value add call information (#723)
withchao Sep 27, 2024
1331870
feat: implement update version file on release. (#721)
mo3et Sep 27, 2024
c661189
feat: change level del request (#719)
icey-yu Sep 27, 2024
aa37216
feat: add SearchConversation WASM (#724)
icey-yu Sep 27, 2024
9989f9c
test: fix get user token (#725)
icey-yu Sep 29, 2024
cded399
test: fix get user token (#726)
icey-yu Sep 29, 2024
1aa0bee
refactor: update userToken to getAdminToken (#727)
mo3et Sep 29, 2024
05b3084
refactor: change log and avoid nil array. (#728)
FGadvancer Sep 29, 2024
0e75df9
fix: val (#731)
icey-yu Oct 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file removed .DS_Store
Binary file not shown.
82 changes: 82 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Bug Report
title: "[BUG] "
labels: ["bug"]
description: "Create a detailed report to help us identify and resolve issues."
# assignees: []

body:
- type: markdown
attributes:
value: "Thank you for taking the time to fill out the bug report. Please provide as much information as possible to help us understand and replicate the bug."

- type: input
id: openim-sdk-version
attributes:
label: OpenIM SDK Version
description: "Please provide the version number of OpenIM SDK you are using."
placeholder: "e.g., 3.8.0"
validations:
required: true

- type: input
id: openim-server-version
attributes:
label: OpenIM Server Version
description: "Please provide the version number of OpenIM Server you are using."
placeholder: "e.g., 3.8.0"

- type: dropdown
id: sdk-platform
attributes:
label: SDK Platform
description: "Please specify the SDK platform you are using."
options:
- iOS SDK
- Android SDK
- Web WASM SDK
- Electron FFI SDK
- Flutter SDK
- uni-app SDK
- Unity SDK
- .NET SDK
- React Native SDK
validations:
required: true

- type: input
id: device-model
attributes:
label: Device Model
description: "Please provide the model of the device you are using."
placeholder: "e.g., iPhone 15, Samsung Galaxy S23"
validations:
required: true

- type: input
id: operating-system-version
attributes:
label: Operating System Version
description: "Please provide the version number of the operating system you are using."
placeholder: "e.g., iOS 16.1, Android 13"
validations:
required: true

- type: textarea
id: bug-description-reproduction
attributes:
label: Bug Description and Steps to Reproduce
description: "Provide a detailed description of the bug and a step-by-step guide on how to reproduce it."
placeholder: "Describe the bug in detail here...\n\nSteps to reproduce the bug on the client:\n1. Launch the application with specific configurations (mention any relevant config details).\n2. Perform the following actions in the app '...'.\n3. Observe the behavior and note any error messages or logs.\n4. Mention any additional setup relevant to the bug (e.g., SDK version, platform-specific settings)."
validations:
required: true

- type: markdown
attributes:
value: "If possible, please add screenshots to help explain your problem."

- type: textarea
id: screenshots-link
attributes:
label: Screenshots Link
description: "If applicable, please provide any links to screenshots here."
placeholder: "Paste your screenshot URL here, e.g., http://imgur.com/example"
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
# - name: "Bug Report"
# description: "Report a bug in the project"
# file: "bug-report.yml"
- name: 📢 Connect on slack
url: https://join.slack.com/t/openimsdk/shared_invite/zt-1tmoj26uf-_FDy3dowVHBiGvLk9e5Xkg
about: Support OpenIM-related requests or issues, get in touch with developers and help on slack
- name: 🌐 OpenIM Blog
url: https://www.openim.io/
about: Open the OpenIM community blog
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Documentation Update
about: Propose updates to documentation, including README files and other docs.
title: "[DOC]: " # Prefix for the title to help identify documentation issues
labels: documentation # Labels to be automatically added
assignees: '' # Optionally, specify maintainers or teams to be auto-assigned

---

## Documentation Updates
Describe the documentation that needs to be updated or corrected. Please specify the files and sections if possible.

## Motivation
Explain why these updates are necessary. What is missing, misleading, or outdated?

## Suggested Changes
Detail the changes that you propose. If you are suggesting large changes, include examples or mockups of what the updated documentation should look like.

## Additional Information
Include any other information that might be relevant, such as links to discussions or related issues in the repository.
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Feature Request
title: "[FEATURE REQUEST] "
labels: ["feature request","enhancement"]
description: "Propose a new feature or improvement that you believe will help enhance the project."
# assignees: []

body:
- type: markdown
attributes:
value: "Thank you for taking the time to propose a feature request. Please fill in as much detail as possible to help us understand why this feature is necessary and how it should work."

- type: textarea
id: feature-reason
attributes:
label: Why this feature?
description: "Explain why this feature is needed. What problem does it solve? How does it benefit the project and its users?"
placeholder: "Describe the need for this feature..."
validations:
required: true

- type: textarea
id: solution-proposal
attributes:
label: Suggested Solution
description: "Describe your proposed solution for this feature. How do you envision it working?"
placeholder: "Detail your solution here..."
validations:
required: true

- type: markdown
attributes:
value: "Please provide any other relevant information or screenshots that could help illustrate your idea."

- type: textarea
id: additional-info
attributes:
label: Additional Information
description: "Include any additional information, links, or screenshots that might be relevant to your feature request."
placeholder: "Add more context or links to relevant resources..."

- type: markdown
attributes:
value: "Thank you for contributing to the project! We appreciate your input and will review your suggestion as soon as possible."
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 🐧 Other
description: Use this for any other issues. Please do NOT create blank issues
title: "[Other]: <give this problem a name>"
labels: ["other"]
# assignees: []


body:
- type: markdown
attributes:
value: "# Other issue"
- type: textarea
id: issuedescription
attributes:
label: What would you like to share?
description: Provide a clear and concise explanation of your issue.
validations:
required: true
- type: textarea
id: extrainfo
attributes:
label: Additional information
description: Is there anything else we should know about this issue?
validations:
required: false
- type: markdown
attributes:
value: |
You can also join our Discord community [here](https://join.slack.com/t/openimsdk/shared_invite/zt-1tmoj26uf-_FDy3dowVHBiGvLk9e5Xkg)
Feel free to check out other cool repositories of the openim Community [here](https://github.com/openimsdk)
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/rfc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: RFC - Feature Proposal
about: Submit a proposal for a significant feature to invite community discussion.
title: "[RFC]: " # Prefix for the title to help identify RFC proposals
labels: rfc, proposal # Labels to be automatically added
assignees: '' # Optionally, specify maintainers or teams to be auto-assigned

---

## Proposal Overview
Briefly describe the content and objectives of your proposal.

## Motivation
Why is this new feature necessary? What is the background of this problem?

## Detailed Design
Describe the technical details of the proposal, including implementation steps, code snippets, or architecture diagrams.

## Alternatives Considered
Have other alternatives been considered? Why is this approach preferred over others?

## Impact
How will this proposal affect existing practices and community users?

## Additional Information
Include any other relevant information such as related discussions, prior related work, etc.
43 changes: 0 additions & 43 deletions .github/labels.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/auto-invite-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Invite users to join OpenIM Community.
on:
issue_comment:
types:
- created
jobs:
issue_comment:
name: Invite users to join OpenIM Community
if: ${{ github.event.comment.body == '/invite' || github.event.comment.body == '/close' || github.event.comment.body == '/comment' }}
runs-on: ubuntu-latest
permissions:
issues: write
steps:

- name: Invite user to join OpenIM Community
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.BOT_GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
We value close connections with our users, developers, and contributors here at Open-IM-Server. With a large community and maintainer team, we're always here to help and support you. Whether you're looking to join our community or have any questions or suggestions, we welcome you to get in touch with us.

Our most recommended way to get in touch is through [Slack](https://join.slack.com/t/openimsdk/shared_invite/zt-22720d66b-o_FvKxMTGXtcnnnHiMqe9Q). Even if you're in China, Slack is usually not blocked by firewalls, making it an easy way to connect with us. Our Slack community is the ideal place to discuss and share ideas and suggestions with other users and developers of Open-IM-Server. You can ask technical questions, seek help, or share your experiences with other users of Open-IM-Server.

In addition to Slack, we also offer the following ways to get in touch:

+ <a href="https://join.slack.com/t/openimsdk/shared_invite/zt-22720d66b-o_FvKxMTGXtcnnnHiMqe9Q" target="_blank"><img src="https://img.shields.io/badge/Slack-OpenIM%2B-blueviolet?logo=slack&amp;logoColor=white"></a> We also have Slack channels for you to communicate and discuss. To join, visit https://slack.com/ and join our [👀 Open-IM-Server slack](https://join.slack.com/t/openimsdk/shared_invite/zt-22720d66b-o_FvKxMTGXtcnnnHiMqe9Q) team channel.
+ <a href="https://mail.google.com/mail/u/0/?fs=1&tf=cm&to=info@openim.io" target="_blank"><img src="https://img.shields.io/badge/gmail-%40OOpenIMSDKCore?style=social&logo=gmail"></a> Get in touch with us on [Gmail](https://mail.google.com/mail/u/0/?fs=1&tf=cm&to=winxu81@gmail.com). If you have any questions or issues that need resolving, or any suggestions and feedback for our open source projects, please feel free to contact us via email.
+ <a href="https://doc.rentsoft.cn/" target="_blank"><img src="https://img.shields.io/badge/%E5%8D%9A%E5%AE%A2-%40OpenIMSDKCore-blue?style=social&logo=Octopus%20Deploy"></a> Read our [blog](https://doc.rentsoft.cn/). Our blog is a great place to stay up-to-date with Open-IM-Server projects and trends. On the blog, we share our latest developments, tech trends, and other interesting information.
+ <a href="https://github.com/OpenIMSDK/OpenIM-Docs/blob/main/docs/images/WechatIMG20.jpeg" target="_blank"><img src="https://img.shields.io/badge/%E5%BE%AE%E4%BF%A1-OpenIMSDKCore-brightgreen?logo=wechat&style=flat-square"></a> Add [Wechat](https://github.com/OpenIMSDK/OpenIM-Docs/blob/main/docs/images/WechatIMG20.jpeg) and indicate that you are a user or developer of Open-IM-Server. We will process your request as soon as possible.

# - name: Close Issue
# uses: peter-evans/close-issue@v3
# with:
# token: ${{ secrets.BOT_GITHUB_TOKEN }}
# issue-number: ${{ github.event.issue.number }}
# comment: 🤖 Auto-closing issue, if you still need help please reopen the issue or ask for help in the community above
# labels: |
# accepted
53 changes: 0 additions & 53 deletions .github/workflows/auto-invite.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/check-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# uses: magnetikonline/action-golang-cache@v3
# with:
# go-version: ${{ env.GO_VERSION }}
# token: ${{ secrets.BOT_GITHUB_TOKEN }}
# token: ${{ secrets.BOT_TOKEN }}

# - name: Install Dependencies
# run: sudo apt update && sudo apt install -y libgpgme-dev libbtrfs-dev libdevmapper-dev
Expand Down
Loading
Loading