Skip to content

Commit 3d96dc9

Browse files
committed
Update license headers to match the actual license
1 parent 191ea6d commit 3d96dc9

File tree

681 files changed

+1957
-1925
lines changed

Some content is hidden

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

681 files changed

+1957
-1925
lines changed

.github/scripts/cleanup-pr.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2025 New Vector Ltd.
22
//
3-
// SPDX-License-Identifier: AGPL-3.0-only
4-
// Please see LICENSE in the repository root for full details.
3+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
// Please see LICENSE files in the repository root for full details.
55

66
// @ts-check
77

.github/scripts/commit-and-tag.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2025 New Vector Ltd.
22
//
3-
// SPDX-License-Identifier: AGPL-3.0-only
4-
// Please see LICENSE in the repository root for full details.
3+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
// Please see LICENSE files in the repository root for full details.
55

66
// @ts-check
77

.github/scripts/create-release-branch.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2025 New Vector Ltd.
22
//
3-
// SPDX-License-Identifier: AGPL-3.0-only
4-
// Please see LICENSE in the repository root for full details.
3+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
// Please see LICENSE files in the repository root for full details.
55

66
// @ts-check
77

.github/scripts/create-version-tag.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2025 New Vector Ltd.
22
//
3-
// SPDX-License-Identifier: AGPL-3.0-only
4-
// Please see LICENSE in the repository root for full details.
3+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
// Please see LICENSE files in the repository root for full details.
55

66
// @ts-check
77

.github/scripts/merge-back.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2025 New Vector Ltd.
22
//
3-
// SPDX-License-Identifier: AGPL-3.0-only
4-
// Please see LICENSE in the repository root for full details.
3+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
// Please see LICENSE files in the repository root for full details.
55

66
// @ts-check
77

.github/scripts/update-release-branch.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2025 New Vector Ltd.
22
//
3-
// SPDX-License-Identifier: AGPL-3.0-only
4-
// Please see LICENSE in the repository root for full details.
3+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
// Please see LICENSE files in the repository root for full details.
55

66
// @ts-check
77

.github/scripts/update-unstable-tag.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2025 New Vector Ltd.
22
//
3-
// SPDX-License-Identifier: AGPL-3.0-only
4-
// Please see LICENSE in the repository root for full details.
3+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
// Please see LICENSE files in the repository root for full details.
55

66
// @ts-check
77

crates/axum-utils/src/client_authorization.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::collections::HashMap;
88

crates/axum-utils/src/cookies.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
//! Private (encrypted) cookie jar, based on axum-extra's cookie jar
88

crates/axum-utils/src/csrf.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use base64ct::{Base64UrlUnpadded, Encoding};
88
use chrono::{DateTime, Duration, Utc};

crates/axum-utils/src/error_wrapper.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2023, 2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use axum::response::{IntoResponse, Response};
88

crates/axum-utils/src/fancy_error.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use axum::{
88
Extension,

crates/axum-utils/src/jwt.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use axum::response::{IntoResponse, Response};
88
use axum_extra::typed_header::TypedHeader;

crates/axum-utils/src/language_detection.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2023, 2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::cmp::Reverse;
88

crates/axum-utils/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
#![deny(clippy::future_not_send)]
88
#![allow(clippy::module_name_repetitions)]

crates/axum-utils/src/sentry.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2023, 2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::convert::Infallible;
88

crates/axum-utils/src/session.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use mas_data_model::BrowserSession;
88
use mas_storage::RepositoryAccess;

crates/axum-utils/src/user_authorization.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::{collections::HashMap, error::Error};
88

crates/cli/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2024, 2025 New Vector Ltd.
22
//
3-
// SPDX-License-Identifier: AGPL-3.0-only
4-
// Please see LICENSE in the repository root for full details.
3+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
// Please see LICENSE files in the repository root for full details.
55

66
use vergen_gitcl::{Emitter, GitclBuilder, RustcBuilder};
77

crates/cli/src/app_state.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::{convert::Infallible, net::IpAddr, sync::Arc};
88

crates/cli/src/commands/config.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2021-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::process::ExitCode;
88

crates/cli/src/commands/database.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2021-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::process::ExitCode;
88

crates/cli/src/commands/debug.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::process::ExitCode;
88

crates/cli/src/commands/doctor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
//! Diagnostic utility to check the health of the deployment
88
//!

crates/cli/src/commands/manage.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2021-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::{collections::BTreeMap, process::ExitCode};
88

crates/cli/src/commands/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::process::ExitCode;
88

crates/cli/src/commands/server.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2021-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::{collections::BTreeSet, process::ExitCode, sync::Arc, time::Duration};
88

crates/cli/src/commands/syn2mas.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2024, 2025 New Vector Ltd.
22
//
3-
// SPDX-License-Identifier: AGPL-3.0-only
4-
// Please see LICENSE in the repository root for full details.
3+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
// Please see LICENSE files in the repository root for full details.
55

66
use std::{collections::HashMap, process::ExitCode, time::Duration};
77

crates/cli/src/commands/templates.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2021-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::process::ExitCode;
88

crates/cli/src/commands/worker.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2023, 2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::{process::ExitCode, time::Duration};
88

crates/cli/src/lifecycle.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2024, 2025 New Vector Ltd.
22
//
3-
// SPDX-License-Identifier: AGPL-3.0-only
4-
// Please see LICENSE in the repository root for full details.
3+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
// Please see LICENSE files in the repository root for full details.
55

66
use std::{process::ExitCode, time::Duration};
77

crates/cli/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2021-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
#![allow(clippy::module_name_repetitions)]
88

crates/cli/src/server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
use std::{
88
net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, TcpListener, ToSocketAddrs},

crates/cli/src/sync.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
//! Utilities to synchronize the configuration file with the database.
88

crates/cli/src/telemetry.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2021-2024 The Matrix.org Foundation C.I.C.
33
//
4-
// SPDX-License-Identifier: AGPL-3.0-only
5-
// Please see LICENSE in the repository root for full details.
4+
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
// Please see LICENSE files in the repository root for full details.
66

77
mod tokio;
88

0 commit comments

Comments
 (0)