-
Notifications
You must be signed in to change notification settings - Fork 898
fix(migration): set all settings and keychain keys from the previous version of the client. #8969
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
Conversation
f8a9ce2 to
850ad86
Compare
|
/backport to stable-3.17 |
|
/backport to stable-4.0 |
6002883 to
0f5daa4
Compare
0f5daa4 to
432619a
Compare
0ca5903 to
79b8d83
Compare
3b54016 to
70a2e36
Compare
0570b90 to
9255969
Compare
…ent. - Change variable names for more readable ones. - Related to PRs #8706 and #8925. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
… user proxy. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
…keychain key name. Signed-off-by: Camila Ayres <[email protected]>
… the keychain keys. - Modernize function AbstractCredentials::keychainkey. - Add string to save current or legacy application name. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
…on steps. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
…ame. Remove emit signal call: it would trigger the call for saveAccountHelper() which in turn would call persist() again. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
…us version of the client. Enabled/disable the checkbox when changing the server notifications setting. Signed-off-by: Camila Ayres <[email protected]>
9255969 to
2bc2bbb
Compare
mgallien
left a comment
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.
one small comment
Only valid for Windows. Signed-off-by: Camila Ayres <[email protected]>
mgallien
left a comment
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.
thanks
|
Artifact containing the AppImage: nextcloud-appimage-pr-8969.zip Digest: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
|




This PR tries to solve two issues:
General settings and general network from older versions are not correctly migrated to newer versions.
Some general settings items were not take into consideration when loading the settings again for the new version. Now all are read and set in the new client version.
After migration the client does not recognize the older keychain keys and it asks the user to reconnect.
After setting the new client settings, the fetching from keychain process was not taking into consideration that the previous version of the client might have had a different name.
In this PR I have added a enum to track the migration steps, so when it gets to the step of fetching the keychain keys, it will check if a migration is in progress and use the legacy app name or if should proceed with the current app name.
Related to
Before
After