Commit 0e98f1e
merge: merge code into v3.8.4 from main. (#917)
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: msg test.
* fix: add register message.
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add args
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: pressure test add.
* fix: test file.
* fix: send message concurrent.
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add pressure.
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: restore message.
* fix: pressure message.
* fix: add timer.
* fix: message update.
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix:add range login.
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: single message test.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix:update.
* fix: update.
* fix: update.
* fix:update
* fix: update
* fix: update
* fix: update.
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add wait time.
* fix: message
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: update batchMsgListener func.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* chore: config update.
* chore:do not send message.
* chore:add args.
* chore:fix bug.
* chore: fix bool.
* chore: restore.
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: listener add empty implement avoid panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add sync pool to reduce cpu and memory overhead.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add sync pool to reduce cpu and memory overhead.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add sync pool to reduce cpu and memory overhead.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add sync pool to reduce cpu and memory overhead.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: conversation's latestMsg struct unmarshal err type.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: conversation's latestMsg struct unmarshal err type.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: conversation's latestMsg struct unmarshal err type.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: msg test update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: msg test update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: msg test update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: msg test update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: msg test update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: msg test update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: msg test update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: msg test update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: create group add error info.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: create group add error info.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: create group add error info.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: create group add error info.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* test: ip change.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* test: ip change.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* test: ip change.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: group add online rate.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: group add online rate.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: group add online rate.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: group add online rate.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: group add online rate.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: group add online rate.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: group add online rate.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: remove c wrapper.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: add incremental synchronization for common conversation attributes.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: add incremental synchronization for common conversation attributes.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: add incremental synchronization for common conversation attributes.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: add incremental synchronization for common conversation attributes.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: add incremental synchronization for common conversation attributes.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: remove some functions.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: remove some functions.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: Support FetchSurroundingMessages (#741)
* feat: code adjustment
* feat: Cmd2Value carry caller
* feat: Cmd2Value carry caller
* feat: Cmd2Value carry caller
* feat: Cmd2Value carry caller
* fix: SearchLocalMessages no such table
* feat: FetchSurroundingMessages
* feat: FetchSurroundingMessages
* fix: version (#750)
* merge: update release-v3.8 with main changes
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: update the latest message when group member's changed.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* Revert "fix: update the latest message when group member's changed."
This reverts commit ac358cb.
* fix: update the latest message when group member's changed. (#752)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: remove duplicate License. (#747)
* feat: mark all conversation as read (#743)
* feat: implement default logger when no init. (#755)
* fix: del local group request (#754)
* build: implement changelog generate. (#748)
* fix: improve release generate file.
* refactor: improve changelog structure.
* update goreleaser
* feat: implement changelog generate.
* remove README.md
use generate.
* build: implement create Pre-release PR from Milestone. (#746)
* feat: implement create Pre-release PR from Milestone.
* update schedule time.
* feat: implement error stack print. (#733)
* feat: implement error stack print.
* feat: update fn call error stack.
* update go mod.
* fix: improve batchUserFaceURLandName logic. (#756)
* refactor: update ServerAPI method name.
* feat: improve batchUserFaceURLandName logic.
* update logic.
* fix: escape table names to avoid the sqlite error: near "-": syntax error". (#762)
* Fix local cache: user cache and group member cache (#765)
* fix: group member local cache
* fix: user local cache
* fix: fix temp file don't remove when upload file. (#764)
* build: improve cleanup after ms PR merged.
* fix: fix temp file don't remove when upload file.
* fix: GetGroupMembersInfoFunc (#767)
* feat: searchLocalMessages by SenderUserID. (#739)
* feat: searchLocalMessages by SenderUserID.
* update wasm db interface and fix error.
* add searchBykeyword logic.
* update wasm para.
* update logic.
* feat: improve method implement.
* update logic.
* try empty
* update sql query space.
* fix: Change check reinstall logic (#766)
* fix: check reinstall
* fix: check reinstall
* feat: support stream message (#770)
* feat: code adjustment
* feat: Cmd2Value carry caller
* feat: Cmd2Value carry caller
* feat: Cmd2Value carry caller
* feat: Cmd2Value carry caller
* fix: SearchLocalMessages no such table
* feat: support stream messages
* feat: support stream messages
* fix: deleting the last message in a conversation will prompt failure (#771)
* fix: the bug where isEnd for fetching message history is not working correctly. (#773)
* fix: the bug where isEnd for fetching message history is not working correctly.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: the bug where isEnd for fetching message history is not working correctly.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: the bug where isEnd for fetching message history is not working correctly.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: the bug where isEnd for fetching message history is not working correctly.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: the bug where isEnd for fetching message history is not working correctly.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: solve uncorrect log. (#777)
* refactor: improve createMessage and sendMessage interface. (#734)
* add .gitignore content.
* refactor: improve createMessage and sendMessage interface.
* fix interface args.
* fix nil pointer error.
* fix test error.
* refactor: remove batchListener. (#729)
* refactor: remove batchListener.
* comment update version file workflows.
* restore code.
* revert workflow file.
* fix: update to correct msgListener.
---------
Co-authored-by: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com>
* Create delete-users-invalid-comments.yml
* Update workflows.
* fix: solve uncorrect delete file. (#784)
* build: remove uncorrect schedule. (#782)
* build: add bot PR merged filter. (#788)
* Fix:Change check reinstall logic (#789)
* fix: err
* fix: err
* fix: err
* fix: err
* fix: err
* fix: msg status change to success when msg fetch from server.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: create index failed when table name has `-`. (#793)
* feat: improve merge in milestone and merged handle logic. (#794)
* feat: improve merge in milestone logic.
* update cleanup milestone.
* build: update PR body. (#796)
* feat: improve merge in milestone logic.
* update cleanup milestone.
* build: fix release args.
* build: update PR body.
* fix: change errs to custom errs avoid sdk panic. (#801)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: change errs to custom errs avoid sdk panic. (#800)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: get reverse history message change. (#804)
* fix: change errs to custom errs avoid sdk panic.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: get reverse history message change.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: the SDK interface using the pb protocol to replace json.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: go mod dep repo update and fix reverse fetch message duplicate. (#810)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add server isEnd determination criteria for message retrieval. (#813)
* fix: add server isEnd determination criteria for message retrieval.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add server isEnd determination criteria for message retrieval.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add server isEnd determination criteria for message retrieval.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: login user's info maybe empty when app reinstall. (#814)
* fix: login user's info maybe empty when app reinstall.
* fix: login user's info maybe empty when app reinstall.
* fix: login user's info maybe empty when app reinstall.
* fix: add server isEnd determination criteria for message retrieval. (#815)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: search message do not filter voice message when keyword is empty. (#819)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: Add black api add lock (#822)
* fix: cicd (#824)
* fix: quote message change to revoke message when app from background to foreground and message status update. (#825)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: add a function to quickly retrieve the context messages for a given message. (#827)
* fix: quote message change to revoke message when app from background to foreground and message status update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: add a function to quickly retrieve the context messages for a given message.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: the SDK interface using the pb protocol to replace json.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. (#832)
* fix: quote message change to revoke message when app from background to foreground and message status update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: add a function to quickly retrieve the context messages for a given message.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: the SDK interface using the pb protocol to replace json.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: remove fetch messages instead of search message clear cache.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: remove fetch messages instead of search message clear cache. (#834)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. (#840)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* build: improve workflows contents. (#842)
* build: improve workflows contents.
* update workflows contents.
* update
* Update LICENSE
* Update LICENSE
* Update README.md
* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. (#845)
* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: solve uncorrect delete conversation. (#848)
* fix: wrong error code sometimes (#847)
* fix: wrong error code sometimes
* fix: keep error message
* optimize the freeze caused by too many friends and group applications (#852)
* feat: code adjustment
* feat: Cmd2Value carry caller
* feat: Cmd2Value carry caller
* feat: Cmd2Value carry caller
* feat: Cmd2Value carry caller
* fix: SearchLocalMessages no such table
* fix: optimize the freeze caused by too many friends and group applications
* fix: add random prefix to remove duplicate messages. (#850)
* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add random prefix to remove duplicate messages.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: GetConversationIDBySessionType 返回的字符串带转义符 (#844)
* style: update context initialization in GetConversationIDBySessionType.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* docs: readme doc update and add doc for gomobile compile sdk core. (#854)
* docs: update readme file.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* docs: go mobile readme update.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* build: fix merge failed when conflict. (#855)
* build: fix merge failed when conflict.
* revert to previous name.
* fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. (#856)
* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add random prefix to remove duplicate messages.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* chore: update slack link in repo. (#860)
* fix: sync self conversation's avatar when user's info changed. (#870)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add a manually triggered IM message synchronization mechanism to… (#868)
* fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: directly deduplicate the messages pulled from the server. (#873)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: get group member info maybe failed. (#880)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: change secret && cicd modify secret (#884)
* feat: sdk not init and not login code (#888)
* refactor: change the login and initialization logic to prevent the SD… (#889)
* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: integ test
* fix: integ test
* fix: integ test
* fix: integ test
* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: remove some unused functions and struct.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: icey-yu <1186114839@qq.com>
* refactor: change the login and initialization logic to prevent the SD… (#889) (#890)
* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.
* fix: integ test
* fix: integ test
* fix: integ test
* fix: integ test
* refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in.
* refactor: remove some unused functions and struct.
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: icey-yu <1186114839@qq.com>
* fix: add mutex for get conversation prevent concurrent insert conversation. (#893)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* fix: add mutex for get conversation prevent concurrent insert conversation. (#894)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. (#895)
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* feat: support client config
* feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900)
* feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900)
* refactor: revert createMsg interface. (#902)
* refactor: improve workflows by merge and release (#912)
* update new milestone
* refactor: improve workflows contents by milestone PR.
* update to args.
* update workflows contents.
* refactor: change conversation channel to priority queue and adjust strategy of message sync.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: change conversation channel to priority queue and adjust strategy of message sync.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: change conversation channel to priority queue and adjust strategy of message sync.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: change conversation channel to priority queue and adjust strategy of message sync.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: change conversation channel to priority queue and adjust strategy of message sync.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: change conversation channel to priority queue and adjust strategy of message sync. (#916)
* refactor: change conversation channel to priority queue and adjust strategy of message sync.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: change conversation channel to priority queue and adjust strategy of message sync.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
* refactor: change conversation channel to priority queue and adjust strategy of message sync.
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
---------
Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
Co-authored-by: chao <48119764+withchao@users.noreply.github.com>
Co-authored-by: icey-yu <119291641+icey-yu@users.noreply.github.com>
Co-authored-by: Monet Lee <monet_lee@163.com>
Co-authored-by: qmarliu <liu6uu@163.com>
Co-authored-by: skiffer-git <72860476+skiffer-git@users.noreply.github.com>
Co-authored-by: yoyoIU <yoyo930021@gmail.com>
Co-authored-by: 秋叶红 <793983383@qq.com>
Co-authored-by: icey-yu <1186114839@qq.com>
Co-authored-by: withchao <993506633@qq.com>1 parent a5d196b commit 0e98f1e
34 files changed
Lines changed: 791 additions & 517 deletions
File tree
- .github
- ISSUE_TEMPLATE
- workflows
- docs
- integration_test/internal/pkg/sdk_user_simulator
- internal
- conversation_msg
- group
- relation
- msgtest/sdk_user_simulator
- open_im_sdk_callback
- open_im_sdk
- pkg
- ccontext
- db
- db_interface
- scripts/template
- test
- wasm
- cmd
- event_listener
- indexdb
- wasm_wrapper
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
25 | 24 | | |
26 | | - | |
27 | | - | |
| 25 | + | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 47 | + | |
| 48 | + | |
51 | 49 | | |
52 | | - | |
53 | | - | |
| 50 | + | |
| 51 | + | |
54 | 52 | | |
55 | | - | |
| 53 | + | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments