Skip to content

Commit c3707c1

Browse files
committed
Add license headers in most files that missed them
1 parent 3d96dc9 commit c3707c1

Some content is hidden

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

78 files changed

+382
-18
lines changed

.cargo/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[build]
27
rustflags = ["--cfg", "tokio_unstable"]
38

.codecov.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
comment: false
27

38
flag_management:

.config/nextest.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[profile.default]
27
retries = 1

.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
target/
27
crates/*/target
38
crates/*/node_modules

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
root = true
27

38
[*]

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/actions/build-frontend/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Build the frontend assets
27
description: Installs Node.js and builds the frontend assets from the frontend directory
38

@@ -7,7 +12,7 @@ runs:
712
- name: Install Node
813
uses: actions/setup-node@v4.2.0
914
with:
10-
node-version: '22'
15+
node-version: "22"
1116

1217
- name: Install dependencies
1318
run: npm ci

.github/actions/build-policies/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Build the Open Policy Agent policies
27
description: Installs OPA and builds the policies
38

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
version: 2
27
updates:
38
- package-ecosystem: "cargo"

.github/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
changelog:
27
categories:
38
- title: Bug Fixes

.github/scripts/.gitignore

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

.github/workflows/build.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Build
27

38
on:

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: CI
27

38
on:

.github/workflows/coverage.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Coverage
27

38
on:

.github/workflows/docs.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Build and deploy the documentation
27

38
on:
49
push:
5-
branches: [ main ]
10+
branches: [main]
611
pull_request:
7-
branches: [ main ]
12+
branches: [main]
813

914
concurrency:
1015
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/merge-back.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Merge back a reference to main
27
on:
38
workflow_call:

.github/workflows/release-branch.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Create a new release branch
27
on:
38
workflow_dispatch:

.github/workflows/release-bump.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Bump the version on a release branch
27
on:
38
workflow_dispatch:

.github/workflows/tag.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Tag a new version
27
on:
38
workflow_call:

.github/workflows/translations-download.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Download translation files from Localazy
27
on:
38
workflow_dispatch:

.github/workflows/translations-upload.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
name: Upload translation files to Localazy
27
on:
38
push:

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
# Rust
27
target/
38

.rustfmt.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
max_width = 100
27
comment_width = 80
38
wrap_comments = true

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[workspace]
27
default-members = ["crates/cli"]
38
members = ["crates/*"]

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# syntax = docker/dockerfile:1.7.1
2+
# Copyright 2025 New Vector Ltd.
3+
#
4+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5+
# Please see LICENSE files in the repository root for full details.
26

37
# Builds a minimal image with the binary only. It is multi-arch capable,
48
# cross-building to aarch64 and x86_64. When cross-compiling, Docker sets two

book.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
# Documentation for possible options in this file is at
27
# https://rust-lang.github.io/mdBook/format/config.html
38
[book]

clippy.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
doc-valid-idents = ["OpenID", "OAuth", "..", "PostgreSQL", "SQLite"]
27

38
disallowed-methods = [

crates/axum-utils/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-axum-utils"
38
version.workspace = true

crates/cli/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-cli"
38
version.workspace = true

crates/config/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-config"
38
version.workspace = true

crates/context/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-context"
38
version.workspace = true

crates/data-model/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-data-model"
38
version.workspace = true

crates/email/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-email"
38
version.workspace = true

crates/handlers/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-handlers"
38
version.workspace = true

crates/http/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-http"
38
description = "HTTP utilities for the Matrix Authentication Service"

crates/i18n-scan/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-i18n-scan"
38
version.workspace = true

crates/i18n/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-i18n"
38
version.workspace = true

crates/iana-codegen/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-iana-codegen"
38
version.workspace = true

crates/iana/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-iana"
38
description = "IANA registry data for JOSE and OAuth 2.0"

crates/jose/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-jose"
38
description = "JSON Object Signing and Encryption (JWT & co) utilities"

crates/keystore/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-keystore"
38
description = "Secret keys store used by the Matrix Authentication Service"

crates/keystore/tests/generate.sh

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

37
set -eux
48

crates/listener/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2025 New Vector Ltd.
2+
#
3+
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
4+
# Please see LICENSE files in the repository root for full details.
5+
16
[package]
27
name = "mas-listener"
38
version.workspace = true

0 commit comments

Comments
 (0)