diff --git a/src/portal/src/app/account/sign-in/sign-in-credential.ts b/src/portal/src/app/account/sign-in/sign-in-credential.ts index d285d7a1a..63ec060ff 100644 --- a/src/portal/src/app/account/sign-in/sign-in-credential.ts +++ b/src/portal/src/app/account/sign-in/sign-in-credential.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/account/sign-in/sign-in.service.ts b/src/portal/src/app/account/sign-in/sign-in.service.ts index 16b1488a0..ead58cfd5 100644 --- a/src/portal/src/app/account/sign-in/sign-in.service.ts +++ b/src/portal/src/app/account/sign-in/sign-in.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/account/sign-in/top-repo/top-repo.component.ts b/src/portal/src/app/account/sign-in/top-repo/top-repo.component.ts index 27b366ec0..4c800b998 100644 --- a/src/portal/src/app/account/sign-in/top-repo/top-repo.component.ts +++ b/src/portal/src/app/account/sign-in/top-repo/top-repo.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/account/sign-in/top-repo/top-repository.service.ts b/src/portal/src/app/account/sign-in/top-repo/top-repository.service.ts index a2e0aee9d..18c76b132 100644 --- a/src/portal/src/app/account/sign-in/top-repo/top-repository.service.ts +++ b/src/portal/src/app/account/sign-in/top-repo/top-repository.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/account/sign-up/sign-up.component.ts b/src/portal/src/app/account/sign-up/sign-up.component.ts index 1e5c0a749..983d071ce 100644 --- a/src/portal/src/app/account/sign-up/sign-up.component.ts +++ b/src/portal/src/app/account/sign-up/sign-up.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/app.component.spec.ts b/src/portal/src/app/app.component.spec.ts index 608766764..8cd5ac7f5 100644 --- a/src/portal/src/app/app.component.spec.ts +++ b/src/portal/src/app/app.component.spec.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/global-confirmation-dialog/confirmation-batch-message.ts b/src/portal/src/app/base/global-confirmation-dialog/confirmation-batch-message.ts index 587fa4dcd..9dd38df7b 100644 --- a/src/portal/src/app/base/global-confirmation-dialog/confirmation-batch-message.ts +++ b/src/portal/src/app/base/global-confirmation-dialog/confirmation-batch-message.ts @@ -1,3 +1,17 @@ +// Copyright Project Harbor Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + /** * Created by pengf on 11/22/2017. */ diff --git a/src/portal/src/app/base/global-confirmation-dialog/confirmation-dialog.service.ts b/src/portal/src/app/base/global-confirmation-dialog/confirmation-dialog.service.ts index 297ab5133..2826e97ac 100644 --- a/src/portal/src/app/base/global-confirmation-dialog/confirmation-dialog.service.ts +++ b/src/portal/src/app/base/global-confirmation-dialog/confirmation-dialog.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/global-confirmation-dialog/global-confirmation-dialog.component.ts b/src/portal/src/app/base/global-confirmation-dialog/global-confirmation-dialog.component.ts index 1d9770819..45749f335 100644 --- a/src/portal/src/app/base/global-confirmation-dialog/global-confirmation-dialog.component.ts +++ b/src/portal/src/app/base/global-confirmation-dialog/global-confirmation-dialog.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/harbor-shell/harbor-shell.component.ts b/src/portal/src/app/base/harbor-shell/harbor-shell.component.ts index a36bc89f8..6ac0c6e4f 100644 --- a/src/portal/src/app/base/harbor-shell/harbor-shell.component.ts +++ b/src/portal/src/app/base/harbor-shell/harbor-shell.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/config/auth/config-auth.component.ts b/src/portal/src/app/base/left-side-nav/config/auth/config-auth.component.ts index 921a5dd9a..2ac6c1006 100644 --- a/src/portal/src/app/base/left-side-nav/config/auth/config-auth.component.ts +++ b/src/portal/src/app/base/left-side-nav/config/auth/config-auth.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/config/config.component.ts b/src/portal/src/app/base/left-side-nav/config/config.component.ts index 7ef6c971a..ec663628d 100644 --- a/src/portal/src/app/base/left-side-nav/config/config.component.ts +++ b/src/portal/src/app/base/left-side-nav/config/config.component.ts @@ -1,13 +1,13 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // -// Licensed under the Apache License, Version 2.0 (the 'License'); +// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an 'AS IS' BASIS, +// distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. diff --git a/src/portal/src/app/base/left-side-nav/log/audit-log.component.ts b/src/portal/src/app/base/left-side-nav/log/audit-log.component.ts index 795c7f78c..228227e0b 100644 --- a/src/portal/src/app/base/left-side-nav/log/audit-log.component.ts +++ b/src/portal/src/app/base/left-side-nav/log/audit-log.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/log/recent-log.component.ts b/src/portal/src/app/base/left-side-nav/log/recent-log.component.ts index a65f7f461..47446b3e3 100644 --- a/src/portal/src/app/base/left-side-nav/log/recent-log.component.ts +++ b/src/portal/src/app/base/left-side-nav/log/recent-log.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/projects/create-project/create-project.component.ts b/src/portal/src/app/base/left-side-nav/projects/create-project/create-project.component.ts index 1c572ee57..3479c9d22 100644 --- a/src/portal/src/app/base/left-side-nav/projects/create-project/create-project.component.ts +++ b/src/portal/src/app/base/left-side-nav/projects/create-project/create-project.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/projects/list-project/list-project.component.ts b/src/portal/src/app/base/left-side-nav/projects/list-project/list-project.component.ts index 1039aaa2f..c40166ef4 100644 --- a/src/portal/src/app/base/left-side-nav/projects/list-project/list-project.component.ts +++ b/src/portal/src/app/base/left-side-nav/projects/list-project/list-project.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/projects/statictics/statistic-handler.service.ts b/src/portal/src/app/base/left-side-nav/projects/statictics/statistic-handler.service.ts index aa8aca881..e6181d3ef 100644 --- a/src/portal/src/app/base/left-side-nav/projects/statictics/statistic-handler.service.ts +++ b/src/portal/src/app/base/left-side-nav/projects/statictics/statistic-handler.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/projects/statictics/statistics-panel.component.ts b/src/portal/src/app/base/left-side-nav/projects/statictics/statistics-panel.component.ts index 0dcbd001a..3f69a9e35 100644 --- a/src/portal/src/app/base/left-side-nav/projects/statictics/statistics-panel.component.ts +++ b/src/portal/src/app/base/left-side-nav/projects/statictics/statistics-panel.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/registries/create-edit-endpoint/create-edit-endpoint.component.ts b/src/portal/src/app/base/left-side-nav/registries/create-edit-endpoint/create-edit-endpoint.component.ts index 79e28c402..b86875505 100644 --- a/src/portal/src/app/base/left-side-nav/registries/create-edit-endpoint/create-edit-endpoint.component.ts +++ b/src/portal/src/app/base/left-side-nav/registries/create-edit-endpoint/create-edit-endpoint.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/registries/endpoint.component.ts b/src/portal/src/app/base/left-side-nav/registries/endpoint.component.ts index 749a6d9cc..3ce2225dd 100644 --- a/src/portal/src/app/base/left-side-nav/registries/endpoint.component.ts +++ b/src/portal/src/app/base/left-side-nav/registries/endpoint.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/replication/replication/create-edit-rule/create-edit-rule.component.ts b/src/portal/src/app/base/left-side-nav/replication/replication/create-edit-rule/create-edit-rule.component.ts index 5b6612514..77d4b5379 100644 --- a/src/portal/src/app/base/left-side-nav/replication/replication/create-edit-rule/create-edit-rule.component.ts +++ b/src/portal/src/app/base/left-side-nav/replication/replication/create-edit-rule/create-edit-rule.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/replication/replication/list-replication-rule/list-replication-rule.component.ts b/src/portal/src/app/base/left-side-nav/replication/replication/list-replication-rule/list-replication-rule.component.ts index 0ec995dc7..564eb1992 100644 --- a/src/portal/src/app/base/left-side-nav/replication/replication/list-replication-rule/list-replication-rule.component.ts +++ b/src/portal/src/app/base/left-side-nav/replication/replication/list-replication-rule/list-replication-rule.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/replication/replication/replication.component.ts b/src/portal/src/app/base/left-side-nav/replication/replication/replication.component.ts index 22173a5c7..2e6cd2e22 100644 --- a/src/portal/src/app/base/left-side-nav/replication/replication/replication.component.ts +++ b/src/portal/src/app/base/left-side-nav/replication/replication/replication.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/replication/total-replication-page.component.ts b/src/portal/src/app/base/left-side-nav/replication/total-replication-page.component.ts index 03a8e6664..201c49e77 100644 --- a/src/portal/src/app/base/left-side-nav/replication/total-replication-page.component.ts +++ b/src/portal/src/app/base/left-side-nav/replication/total-replication-page.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/user/change-password/change-password.component.ts b/src/portal/src/app/base/left-side-nav/user/change-password/change-password.component.ts index abc8dabd3..9bd799d5e 100644 --- a/src/portal/src/app/base/left-side-nav/user/change-password/change-password.component.ts +++ b/src/portal/src/app/base/left-side-nav/user/change-password/change-password.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/user/user.component.ts b/src/portal/src/app/base/left-side-nav/user/user.component.ts index bc605672a..6fb126cce 100644 --- a/src/portal/src/app/base/left-side-nav/user/user.component.ts +++ b/src/portal/src/app/base/left-side-nav/user/user.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/user/user.service.ts b/src/portal/src/app/base/left-side-nav/user/user.service.ts index 8cde255e4..b4f8d7da0 100644 --- a/src/portal/src/app/base/left-side-nav/user/user.service.ts +++ b/src/portal/src/app/base/left-side-nav/user/user.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/left-side-nav/user/user.ts b/src/portal/src/app/base/left-side-nav/user/user.ts index b3fb3d450..b9f7386bb 100644 --- a/src/portal/src/app/base/left-side-nav/user/user.ts +++ b/src/portal/src/app/base/left-side-nav/user/user.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + /** * For user management * diff --git a/src/portal/src/app/base/password-setting/password-setting.service.ts b/src/portal/src/app/base/password-setting/password-setting.service.ts index 980b604d0..52565131f 100644 --- a/src/portal/src/app/base/password-setting/password-setting.service.ts +++ b/src/portal/src/app/base/password-setting/password-setting.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/password-setting/password-setting.ts b/src/portal/src/app/base/password-setting/password-setting.ts index 67e839cac..16a0974c0 100644 --- a/src/portal/src/app/base/password-setting/password-setting.ts +++ b/src/portal/src/app/base/password-setting/password-setting.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + /** * * Struct for password change diff --git a/src/portal/src/app/base/project/member/add-group/add-group.component.ts b/src/portal/src/app/base/project/member/add-group/add-group.component.ts index b6d5e5309..6b09501fb 100644 --- a/src/portal/src/app/base/project/member/add-group/add-group.component.ts +++ b/src/portal/src/app/base/project/member/add-group/add-group.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/project/member/add-member/add-member.component.ts b/src/portal/src/app/base/project/member/add-member/add-member.component.ts index 6e5348109..dda0319e5 100644 --- a/src/portal/src/app/base/project/member/add-member/add-member.component.ts +++ b/src/portal/src/app/base/project/member/add-member/add-member.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/project/member/member.component.ts b/src/portal/src/app/base/project/member/member.component.ts index 99a70edd4..ea657fa66 100644 --- a/src/portal/src/app/base/project/member/member.component.ts +++ b/src/portal/src/app/base/project/member/member.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/project/project-log/audit-legacy-log.component.ts b/src/portal/src/app/base/project/project-log/audit-legacy-log.component.ts index cb71882ba..50ab49be6 100644 --- a/src/portal/src/app/base/project/project-log/audit-legacy-log.component.ts +++ b/src/portal/src/app/base/project/project-log/audit-legacy-log.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/project/project-log/audit-log.component.ts b/src/portal/src/app/base/project/project-log/audit-log.component.ts index 42a7a66a3..b6187cd1a 100644 --- a/src/portal/src/app/base/project/project-log/audit-log.component.ts +++ b/src/portal/src/app/base/project/project-log/audit-log.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list-page.component.ts b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list-page.component.ts index 17ba722dc..b0413fd43 100644 --- a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list-page.component.ts +++ b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list-page.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-info/artifact-info.component.ts b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-info/artifact-info.component.ts index 2afd7cce7..d6c003c44 100644 --- a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-info/artifact-info.component.ts +++ b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-info/artifact-info.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts index 57cc46c92..77b6045cc 100644 --- a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts +++ b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/base/project/repository/artifact/sbom-scanning/sbom-overview.ts b/src/portal/src/app/base/project/repository/artifact/sbom-scanning/sbom-overview.ts index 753a32a20..78b8cd120 100644 --- a/src/portal/src/app/base/project/repository/artifact/sbom-scanning/sbom-overview.ts +++ b/src/portal/src/app/base/project/repository/artifact/sbom-scanning/sbom-overview.ts @@ -1,3 +1,17 @@ +// Copyright Project Harbor Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + /* tslint:disable */ import { Scanner } from 'ng-swagger-gen/models'; diff --git a/src/portal/src/app/base/project/repository/gridview/grid-view.component.spec.ts b/src/portal/src/app/base/project/repository/gridview/grid-view.component.spec.ts index 0f6a6b91b..e1856a86e 100644 --- a/src/portal/src/app/base/project/repository/gridview/grid-view.component.spec.ts +++ b/src/portal/src/app/base/project/repository/gridview/grid-view.component.spec.ts @@ -1,13 +1,16 @@ -/* - * Copyright Project Harbor Authors - * - * This product is licensed to you under the Apache License, Version 2.0 (the "License"). - * You may not use this product except in compliance with the License. - * - * This product may include a number of subcomponents with separate copyright notices - * and license terms. Your use of these subcomponents is subject to the terms and - * conditions of the subcomponent's license, as noted in the LICENSE file. - */ +// Copyright Project Harbor Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. import { ComponentFixture, TestBed } from '@angular/core/testing'; import { GridViewComponent } from './grid-view.component'; diff --git a/src/portal/src/app/base/project/repository/gridview/grid-view.component.ts b/src/portal/src/app/base/project/repository/gridview/grid-view.component.ts index b7bb01f40..a8bc44e43 100644 --- a/src/portal/src/app/base/project/repository/gridview/grid-view.component.ts +++ b/src/portal/src/app/base/project/repository/gridview/grid-view.component.ts @@ -1,13 +1,16 @@ -/* - * Copyright (c) 2017 VMware, Inc. All Rights Reserved. - * - * This product is licensed to you under the Apache License, Version 2.0 (the "License"). - * You may not use this product except in compliance with the License. - * - * This product may include a number of subcomponents with separate copyright notices - * and license terms. Your use of these subcomponents is subject to the terms and - * conditions of the subcomponent's license, as noted in the LICENSE file. - */ +// Copyright Project Harbor Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. import { AfterViewInit, diff --git a/src/portal/src/app/harbor-routing.module.ts b/src/portal/src/app/harbor-routing.module.ts index 344f488ae..8dddc1f03 100644 --- a/src/portal/src/app/harbor-routing.module.ts +++ b/src/portal/src/app/harbor-routing.module.ts @@ -1,13 +1,13 @@ // Copyright Project Harbor Authors // -// Licensed under the Apache License, Version 2.0 (the 'License'); +// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an 'AS IS' BASIS, +// distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. diff --git a/src/portal/src/app/services/app-config.service.ts b/src/portal/src/app/services/app-config.service.ts index e9b011db4..2f04d9ac4 100644 --- a/src/portal/src/app/services/app-config.service.ts +++ b/src/portal/src/app/services/app-config.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/services/app-config.ts b/src/portal/src/app/services/app-config.ts index 5c397ef98..dd90b94e7 100644 --- a/src/portal/src/app/services/app-config.ts +++ b/src/portal/src/app/services/app-config.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/services/config.service.ts b/src/portal/src/app/services/config.service.ts index acc650b6f..87d9fb0de 100644 --- a/src/portal/src/app/services/config.service.ts +++ b/src/portal/src/app/services/config.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/services/routing-resolvers/artifact-detail-routing-resolver.service.ts b/src/portal/src/app/services/routing-resolvers/artifact-detail-routing-resolver.service.ts index c67761e2a..c918080f8 100644 --- a/src/portal/src/app/services/routing-resolvers/artifact-detail-routing-resolver.service.ts +++ b/src/portal/src/app/services/routing-resolvers/artifact-detail-routing-resolver.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/services/routing-resolvers/project-routing-resolver.service.ts b/src/portal/src/app/services/routing-resolvers/project-routing-resolver.service.ts index 87557c852..4a483d4c1 100644 --- a/src/portal/src/app/services/routing-resolvers/project-routing-resolver.service.ts +++ b/src/portal/src/app/services/routing-resolvers/project-routing-resolver.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/services/routing-resolvers/replication-tasks-routing-resolver.service.ts b/src/portal/src/app/services/routing-resolvers/replication-tasks-routing-resolver.service.ts index 2a133b029..c5073745f 100644 --- a/src/portal/src/app/services/routing-resolvers/replication-tasks-routing-resolver.service.ts +++ b/src/portal/src/app/services/routing-resolvers/replication-tasks-routing-resolver.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/_animations/fade-in.animation.ts b/src/portal/src/app/shared/_animations/fade-in.animation.ts index e5539232a..f07ea31ba 100644 --- a/src/portal/src/app/shared/_animations/fade-in.animation.ts +++ b/src/portal/src/app/shared/_animations/fade-in.animation.ts @@ -1,4 +1,18 @@ -// import the required animation functions from the angular animations module +// Copyright Project Harbor Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// import the required animation functions from the angular animations module import { AnimationTriggerMetadata, trigger, diff --git a/src/portal/src/app/shared/_animations/slide-in-out.animation.ts b/src/portal/src/app/shared/_animations/slide-in-out.animation.ts index f3362e04d..71791baf6 100644 --- a/src/portal/src/app/shared/_animations/slide-in-out.animation.ts +++ b/src/portal/src/app/shared/_animations/slide-in-out.animation.ts @@ -1,4 +1,18 @@ -// import the required animation functions from the angular animations module +// Copyright Project Harbor Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// import the required animation functions from the angular animations module import { AnimationTriggerMetadata, trigger, diff --git a/src/portal/src/app/shared/components/confirmation-dialog/confirmation-dialog.component.ts b/src/portal/src/app/shared/components/confirmation-dialog/confirmation-dialog.component.ts index 1a17cc91d..541495efb 100644 --- a/src/portal/src/app/shared/components/confirmation-dialog/confirmation-dialog.component.ts +++ b/src/portal/src/app/shared/components/confirmation-dialog/confirmation-dialog.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/filter/filter.component.ts b/src/portal/src/app/shared/components/filter/filter.component.ts index f2fef2c06..dc5cf1539 100644 --- a/src/portal/src/app/shared/components/filter/filter.component.ts +++ b/src/portal/src/app/shared/components/filter/filter.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/global-message/message.component.ts b/src/portal/src/app/shared/components/global-message/message.component.ts index b7661d3f3..2fea18beb 100644 --- a/src/portal/src/app/shared/components/global-message/message.component.ts +++ b/src/portal/src/app/shared/components/global-message/message.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/global-message/message.service.ts b/src/portal/src/app/shared/components/global-message/message.service.ts index 82e695700..a72dc2538 100644 --- a/src/portal/src/app/shared/components/global-message/message.service.ts +++ b/src/portal/src/app/shared/components/global-message/message.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/global-search/global-search.service.ts b/src/portal/src/app/shared/components/global-search/global-search.service.ts index 5bdeef531..113cd93c9 100644 --- a/src/portal/src/app/shared/components/global-search/global-search.service.ts +++ b/src/portal/src/app/shared/components/global-search/global-search.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/global-search/search-result.component.ts b/src/portal/src/app/shared/components/global-search/search-result.component.ts index 2ab5d4afc..3c9c9f785 100644 --- a/src/portal/src/app/shared/components/global-search/search-result.component.ts +++ b/src/portal/src/app/shared/components/global-search/search-result.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/global-search/search-results.ts b/src/portal/src/app/shared/components/global-search/search-results.ts index 2ff5af3ed..49c4ecf01 100644 --- a/src/portal/src/app/shared/components/global-search/search-results.ts +++ b/src/portal/src/app/shared/components/global-search/search-results.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/global-search/search-trigger.service.ts b/src/portal/src/app/shared/components/global-search/search-trigger.service.ts index c9f9d48e6..c5ef4f53f 100644 --- a/src/portal/src/app/shared/components/global-search/search-trigger.service.ts +++ b/src/portal/src/app/shared/components/global-search/search-trigger.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/inline-alert/inline-alert.component.ts b/src/portal/src/app/shared/components/inline-alert/inline-alert.component.ts index 9cef16454..e56df22e1 100644 --- a/src/portal/src/app/shared/components/inline-alert/inline-alert.component.ts +++ b/src/portal/src/app/shared/components/inline-alert/inline-alert.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/label/create-edit-label/create-edit-label.component.ts b/src/portal/src/app/shared/components/label/create-edit-label/create-edit-label.component.ts index 0b5af85be..82e9928a7 100644 --- a/src/portal/src/app/shared/components/label/create-edit-label/create-edit-label.component.ts +++ b/src/portal/src/app/shared/components/label/create-edit-label/create-edit-label.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/label/label-piece/label-piece.component.ts b/src/portal/src/app/shared/components/label/label-piece/label-piece.component.ts index 5c2c289dc..bae36cb8b 100644 --- a/src/portal/src/app/shared/components/label/label-piece/label-piece.component.ts +++ b/src/portal/src/app/shared/components/label/label-piece/label-piece.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/label/label-signpost/label-signpost.component.ts b/src/portal/src/app/shared/components/label/label-signpost/label-signpost.component.ts index 5a9a81878..713dd71a7 100644 --- a/src/portal/src/app/shared/components/label/label-signpost/label-signpost.component.ts +++ b/src/portal/src/app/shared/components/label/label-signpost/label-signpost.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2018 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/list-project-ro/list-project-ro.component.ts b/src/portal/src/app/shared/components/list-project-ro/list-project-ro.component.ts index 38de3f1a5..bfdaf871c 100644 --- a/src/portal/src/app/shared/components/list-project-ro/list-project-ro.component.ts +++ b/src/portal/src/app/shared/components/list-project-ro/list-project-ro.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/components/list-repository-ro/list-repository-ro.component.ts b/src/portal/src/app/shared/components/list-repository-ro/list-repository-ro.component.ts index a73fd9945..9c51be0be 100644 --- a/src/portal/src/app/shared/components/list-repository-ro/list-repository-ro.component.ts +++ b/src/portal/src/app/shared/components/list-repository-ro/list-repository-ro.component.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/entities/shared.const.ts b/src/portal/src/app/shared/entities/shared.const.ts index f59ac745a..559d20928 100644 --- a/src/portal/src/app/shared/entities/shared.const.ts +++ b/src/portal/src/app/shared/entities/shared.const.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/services/message-handler.service.ts b/src/portal/src/app/shared/services/message-handler.service.ts index e2f96d147..3a850e566 100644 --- a/src/portal/src/app/shared/services/message-handler.service.ts +++ b/src/portal/src/app/shared/services/message-handler.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/services/permission.service.ts b/src/portal/src/app/shared/services/permission.service.ts index fa2b87c0c..32c7f4917 100644 --- a/src/portal/src/app/shared/services/permission.service.ts +++ b/src/portal/src/app/shared/services/permission.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/services/session.service.ts b/src/portal/src/app/shared/services/session.service.ts index 1e3337be2..94f6673e7 100644 --- a/src/portal/src/app/shared/services/session.service.ts +++ b/src/portal/src/app/shared/services/session.service.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/shared.module.ts b/src/portal/src/app/shared/shared.module.ts index 7b51e1c86..da36ea135 100644 --- a/src/portal/src/app/shared/shared.module.ts +++ b/src/portal/src/app/shared/shared.module.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/portal/src/app/shared/units/error-handler/error-handler.ts b/src/portal/src/app/shared/units/error-handler/error-handler.ts index 6a756e92e..faca5d998 100644 --- a/src/portal/src/app/shared/units/error-handler/error-handler.ts +++ b/src/portal/src/app/shared/units/error-handler/error-handler.ts @@ -1,3 +1,17 @@ +// Copyright Project Harbor Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + /** * Declare interface for error handling * diff --git a/src/portal/src/app/shared/units/shared.utils.ts b/src/portal/src/app/shared/units/shared.utils.ts index 936edad51..504cbd699 100644 --- a/src/portal/src/app/shared/units/shared.utils.ts +++ b/src/portal/src/app/shared/units/shared.utils.ts @@ -1,4 +1,4 @@ -// Copyright (c) 2017 VMware, Inc. All Rights Reserved. +// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.