-
Notifications
You must be signed in to change notification settings - Fork 769
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
base: master
Are you sure you want to change the base?
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. |
9d53bf8
to
7d540b7
Compare
…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>
7d540b7
to
19ae649
Compare
AppImage file: nextcloud-PR-6773-19ae6491cde1f676e1422101fe310645fe790bcd-x86_64.AppImage |
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
warning when deleting all files in the server
warning when deleting all local files