-
Notifications
You must be signed in to change notification settings - Fork 876
WIP: chore: refactor migration functions. #8154
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
base: master
Are you sure you want to change the base?
Conversation
389e785 to
da96d27
Compare
|
85cf378 to
609910c
Compare
- First look for legacy locations and then try to restore general, proxy and accounts settings. - Functions handling account migration go into AccountManager and functions handling legacy config check go in ConfigFile. Signed-off-by: Camila Ayres <[email protected]>
The client was failing to pick up the config file. Signed-off-by: Camila Ayres <[email protected]>
- Separate logic from widgets. - Functions handling account migration go into AccountManager and functions handling legacy config check go in ConfigFile. Signed-off-by: Camila Ayres <[email protected]>
47b336c to
1e65552
Compare
Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
…iles. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
…egacy file. At that point we already know that the config file does not exist. Signed-off-by: Camila Ayres <[email protected]>
The same logic is already implemented in ConfigFile::findLegacyClientConfigFile. Signed-off-by: Camila Ayres <[email protected]>
Signed-off-by: Camila Ayres <[email protected]>
848223a to
bdde6f2
Compare
|
Artifact containing the AppImage: nextcloud-appimage-pr-8154.zip SHA256 checksum: 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. |




Follow up to #8036.