Skip to content

Commit

Permalink
[ACS-4959] Update license headers to reflect Hyland Copyright Guideli…
Browse files Browse the repository at this point in the history
…nes (#3115)

* [ACS-4959] install eslint-plugin-license-header plugin

* [ACS-4959] configure new license

* [ACS-4959] aca-folder-rules license update

* [ACS-4959] content-ce license update

* [ACS-4959] app-e2e license update

* [ACS-4959] adf-office-services-ext license update

* [ACS-4959] aca-shared update license

* [ACS-4959] aca-about license update

* [ACS-4959] aca-content license update

* [ACS-4959] aca-viewer & aca-preview license update

* [ACS-4959] other files license update

* [ACS-4959] patern fix

* [ACS-4959] vendors updated

* [ACS-4959] path fix

* [ACS-4959] some more vendors update

* [ACS-4959] license update
  • Loading branch information
nikita-web-ua authored Apr 13, 2023
1 parent f0f542b commit 7245e99
Show file tree
Hide file tree
Showing 585 changed files with 3,784 additions and 3,223 deletions.
31 changes: 30 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"unicorn",
"prettier",
"ban",
"@cspell"
"@cspell",
"license-header"
],
"rules": {
"ban/ban": [
Expand All @@ -35,6 +36,34 @@
{ "name": ["test", "only"], "message": "Calls to test.only is not allowed" },
{ "name": ["describe", "only"], "message": "Calls to describe.only is not allowed" }
],
"license-header/header": [
"error",
[
"/*!",
" * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.",
" *",
" * Alfresco Example Content Application",
" *",
" * This file is part of the Alfresco Example Content Application.",
" * If the software was purchased under a paid Alfresco license, the terms of",
" * the paid license agreement will prevail. Otherwise, the software is",
" * provided under the following open source license terms:",
" *",
" * The Alfresco Example Content Application is free software: you can redistribute it and/or modify",
" * it under the terms of the GNU Lesser General Public License as published by",
" * the Free Software Foundation, either version 3 of the License, or",
" * (at your option) any later version.",
" *",
" * The Alfresco Example Content Application is distributed in the hope that it will be useful,",
" * but WITHOUT ANY WARRANTY; without even the implied warranty of",
" * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the",
" * GNU Lesser General Public License for more details.",
" *",
" * You should have received a copy of the GNU Lesser General Public License",
" * from Hyland Software. If not, see <http://www.gnu.org/licenses/>.",
" */"
]
],
"prettier/prettier": "error",
"no-shadow": "off",
"@typescript-eslint/no-shadow": "error",
Expand Down
11 changes: 5 additions & 6 deletions app/src/app/app.components.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*!
* @license
* Alfresco Example Content Application
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
Expand All @@ -16,11 +15,11 @@
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { Component } from '@angular/core';
Expand Down
11 changes: 5 additions & 6 deletions app/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*!
* @license
* Alfresco Example Content Application
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
Expand All @@ -16,11 +15,11 @@
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { BrowserModule } from '@angular/platform-browser';
Expand Down
24 changes: 24 additions & 0 deletions app/src/app/app.routes.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
/*!
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { BlankPageComponent } from '@alfresco/adf-core';
import { LoginComponent } from './components/login/login.component';

Expand Down
11 changes: 5 additions & 6 deletions app/src/app/components/login/login.component.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*!
* @license
* Alfresco Example Content Application
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
Expand All @@ -16,11 +15,11 @@
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { Component } from '@angular/core';
Expand Down
11 changes: 5 additions & 6 deletions app/src/app/components/login/login.module.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*!
* @license
* Alfresco Example Content Application
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
Expand All @@ -16,11 +15,11 @@
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { NgModule } from '@angular/core';
Expand Down
11 changes: 5 additions & 6 deletions app/src/app/extensions.module.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*!
* @license
* Alfresco Example Content Application
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
Expand All @@ -16,11 +15,11 @@
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { NgModule } from '@angular/core';
Expand Down
11 changes: 5 additions & 6 deletions app/src/app/material.module.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*!
* @license
* Alfresco Example Content Application
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
Expand All @@ -16,11 +15,11 @@
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { NgModule } from '@angular/core';
Expand Down
2 changes: 1 addition & 1 deletion app/src/assets/plugins/app.card-view.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$id": "app.demo.cardView",
"$name": "app.demo.cardView",
"$version": "1.0.0",
"$vendor": "Alfresco Software, Ltd.",
"$vendor": "Hyland Software, Inc. and its affiliates",
"$license": "LGPL-3.0",
"$runtime": "1.5.0",
"$description": "Simple extension that provides Card View toolbar button",
Expand Down
2 changes: 1 addition & 1 deletion app/src/assets/plugins/app.debug.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$id": "app.debug.plugin",
"$version": "1.0.0",
"$name": "app.debug.plugin",
"$vendor": "Alfresco Software, Ltd.",
"$vendor": "Hyland Software, Inc. and its affiliates",
"$license": "LGPL-3.0",
"$runtime": "1.5.0",
"$description": "Plugin for debugging and testing purposes",
Expand Down
2 changes: 1 addition & 1 deletion app/src/assets/plugins/app.metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$id": "app.demo.metadata",
"$name": "metadata-plugin",
"$version": "1.0.0",
"$vendor": "Alfresco Software, Ltd.",
"$vendor": "Hyland Software, Inc. and its affiliates",
"$license": "LGPL-3.0",
"$runtime": "1.5.0",
"$description": "metadata card configuration plugin - testing purpose",
Expand Down
2 changes: 1 addition & 1 deletion app/src/assets/plugins/app.search.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$id": "app.debug-search.plugin",
"$version": "1.0.0",
"$name": "app.debug-search.plugin",
"$vendor": "Alfresco Software, Ltd.",
"$vendor": "Hyland Software, Inc. and its affiliates",
"$license": "LGPL-3.0",
"$runtime": "1.5.0",
"$description": "Plugin for debugging and testing purposes",
Expand Down
11 changes: 5 additions & 6 deletions app/src/environments/environment.e2e.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*!
* @license
* Alfresco Example Content Application
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
Expand All @@ -16,11 +15,11 @@
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import ContentAppEnvironment from './environment.interface';
Expand Down
11 changes: 5 additions & 6 deletions app/src/environments/environment.interface.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*!
* @license
* Alfresco Example Content Application
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
Expand All @@ -16,11 +15,11 @@
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

export default interface ContentAppEnvironment {
Expand Down
11 changes: 5 additions & 6 deletions app/src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*!
* @license
* Alfresco Example Content Application
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
Expand All @@ -16,11 +15,11 @@
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import ContentAppEnvironment from './environment.interface';
Expand Down
Loading

0 comments on commit 7245e99

Please sign in to comment.