Skip to content

Commit

Permalink
eLabFTW integration
Browse files Browse the repository at this point in the history
  • Loading branch information
kysrpex committed Dec 12, 2024
1 parent f8f5976 commit 8a5dbbb
Show file tree
Hide file tree
Showing 3 changed files with 942 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/src/utils/upload-payload.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const URI_PREFIXES = [
"drs://",
"invenio://",
"zenodo://",
"elabftw://",
];

export function isUrl(content) {
Expand Down
8 changes: 8 additions & 0 deletions lib/galaxy/config/sample/file_sources_conf.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,11 @@
access_token: ${user.preferences['onedata|access_token']}
onezone_domain: ${user.preferences['onedata|onezone_domain']}
disable_tls_certificate_validation: ${user.preferences['onedata|disable_tls_certificate_validation']}

- type: elabftw
id: elabftw
label: eLabFTW
doc: Import/export files from an eLabFTW instance.
api_key: ${user.user_vault.read_secret('preferences/elabftw/api_key')}
writable: true
endpoint: ${user.preferences['elabftw|endpoint']}
Loading

0 comments on commit 8a5dbbb

Please sign in to comment.