Merge branch 'main' into w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata

# Conflicts:
#	package.json
#	src/app/shared/shared.module.ts
#	src/app/shared/truncatable/truncatable-part/truncatable-part.component.html
#	src/config/app-config.interface.ts
#	src/config/default-app-config.ts
#	src/environments/environment.test.ts
#	src/styles/_global-styles.scss
#	yarn.lock
This commit is contained in:
Samuel Cambien
2022-09-23 13:39:20 +02:00
1399 changed files with 81796 additions and 36024 deletions

View File

@@ -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
@@ -38,6 +38,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 +104,9 @@ export const environment: AppConfig = {
// NOTE: every how many minutes submission is saved automatically
timer: 5
},
typeBind: {
field: 'dc.type'
},
icons: {
metadata: [
{
@@ -178,6 +185,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 +203,30 @@ 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,
// 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 +258,17 @@ export const environment: AppConfig = {
name: 'base',
},
],
bundle: {
standardBundles: ['ORIGINAL', 'THUMBNAIL', 'LICENSE'],
},
mediaViewer: {
image: true,
video: true
},
info: {
enableEndUserAgreement: true,
enablePrivacyStatement: true,
},
enableMarkdown: false,
enableMathjax: false,
};