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

Sample conf for dropbox and owncloud file sources #11580

Merged
merged 4 commits into from
Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/file_sources_conf.yml.sample
14 changes: 14 additions & 0 deletions lib/galaxy/config/sample/file_sources_conf.yml.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- type: dropbox
id: dropbox1
label: Dropbox files (configure access in user preferences)
doc: Your Dropbox files - configure an access token via the user preferences
accessToken: ${user.preferences['dropbox|access_token']}

- type: webdav
id: owncloud1
label: OwnCloud
doc: External OwnCloud files (configure access in user preferences)
url: ${user.preferences['owncloud|url']}
root: ${user.preferences['owncloud|root']}
login: ${user.preferences['owncloud|username']}
password: ${user.preferences['owncloud|password']}
46 changes: 38 additions & 8 deletions lib/galaxy/config/sample/user_preferences_extra_conf.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ preferences:
required: False

use_cached_job:
description: Do you want to be able to re-use previously run jobs ?
inputs:
- name: use_cached_job_checkbox
label: Do you want to be able to re-use equivalent jobs ?
type: boolean
checked: false
value: false
help: If you select yes, you will be able to select for each tool and workflow run if you would like to use this feature.
description: Do you want to be able to re-use previously run jobs ?
inputs:
- name: use_cached_job_checkbox
label: Do you want to be able to re-use equivalent jobs ?
type: boolean
checked: false
value: false
help: If you select yes, you will be able to select for each tool and workflow run if you would like to use this feature.

localization:
description: Localization
Expand All @@ -63,3 +63,33 @@ preferences:
- [English, en]
- [French, fr]
- [Japanese, ja]

# Used in file_sources_conf.yml
dropbox:
description: Your Dropbox account
inputs:
- name: access_token
label: Dropbox access token
type: password
required: False

# Used in file_sources_conf.yml
owncloud:
description: Your External OwnCloud account
inputs:
- name: url
label: Server Domain (e.g. https://myowncloud.org)
type: text
required: False
- name: root
label: Server Path (should end with /remote.php/webdav, e.g. /a/sub/path/remote.php/webdav)
type: text
required: False
- name: username
label: Username
type: text
required: False
- name: password
label: Password
type: password
required: False