mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 03:23:07 +00:00
Merge remote-tracking branch 'dspaceMain/main' into issue-815-controlled-vocabulary-hierarchical-facets-7.2
# Conflicts: # src/app/shared/search/search-filters/search-filter/search-hierarchy-filter/search-hierarchy-filter.component.spec.ts # src/app/shared/search/search-filters/search-filter/search-hierarchy-filter/search-hierarchy-filter.component.ts # src/app/shared/vocabulary-treeview/vocabulary-treeview.component.ts # src/assets/i18n/en.json5 # src/config/app-config.interface.ts # src/config/default-app-config.ts # src/environments/environment.test.ts
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// This configuration is only used for unit tests, end-to-end tests use environment.production.ts
|
||||
import { BuildConfig } from 'src/config/build-config.interface';
|
||||
import { RestRequestMethod } from '../app/core/data/rest-request-method';
|
||||
import { NotificationAnimationsType } from '../app/shared/notifications/models/notification-animations-type';
|
||||
import { AppConfig } from '../config/app-config.interface';
|
||||
|
||||
export const environment: AppConfig = {
|
||||
export const environment: BuildConfig = {
|
||||
production: false,
|
||||
|
||||
// Angular Universal settings
|
||||
@@ -25,7 +25,8 @@ export const environment: AppConfig = {
|
||||
rateLimiter: {
|
||||
windowMs: 1 * 60 * 1000, // 1 minute
|
||||
max: 500 // limit each IP to 500 requests per windowMs
|
||||
}
|
||||
},
|
||||
useProxies: true,
|
||||
},
|
||||
|
||||
// The REST API server settings.
|
||||
@@ -38,6 +39,10 @@ export const environment: AppConfig = {
|
||||
baseUrl: 'https://rest.com/api'
|
||||
},
|
||||
|
||||
actuators: {
|
||||
endpointPath: '/actuator/health'
|
||||
},
|
||||
|
||||
// Caching settings
|
||||
cache: {
|
||||
// NOTE: how long should objects be cached for by default
|
||||
@@ -100,6 +105,9 @@ export const environment: AppConfig = {
|
||||
// NOTE: every how many minutes submission is saved automatically
|
||||
timer: 5
|
||||
},
|
||||
typeBind: {
|
||||
field: 'dc.type'
|
||||
},
|
||||
icons: {
|
||||
metadata: [
|
||||
{
|
||||
@@ -178,6 +186,14 @@ export const environment: AppConfig = {
|
||||
code: 'lv',
|
||||
label: 'Latviešu',
|
||||
active: true,
|
||||
}, {
|
||||
code: 'bn',
|
||||
label: 'বাংলা',
|
||||
active: true,
|
||||
}, {
|
||||
code: 'el',
|
||||
label: 'Ελληνικά',
|
||||
active: true,
|
||||
}],
|
||||
|
||||
// Browse-By Pages
|
||||
@@ -188,11 +204,32 @@ export const environment: AppConfig = {
|
||||
fiveYearLimit: 30,
|
||||
// The absolute lowest year to display in the dropdown (only used when no lowest date can be found for all items)
|
||||
defaultLowerLimit: 1900,
|
||||
// Whether to add item thumbnail images to BOTH browse and search result lists.
|
||||
showThumbnails: true,
|
||||
// The number of entries in a paginated browse results list.
|
||||
// Rounded to the nearest size in the list of selectable sizes on the
|
||||
// settings menu. See pageSizeOptions in 'pagination-component-options.model.ts'.
|
||||
pageSize: 20,
|
||||
},
|
||||
communityList: {
|
||||
pageSize: 20
|
||||
},
|
||||
homePage: {
|
||||
recentSubmissions: {
|
||||
pageSize: 5,
|
||||
//sort record of recent submission
|
||||
sortField: 'dc.date.accessioned',
|
||||
},
|
||||
topLevelCommunityList: {
|
||||
pageSize: 5
|
||||
}
|
||||
},
|
||||
item: {
|
||||
edit: {
|
||||
undoTimeout: 10000 // 10 seconds
|
||||
}
|
||||
},
|
||||
// Show the item access status label in items lists
|
||||
showAccessStatuses: false
|
||||
},
|
||||
collection: {
|
||||
edit: {
|
||||
@@ -224,10 +261,21 @@ export const environment: AppConfig = {
|
||||
name: 'base',
|
||||
},
|
||||
],
|
||||
bundle: {
|
||||
standardBundles: ['ORIGINAL', 'THUMBNAIL', 'LICENSE'],
|
||||
},
|
||||
mediaViewer: {
|
||||
image: true,
|
||||
video: true
|
||||
},
|
||||
info: {
|
||||
enableEndUserAgreement: true,
|
||||
enablePrivacyStatement: true,
|
||||
},
|
||||
markdown: {
|
||||
enabled: false,
|
||||
mathjax: false,
|
||||
},
|
||||
|
||||
vocabularies: [
|
||||
{
|
||||
|
Reference in New Issue
Block a user