Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bugfix/end to end encryption #10244
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
Uh oh!
There was an error while loading. Please reload this page.
Bugfix/end to end encryption #10244
Changes from all commits
4f35ed88b9d44bFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 116 in src/gui/folderman.cpp
Make the type of this parameter a pointer-to-const. The current type of "f" is "class OCC::Folder *".
Check warning on line 235 in src/gui/folderman.cpp
implicit conversion loses integer precision: 'size_type' (aka 'long long') to 'int'
Check warning on line 610 in src/gui/folderman.cpp
This lambda has 84 lines, which is greater than the 20 lines authorized. Split it into several lambdas or functions, or make it a named function.
Check failure on line 690 in src/gui/folderman.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 1054 in src/gui/folderman.cpp
Unmodified variable "f" of type "class OCC::Folder *" should be const-qualified.
Check warning on line 1496 in src/gui/folderman.cpp
Replace with the version of "std::ranges::find_if" that takes a range.
Check warning on line 1740 in src/gui/folderman.cpp
Unmodified variable "statusCode" of type "int" should be const-qualified.
Check warning on line 1749 in src/gui/folderman.cpp
Unmodified variable "status" of type "enum OCC::SyncResult::Status *" should be const-qualified.
Check warning on line 1853 in src/gui/folderman.cpp
Unmodified variable "syncStatus" of type "enum OCC::SyncResult::Status" should be const-qualified.
Check failure on line 1872 in src/gui/folderman.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 770 in src/gui/socketapi/socketapi.cpp
Make the type of this parameter a pointer-to-const. The current type of "listener" is "class OCC::SocketListener *".
Check warning on line 1169 in src/gui/socketapi/socketapi.cpp
Use the init-statement to declare "theme" inside the if statement.
Check warning on line 1193 in src/gui/socketapi/socketapi.cpp
This function should be declared "const".
Check warning on line 1292 in src/gui/socketapi/socketapi.cpp
Replace the redundant type with "auto".
Check warning on line 34 in src/libsync/discovery.cpp
Rename this identifier to be shorter or equal to 31 characters.
Check failure on line 255 in src/libsync/discovery.cpp
Refactor this function to reduce its Cognitive Complexity from 108 to the 25 allowed.
Check warning on line 329 in src/libsync/discovery.cpp
Replace with the version of "std::ranges::any_of" that takes a range.
Check warning on line 428 in src/libsync/discovery.cpp
Reduce this switch case number of lines from 6 to at most 5, for example by extracting code into methods.
Check failure on line 696 in src/libsync/discovery.cpp
Explicitly capture the required scope variables.
Check warning on line 756 in src/libsync/discovery.cpp
Capture variables by reference, it is safe in this context.
Check warning on line 1618 in src/libsync/discovery.cpp
Use the init-statement to declare "movePerms" inside the if statement.
Check warning on line 1659 in src/libsync/discovery.cpp
Replace this declaration by a structured binding declaration.
Check failure on line 1703 in src/libsync/discovery.cpp
Explicitly capture the required scope variables.
Check warning on line 1872 in src/libsync/discovery.cpp
Remove these redundant parentheses.
Check warning on line 2128 in src/libsync/discovery.cpp
Replace with the version of "std::ranges::find_if" that takes a range.
Check warning on line 2373 in src/libsync/discovery.cpp
Unmodified variable "localJob" of type "class OCC::DiscoverySingleLocalDirectoryJob *" should be const-qualified.
Check warning on line 2461 in src/libsync/discovery.cpp
This function should be declared "const".
Check failure on line 2472 in src/libsync/discovery.cpp
Add a "default" case to this switch statement.
Check warning on line 2490 in src/libsync/discovery.cpp
Reduce this switch case number of lines from 14 to at most 5, for example by extracting code into methods.
Check warning on line 2493 in src/libsync/discovery.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'
Check failure on line 79 in src/libsync/discoveryphase.cpp
Explicitly capture the required scope variables.
Check warning on line 373 in src/libsync/discoveryphase.cpp
Unmodified variable "dirent" of type "class std::unique_ptr<struct csync_file_stat_s>" should be const-qualified.
Check warning on line 590 in src/libsync/discoveryphase.cpp
Make the type of this parameter a pointer-to-const. The current type of "reply" is "class QNetworkReply *".
Check warning on line 663 in src/libsync/discoveryphase.cpp
Reduce this switch case number of lines from 8 to at most 5, for example by extracting code into methods.
Check warning on line 705 in src/libsync/discoveryphase.cpp
Replace with the version of "std::ranges::find_if" that takes a range.
Check failure on line 104 in src/libsync/encryptedfoldermetadatahandler.cpp
Replace the use of "new" with an operation that automatically manages the memory.
Check warning on line 153 in src/libsync/encryptedfoldermetadatahandler.cpp
Unmodified variable "reply" of type "class QNetworkReply *" should be const-qualified.
Check warning on line 205 in src/libsync/encryptedfoldermetadatahandler.cpp
Unmodified variable "httpReturnCode" of type "int" should be const-qualified.
Check warning on line 57 in src/libsync/foldermetadata.cpp
Unmodified variable "account" of type "class QSharedPointer<class OCC::Account>" should be const-qualified.
Check warning on line 247 in src/libsync/foldermetadata.cpp
Complete the task associated to this "TODO" comment.
Check warning on line 386 in src/libsync/foldermetadata.cpp
Rename this identifier to be shorter or equal to 31 characters.
Check warning on line 494 in src/libsync/foldermetadata.cpp
Replace with the version of "std::ranges::sort" that takes a range.
Check warning on line 536 in src/libsync/foldermetadata.cpp
Unmodified variable "encryptedFile" of type "const struct OCC::FolderMetadata::EncryptedFile *" should be const-qualified.
Check warning on line 626 in src/libsync/foldermetadata.cpp
Unmodified variable "end" of type "class QList<struct OCC::FolderMetadata::EncryptedFile>::const_iterator" should be const-qualified.
Check warning on line 643 in src/libsync/foldermetadata.cpp
Unmodified variable "end" of type "class QSet<class QByteArray>::const_iterator" should be const-qualified.
Check failure on line 1068 in src/libsync/foldermetadata.cpp
Add a "default" case to this switch statement.
Check warning on line 27 in src/libsync/foldermetadata.h
Class has 59 methods, which is greater than the 35 authorized. Split it into smaller classes.
Check warning on line 181 in src/libsync/foldermetadata.h
Rename this identifier to be shorter or equal to 31 characters.
Check warning on line 182 in src/libsync/foldermetadata.h
Rename this identifier to be shorter or equal to 31 characters.
Check warning on line 194 in src/libsync/foldermetadata.h
Rename this identifier to be shorter or equal to 31 characters.
Uh oh!
There was an error while loading. Please reload this page.