182 lines
5 KiB
YAML
182 lines
5 KiB
YAML
# --------------------
|
|
# General app settings
|
|
# --------------------
|
|
app_name: DFG Annual Survey in Coordinated Programs
|
|
documentation_url: https://docs.trr379.de/howtos/dfg-survey/index.html
|
|
external_config_url: config_dfg_default.yaml
|
|
footer_links:
|
|
- url: https://www.fz-juelich.de/en/legal-notice
|
|
text: Legal notice
|
|
- url: https://dfg-cp-survey.trr379.de/#privacy-policy
|
|
text: Privacy policy
|
|
page_title: DFG Survey
|
|
source_code_url: https://hub.trr379.de/q02/dfg-cp-survey-ui
|
|
|
|
# -------
|
|
# Content
|
|
# -------
|
|
content:
|
|
FrontPageHTML:
|
|
url: frontpage.html
|
|
doi-logo:
|
|
url: https://hub.psychoinformatics.de/datalink/assets/raw/branch/main/shacl-vue/DOI_logo_24.svg
|
|
orcid-logo:
|
|
url: https://hub.psychoinformatics.de/datalink/assets/raw/branch/main/shacl-vue/orcid_logo_24.svg
|
|
dfg-survey-status-template:
|
|
url: templates/dfg-cp-survey-status.nunjucks.ttl
|
|
|
|
# --------------
|
|
# Theme settings
|
|
# --------------
|
|
front_page_content: content:FrontPageHTML
|
|
app_theme:
|
|
link_color: '#ffa200'
|
|
hover_color: '#ffa200'
|
|
active_color: '#ffa201'
|
|
visited_color: '#ffa201'
|
|
panel_color: '#333333'
|
|
logo: logo.png
|
|
|
|
# --------------------------
|
|
# Application inputs sources
|
|
# --------------------------
|
|
# All from external_config_url
|
|
|
|
# -------------------
|
|
# Identifier settings
|
|
# -------------------
|
|
# All from external_config_url
|
|
|
|
# ------------
|
|
# UI behaviour
|
|
# ------------
|
|
component_config:
|
|
NodeShapeViewer:
|
|
recordNumberStepSize: 5
|
|
textTruncateWidth: '85%'
|
|
showBlankNodes:
|
|
- trr379cps:Contributor
|
|
hideBackLinks: true
|
|
specialButtons:
|
|
ORCID:
|
|
slot: dcterms:identifier
|
|
match:
|
|
- key: rdf:type
|
|
val: trr379ri:ORCID
|
|
return: skos:notation
|
|
template: 'https://orcid.org/{return}'
|
|
icon: content:orcid-logo
|
|
tooltip: Visit ORCID page
|
|
DOI:
|
|
slot: dcterms:identifier
|
|
match:
|
|
- key: rdf:type
|
|
val: dlthings:DOI
|
|
return: skos:notation
|
|
template: 'https://doi.org/{return}'
|
|
icon: content:doi-logo
|
|
tooltip: Go to DOI
|
|
DownloadUrl:
|
|
slot: dlthings:characterized_by
|
|
match:
|
|
- key: rdf:type
|
|
val: dlthings:Statement
|
|
- key: rdf:predicate
|
|
val: dcat:downloadUrl
|
|
return: rdf:object
|
|
template: '{return}'
|
|
icon: mdi-download
|
|
tooltip: Download
|
|
Homepage:
|
|
slot: dlthings:attributes
|
|
match:
|
|
- key: rdf:type
|
|
val: dlthings:AttributeSpecification
|
|
- key: rdf:predicate
|
|
val: foaf:homepage
|
|
return: rdf:value
|
|
template: '{return}'
|
|
icon: mdi-home
|
|
tooltip: Homepage
|
|
filter_records_by:
|
|
- dlthings:short_name
|
|
id_resolves_externally:
|
|
- trr379root
|
|
allow_manual_pid_entry: false
|
|
|
|
|
|
# -----------------------
|
|
# Service API integration
|
|
# -----------------------
|
|
service_base_url:
|
|
- url: https://dfg-cp-survey.trr379.de/api/2026-protected/
|
|
type: write
|
|
- url: https://dfg-cp-survey.trr379.de/api/2026-public/
|
|
type: read
|
|
token_info: Survey participants received an access link/token via email. Please see the documentation for more information and contact details for requesting an access token
|
|
token_info_url: https://docs.trr379.de/howtos/dfg-survey/index.html
|
|
use_service: true
|
|
use_token: true
|
|
service_fetch_before:
|
|
get-records:
|
|
- dlthings:AnnotationTag
|
|
- dlthings:Convention
|
|
- dlthings:Property
|
|
- dlthings:Rule
|
|
|
|
# ----------------
|
|
# Special features
|
|
# ----------------
|
|
gitannex_p2phttp_config:
|
|
base_url: "https://hub.trr379.de/git-annex-p2phttp/git-annex"
|
|
annex_uuid: d10eeb70-bb68-4ae4-8c5a-713203d86733
|
|
client_uuid: trr379-pool-ui
|
|
use_gitannex_p2phttp: true
|
|
|
|
gitannex_p2phttp_config_wizard:
|
|
client_uuid: trr379-pool-ui
|
|
targets:
|
|
- name: TRR379 Hub
|
|
base_url: https://hub.trr379.de/git-annex-p2phttp/git-annex
|
|
repositories:
|
|
- name: Public uploads
|
|
annex_uuid: d10eeb70-bb68-4ae4-8c5a-713203d86733
|
|
|
|
# -------
|
|
# Wizards
|
|
# -------
|
|
wizard_editors:
|
|
DFGSurveySameWizard:
|
|
name: Confirm unchanged submission?
|
|
tooltip: Nothing changed? Confirm here!
|
|
icon: mdi-clipboard-check-multiple-outline
|
|
description: >-
|
|
If you submitted the DFG CP Survey in 2025 and all of your survey data remain unchanged for 2026,
|
|
please press ***Confirm*** below, and then submit your `Person` record.
|
|
submit_label: Confirm
|
|
template: content:dfg-survey-status-template
|
|
wizard_editor_selection:
|
|
trr379cps:Contributor:
|
|
_record_view:
|
|
- DFGSurveySameWizard
|
|
|
|
|
|
oidc:
|
|
- name: TRR379 hub
|
|
base_url: https://hub.trr379.de
|
|
auth_endpoint: login/oauth/authorize
|
|
token_endpoint: login/oauth/access_token
|
|
client_id: 3ade7525-d19c-4b3e-8f2d-f76a77e5c644
|
|
redirect_uri: https://dfg-cp-survey.trr379.de/ui/auth/oidc-callback.html
|
|
response_type: code
|
|
code_challenge_method: S256
|
|
grant_type: authorization_code
|
|
|
|
|
|
# -------------
|
|
# Update shapes
|
|
#--------------
|
|
update_shapes_default:
|
|
_all_property_shapes:
|
|
dlthings:pid:
|
|
sh:minCount: 1 |