diff --git a/hak/keytar/build.ts b/hak/keytar/build.ts index 31df28bc..f0a02f45 100644 --- a/hak/keytar/build.ts +++ b/hak/keytar/build.ts @@ -1,17 +1,9 @@ /* -Copyright 2020 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020-2024 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 in the repository root for full details. */ import path from "path"; diff --git a/hak/keytar/check.ts b/hak/keytar/check.ts index 98cffbf2..d82330b2 100644 --- a/hak/keytar/check.ts +++ b/hak/keytar/check.ts @@ -1,17 +1,9 @@ /* -Copyright 2020 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020-2024 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 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 a2a8bbb4..3e4b9aec 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-2024 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 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 90863d7a..6c17aea5 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-2024 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 in the repository root for full details. */ import childProcess from "child_process"; diff --git a/playwright.config.ts b/playwright.config.ts index 9da8b7e5..783a572a 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,17 +1,9 @@ /* -Copyright 2023 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2023, 2024 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 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 303314ac..ab56012e 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-2024 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 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 ec40cab2..12381b4e 100644 --- a/playwright/element-desktop-test.ts +++ b/playwright/element-desktop-test.ts @@ -1,17 +1,9 @@ /* -Copyright 2023 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2023, 2024 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 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 14a33d3f..7c3fdd16 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 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 e0a6e099..399f41a2 100644 --- a/scripts/hak/build.ts +++ b/scripts/hak/build.ts @@ -1,17 +1,9 @@ /* -Copyright 2020 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020-2024 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 in the repository root for full details. */ import { DependencyInfo } from "./dep"; diff --git a/scripts/hak/check.ts b/scripts/hak/check.ts index 047d5a9b..1a6dcb9b 100644 --- a/scripts/hak/check.ts +++ b/scripts/hak/check.ts @@ -1,17 +1,9 @@ /* -Copyright 2020 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020-2024 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 in the repository root for full details. */ import { DependencyInfo } from "./dep"; diff --git a/scripts/hak/clean.ts b/scripts/hak/clean.ts index e5308942..a208da9b 100644 --- a/scripts/hak/clean.ts +++ b/scripts/hak/clean.ts @@ -1,17 +1,9 @@ /* -Copyright 2020 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020-2024 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 in the repository root for full details. */ import path from "path"; diff --git a/scripts/hak/copy.ts b/scripts/hak/copy.ts index e6f882a5..01c8c95a 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-2024 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 in the repository root for full details. */ import path from "path"; diff --git a/scripts/hak/dep.ts b/scripts/hak/dep.ts index 47f05f1f..727c90a0 100644 --- a/scripts/hak/dep.ts +++ b/scripts/hak/dep.ts @@ -1,17 +1,9 @@ /* -Copyright 2021 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2021-2024 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 in the repository root for full details. */ import HakEnv from "./hakEnv"; diff --git a/scripts/hak/fetch.ts b/scripts/hak/fetch.ts index fa3a80c9..26ed17df 100644 --- a/scripts/hak/fetch.ts +++ b/scripts/hak/fetch.ts @@ -1,17 +1,9 @@ /* -Copyright 2020 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020-2024 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 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 5fff691a..8b20a1d3 100644 --- a/scripts/hak/fetchDeps.ts +++ b/scripts/hak/fetchDeps.ts @@ -1,17 +1,9 @@ /* -Copyright 2020 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020-2024 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 in the repository root for full details. */ import { mkdirp } from "mkdirp"; diff --git a/scripts/hak/hakEnv.ts b/scripts/hak/hakEnv.ts index 0a5b11af..897fe0bc 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-2024 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 in the repository root for full details. */ import path from "path"; diff --git a/scripts/hak/index.ts b/scripts/hak/index.ts index 1d910050..f9f4834a 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-2024 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 in the repository root for full details. */ import path from "path"; diff --git a/scripts/hak/link.ts b/scripts/hak/link.ts index c2613a9b..17ff4735 100644 --- a/scripts/hak/link.ts +++ b/scripts/hak/link.ts @@ -1,17 +1,9 @@ /* -Copyright 2020 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020-2024 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 in the repository root for full details. */ import path from "path"; diff --git a/scripts/hak/target.ts b/scripts/hak/target.ts index 81a47e78..de9048e8 100644 --- a/scripts/hak/target.ts +++ b/scripts/hak/target.ts @@ -1,17 +1,9 @@ /* -Copyright 2021 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2021-2024 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 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 20dd96f5..5540d6a8 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 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 66dbd996..118da602 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 in the repository root for full details. */ declare module "matrix-seshat" { diff --git a/src/displayMediaCallback.ts b/src/displayMediaCallback.ts index be96340c..81fb0b3d 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 in the repository root for full details. */ import { Streams } from "electron"; diff --git a/src/electron-main.ts b/src/electron-main.ts index 450bc616..82f0f245 100644 --- a/src/electron-main.ts +++ b/src/electron-main.ts @@ -1,20 +1,11 @@ /* -Copyright 2016 Aviral Dasgupta +Copyright 2016-2024 Aviral Dasgupta Copyright 2016 OpenMarket Ltd -Copyright 2017, 2019 Michael Telatynski <7t3chguy@gmail.com> -Copyright 2018 - 2021 New Vector Ltd +Copyright 2017-2019 Michael Telatynski <7t3chguy@gmail.com> +Copyright 2018-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 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 dd01abb0..3f1d34b1 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 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 71380322..aa93cde8 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 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 8d1df7cf..c736774b 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 in the repository root for full details. */ import counterpart from "counterpart"; diff --git a/src/macos-titlebar.ts b/src/macos-titlebar.ts index 833c38df..9dad0239 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 in the repository root for full details. */ import { BrowserWindow } from "electron"; diff --git a/src/media-auth.ts b/src/media-auth.ts index de6601cf..a58959fd 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 in the repository root for full details. */ import { BrowserWindow, ipcMain, session } from "electron"; diff --git a/src/preload.ts b/src/preload.ts index eaefc413..ae4ec913 100644 --- a/src/preload.ts +++ b/src/preload.ts @@ -1,17 +1,8 @@ /* -Copyright 2018, 2019, 2021 New Vector Ltd +Copyright 2018-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 in the repository root for full details. */ import { ipcRenderer, contextBridge, IpcRendererEvent } from "electron"; diff --git a/src/protocol.ts b/src/protocol.ts index f0551c57..c26fa41a 100644 --- a/src/protocol.ts +++ b/src/protocol.ts @@ -1,17 +1,9 @@ /* -Copyright 2020 The Matrix.org Foundation C.I.C. +Copyright 2024 New Vector Ltd. +Copyright 2020-2024 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 in the repository root for full details. */ import { app } from "electron"; diff --git a/src/seshat.ts b/src/seshat.ts index 9ae970c1..a9f541b1 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 in the repository root for full details. */ import { app, ipcMain } from "electron"; diff --git a/src/settings.ts b/src/settings.ts index 5638cca8..7e803598 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 in the repository root for full details. */ import * as tray from "./tray"; diff --git a/src/squirrelhooks.ts b/src/squirrelhooks.ts index 913bda03..f4fdb758 100644 --- a/src/squirrelhooks.ts +++ b/src/squirrelhooks.ts @@ -1,17 +1,9 @@ /* -Copyright 2017 OpenMarket Ltd +Copyright 2024 New Vector Ltd. +Copyright 2017-2024 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 in the repository root for full details. */ import path from "path"; diff --git a/src/tray.ts b/src/tray.ts index 171397af..4f993fa1 100644 --- a/src/tray.ts +++ b/src/tray.ts @@ -1,18 +1,10 @@ /* -Copyright 2017 Karl Glatz +Copyright 2024 New Vector Ltd. +Copyright 2017-2024 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 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 77fe997f..b3b46fc7 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 in the repository root for full details. */ import { app, autoUpdater, ipcMain } from "electron"; diff --git a/src/utils.ts b/src/utils.ts index 2aab2928..14243e87 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 in the repository root for full details. */ import crypto from "crypto"; diff --git a/src/vectormenu.ts b/src/vectormenu.ts index 33f50996..17c97950 100644 --- a/src/vectormenu.ts +++ b/src/vectormenu.ts @@ -1,17 +1,9 @@ /* -Copyright 2016 OpenMarket Ltd +Copyright 2024 New Vector Ltd. +Copyright 2016-2024 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 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 0b3bb123..8184603d 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 in the repository root for full details. */ import {