-
Notifications
You must be signed in to change notification settings - Fork 806
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
Bugfix nextcloudcmd when syncing results in deleting all files #6773
Conversation
064ccf4
to
9d53bf8
Compare
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.
Super nice! Very concise and clear as well!
I would suggest using "Proceed to remove all files" instead :)
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.
I tested the code as it is without having ever manually modified the setting promptDeleteAllFiles
so default value (false
) kicks in and we get no popup in nextcloud
graphical full sync client and cmd
lightweight client is not getting stuck
if you change the value to true
I get the improved popup in the graphical client but the command line one will get stuck again
I know and I tried to decouple the 2 things (the sync trigger from cmd and the notification when using the UI) but I couldn't think of a good of doing that. |
7d540b7
to
19ae649
Compare
7fd659c
to
22f1c85
Compare
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.
A couple of small comments
22f1c85
to
5492ae0
Compare
/backport to stable-3.13 |
…ing signal to display warning. The signal is not connected to any slot when running nextcloudcmd. The callback to finish the sync was never being called because the check for the config was done in the slot, which was never called. Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Camila Ayres <hello@camilasan.com>
5492ae0
to
92390cc
Compare
AppImage file: nextcloud-PR-6773-92390cc754f819e27228a6eb0c6fecbb9c2fab7c-x86_64.AppImage |
Quality Gate passedIssues Measures |
warning when deleting all files in the server
warning when deleting all local files