-
Notifications
You must be signed in to change notification settings - Fork 663
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Read default folder configuration from a file on the server
This commit will read a file called `.desktopclientconfig` at the root of the webdav, while running the wizard, before showing the last page. If the file exist and contains a list of default folder to configure, hide all the option to configure the remote folders, as the default configurtation will be applied. The config file should contains a json object. The currently supported config can be seen in this these example: ``` { "default_folders": [ { "remote_folder" : "Documents", "black_list" : [ "Archives/1999", "Archives/1998" ] }, { "remote_folder": "Music" } ]} ``` The `default_folders` property is a list of folder configuration. The `remote_folder` property is the path of the folder on the remote. The `black_list` property is a list of entries for the "choose what to sync".
- Loading branch information
Showing
3 changed files
with
129 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters