Unverified Commit fb8f001f authored by Björn Grüning's avatar Björn Grüning Committed by GitHub
Browse files

Merge pull request #19319 from kysrpex/eLabFTW

eLabFTW integration via Galaxy file source
parents 3a036517 1d6432ef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ export const URI_PREFIXES = [
    "drs://",
    "invenio://",
    "zenodo://",
    "elabftw://",
];

export function isUrl(content) {
+8 −0
Original line number Diff line number Diff line
@@ -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']}
+14 −0
Original line number Diff line number Diff line
@@ -153,3 +153,17 @@ preferences:
              type: boolean
              required: False
              value: False

    # Used in file_sources_conf.yml
    elabftw:
        description: Your eLabFTW Integration Settings
        inputs:
            - name: api_key
              label: API key
              type: secret
              store: vault  # Requires setting up vault_config_file in your galaxy.yml
              required: True
            - name: endpoint
              label: URL of the eLabFTW instance you want to access
              type: text
              required: True
+998 −0

File added.

Preview size limit exceeded, changes collapsed.