[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

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.
@@ -45,8 +45,8 @@ describe('Viewer', () => {
const uploadActions = new UploadActions(apiService);
const archiveFolderInfo = new FolderModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.ARCHIVE_FOLDER.folder_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.ARCHIVE_FOLDER.folder_path
name: browser.params.resources.Files.ADF_DOCUMENTS.ARCHIVE_FOLDER.folder_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.ARCHIVE_FOLDER.folder_path
});
beforeAll(async () => {

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.
@@ -47,13 +47,13 @@ describe('Viewer', () => {
let pngFileUploaded;
const pngFileInfo = new FileModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_path
name: browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_path
});
const otherFolderInfo = new FolderModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.OTHER_FOLDER.folder_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.OTHER_FOLDER.folder_path
name: browser.params.resources.Files.ADF_DOCUMENTS.OTHER_FOLDER.folder_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.OTHER_FOLDER.folder_path
});
beforeAll(async () => {

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.
@@ -38,8 +38,8 @@ describe('Viewer', () => {
const acsUser = new UserModel();
const excelFolderInfo = new FolderModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.EXCEL_FOLDER.folder_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.EXCEL_FOLDER.folder_path
name: browser.params.resources.Files.ADF_DOCUMENTS.EXCEL_FOLDER.folder_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.EXCEL_FOLDER.folder_path
});
const apiService = createApiService();

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.
@@ -43,13 +43,13 @@ describe('Viewer', () => {
const acsUser = new UserModel();
const imgFolderInfo = new FolderModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.IMG_FOLDER.folder_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.IMG_FOLDER.folder_path
name: browser.params.resources.Files.ADF_DOCUMENTS.IMG_FOLDER.folder_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.IMG_FOLDER.folder_path
});
const imgRenditionFolderInfo = new FolderModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.IMG_RENDITION_FOLDER.folder_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.IMG_RENDITION_FOLDER.folder_path
name: browser.params.resources.Files.ADF_DOCUMENTS.IMG_RENDITION_FOLDER.folder_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.IMG_RENDITION_FOLDER.folder_path
});
beforeAll(async () => {
@@ -79,8 +79,8 @@ describe('Viewer', () => {
});
describe('Image Folder Uploaded', () => {
let uploadedImages, uploadedImgRenditionFolderInfo;
let imgFolderUploaded, imgFolderRenditionUploaded;
let uploadedImages; let uploadedImgRenditionFolderInfo;
let imgFolderUploaded; let imgFolderRenditionUploaded;
beforeAll(async () => {
imgFolderUploaded = await uploadActions.createFolder(imgFolderInfo.name, '-my-');

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.
@@ -42,8 +42,8 @@ describe('Viewer', () => {
const acsUser = new UserModel();
const pptFolderInfo = new FolderModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.PPT_FOLDER.folder_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.PPT_FOLDER.folder_path
name: browser.params.resources.Files.ADF_DOCUMENTS.PPT_FOLDER.folder_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.PPT_FOLDER.folder_path
});
let site;

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.
@@ -42,8 +42,8 @@ describe('Viewer', () => {
const acsUser = new UserModel();
const textFolderInfo = new FolderModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.TEXT_FOLDER.folder_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.TEXT_FOLDER.folder_path
name: browser.params.resources.Files.ADF_DOCUMENTS.TEXT_FOLDER.folder_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.TEXT_FOLDER.folder_path
});
beforeAll(async () => {

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.
@@ -44,8 +44,8 @@ describe('Viewer', () => {
const acsUser = new UserModel();
const wordFolderInfo = new FolderModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.WORD_FOLDER.folder_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.WORD_FOLDER.folder_path
name: browser.params.resources.Files.ADF_DOCUMENTS.WORD_FOLDER.folder_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.WORD_FOLDER.folder_path
});
beforeAll(async () => {

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.
@@ -42,44 +42,44 @@ describe('Content Services Viewer', () => {
let zoom;
const pdfFile = new FileModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.PDF.file_name,
'firstPageText': browser.params.resources.Files.ADF_DOCUMENTS.PDF.first_page_text,
'secondPageText': browser.params.resources.Files.ADF_DOCUMENTS.PDF.second_page_text,
'lastPageNumber': browser.params.resources.Files.ADF_DOCUMENTS.PDF.last_page_number
name: browser.params.resources.Files.ADF_DOCUMENTS.PDF.file_name,
firstPageText: browser.params.resources.Files.ADF_DOCUMENTS.PDF.first_page_text,
secondPageText: browser.params.resources.Files.ADF_DOCUMENTS.PDF.second_page_text,
lastPageNumber: browser.params.resources.Files.ADF_DOCUMENTS.PDF.last_page_number
});
const protectedFile = new FileModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.file_name,
'firstPageText': browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.first_page_text,
'secondPageText': browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.second_page_text,
'lastPageNumber': browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.last_page_number,
'password': browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.password,
'location': browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.file_path
name: browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.file_name,
firstPageText: browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.first_page_text,
secondPageText: browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.second_page_text,
lastPageNumber: browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.last_page_number,
password: browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.password,
location: browser.params.resources.Files.ADF_DOCUMENTS.PDF_PROTECTED.file_path
});
const docxFile = new FileModel({
'location': browser.params.resources.Files.ADF_DOCUMENTS.DOCX.file_path,
'name': browser.params.resources.Files.ADF_DOCUMENTS.DOCX.file_name,
'firstPageText': browser.params.resources.Files.ADF_DOCUMENTS.DOCX.first_page_text
location: browser.params.resources.Files.ADF_DOCUMENTS.DOCX.file_path,
name: browser.params.resources.Files.ADF_DOCUMENTS.DOCX.file_name,
firstPageText: browser.params.resources.Files.ADF_DOCUMENTS.DOCX.first_page_text
});
const jpgFile = new FileModel({
'location': browser.params.resources.Files.ADF_DOCUMENTS.JPG.file_path,
'name': browser.params.resources.Files.ADF_DOCUMENTS.JPG.file_name
location: browser.params.resources.Files.ADF_DOCUMENTS.JPG.file_path,
name: browser.params.resources.Files.ADF_DOCUMENTS.JPG.file_name
});
const mp4File = new FileModel({
'location': browser.params.resources.Files.ADF_DOCUMENTS.MP4.file_path,
'name': browser.params.resources.Files.ADF_DOCUMENTS.MP4.file_name
location: browser.params.resources.Files.ADF_DOCUMENTS.MP4.file_path,
name: browser.params.resources.Files.ADF_DOCUMENTS.MP4.file_name
});
const unsupportedFile = new FileModel({
'location': browser.params.resources.Files.ADF_DOCUMENTS.UNSUPPORTED.file_path,
'name': browser.params.resources.Files.ADF_DOCUMENTS.UNSUPPORTED.file_name
location: browser.params.resources.Files.ADF_DOCUMENTS.UNSUPPORTED.file_path,
name: browser.params.resources.Files.ADF_DOCUMENTS.UNSUPPORTED.file_name
});
const unsupportedFileByLocation = new FileModel({
'location': browser.params.resources.Files.ADF_DOCUMENTS.UNSUPPORTED.file_location,
'name': browser.params.resources.Files.ADF_DOCUMENTS.UNSUPPORTED.file_name
location: browser.params.resources.Files.ADF_DOCUMENTS.UNSUPPORTED.file_location,
name: browser.params.resources.Files.ADF_DOCUMENTS.UNSUPPORTED.file_name
});
const pptFile = new FileModel({
'location': browser.params.resources.Files.ADF_DOCUMENTS.PPT.file_path,
'name': browser.params.resources.Files.ADF_DOCUMENTS.PPT.file_name,
'firstPageText': browser.params.resources.Files.ADF_DOCUMENTS.PPT.first_page_text
location: browser.params.resources.Files.ADF_DOCUMENTS.PPT.file_path,
name: browser.params.resources.Files.ADF_DOCUMENTS.PPT.file_name,
firstPageText: browser.params.resources.Files.ADF_DOCUMENTS.PPT.first_page_text
});
const apiService = createApiService();

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.
@@ -38,13 +38,13 @@ describe('Viewer', () => {
let txtFileUploaded;
const txtFileInfo = new FileModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.TXT.file_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.TXT.file_path
name: browser.params.resources.Files.ADF_DOCUMENTS.TXT.file_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.TXT.file_path
});
const fileModelVersionTwo = new FileModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.TXT.file_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.TXT.file_location
name: browser.params.resources.Files.ADF_DOCUMENTS.TXT.file_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.TXT.file_location
});
beforeAll(async () => {

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.
@@ -38,13 +38,13 @@ describe('Viewer', () => {
const dataTable = new DataTableComponentPage();
const pngFile = new FileModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_path
name: browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_path
});
const fileForOverlay = new FileModel({
'name': 'fileForOverlay.png',
'location': browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_path
name: 'fileForOverlay.png',
location: browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_path
});
const apiService = createApiService();
const usersActions = new UsersActions(apiService);

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.
@@ -51,16 +51,16 @@ describe('Viewer', () => {
const contentList = contentServicesPage.getDocumentList();
const pngFileInfo = new FileModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_path
name: browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_path
});
const wordFileInfo = new FileModel({
'name': browser.params.resources.Files.ADF_DOCUMENTS.DOCX.file_name,
'location': browser.params.resources.Files.ADF_DOCUMENTS.DOCX.file_path
name: browser.params.resources.Files.ADF_DOCUMENTS.DOCX.file_name,
location: browser.params.resources.Files.ADF_DOCUMENTS.DOCX.file_path
});
let pngFileShared, wordFileUploaded;
let pngFileShared; let wordFileUploaded;
beforeAll(async () => {
await apiService.loginWithProfile('admin');
@@ -86,7 +86,7 @@ describe('Viewer', () => {
wordFileUploaded = await uploadActions.uploadFile(wordFileInfo.location, wordFileInfo.name, '-my-');
pngFileShared = await sharedlinksApi.createSharedLink({ 'nodeId': pngFileUploaded.entry.id });
pngFileShared = await sharedlinksApi.createSharedLink({ nodeId: pngFileUploaded.entry.id });
});
afterAll(async () => {