From c15014e7a82de57af924055d9eb7fdf4edb8db2a Mon Sep 17 00:00:00 2001 From: David Langley Date: Fri, 6 Sep 2024 17:56:18 +0100 Subject: [PATCH] Updated Copyright headers --- hak/keytar/build.ts | 14 +++----------- hak/keytar/check.ts | 14 +++----------- hak/matrix-seshat/build.ts | 16 ++++------------ hak/matrix-seshat/check.ts | 16 ++++------------ playwright.config.ts | 14 +++----------- playwright/e2e/launch/launch.spec.ts | 16 ++++------------ playwright/element-desktop-test.ts | 14 +++----------- scripts/@types/node-pre-gyp.d.ts | 15 +++------------ scripts/hak/build.ts | 14 +++----------- scripts/hak/check.ts | 14 +++----------- scripts/hak/clean.ts | 14 +++----------- scripts/hak/copy.ts | 16 ++++------------ scripts/hak/dep.ts | 14 +++----------- scripts/hak/fetch.ts | 14 +++----------- scripts/hak/fetchDeps.ts | 14 +++----------- scripts/hak/hakEnv.ts | 16 ++++------------ scripts/hak/index.ts | 16 ++++------------ scripts/hak/link.ts | 14 +++----------- scripts/hak/target.ts | 14 +++----------- src/@types/global.d.ts | 15 +++------------ src/@types/matrix-seshat.d.ts | 15 +++------------ src/displayMediaCallback.ts | 15 +++------------ src/electron-main.ts | 17 ++++------------- src/ipc.ts | 15 +++------------ src/keytar.ts | 15 +++------------ src/language-helper.ts | 15 +++------------ src/macos-titlebar.ts | 15 +++------------ src/media-auth.ts | 15 +++------------ src/preload.ts | 16 ++++------------ src/protocol.ts | 14 +++----------- src/seshat.ts | 15 +++------------ src/settings.ts | 15 +++------------ src/squirrelhooks.ts | 14 +++----------- src/tray.ts | 14 +++----------- src/updater.ts | 15 +++------------ src/utils.ts | 15 +++------------ src/vectormenu.ts | 14 +++----------- src/webcontents-handler.ts | 15 +++------------ 38 files changed, 122 insertions(+), 441 deletions(-) diff --git a/hak/keytar/build.ts b/hak/keytar/build.ts index 31df28b..736ae22 100644 --- a/hak/keytar/build.ts +++ b/hak/keytar/build.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2020 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import path from "path"; diff --git a/hak/keytar/check.ts b/hak/keytar/check.ts index 98cffbf..bada701 100644 --- a/hak/keytar/check.ts +++ b/hak/keytar/check.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2020 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import childProcess from "child_process"; diff --git a/hak/matrix-seshat/build.ts b/hak/matrix-seshat/build.ts index a2a8bbb..294b0f9 100644 --- a/hak/matrix-seshat/build.ts +++ b/hak/matrix-seshat/build.ts @@ -1,17 +1,9 @@ /* -Copyright 2020-2021 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020, 2021 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import childProcess from "child_process"; diff --git a/hak/matrix-seshat/check.ts b/hak/matrix-seshat/check.ts index 90863d7..ca09a1f 100644 --- a/hak/matrix-seshat/check.ts +++ b/hak/matrix-seshat/check.ts @@ -1,17 +1,9 @@ /* -Copyright 2020-2021 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020, 2021 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import childProcess from "child_process"; diff --git a/playwright.config.ts b/playwright.config.ts index 9da8b7e..6848f1d 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2023 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { defineConfig } from "@playwright/test"; diff --git a/playwright/e2e/launch/launch.spec.ts b/playwright/e2e/launch/launch.spec.ts index 303314a..8083d8b 100644 --- a/playwright/e2e/launch/launch.spec.ts +++ b/playwright/e2e/launch/launch.spec.ts @@ -1,17 +1,9 @@ /* -Copyright 2022 - 2023 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2022, 2023 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { test, expect } from "../../element-desktop-test"; diff --git a/playwright/element-desktop-test.ts b/playwright/element-desktop-test.ts index ec40cab..49d4e13 100644 --- a/playwright/element-desktop-test.ts +++ b/playwright/element-desktop-test.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2023 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { _electron as electron, test as base, expect as baseExpect, type ElectronApplication } from "@playwright/test"; diff --git a/scripts/@types/node-pre-gyp.d.ts b/scripts/@types/node-pre-gyp.d.ts index 14a33d3..a3f9f94 100644 --- a/scripts/@types/node-pre-gyp.d.ts +++ b/scripts/@types/node-pre-gyp.d.ts @@ -1,17 +1,8 @@ /* -Copyright 2022 New Vector Ltd +Copyright 2022-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ declare module "@mapbox/node-pre-gyp/lib/util/versioning" { diff --git a/scripts/hak/build.ts b/scripts/hak/build.ts index e0a6e09..6f60c94 100644 --- a/scripts/hak/build.ts +++ b/scripts/hak/build.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2020 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { DependencyInfo } from "./dep"; diff --git a/scripts/hak/check.ts b/scripts/hak/check.ts index 047d5a9..95ee3c2 100644 --- a/scripts/hak/check.ts +++ b/scripts/hak/check.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2020 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { DependencyInfo } from "./dep"; diff --git a/scripts/hak/clean.ts b/scripts/hak/clean.ts index e530894..a6fd6f9 100644 --- a/scripts/hak/clean.ts +++ b/scripts/hak/clean.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2020 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import path from "path"; diff --git a/scripts/hak/copy.ts b/scripts/hak/copy.ts index e6f882a..d09871b 100644 --- a/scripts/hak/copy.ts +++ b/scripts/hak/copy.ts @@ -1,17 +1,9 @@ /* -Copyright 2020-2021 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020, 2021 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import path from "path"; diff --git a/scripts/hak/dep.ts b/scripts/hak/dep.ts index 47f05f1..a02b425 100644 --- a/scripts/hak/dep.ts +++ b/scripts/hak/dep.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2021 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import HakEnv from "./hakEnv"; diff --git a/scripts/hak/fetch.ts b/scripts/hak/fetch.ts index fa3a80c..2357c4d 100644 --- a/scripts/hak/fetch.ts +++ b/scripts/hak/fetch.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2020 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import fsProm from "fs/promises"; diff --git a/scripts/hak/fetchDeps.ts b/scripts/hak/fetchDeps.ts index 5fff691..e992aea 100644 --- a/scripts/hak/fetchDeps.ts +++ b/scripts/hak/fetchDeps.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2020 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { mkdirp } from "mkdirp"; diff --git a/scripts/hak/hakEnv.ts b/scripts/hak/hakEnv.ts index 0a5b11a..d57af3d 100644 --- a/scripts/hak/hakEnv.ts +++ b/scripts/hak/hakEnv.ts @@ -1,17 +1,9 @@ /* -Copyright 2020-2021 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020, 2021 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import path from "path"; diff --git a/scripts/hak/index.ts b/scripts/hak/index.ts index 1d91005..1ee6c7d 100644 --- a/scripts/hak/index.ts +++ b/scripts/hak/index.ts @@ -1,17 +1,9 @@ /* -Copyright 2020-2021 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020, 2021 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import path from "path"; diff --git a/scripts/hak/link.ts b/scripts/hak/link.ts index c2613a9..f084233 100644 --- a/scripts/hak/link.ts +++ b/scripts/hak/link.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2020 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import path from "path"; diff --git a/scripts/hak/target.ts b/scripts/hak/target.ts index 81a47e7..64c2a9a 100644 --- a/scripts/hak/target.ts +++ b/scripts/hak/target.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2021 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { GLIBC, MUSL, familySync as processLibC } from "detect-libc"; diff --git a/src/@types/global.d.ts b/src/@types/global.d.ts index 20dd96f..4404692 100644 --- a/src/@types/global.d.ts +++ b/src/@types/global.d.ts @@ -1,17 +1,8 @@ /* -Copyright 2021 - 2022 New Vector Ltd +Copyright 2021-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { BrowserWindow } from "electron"; diff --git a/src/@types/matrix-seshat.d.ts b/src/@types/matrix-seshat.d.ts index 66dbd99..6892602 100644 --- a/src/@types/matrix-seshat.d.ts +++ b/src/@types/matrix-seshat.d.ts @@ -1,17 +1,8 @@ /* -Copyright 2022 New Vector Ltd +Copyright 2022-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ declare module "matrix-seshat" { diff --git a/src/displayMediaCallback.ts b/src/displayMediaCallback.ts index be96340..a0bbeaf 100644 --- a/src/displayMediaCallback.ts +++ b/src/displayMediaCallback.ts @@ -1,17 +1,8 @@ /* -Copyright 2023 New Vector Ltd +Copyright 2023, 2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { Streams } from "electron"; diff --git a/src/electron-main.ts b/src/electron-main.ts index 450bc61..febd87b 100644 --- a/src/electron-main.ts +++ b/src/electron-main.ts @@ -1,20 +1,11 @@ /* +Copyright 2018-2024 New Vector Ltd. +Copyright 2017-2019 Michael Telatynski <7t3chguy@gmail.com> Copyright 2016 Aviral Dasgupta Copyright 2016 OpenMarket Ltd -Copyright 2017, 2019 Michael Telatynski <7t3chguy@gmail.com> -Copyright 2018 - 2021 New Vector Ltd -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ // Squirrel on windows starts the app with various flags as hooks to tell us when we've been installed/uninstalled etc. diff --git a/src/ipc.ts b/src/ipc.ts index dd01abb..0c80d24 100644 --- a/src/ipc.ts +++ b/src/ipc.ts @@ -1,17 +1,8 @@ /* -Copyright 2022 New Vector Ltd +Copyright 2022-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { app, autoUpdater, desktopCapturer, ipcMain, powerSaveBlocker, TouchBar, nativeImage } from "electron"; diff --git a/src/keytar.ts b/src/keytar.ts index 7138032..94f8ec1 100644 --- a/src/keytar.ts +++ b/src/keytar.ts @@ -1,17 +1,8 @@ /* -Copyright 2022 New Vector Ltd +Copyright 2022-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import type * as Keytar from "keytar"; // Hak dependency type diff --git a/src/language-helper.ts b/src/language-helper.ts index 8d1df7c..88564db 100644 --- a/src/language-helper.ts +++ b/src/language-helper.ts @@ -1,17 +1,8 @@ /* -Copyright 2021 New Vector Ltd +Copyright 2021-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import counterpart from "counterpart"; diff --git a/src/macos-titlebar.ts b/src/macos-titlebar.ts index 833c38d..ec94f31 100644 --- a/src/macos-titlebar.ts +++ b/src/macos-titlebar.ts @@ -1,17 +1,8 @@ /* -Copyright 2023 New Vector Ltd +Copyright 2023, 2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { BrowserWindow } from "electron"; diff --git a/src/media-auth.ts b/src/media-auth.ts index de6601c..4560a92 100644 --- a/src/media-auth.ts +++ b/src/media-auth.ts @@ -1,17 +1,8 @@ /* -Copyright 2024 New Vector Ltd +Copyright 2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { BrowserWindow, ipcMain, session } from "electron"; diff --git a/src/preload.ts b/src/preload.ts index eaefc41..398f944 100644 --- a/src/preload.ts +++ b/src/preload.ts @@ -1,17 +1,9 @@ /* -Copyright 2018, 2019, 2021 New Vector Ltd +Copyright 2024 New Vector Ltd. +Copyright 2018, 2019 , 2021 New Vector Ltd -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { ipcRenderer, contextBridge, IpcRendererEvent } from "electron"; diff --git a/src/protocol.ts b/src/protocol.ts index f0551c5..d6e28c6 100644 --- a/src/protocol.ts +++ b/src/protocol.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2020 The Matrix.org Foundation C.I.C. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { app } from "electron"; diff --git a/src/seshat.ts b/src/seshat.ts index 9ae970c..63fb6dc 100644 --- a/src/seshat.ts +++ b/src/seshat.ts @@ -1,17 +1,8 @@ /* -Copyright 2022 New Vector Ltd +Copyright 2022-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { app, ipcMain } from "electron"; diff --git a/src/settings.ts b/src/settings.ts index 5638cca..50e3a08 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -1,17 +1,8 @@ /* -Copyright 2022 New Vector Ltd +Copyright 2022-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import * as tray from "./tray"; diff --git a/src/squirrelhooks.ts b/src/squirrelhooks.ts index 913bda0..ae84e64 100644 --- a/src/squirrelhooks.ts +++ b/src/squirrelhooks.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2017 OpenMarket Ltd -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import path from "path"; diff --git a/src/tray.ts b/src/tray.ts index 171397a..339ca83 100644 --- a/src/tray.ts +++ b/src/tray.ts @@ -1,18 +1,10 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2017 Karl Glatz Copyright 2017 OpenMarket Ltd -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { app, Tray, Menu, nativeImage } from "electron"; diff --git a/src/updater.ts b/src/updater.ts index 77fe997..a731522 100644 --- a/src/updater.ts +++ b/src/updater.ts @@ -1,17 +1,8 @@ /* -Copyright 2016-2021 New Vector Ltd +Copyright 2016-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { app, autoUpdater, ipcMain } from "electron"; diff --git a/src/utils.ts b/src/utils.ts index 2aab292..21fffeb 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,17 +1,8 @@ /* -Copyright 2022 New Vector Ltd +Copyright 2022-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import crypto from "crypto"; diff --git a/src/vectormenu.ts b/src/vectormenu.ts index 33f5099..09ab24f 100644 --- a/src/vectormenu.ts +++ b/src/vectormenu.ts @@ -1,17 +1,9 @@ /* +Copyright 2024 New Vector Ltd. Copyright 2016 OpenMarket Ltd -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import { app, shell, Menu, MenuItem, MenuItemConstructorOptions } from "electron"; diff --git a/src/webcontents-handler.ts b/src/webcontents-handler.ts index 0b3bb12..d5773ed 100644 --- a/src/webcontents-handler.ts +++ b/src/webcontents-handler.ts @@ -1,17 +1,8 @@ /* -Copyright 2021 New Vector Ltd +Copyright 2021-2024 New Vector Ltd. -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. +SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only +Please see LICENSE files in the repository root for full details. */ import {