Config: Add version flags to accounts and folders
authorChristian Kamm <mail@ckamm.de>
Wed, 2 May 2018 13:40:54 +0000 (15:40 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:57:53 +0000 (10:57 +0100)
commit87ba4e6b9cde0cbc077de1217072a311733a03c0
treebc563048656bde141b13c81e1caf83614717873d
parentaa6f5f59c437ed244c949857b2bbb6b961d59d0a
Config: Add version flags to accounts and folders

Also, if there is too-new configuration, backup the file, show a
warning message asking the user whether it's ok to discard the
configuration from the future.

See #6504
src/gui/accountmanager.cpp
src/gui/accountmanager.h
src/gui/application.cpp
src/gui/application.h
src/gui/folder.cpp
src/gui/folder.h
src/gui/folderman.cpp
src/gui/folderman.h
src/libsync/configfile.cpp
src/libsync/configfile.h