|
1 | 1 | # NOTE: will log all redux actions and transfers in console |
2 | 2 | debug: false |
3 | 3 |
|
4 | | -# Angular Universal server settings |
| 4 | +# Angular User Inteface settings |
5 | 5 | # NOTE: these settings define where Node.js will start your UI application. Therefore, these |
6 | 6 | # "ui" settings usually specify a localhost port/URL which is later proxied to a public URL (using Apache or similar) |
7 | 7 | ui: |
|
17 | 17 | # Trust X-FORWARDED-* headers from proxies (default = true) |
18 | 18 | useProxies: true |
19 | 19 |
|
| 20 | +# Angular Universal / Server Side Rendering (SSR) settings |
20 | 21 | universal: |
21 | | - # Whether to inline "critical" styles into the server-side rendered HTML. |
22 | | - # Determining which styles are critical is a relatively expensive operation; |
23 | | - # this option can be disabled to boost server performance at the expense of |
24 | | - # loading smoothness. For improved SSR performance, DSpace defaults this to false (disabled). |
| 22 | + # Whether to tell Angular to inline "critical" styles into the server-side rendered HTML. |
| 23 | + # Determining which styles are critical is a relatively expensive operation; this option is |
| 24 | + # disabled (false) by default to boost server performance at the expense of loading smoothness. |
25 | 25 | inlineCriticalCss: false |
| 26 | + # Path prefixes to enable SSR for. By default these are limited to paths of primary DSpace objects. |
| 27 | + # NOTE: The "/handle/" path ensures Handle redirects work via SSR. The "/reload/" path ensures |
| 28 | + # hard refreshes (e.g. after login) trigger SSR while fully reloading the page. |
| 29 | + paths: [ '/home', '/items/', '/entities/', '/collections/', '/communities/', '/bitstream/', '/bitstreams/', '/handle/', '/reload/' ] |
| 30 | + # Whether to enable rendering of Search component on SSR. |
| 31 | + # If set to true the component will be included in the HTML returned from the server side rendering. |
| 32 | + # If set to false the component will not be included in the HTML returned from the server side rendering. |
| 33 | + enableSearchComponent: false |
| 34 | + # Whether to enable rendering of Browse component on SSR. |
| 35 | + # If set to true the component will be included in the HTML returned from the server side rendering. |
| 36 | + # If set to false the component will not be included in the HTML returned from the server side rendering. |
| 37 | + enableBrowseComponent: false |
| 38 | + # Enable state transfer from the server-side application to the client-side application. |
| 39 | + # Defaults to true. |
| 40 | + # Note: When using an external application cache layer, it's recommended not to transfer the state to avoid caching it. |
| 41 | + # Disabling it ensures that dynamic state information is not inadvertently cached, which can improve security and |
| 42 | + # ensure that users always use the most up-to-date state. |
| 43 | + transferState: true |
| 44 | + # When a different REST base URL is used for the server-side application, the generated state contains references to |
| 45 | + # REST resources with the internal URL configured. By default, these internal URLs are replaced with public URLs. |
| 46 | + # Disable this setting to avoid URL replacement during SSR. In this the state is not transferred to avoid security issues. |
| 47 | + replaceRestUrl: true |
26 | 48 |
|
27 | 49 | # The REST API server settings |
28 | 50 | # NOTE: these settings define which (publicly available) REST API to use. They are usually |
|
33 | 55 | port: 443 |
34 | 56 | # NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript |
35 | 57 | nameSpace: /server |
| 58 | + # Provide a different REST url to be used during SSR execution. It must contain the whole url including protocol, server port and |
| 59 | + # server namespace (uncomment to use it). |
| 60 | + #ssrBaseUrl: http://localhost:8080/server |
36 | 61 |
|
37 | 62 | # Caching settings |
38 | 63 | cache: |
@@ -107,6 +132,8 @@ auth: |
107 | 132 | # If the rest token expires in less than this amount of time, it will be refreshed automatically. |
108 | 133 | # This is independent from the idle warning. |
109 | 134 | timeLeftBeforeTokenRefresh: 120000 # 2 minutes |
| 135 | + # Standard login enabled |
| 136 | + isPasswordLoginEnabledForAdminsOnly: false |
110 | 137 |
|
111 | 138 | # Form settings |
112 | 139 | form: |
@@ -187,6 +214,8 @@ submission: |
187 | 214 | metadataDetailsList: |
188 | 215 | - label: 'Document type' |
189 | 216 | name: dc.type |
| 217 | + # Minimum number of characters required before performing a lookup. |
| 218 | + minChars: 3 |
190 | 219 |
|
191 | 220 | # Default Language in which the UI will be rendered if the user's browser language is not an active language |
192 | 221 | defaultLanguage: en |
@@ -327,15 +356,6 @@ item: |
327 | 356 | # The maximum number of values for repeatable metadata to show in the full item |
328 | 357 | metadataLimit: 20 |
329 | 358 |
|
330 | | -# When the search results are retrieved, for each item type the metadata with a valid authority value are inspected. |
331 | | -# Referenced items will be fetched with a find all by id strategy to avoid individual rest requests |
332 | | -# to efficiently display the search results. |
333 | | -followAuthorityMetadata: |
334 | | - - type: Publication |
335 | | - metadata: dc.contributor.author |
336 | | - - type: Product |
337 | | - metadata: dc.contributor.author |
338 | | - |
339 | 359 | # Collection Page Config |
340 | 360 | collection: |
341 | 361 | edit: |
@@ -400,10 +420,6 @@ themes: |
400 | 420 | attributes: |
401 | 421 | rel: manifest |
402 | 422 | href: assets/dspace/images/favicons/manifest.webmanifest |
403 | | - - tagName: link |
404 | | - attributes: |
405 | | - rel: stylesheet |
406 | | - href: "https://fonts.googleapis.com/icon?family=Material+Icons" |
407 | 423 |
|
408 | 424 | # The default bundles that should always be displayed as suggestions when you upload a new bundle |
409 | 425 | bundle: |
@@ -442,6 +458,29 @@ comcolSelectionSort: |
442 | 458 | sortField: 'dc.title' |
443 | 459 | sortDirection: 'ASC' |
444 | 460 |
|
| 461 | +# Live Region configuration |
| 462 | +# Live Region as defined by w3c, https://www.w3.org/TR/wai-aria-1.1/#terms: |
| 463 | +# Live regions are perceivable regions of a web page that are typically updated as a |
| 464 | +# result of an external event when user focus may be elsewhere. |
| 465 | +# |
| 466 | +# The DSpace live region is a component present at the bottom of all pages that is invisible by default, but is useful |
| 467 | +# for screen readers. Any message pushed to the live region will be announced by the screen reader. These messages |
| 468 | +# usually contain information about changes on the page that might not be in focus. |
| 469 | +liveRegion: |
| 470 | + # The duration after which messages disappear from the live region in milliseconds |
| 471 | + messageTimeOutDurationMs: 30000 |
| 472 | + # The visibility of the live region. Setting this to true is only useful for debugging purposes. |
| 473 | + isVisible: false |
| 474 | + |
| 475 | + |
| 476 | +# Search settings |
| 477 | +search: |
| 478 | + # Number used to render n UI elements called loading skeletons that act as placeholders. |
| 479 | + # These elements indicate that some content will be loaded in their stead. |
| 480 | + # Since we don't know how many filters will be loaded before we receive a response from the server we use this parameter for the skeletons count. |
| 481 | + # e.g. If we set 5 then 5 loading skeletons will be visualized before the actual filters are retrieved. |
| 482 | + defaultFiltersCount: 5 |
| 483 | + |
445 | 484 | crisLayout: |
446 | 485 | urn: |
447 | 486 | - name: doi |
@@ -521,3 +560,19 @@ addToAnyPlugin: |
521 | 560 | title: DSpace CRIS 7 demo |
522 | 561 | # The link to be shown in the shared post, if different from document.location.origin (optional) |
523 | 562 | # link: https://dspacecris7.4science.cloud/ |
| 563 | + |
| 564 | +# When the search results are retrieved, for each item type the metadata with a valid authority value are inspected. |
| 565 | +# Referenced items will be fetched with a find all by id strategy to avoid individual rest requests |
| 566 | +# to efficiently display the search results. |
| 567 | +followAuthorityMetadata: |
| 568 | + - type: Publication |
| 569 | + metadata: dc.contributor.author |
| 570 | + - type: Product |
| 571 | + metadata: dc.contributor.author |
| 572 | + |
| 573 | +# The maximum number of item to process when following authority metadata values. |
| 574 | +followAuthorityMaxItemLimit: 100 |
| 575 | + |
| 576 | +# The maximum number of metadata values to process for each metadata key |
| 577 | +# when following authority metadata values. |
| 578 | +followAuthorityMetadataValuesLimit: 5 |
0 commit comments