Skip to content

Commit

Permalink
Merge pull request #11580 from abretaud/dav_src
Browse files Browse the repository at this point in the history
Sample conf for dropbox and owncloud file sources
  • Loading branch information
jmchilton authored Mar 10, 2021
2 parents dfa7ffa + 96f9d25 commit 5662162
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 8 deletions.
1 change: 1 addition & 0 deletions config/file_sources_conf.yml.sample
20 changes: 20 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,20 @@
- 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']}

- type: posix
id: posix1
label: Posix
doc: Files from local path
root: /some/path/
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

0 comments on commit 5662162

Please sign in to comment.