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

merge: update release-v3.8 with main changes #735

merged 65 commits into from
Oct 12, 2024

Conversation

FGadvancer
Copy link
Member

🅰 Please add the issue ID after "Fixes #"

Fixes #

mo3et and others added 30 commits August 2, 2024 18:10
* refactor: optimize conversation notification structure.

* optmize donotification structure in conversation.

* remove unnecessary contents.

* update log level and unnecessary wrap.

* fix: update uncorrect contents.

* feat: update go mod dependency version to latest.
* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <[email protected]>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <[email protected]>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <[email protected]>

* feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group.

Signed-off-by: Gordon <[email protected]>

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <[email protected]>

* fix: commit.

* fix: commit.

* fix: commit.

* fix: commit.

* feat: add incremental synchronization for common conversation attributes.

Signed-off-by: Gordon <[email protected]>

* fix: sync user error.

Signed-off-by: Gordon <[email protected]>

* fix: remove wasm file.

Signed-off-by: Gordon <[email protected]>

* fix: change limit int type avoid overflow and group member sorted.

Signed-off-by: Gordon <[email protected]>

* fix: sdk logout due to client kick online, incr sync data trigger full id.

Signed-off-by: Gordon <[email protected]>

* fix: conversation list will disappear when conversation version table has been deleted in server.

Signed-off-by: Gordon <[email protected]>

* fix: conversation will deadlock when sync data logging.

Signed-off-by: Gordon <[email protected]>

* chore: sdk update log version to v0.0.49-alpha.60.

Signed-off-by: Gordon <[email protected]>

* fix: accept or refuse group application remove lock.

Signed-off-by: Gordon <[email protected]>

* fix: accept or refuse group application remove lock.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
* refactor: optimize conversation notification structure.

* optmize donotification structure in conversation.

* remove unnecessary contents.

* update log level and unnecessary wrap.

* fix: update uncorrect contents.

* feat: update go mod dependency version to latest.

* fix: solve get list is nil when batchfetch.

* update get logic.
* fix: filter Invalid.

* deps: update bug-report.yaml

* update bug-report.yaml
* fix: filter Invalid.

* deps: update bug-report.yaml

* update bug-report.yaml

* remove yaml locate.
* fix: filter Invalid.

* deps: update bug-report.yaml

* update bug-report.yaml

* remove yaml locate.

* feat: update issue template in sdk core.
* fix: filter Invalid.

* deps: update bug-report.yaml

* update bug-report.yaml

* remove yaml locate.

* feat: update issue template in sdk core.

* update translator.yml
* Refactor: reconstruct issue and label in GitHub.

* update feature-request label.
* Refactor: reconstruct issue and label in GitHub.

* update feature-request label.

* update

* fix: update to correct workflow.
* Refactor: reconstruct issue and label in GitHub.

* update feature-request label.

* update

* fix: update to correct workflow.

* fix: remove env.
* feat: add cache in init basic info

* feat: change log rotate count
* Refactor: reconstruct issue and label in GitHub.

* update feature-request label.

* update

* fix: update to correct workflow.

* fix: remove env.

* fix: remove unused release files.
* Refactor: reconstruct issue and label in GitHub.

* update feature-request label.

* update

* fix: update to correct workflow.

* fix: remove env.

* fix: remove unused release files.

* refactor: update workflows and remove unnecessary contents.
* test: fix import friends

* test: import friends limit

* test: errgroup limit

* test: feat conversation check

* test: go mod

* test: change config

* test: change config

* test: change log level

* test: fix check name

* test: stop main

* test: feat send msg

* test: feat err stack

* test: fix log print

* test: fix log print

* test: err stack print

* test: fix log decorator

* test: feat send msg

* test: feat check msg num

* test: fix sleep

* test: fix msg create

* test: fix flag

* test: fix check group message num

* test: fix check correct message

* test: check group and friend

* test: fix check msg num

* test: fix check msg num

* test: fix check msg num

* test: print nums

* test: print nums

* test: get total msg

* test: delete print

* test: chore group msg num

* test: feat relogin

* test: add sleep

* test: print total num

* test: print total unread num

* test: print operation ID

* test: log level

* test: feat msg correct count

* test: feat msg correct count

* test: fix msg correct count

* fix: conversation log print

* fix: conversation log print

* test: feat process

* test: remove interrupt

* test: feat process

* test: logs add userID

* test: uninstall and reinstall

* test: fix init sdk

* test: fix func call

* test: main process

* test: call len param check

* test: fix param index

* test: feat print logs

* test: chore can run add conditions

* test: call log print

* test: call log print

* test: fix field offset

* test: fix call

* test: check msg num

* test: main process

* test:  go mod

* test: add monitor in main and optimize comment

* test: replace errgroup to reerrgroup

* test: go mod

* test: feat progress bar and loop check

* fix: add timeout constant

* fix: go mod

* fix: init receive slice

* test: fix sync friends

* test: fix msg and loop check

* test: update limit

* test: add sleep

* test: add sleep

* test: remove sleep

* feat: open db wal and set busy timeout

* feat: add test mode

* feat: add timeout

* feat: create group slowly

* feat: create group slowly

* test: remove print

* test: fix database deadlock ?

* test: fix wait task done

* test: feat  stat msgs

* test: send msg sleep

* test: send msg slowly

* test: remove shared

* test: add timeout

* fix: userInfo cache

* test: fix bar

* test: do group notification

* test: change limit

* test: delete sleep

* test: add wait log

* test: del wait

* test: add log

* test: send message small limit

* feat: test mode conversation chan len

* test: del login last test

* test: del check fri test

* test: add time out

* test: add check
* feat: change lock to global db lock

* feat: change correct read or write lock
* Refactor: reconstruct issue and label in GitHub.

* update feature-request label.

* update

* fix: update to correct workflow.

* fix: remove env.

* fix: remove unused release files.

* refactor: update workflows and remove unnecessary contents.

* Fix: remove uncorrect comment.

* remove labels.

* update yml

* update

* feat: implement log interface.

* update

* update

* update.
* Refactor: reconstruct issue and label in GitHub.

* update feature-request label.

* update

* fix: update to correct workflow.

* fix: remove env.

* fix: remove unused release files.

* refactor: update workflows and remove unnecessary contents.

* Fix: remove uncorrect comment.

* remove labels.

* update yml

* update

* feat: implement log interface.

* update

* update

* update.

* fix: update interface func.
* Refactor: reconstruct issue and label in GitHub.

* update feature-request label.

* update

* fix: update to correct workflow.

* fix: remove env.

* fix: remove unused release files.

* refactor: update workflows and remove unnecessary contents.

* Fix: remove uncorrect comment.

* remove labels.

* update yml

* update

* feat: implement log interface.

* update

* update

* update.

* fix: update interface func.

* fix: update Logs field type.

* update log fields.
* feat: send message shuffle slice

* feat: add log

* fix: add lock in db

* fix: add lock in db
* fix: remove redundant func.

* fix: remove sort slice.
* feat: implement panic recovery.

* update recover logic.

* update log print.
* feat: implement panic recovery.

* update recover logic.

* update log print.

* feat: implment SDK log interface.

* update

* remove unused file.

* update Panic log print.
* feat: implement panic recovery.

* update recover logic.

* update log print.

* feat: implment SDK log interface.

* update

* remove unused file.

* update Panic log print.

* fix: optimize delete msg local logic.

* update implement.
* feat: implement panic recovery.

* update recover logic.

* update log print.

* feat: implment SDK log interface.

* update

* remove unused file.

* update Panic log print.

* fix: optimize delete msg local logic.

* update implement.

* optimize contents.

* fix: fix revoke burnMessage panic.

* update revoke logic.
* fix: GroupApplicationAcceptedNotification

* fix: GroupApplicationAcceptedNotification

* fix: abnormal session, the session unread count is not 0, according to the message the unread count should be 0, can not be eliminated

* fix: the crash caused by calling log when sdk is not logged in

* fix: the crash caused by calling log when sdk is not logged in
* feat: implement panic recovery.

* update recover logic.

* update log print.

* feat: implment SDK log interface.

* update

* remove unused file.

* update Panic log print.

* fix: optimize delete msg local logic.

* update implement.

* optimize contents.

* fix: fix revoke burnMessage panic.

* update revoke logic.

* chore: update go mod to update Logs interface.

* improve errs new.
FGadvancer and others added 27 commits September 5, 2024 15:18
* fix: Bug fix for clearing unread messages.

Signed-off-by: Gordon <[email protected]>

* fix: Bug fix for pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
…ant data synchronization. (#694)

* fix: Bug fix for clearing unread messages.

Signed-off-by: Gordon <[email protected]>

* fix: Bug fix for pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages and reduce redundant data synchronization.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
* fix: Bug fix for clearing unread messages.

Signed-off-by: Gordon <[email protected]>

* fix: Bug fix for pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages.

Signed-off-by: Gordon <[email protected]>

* refactor: performance optimization of pull messages and reduce redundant data synchronization.

Signed-off-by: Gordon <[email protected]>

* fix: cmd panic and remove struct.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
* fix: GroupApplicationAcceptedNotification

* fix: GroupApplicationAcceptedNotification

* fix: abnormal session, the session unread count is not 0, according to the message the unread count should be 0, can not be eliminated

* fix: the crash caused by calling log when sdk is not logged in

* fix: the crash caused by calling log when sdk is not logged in

* feat: API supports gzip

* feat: API supports gzip
* fix: add lock in db

* fix: add send wait time

* feat: un login send message and check

* test: fix send common group msg num

* test: fix check login user friends

* test: fix un login msg check

* test: change msg send limit

* test: change msg send limit

* fix: remove some testMode change

* test: fake send

* test: fake send

* test: send msg

* test: add log and operationID

* test: fake create group

* test: log level

* test: create group

* test: add import friends different operation id

* test: add send msg cost

* test: add send msg cost

* test: feat bar print🔥

* test: fix ansi

* test: test muti bars

* test: fix bars

* test: feat muti bars

* test: fix lock progress

* test: fix lock progress

* test: test check

* test: del check bar

* test: close

* test: clock

* test: clock

* test: test

* test: test

* test: add log

* test: test progress

* test: test progress

* test: fix progress

* test: feat bar progress !

* test: no save

* test: change init logic

* test: fix common group num

* test: stdout

* test: fix log

* test: capture panic

* test: del error

* test: del more one context method in login mgr

* test: add log

* test: add log

* test: fix ctx

* test: change config

* test: fix progress send on close channel

* test: fix progress send on close channel

* test: change msgtest

* test: fix progress

* test: change default config

* test: add log in get token

* test: add error

* test: change admin userid

* test: change gen online user id in msgtest

* test: add log in listener

* test: fix logout users

* test: fix bar length

* test: fix statistics

* test: add sleep

* test: update stat msg

* test: add sleep in send msg

* test: add sleep in send msg

* test: change platform

* test: change stat

* test: go mod && debug bar

* test: change send wait time

* test: change gen id in msgtest

* test: feat stat msg

* test: feat large group member set

* test: fix large group member set

* test: fix msg print

* test: fix msg print

* test: stat add unit

* test: print flag

* test: operationID

* test: feat stat print

* test: fix stat

* test: fix gen userIDs

* test: stat

* test: stat send time

* test: fix send msg

* test: feat login check

* test: only stat text msg

* test: optimize create group

* test: feat invite user to group log

* test: add operationID in invite

* test: fix add friend error

* test: feat add group member cache

* fix: get group member info from server

* fix: change http timeout

* fix: change http timeout

* fix: change http timeout

* fix: add sleep and split api

* fix: del sleep

* test: fix msgtest gen userID

* test: change msg send time

* test: change msg send time

* test: change sleep time

* test: change sleep time

* test: test

* test: add log

* test: fix stat msg

* test: add sleep

* test: del sleep

* test: add sleep

* test: del sleep

* test: fix cal common group

* test: change send msg wait time

* test: fix create large group

* test: fix check create large group

* test: fix check create large group
* refactor: mv GetConversationsHasReadAndMaxSeq from HTTP to Websocket.

Signed-off-by: Gordon <[email protected]>

* fix: ws read max seq error.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
#703)

* fix: remove the conversation trigger to prevent waiting in a circular queue.

Signed-off-by: Gordon <[email protected]>

* refactor: remove files to pkg.

Signed-off-by: Gordon <[email protected]>

* optimizing the code

* refactor: restruct friend module to relation.

* refactor: conversation structure and code change.

Signed-off-by: Gordon <[email protected]>

* optimizing the code

* optimizing the code

* optimizing the code

* new call

* feat: new api call

* db success log

* new api invoke

* fix: Bug fix for clearing unread messages.

Signed-off-by: Gordon <[email protected]>

* refactor: user package

* refactor: full package

* refactor: del license

* test: fix statistics

* refactor: user package

* remove unused code

* remove unused code

* feat: api format

* feat: api format

* refactor: merge opensource code main into local branch.

Signed-off-by: Gordon <[email protected]>

* refactor: merge opensource code main into local branch.

Signed-off-by: Gordon <[email protected]>

* refactor: merge opensource code main into local branch.

Signed-off-by: Gordon <[email protected]>

* feat: api format

* refactor: user

* refactor: full module remove.

Signed-off-by: Gordon <[email protected]>

* feat: update setGroupInfo API to correct.

* refactor: rename api function and add ExtractField function comment

* refactor: update logging initialization to use constant from protocol package

- Renamed the `log.InitLoggerFromConfig` function call in `init_login.go` to use the `pbConstant.PlatformID2Name` constant from the `protocol` package instead of the `constant.PlatformID2Name` constant from the `openim-sdk-core` package. This ensures consistency and avoids potential conflicts.

feat: improve error handling in HTTP client

- Updated the `get` and `postLogic` functions in `http_client.go` to use the `io.ReadAll` function instead of `ioutil.ReadAll` for reading the response body. This change improves error handling and ensures proper resource cleanup.

refactor: remove unused import in new_http.go

- Removed the unused import of `github.com/openimsdk/tools/errs` in `new_http.go` to clean up the code and improve maintainability.

* refactor: full

* refactor: update logging initialization to use constant from protocol package

* feat: format code

* Refactor: Update function name in conversation_msg package

Rename the function `revokeMessageFromSvr` to `revokeMessageFromServer` in the `revoke.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in group package

Rename the function `getGroupsInfoFromSvr` to `getGroupsInfoFromServer` in the `group.go` file of the `group` package. This change aligns with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `getConversationsByIDsFromSvr` to `getConversationsByIDsFromServer` in the `sync.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in group package

Rename the function `getGroupsInfoFromSvr` to `getGroupsInfoFromServer` in the `api.go` file of the `group` package. This change aligns with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `clearConversationFromLocalAndSvr` to `clearConversationFromLocalAndServer` in the `delete.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `deleteAllMsgFromLocalAndSvr` to `deleteAllMsgFromLocalAndServer` in the `delete.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `deleteMessagesFromSvr` to `deleteMessagesFromServer` in the `delete.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `getIncrementalConversationFromSvr` to `getIncrementalConversationFromServer` in the `incremental_sync.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `getAllConversationListFromSvr` to `getAllConversationListFromServer` in the `incremental_sync.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `getAllConversationIDsFromSvr` to `getAllConversationIDsFromServer` in the `incremental_sync.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `syncMsgFromSvr` to `syncMsgFromServer` in the `msg_sync.go` file of the `interaction` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `syncMsgFromSvrSplit` to `syncMsgFromServerSplit` in the `msg_sync.go` file of the `interaction` package. This change ensures consistency with the naming convention used in the codebase.

* Refactor function names in conversation_msg package

* Refactor import paths in conversation_msg and indexdb packages

* refactor: user

* Refactor variable names and comments for clarity

* refactor: full module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: full module remove.

Signed-off-by: Gordon <[email protected]>

* Refactor import statements in api.go

* feat: format code

* feat: format code

* feat: format code

* Refactor database initialization and remove unused modules

* remove unused import pkg.

* feat: format code

* Refactor conversation_msg package and remove unused imports

* refactor: full module remove.

Signed-off-by: Gordon <[email protected]>

* Refactor file imports in conversation_msg package

* Refactor file imports in conversation_msg package

* Refactor file imports in event_listener package

* Refactor file imports in conversation_msg package

* refactor: cache

* refactor: cache

* refactor: cache

* feat: add UpdateFriends interface in wasm.

* move test to db folder.

* replece olderst const.

* refactor: del SetGlobalRecvMessageOpt

* refactor: move user

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* remove main test.

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: remove chinese

* refactor: remove chinese

* Refactor group API to use simplified SetGroupInfo method

* refactor: constant add.

Signed-off-by: Gordon <[email protected]>

* refactor: constant add.

Signed-off-by: Gordon <[email protected]>

* refactor: fix msgtest route

---------

Signed-off-by: Gordon <[email protected]>
Co-authored-by: Monet Lee <[email protected]>
Co-authored-by: withchao <[email protected]>
Co-authored-by: icey-yu <[email protected]>
Co-authored-by: icey-yu <[email protected]>
* refactor: fix error handling in SendMessage function

* Refactor: Remove unused GetUsersInfoWithCache function

* remove unused markfile contents.
* fix: remove the conversation trigger to prevent waiting in a circular queue.

Signed-off-by: Gordon <[email protected]>

* refactor: remove files to pkg.

Signed-off-by: Gordon <[email protected]>

* optimizing the code

* refactor: restruct friend module to relation.

* refactor: conversation structure and code change.

Signed-off-by: Gordon <[email protected]>

* optimizing the code

* optimizing the code

* optimizing the code

* new call

* feat: new api call

* db success log

* new api invoke

* fix: Bug fix for clearing unread messages.

Signed-off-by: Gordon <[email protected]>

* refactor: user package

* refactor: full package

* refactor: del license

* test: fix statistics

* refactor: user package

* remove unused code

* remove unused code

* feat: api format

* feat: api format

* refactor: merge opensource code main into local branch.

Signed-off-by: Gordon <[email protected]>

* refactor: merge opensource code main into local branch.

Signed-off-by: Gordon <[email protected]>

* refactor: merge opensource code main into local branch.

Signed-off-by: Gordon <[email protected]>

* feat: api format

* refactor: user

* refactor: full module remove.

Signed-off-by: Gordon <[email protected]>

* feat: update setGroupInfo API to correct.

* refactor: rename api function and add ExtractField function comment

* refactor: update logging initialization to use constant from protocol package

- Renamed the `log.InitLoggerFromConfig` function call in `init_login.go` to use the `pbConstant.PlatformID2Name` constant from the `protocol` package instead of the `constant.PlatformID2Name` constant from the `openim-sdk-core` package. This ensures consistency and avoids potential conflicts.

feat: improve error handling in HTTP client

- Updated the `get` and `postLogic` functions in `http_client.go` to use the `io.ReadAll` function instead of `ioutil.ReadAll` for reading the response body. This change improves error handling and ensures proper resource cleanup.

refactor: remove unused import in new_http.go

- Removed the unused import of `github.com/openimsdk/tools/errs` in `new_http.go` to clean up the code and improve maintainability.

* refactor: full

* refactor: update logging initialization to use constant from protocol package

* feat: format code

* Refactor: Update function name in conversation_msg package

Rename the function `revokeMessageFromSvr` to `revokeMessageFromServer` in the `revoke.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in group package

Rename the function `getGroupsInfoFromSvr` to `getGroupsInfoFromServer` in the `group.go` file of the `group` package. This change aligns with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `getConversationsByIDsFromSvr` to `getConversationsByIDsFromServer` in the `sync.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in group package

Rename the function `getGroupsInfoFromSvr` to `getGroupsInfoFromServer` in the `api.go` file of the `group` package. This change aligns with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `clearConversationFromLocalAndSvr` to `clearConversationFromLocalAndServer` in the `delete.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `deleteAllMsgFromLocalAndSvr` to `deleteAllMsgFromLocalAndServer` in the `delete.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `deleteMessagesFromSvr` to `deleteMessagesFromServer` in the `delete.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `getIncrementalConversationFromSvr` to `getIncrementalConversationFromServer` in the `incremental_sync.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `getAllConversationListFromSvr` to `getAllConversationListFromServer` in the `incremental_sync.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `getAllConversationIDsFromSvr` to `getAllConversationIDsFromServer` in the `incremental_sync.go` file of the `conversation_msg` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `syncMsgFromSvr` to `syncMsgFromServer` in the `msg_sync.go` file of the `interaction` package. This change ensures consistency with the naming convention used in the codebase.

Refactor: Update function name in conversation_msg package

Rename the function `syncMsgFromSvrSplit` to `syncMsgFromServerSplit` in the `msg_sync.go` file of the `interaction` package. This change ensures consistency with the naming convention used in the codebase.

* Refactor function names in conversation_msg package

* Refactor import paths in conversation_msg and indexdb packages

* refactor: user

* Refactor variable names and comments for clarity

* refactor: full module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: full module remove.

Signed-off-by: Gordon <[email protected]>

* Refactor import statements in api.go

* feat: format code

* feat: format code

* feat: format code

* Refactor database initialization and remove unused modules

* remove unused import pkg.

* feat: format code

* Refactor conversation_msg package and remove unused imports

* refactor: full module remove.

Signed-off-by: Gordon <[email protected]>

* Refactor file imports in conversation_msg package

* Refactor file imports in conversation_msg package

* Refactor file imports in event_listener package

* Refactor file imports in conversation_msg package

* refactor: cache

* refactor: cache

* refactor: cache

* feat: add UpdateFriends interface in wasm.

* move test to db folder.

* replece olderst const.

* refactor: del SetGlobalRecvMessageOpt

* refactor: move user

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* remove main test.

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: http module remove.

Signed-off-by: Gordon <[email protected]>

* refactor: remove chinese

* refactor: remove chinese

* Refactor group API to use simplified SetGroupInfo method

* refactor: constant add.

Signed-off-by: Gordon <[email protected]>

* refactor: constant add.

Signed-off-by: Gordon <[email protected]>

* refactor: fix msgtest route

* refactor: friend info update.

Signed-off-by: Gordon <[email protected]>

* feat: GetFriendListPage

* fix: update router path in setGroupInfoEX.

* refactor: friend info update.

Signed-off-by: Gordon <[email protected]>

* refactor: audio/mp4 update.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
Co-authored-by: Monet Lee <[email protected]>
Co-authored-by: withchao <[email protected]>
Co-authored-by: icey-yu <[email protected]>
Co-authored-by: icey-yu <[email protected]>
* refactor: update setGroupInfoEx field.

* Update openimsdk/protocol to v0.0.72-alpha.23
* refactor: update setGroupInfoEx field.

* Update openimsdk/protocol to v0.0.72-alpha.23

* fix: udpate setGroupInfo fields.

* update test req fields.
…ck (#714)

* refactor: Exclude files and directories from non-English comment check

* 3123

* update token

* remove

* update

* update

* update

* 123

* condition add

* rebuild

* update

* test

* update double cond

* 312

* update

* ts

* ts1

* change

* 1

* fk

* fix to run in fork repo.
* feat: cicd

* test: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd

* fix: cicd
* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller
* feat: add SearchConversation WASM

* feat: add SearchConversation WASM

* feat: change log
* fix: remove some code to avoid creating group errors..

Signed-off-by: Gordon <[email protected]>

* fix: find message add local Ex.

Signed-off-by: Gordon <[email protected]>

* fix: notification conversation update.

Signed-off-by: Gordon <[email protected]>

* fix: unread num is negative and optimization of sync conversation when app login or re conn.

Signed-off-by: Gordon <[email protected]>

* fix: update logs add ex filed and remove set self userinfo with ex.

Signed-off-by: Gordon <[email protected]>

* refactor: change log and avoid nil array.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
@pull-request-size pull-request-size bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 12, 2024
Copy link

Whoa! Easy there, Partner!

This PR is too big. Please break it up into smaller PRs.

@FGadvancer FGadvancer merged commit ad92d81 into release-v3.8 Oct 12, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants