-
Notifications
You must be signed in to change notification settings - Fork 800
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
Add option to notify when synced folder overcomes set size limit #5868
Conversation
062960f
to
be6b0bb
Compare
@claucambra build is failing |
Now fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy
found issue(s) with the introduced code (1/1)
@claucambra I gave this a test run
|
Great, working as expected then :) did you get the notification? |
No, no notification.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@claucambra please add automated tests covering teh changes in libsync code (mainly SyncEngine
and related classes
As far as I understood the task is to warn the user, not stop syncing the folder/stop the current sync run -- I imagine this would be annoying if sync suddenly stopped when folders grow, no? Could you also send client logs for the sync run to debug the lack of a notification? Is there anything in the activity list? Thanks! |
As the other options are also stated "ask for confirmation" I think we should do the same here. Once you have changed it, I can re-test and send debug archive if needed. |
I have added an additional checkbox to disable synchronisation of files that have overcome limit now, feel free to test :) |
eb56ca0
to
c5d0a8d
Compare
Works great! |
350df23
to
30a574e
Compare
feb2749
to
fc45ef7
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5868 +/- ##
==========================================
+ Coverage 60.06% 60.08% +0.02%
==========================================
Files 145 145
Lines 18771 18797 +26
==========================================
+ Hits 11275 11295 +20
- Misses 7496 7502 +6
|
…teInfo Signed-off-by: Claudio Cambra <[email protected]>
…y using const auto, renaming single letter variables, more Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
…Folder Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
…ity method Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
…ow beyond size Signed-off-by: Claudio Cambra <[email protected]>
…hat have now overcome limit Signed-off-by: Claudio Cambra <[email protected]>
…d disabling sync of folders that become big Signed-off-by: Claudio Cambra <[email protected]>
…r already black or white listed Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
…ttons Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
…odel changes Signed-off-by: Claudio Cambra <[email protected]>
…n activitydata, refer to this in usage Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
fc45ef7
to
a5d7c75
Compare
SonarCloud Quality Gate failed. 0 Bugs 36.3% Coverage The version of Java (11.0.14.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
AppImage file: nextcloud-PR-5868-a5d7c75e6f9e0e385b86780090c5c0c39e7bd54e-x86_64.AppImage |
This expands upon the existing feature to not sync new folders larger than a set limit
Closes #5818