Skip to content
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

WIP: Read default folder configuration from a file on the server #6761

Closed
wants to merge 1 commit into from

Commits on Mar 14, 2019

  1. 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".
    ogoffart committed Mar 14, 2019
    Configuration menu
    Copy the full SHA
    3ab722f View commit details
    Browse the repository at this point in the history