|
8 | 8 | ssl: false |
9 | 9 | host: localhost |
10 | 10 | port: 4000 |
| 11 | + # Specify the public URL that this user interface responds to. This corresponds to the "dspace.ui.url" property in your backend's local.cfg. |
| 12 | + # SSR is only enabled when the client's "Host" HTTP header matches this baseUrl. The baseUrl is also used for redirects and SEO links (in robots.txt). |
| 13 | + baseUrl: http://localhost:4000 |
11 | 14 | # NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript |
12 | 15 | nameSpace: / |
13 | 16 | # The rateLimiter settings limit each IP to a 'limit' of 500 requests per 'windowMs' (1 minute). |
@@ -161,6 +164,9 @@ form: |
161 | 164 | validatorMap: |
162 | 165 | required: required |
163 | 166 | regex: pattern |
| 167 | + # If true it enables the button "Duplicate" inside inline form groups. |
| 168 | + # The button will give the possibility to duplicate the whole form section copying the metadata values as well. |
| 169 | + showInlineGroupDuplicateButton: false |
164 | 170 |
|
165 | 171 | # Notification settings |
166 | 172 | notifications: |
@@ -199,6 +205,10 @@ submission: |
199 | 205 | # default configuration |
200 | 206 | - name: default |
201 | 207 | style: '' |
| 208 | + # Icons that should remain visible even when no authority value is present for the metadata field. |
| 209 | + # This is useful for fields where you want to display an icon regardless of whether the value has an authority link. |
| 210 | + # Example: ['fas fa-user'] will show the user icon for author fields even without authority data. |
| 211 | + iconsVisibleWithNoAuthority: ['fas fa-user'] |
202 | 212 | authority: |
203 | 213 | confidence: |
204 | 214 | # NOTE: example of configuration |
@@ -237,7 +247,12 @@ submission: |
237 | 247 | - value: default |
238 | 248 | style: text-muted |
239 | 249 | icon: fa-circle-xmark |
240 | | - |
| 250 | + # Icons to be displayed next to an authority controlled value, to give indication of the source. |
| 251 | + sourceIcons: |
| 252 | + # Example of configuration for authority logo based on sources. |
| 253 | + # The configured icon will be displayed next to the authority value in submission and on item page or search results. |
| 254 | + - source: orcid |
| 255 | + - path: assets/images/orcid.logo.icon.svg |
241 | 256 | # Fallback language in which the UI will be rendered if the user's browser language is not an active language |
242 | 257 | fallbackLanguage: en |
243 | 258 |
|
@@ -397,7 +412,33 @@ item: |
397 | 412 | pageSize: 5 |
398 | 413 | # Show the bitstream access status label on the item page |
399 | 414 | showAccessStatuses: false |
400 | | - |
| 415 | + # Configuration of metadata to be displayed in the item metadata link view popover |
| 416 | + metadataLinkViewPopoverData: |
| 417 | + # Metdadata list to be displayed for entities without a specific configuration |
| 418 | + fallbackMetdataList: |
| 419 | + - dc.description.abstract |
| 420 | + - dc.description.note |
| 421 | + # Configuration for each entity type |
| 422 | + entityDataConfig: |
| 423 | + - entityType: Person |
| 424 | + # Descriptive metadata (popover body) |
| 425 | + metadataList: |
| 426 | + - person.affiliation.name |
| 427 | + - person.email |
| 428 | + # Title metadata (popover header) |
| 429 | + titleMetadataList: |
| 430 | + - person.givenName |
| 431 | + - person.familyName |
| 432 | + # Configuration for identifier subtypes, based on metadata like dc.identifier.ror where ror is the subtype. |
| 433 | + # This is used to map the layout of the identifier in the popover and the icon displayed next to the metadata value. |
| 434 | + identifierSubtypes: |
| 435 | + - name: ror |
| 436 | + icon: assets/images/ror.logo.icon.svg |
| 437 | + iconPosition: IdentifierSubtypesIconPositionEnum.LEFT |
| 438 | + link: https://ror.org |
| 439 | + |
| 440 | + # Enable authority based relations in item page |
| 441 | + showAuthorityRelations: false |
401 | 442 | # Community Page Config |
402 | 443 | community: |
403 | 444 | # Default tab to be shown when browsing a Community. Valid values are: comcols, search, or browse_<field> |
@@ -645,3 +686,103 @@ geospatialMapViewer: |
645 | 686 | accessibility: |
646 | 687 | # The duration in days after which the accessibility settings cookie expires |
647 | 688 | cookieExpirationDuration: 7 |
| 689 | + |
| 690 | +# Configuration for layout customization of metadata rendering in Item page |
| 691 | +# Currently only the authority reference config is available, more will follow with the integration of the so called CRIS layout. |
| 692 | +layout: |
| 693 | + # Configuration of icons and styles to be used for each authority controlled link |
| 694 | + authorityRef: |
| 695 | + - entityType: DEFAULT |
| 696 | + entityStyle: |
| 697 | + default: |
| 698 | + icon: fa fa-user |
| 699 | + style: text-info |
| 700 | + - entityType: PERSON |
| 701 | + entityStyle: |
| 702 | + person: |
| 703 | + icon: fa fa-user |
| 704 | + style: text-success |
| 705 | + default: |
| 706 | + icon: fa fa-user |
| 707 | + style: text-info |
| 708 | + - entityType: ORGUNIT |
| 709 | + entityStyle: |
| 710 | + default: |
| 711 | + icon: fa fa-university |
| 712 | + style: text-success |
| 713 | + - entityType: PROJECT |
| 714 | + entityStyle: |
| 715 | + default: |
| 716 | + icon: fas fa-project-diagram |
| 717 | + style: text-success |
| 718 | + # If true the download link in item page will be rendered as an advanced attachment, the view can be then configured with the layout.advancedAttachmentRendering config |
| 719 | + showDownloadLinkAsAttachment: false |
| 720 | + # Configuration for advanced attachment rendering in item pages. This controls how files are displayed when showDownloadLinkAsAttachment is enabled. |
| 721 | + # Defines which metadata/attributes to display for bitstream attachments. |
| 722 | + advancedAttachmentRendering: |
| 723 | + # Metadata and attributes to display for each attachment |
| 724 | + metadata: |
| 725 | + - name: dc.title |
| 726 | + type: metadata |
| 727 | + truncatable: false |
| 728 | + - name: dc.type |
| 729 | + type: metadata |
| 730 | + truncatable: false |
| 731 | + - name: dc.description |
| 732 | + type: metadata |
| 733 | + truncatable: true |
| 734 | + - name: size |
| 735 | + type: attribute |
| 736 | + - name: format |
| 737 | + type: attribute |
| 738 | + - name: checksum |
| 739 | + type: attribute |
| 740 | + |
| 741 | +# Configuration for customization of search results |
| 742 | +searchResults: |
| 743 | + # Metadata fields to be displayed in the search results under the standard ones |
| 744 | + additionalMetadataFields: |
| 745 | + - dc.contributor.author |
| 746 | + - dc.date.issued |
| 747 | + - dc.type |
| 748 | + # Metadata fields to be displayed in the search results for the author section |
| 749 | + authorMetadata: |
| 750 | + - dc.contributor.author |
| 751 | + - dc.creator |
| 752 | + - dc.contributor.* |
| 753 | + # When the search results are retrieved, for each item type the metadata with a valid authority value are inspected. |
| 754 | + # Referenced items will be fetched with a find all by id strategy to avoid individual rest requests |
| 755 | + # to efficiently display the search results. |
| 756 | + followAuthorityMetadata: |
| 757 | + - type: Publication |
| 758 | + metadata: dc.contributor.author |
| 759 | + - type: Product |
| 760 | + metadata: dc.contributor.author |
| 761 | + |
| 762 | + # The maximum number of item to process when following authority metadata values. |
| 763 | + followAuthorityMaxItemLimit: 100 |
| 764 | + |
| 765 | + # The maximum number of metadata values to process for each metadata key |
| 766 | + # when following authority metadata values. |
| 767 | + followAuthorityMetadataValuesLimit: 5 |
| 768 | + |
| 769 | + |
| 770 | +# Configuration of social links using AddToAny plugin |
| 771 | +addToAnyPlugin: |
| 772 | + # This is enabled flag |
| 773 | + socialNetworksEnabled: false |
| 774 | + # If you want to self-host check https://www.addtoany.com/buttons/customize/host_cache |
| 775 | + scriptUrl: "https://static.addtoany.com/menu/page.js" |
| 776 | + # Check available integrations, visit https://www.addtoany.com/buttons/for/website |
| 777 | + # 1. Click "Choose Services", select integrations, then click Done |
| 778 | + # 2. Get Button Code |
| 779 | + # 3. You will get a HTML e.g. <a class="a2a_button_facebook"></a> where "facebook" is part you want to include in list |
| 780 | + buttons: |
| 781 | + - facebook |
| 782 | + - twitter |
| 783 | + - linkedin |
| 784 | + - email |
| 785 | + - copy_link |
| 786 | + showPlusButton: true |
| 787 | + showCounters: true |
| 788 | + title: DSpace demo |
0 commit comments