Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 22938d8

Browse files
[ACS-5040] update license headers to reflect hyland copyright guidelines (#1561)
* ACS-5040 Installed eslint plugin license header * ACS-5040 Updated license header * ACS-5040 Updated places mentioning Alfresco * ACS-5040 Added Hyland to known words * ACS-5040 Added missing license to files after rebase
1 parent 8ed4008 commit 22938d8

File tree

844 files changed

+12563
-11010
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

844 files changed

+12563
-11010
lines changed

.eslintrc.json

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
},
77
"parser": "@typescript-eslint/parser",
88
"plugins": [
9-
"@typescript-eslint"
9+
"@typescript-eslint",
10+
"license-header"
11+
1012
],
1113
"extends": [
1214
"eslint:recommended",
@@ -27,6 +29,27 @@
2729
"@typescript-eslint/no-empty-function": "off",
2830
"@typescript-eslint/no-namespace": "off",
2931
"@typescript-eslint/no-inferrable-types": "off",
30-
"@typescript-eslint/no-unused-vars": 1
32+
"@typescript-eslint/no-unused-vars": 1,
33+
"license-header/header": [
34+
"error",
35+
[
36+
"/*!",
37+
" * @license",
38+
" * Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.",
39+
" *",
40+
" * Licensed under the Apache License, Version 2.0 (the \"License\");",
41+
" * you may not use this file except in compliance with the License.",
42+
" * You may obtain a copy of the License at",
43+
" *",
44+
" * http://www.apache.org/licenses/LICENSE-2.0",
45+
" *",
46+
" * Unless required by applicable law or agreed to in writing, software",
47+
" * distributed under the License is distributed on an \"AS IS\" BASIS,",
48+
" * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
49+
" * See the License for the specific language governing permissions and",
50+
" * limitations under the License.",
51+
" */"
52+
]
53+
]
3154
}
3255
}

api-codegen/src/main/resources/api-code-gen/licenseInfo.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* @license
3-
* Copyright 2018 Alfresco Software, Ltd.
3+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

assets/license.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* @license
3-
* Copyright 2018 Alfresco Software, Ltd.
3+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"activiti",
66
"CSRF",
77
"glyphicon",
8+
"Hyland",
89
"sharedlinks",
910
"Redistributable",
1011
"fullscreen",

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* @license
3-
* Copyright 2018 Alfresco Software, Ltd.
3+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

package-lock.json

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@alfresco/js-api",
33
"version": "5.5.0",
44
"description": "JavaScript client library for the Alfresco REST API",
5-
"author": "Alfresco Software, Ltd.",
5+
"author": "Hyland Software, Inc. and its affiliates",
66
"main": "index.js",
77
"typings": "index.d.ts",
88
"scripts": {
@@ -51,6 +51,7 @@
5151
"commander": "^6.0.0",
5252
"cspell": "^6.21.0",
5353
"eslint": "^7.27.0",
54+
"eslint-plugin-license-header": "^0.6.0",
5455
"expect.js": "~0.3.1",
5556
"github-api": "^3.4.0",
5657
"markdown-toc": "^1.2.0",

scripts/pr-creator.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*!
2+
* @license
3+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
const GitHub = require('github-api');
219
const args = require('yargs').argv;
320

src/alfrescoApi.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
/*!
2-
* @license
3-
* Copyright 2018 Alfresco Software, Ltd.
4-
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
16-
*/
2+
* @license
3+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
1717

1818
import ee, { EmitterMethod, Emitter } from 'event-emitter';
1919
import { ContentAuth } from './authentication/contentAuth';

src/alfrescoApiClient.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
/*!
2-
* @license
3-
* Copyright 2018 Alfresco Software, Ltd.
4-
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
16-
*/
2+
* @license
3+
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
1717

1818
import ee from 'event-emitter';
1919
import { AlfrescoApiConfig } from './alfrescoApiConfig';

0 commit comments

Comments
 (0)