[ACS-5041] update license headers to reflect hyland copyright guidelines (#8472)

* ACS-5041 Changed json to js

* ACS-5041 Corrected paths

* ACS-5041 Changed json to js

* ACS-5041 Updated eslintrc

* ACS-5041 Small correction

* ACS-5041 Small correction

* ACS-5041 Updated license headers

* ACS-5041 Updated license headers

* ACS-5041 Replaced references to alfresco

* ACS-5041 Added Hyland to known words

* ACS-5041 Fixed coverage issue

* ACS-5041 Fixed duplication issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed test

* ACS-5041 Fixed test

* ACS-5041 Reverted one change

* ACS-5041 Added missing license to files after rebase
This commit is contained in:
AleksanderSklorz
2023-04-20 09:34:03 +02:00
committed by GitHub
parent aa9edeff54
commit 98c0a3c7be
2645 changed files with 4595 additions and 4676 deletions
+117 -117
View File
@@ -1,6 +1,6 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,166 +30,166 @@ export class SearchConfiguration {
'TEXT',
'TAG'
],
'include': ['path', 'allowableOperations'],
'sorting': {
'options': [
{'key': 'name', 'label': 'Name', 'type': 'FIELD', 'field': 'cm:name', 'ascending': true},
include: ['path', 'allowableOperations'],
sorting: {
options: [
{key: 'name', label: 'Name', type: 'FIELD', field: 'cm:name', ascending: true},
{
'key': 'content.sizeInBytes',
'label': 'Size',
'type': 'FIELD',
'field': 'content.size',
'ascending': true
key: 'content.sizeInBytes',
label: 'Size',
type: 'FIELD',
field: 'content.size',
ascending: true
},
{
'key': 'description',
'label': 'Description',
'type': 'FIELD',
'field': 'cm:description',
'ascending': true
key: 'description',
label: 'Description',
type: 'FIELD',
field: 'cm:description',
ascending: true
},
{
'key': 'createdByUser',
'label': 'Author',
'type': 'FIELD',
'field': 'cm:creator',
'ascending': true
key: 'createdByUser',
label: 'Author',
type: 'FIELD',
field: 'cm:creator',
ascending: true
},
{'key': 'createdAt', 'label': 'Created', 'type': 'FIELD', 'field': 'cm:created', 'ascending': true}
{key: 'createdAt', label: 'Created', type: 'FIELD', field: 'cm:created', ascending: true}
],
'defaults': [
{'key': 'name', 'type': 'FIELD', 'field': 'cm:name', 'ascending': true}
defaults: [
{key: 'name', type: 'FIELD', field: 'cm:name', ascending: true}
]
},
'filterQueries': [
{'query': "TYPE:'cm:folder' OR TYPE:'cm:content'"},
{'query': 'NOT cm:creator:System'}
filterQueries: [
{query: 'TYPE:\'cm:folder\' OR TYPE:\'cm:content\''},
{query: 'NOT cm:creator:System'}
],
'facetFields': {
'expanded': true,
'fields': [
{'field': 'content.mimetype', 'mincount': 1, 'label': 'SEARCH.FACET_FIELDS.TYPE'},
{'field': 'content.size', 'mincount': 1, 'label': 'SEARCH.FACET_FIELDS.SIZE'},
{'field': 'creator', 'mincount': 1, 'label': 'SEARCH.FACET_FIELDS.CREATOR'},
{'field': 'modifier', 'mincount': 1, 'label': 'SEARCH.FACET_FIELDS.MODIFIER'},
{'field': 'created', 'mincount': 1, 'label': 'SEARCH.FACET_FIELDS.CREATED'}
facetFields: {
expanded: true,
fields: [
{field: 'content.mimetype', mincount: 1, label: 'SEARCH.FACET_FIELDS.TYPE'},
{field: 'content.size', mincount: 1, label: 'SEARCH.FACET_FIELDS.SIZE'},
{field: 'creator', mincount: 1, label: 'SEARCH.FACET_FIELDS.CREATOR'},
{field: 'modifier', mincount: 1, label: 'SEARCH.FACET_FIELDS.MODIFIER'},
{field: 'created', mincount: 1, label: 'SEARCH.FACET_FIELDS.CREATED'}
]
},
'facetQueries': {
'label': 'My facet queries',
'pageSize': 5,
'queries': [
{'query': 'created:2018', 'label': '1.Created This Year'},
{'query': 'content.mimetype:text/html', 'label': '2.Type: HTML'},
{'query': 'content.size:[0 TO 10240]', 'label': '3.Size: xtra small'},
{'query': 'content.size:[10240 TO 102400]', 'label': '4.Size: small'},
{'query': 'content.size:[102400 TO 1048576]', 'label': '5.Size: medium'},
{'query': 'content.size:[1048576 TO 16777216]', 'label': '6.Size: large'},
{'query': 'content.size:[16777216 TO 134217728]', 'label': '7.Size: xtra large'},
{'query': 'content.size:[134217728 TO MAX]', 'label': '8.Size: XX large'}
facetQueries: {
label: 'My facet queries',
pageSize: 5,
queries: [
{query: 'created:2018', label: '1.Created This Year'},
{query: 'content.mimetype:text/html', label: '2.Type: HTML'},
{query: 'content.size:[0 TO 10240]', label: '3.Size: xtra small'},
{query: 'content.size:[10240 TO 102400]', label: '4.Size: small'},
{query: 'content.size:[102400 TO 1048576]', label: '5.Size: medium'},
{query: 'content.size:[1048576 TO 16777216]', label: '6.Size: large'},
{query: 'content.size:[16777216 TO 134217728]', label: '7.Size: xtra large'},
{query: 'content.size:[134217728 TO MAX]', label: '8.Size: XX large'}
]
},
'categories': [
categories: [
{
'id': 'queryName',
'name': 'Name',
'enabled': true,
'expanded': true,
'component': {
'selector': 'text',
'settings': {
'pattern': "cm:name:'(.*?)'",
'field': 'cm:name',
'placeholder': 'Enter the name'
id: 'queryName',
name: 'Name',
enabled: true,
expanded: true,
component: {
selector: 'text',
settings: {
pattern: 'cm:name:\'(.*?)\'',
field: 'cm:name',
placeholder: 'Enter the name'
}
}
},
{
'id': 'checkList',
'name': 'Check List',
'enabled': true,
'component': {
'selector': 'check-list',
'settings': {
'pageSize': 5,
'operator': 'OR',
'options': [
{'name': 'Folder', 'value': "TYPE:'cm:folder'"},
{'name': 'Document', 'value': "TYPE:'cm:content'"}
id: 'checkList',
name: 'Check List',
enabled: true,
component: {
selector: 'check-list',
settings: {
pageSize: 5,
operator: 'OR',
options: [
{name: 'Folder', value: 'TYPE:\'cm:folder\''},
{name: 'Document', value: 'TYPE:\'cm:content\''}
]
}
}
},
{
'id': 'contentSize',
'name': 'Content Size',
'enabled': true,
'component': {
'selector': 'slider',
'settings': {
'field': 'cm:content.size',
'min': 0,
'max': 18,
'step': 1,
'thumbLabel': true
id: 'contentSize',
name: 'Content Size',
enabled: true,
component: {
selector: 'slider',
settings: {
field: 'cm:content.size',
min: 0,
max: 18,
step: 1,
thumbLabel: true
}
}
},
{
'id': 'contentSizeRange',
'name': 'Content Size (range)',
'enabled': true,
'component': {
'selector': 'number-range',
'settings': {
'field': 'cm:content.size',
'format': '[{FROM} TO {TO}]'
id: 'contentSizeRange',
name: 'Content Size (range)',
enabled: true,
component: {
selector: 'number-range',
settings: {
field: 'cm:content.size',
format: '[{FROM} TO {TO}]'
}
}
},
{
'id': 'createdDateRange',
'name': 'Created Date (range)',
'enabled': true,
'component': {
'selector': 'date-range',
'settings': {
'field': 'cm:created',
'dateFormat': 'DD-MMM-YY'
id: 'createdDateRange',
name: 'Created Date (range)',
enabled: true,
component: {
selector: 'date-range',
settings: {
field: 'cm:created',
dateFormat: 'DD-MMM-YY'
}
}
},
{
'id': 'queryType',
'name': 'Type',
'enabled': true,
'component': {
'selector': 'radio',
'settings': {
'field': null,
'pageSize': 5,
'options': [
{'name': 'APP.SEARCH.RADIO.NONE', 'value': '', 'default': true},
{'name': 'APP.SEARCH.RADIO.ALL', 'value': "TYPE:'cm:folder' OR TYPE:'cm:content'"},
{'name': 'APP.SEARCH.RADIO.FOLDER', 'value': "TYPE:'cm:folder'"},
{'name': 'APP.SEARCH.RADIO.DOCUMENT', 'value': "TYPE:'cm:content'"}
id: 'queryType',
name: 'Type',
enabled: true,
component: {
selector: 'radio',
settings: {
field: null,
pageSize: 5,
options: [
{name: 'APP.SEARCH.RADIO.NONE', value: '', default: true},
{name: 'APP.SEARCH.RADIO.ALL', value: 'TYPE:\'cm:folder\' OR TYPE:\'cm:content\''},
{name: 'APP.SEARCH.RADIO.FOLDER', value: 'TYPE:\'cm:folder\''},
{name: 'APP.SEARCH.RADIO.DOCUMENT', value: 'TYPE:\'cm:content\''}
]
}
}
}
],
'highlight': {
'prefix': '¿',
'postfix': '?',
'mergeContiguous': true,
'fields': [
highlight: {
prefix: '¿',
postfix: '?',
mergeContiguous: true,
fields: [
{
'field': 'cm:title'
field: 'cm:title'
},
{
'field': 'description',
'prefix': '(',
'postfix': ')'
field: 'description',
prefix: '(',
postfix: ')'
}
]
}