Add license headers in most files that missed them
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
rustflags = ["--cfg", "tokio_unstable"]
|
rustflags = ["--cfg", "tokio_unstable"]
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
comment: false
|
comment: false
|
||||||
|
|
||||||
flag_management:
|
flag_management:
|
||||||
|
|||||||
@@ -1,2 +1,7 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[profile.default]
|
[profile.default]
|
||||||
retries = 1
|
retries = 1
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
target/
|
target/
|
||||||
crates/*/target
|
crates/*/target
|
||||||
crates/*/node_modules
|
crates/*/node_modules
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
|
|||||||
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1 +0,0 @@
|
|||||||
*.wasm binary
|
|
||||||
7
.github/actions/build-frontend/action.yml
vendored
7
.github/actions/build-frontend/action.yml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Build the frontend assets
|
name: Build the frontend assets
|
||||||
description: Installs Node.js and builds the frontend assets from the frontend directory
|
description: Installs Node.js and builds the frontend assets from the frontend directory
|
||||||
|
|
||||||
@@ -7,7 +12,7 @@ runs:
|
|||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@v4.2.0
|
uses: actions/setup-node@v4.2.0
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: "22"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
5
.github/actions/build-policies/action.yml
vendored
5
.github/actions/build-policies/action.yml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Build the Open Policy Agent policies
|
name: Build the Open Policy Agent policies
|
||||||
description: Installs OPA and builds the policies
|
description: Installs OPA and builds the policies
|
||||||
|
|
||||||
|
|||||||
5
.github/dependabot.yml
vendored
5
.github/dependabot.yml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: "cargo"
|
- package-ecosystem: "cargo"
|
||||||
|
|||||||
5
.github/release.yml
vendored
5
.github/release.yml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
categories:
|
categories:
|
||||||
- title: Bug Fixes
|
- title: Bug Fixes
|
||||||
|
|||||||
5
.github/scripts/.gitignore
vendored
5
.github/scripts/.gitignore
vendored
@@ -1,2 +1,7 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|||||||
5
.github/workflows/build.yaml
vendored
5
.github/workflows/build.yaml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|||||||
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|||||||
5
.github/workflows/coverage.yaml
vendored
5
.github/workflows/coverage.yaml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Coverage
|
name: Coverage
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|||||||
5
.github/workflows/docs.yaml
vendored
5
.github/workflows/docs.yaml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Build and deploy the documentation
|
name: Build and deploy the documentation
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|||||||
5
.github/workflows/merge-back.yaml
vendored
5
.github/workflows/merge-back.yaml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Merge back a reference to main
|
name: Merge back a reference to main
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|||||||
5
.github/workflows/release-branch.yaml
vendored
5
.github/workflows/release-branch.yaml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Create a new release branch
|
name: Create a new release branch
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
5
.github/workflows/release-bump.yaml
vendored
5
.github/workflows/release-bump.yaml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Bump the version on a release branch
|
name: Bump the version on a release branch
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
5
.github/workflows/tag.yaml
vendored
5
.github/workflows/tag.yaml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Tag a new version
|
name: Tag a new version
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|||||||
5
.github/workflows/translations-download.yaml
vendored
5
.github/workflows/translations-download.yaml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Download translation files from Localazy
|
name: Download translation files from Localazy
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
5
.github/workflows/translations-upload.yaml
vendored
5
.github/workflows/translations-upload.yaml
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
name: Upload translation files to Localazy
|
name: Upload translation files to Localazy
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
# Rust
|
# Rust
|
||||||
target/
|
target/
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
max_width = 100
|
max_width = 100
|
||||||
comment_width = 80
|
comment_width = 80
|
||||||
wrap_comments = true
|
wrap_comments = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
default-members = ["crates/cli"]
|
default-members = ["crates/cli"]
|
||||||
members = ["crates/*"]
|
members = ["crates/*"]
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
# syntax = docker/dockerfile:1.7.1
|
# syntax = docker/dockerfile:1.7.1
|
||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
# Builds a minimal image with the binary only. It is multi-arch capable,
|
# Builds a minimal image with the binary only. It is multi-arch capable,
|
||||||
# cross-building to aarch64 and x86_64. When cross-compiling, Docker sets two
|
# cross-building to aarch64 and x86_64. When cross-compiling, Docker sets two
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
# Documentation for possible options in this file is at
|
# Documentation for possible options in this file is at
|
||||||
# https://rust-lang.github.io/mdBook/format/config.html
|
# https://rust-lang.github.io/mdBook/format/config.html
|
||||||
[book]
|
[book]
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
doc-valid-idents = ["OpenID", "OAuth", "..", "PostgreSQL", "SQLite"]
|
doc-valid-idents = ["OpenID", "OAuth", "..", "PostgreSQL", "SQLite"]
|
||||||
|
|
||||||
disallowed-methods = [
|
disallowed-methods = [
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-axum-utils"
|
name = "mas-axum-utils"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-cli"
|
name = "mas-cli"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-config"
|
name = "mas-config"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-context"
|
name = "mas-context"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-data-model"
|
name = "mas-data-model"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-email"
|
name = "mas-email"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-handlers"
|
name = "mas-handlers"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-http"
|
name = "mas-http"
|
||||||
description = "HTTP utilities for the Matrix Authentication Service"
|
description = "HTTP utilities for the Matrix Authentication Service"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-i18n-scan"
|
name = "mas-i18n-scan"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-i18n"
|
name = "mas-i18n"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-iana-codegen"
|
name = "mas-iana-codegen"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-iana"
|
name = "mas-iana"
|
||||||
description = "IANA registry data for JOSE and OAuth 2.0"
|
description = "IANA registry data for JOSE and OAuth 2.0"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-jose"
|
name = "mas-jose"
|
||||||
description = "JSON Object Signing and Encryption (JWT & co) utilities"
|
description = "JSON Object Signing and Encryption (JWT & co) utilities"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-keystore"
|
name = "mas-keystore"
|
||||||
description = "Secret keys store used by the Matrix Authentication Service"
|
description = "Secret keys store used by the Matrix Authentication Service"
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-listener"
|
name = "mas-listener"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
# Script to regenerate the server and client certificate
|
# Script to regenerate the server and client certificate
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-matrix-synapse"
|
name = "mas-matrix-synapse"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-matrix"
|
name = "mas-matrix"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "oauth2-types"
|
name = "oauth2-types"
|
||||||
description = "OAuth 2.0 types used by the Matrix Authentication Service"
|
description = "OAuth 2.0 types used by the Matrix Authentication Service"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-oidc-client"
|
name = "mas-oidc-client"
|
||||||
description = "OpenID Connect client library used by the Matrix Authentication Service"
|
description = "OpenID Connect client library used by the Matrix Authentication Service"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-policy"
|
name = "mas-policy"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-router"
|
name = "mas-router"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-spa"
|
name = "mas-spa"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-storage-pg"
|
name = "mas-storage-pg"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-storage"
|
name = "mas-storage"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "syn2mas"
|
name = "syn2mas"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-tasks"
|
name = "mas-tasks"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-templates"
|
name = "mas-templates"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "mas-tower"
|
name = "mas-tower"
|
||||||
description = "Tower layers used by the Matrix Authentication Service"
|
description = "Tower layers used by the Matrix Authentication Service"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
[graph]
|
[graph]
|
||||||
targets = [
|
targets = [
|
||||||
{ triple = "x86_64-unknown-linux-gnu" },
|
{ triple = "x86_64-unknown-linux-gnu" },
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
#
|
||||||
// This is used to set the version reported by the binary through an environment
|
// This is used to set the version reported by the binary through an environment
|
||||||
// variable. This is mainly useful when building out of a git context, like in
|
// variable. This is mainly useful when building out of a git context, like in
|
||||||
// CI, where we don't have the full commit history available
|
// CI, where we don't have the full commit history available
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
charset=utf-8
|
|
||||||
end_of_line = lf
|
|
||||||
|
|
||||||
[*.{ts,tsx,js,cjs,mjs,css,json,graphql}]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
||||||
insert_final_newline = true
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
5
frontend/.gitignore
vendored
5
frontend/.gitignore
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
/node_modules
|
/node_modules
|
||||||
/dist
|
/dist
|
||||||
/coverage
|
/coverage
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
#
|
||||||
# This script is used by the Cloudflare Pages to build the documentation.
|
# This script is used by the Cloudflare Pages to build the documentation.
|
||||||
# It detects if it's running in the Cloudflare Pages build environment and will install the required dependencies.
|
# It detects if it's running in the Cloudflare Pages build environment and will install the required dependencies.
|
||||||
# It can also be used locally to build the documentation, given that the required dependencies are installed.
|
# It can also be used locally to build the documentation, given that the required dependencies are installed.
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
#
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
if [ "${DATABASE_URL+defined}" != defined ]; then
|
if [ "${DATABASE_URL+defined}" != defined ]; then
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
#
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
export SQLX_OFFLINE=1
|
export SQLX_OFFLINE=1
|
||||||
|
|||||||
5
policies/.gitignore
vendored
5
policies/.gitignore
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
/policy.wasm
|
/policy.wasm
|
||||||
/bundle.tar.gz
|
/bundle.tar.gz
|
||||||
/coverage.json
|
/coverage.json
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
style:
|
style:
|
||||||
external-reference:
|
external-reference:
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
#
|
||||||
# Set to 1 to run OPA through Docker
|
# Set to 1 to run OPA through Docker
|
||||||
DOCKER := 0
|
DOCKER := 0
|
||||||
PODMAN := 0
|
PODMAN := 0
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
# METADATA
|
# METADATA
|
||||||
# schemas:
|
# schemas:
|
||||||
# - input: schema["authorization_grant_input"]
|
# - input: schema["authorization_grant_input"]
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
package authorization_grant_test
|
package authorization_grant_test
|
||||||
|
|
||||||
import data.authorization_grant
|
import data.authorization_grant
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
# METADATA
|
# METADATA
|
||||||
# schemas:
|
# schemas:
|
||||||
# - input: schema["client_registration_input"]
|
# - input: schema["client_registration_input"]
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
package client_registration_test
|
package client_registration_test
|
||||||
|
|
||||||
import rego.v1
|
import rego.v1
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
import rego.v1
|
import rego.v1
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
package common_test
|
package common_test
|
||||||
|
|
||||||
import data.common
|
import data.common
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
# METADATA
|
# METADATA
|
||||||
# schemas:
|
# schemas:
|
||||||
# - input: schema["email_input"]
|
# - input: schema["email_input"]
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
package email_test
|
package email_test
|
||||||
|
|
||||||
import data.email
|
import data.email
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
# METADATA
|
# METADATA
|
||||||
# schemas:
|
# schemas:
|
||||||
# - input: schema["register_input"]
|
# - input: schema["register_input"]
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
package register_test
|
package register_test
|
||||||
|
|
||||||
import data.register
|
import data.register
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright 2025 New Vector Ltd.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||||
|
# Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
|
||||||
import rego.v1
|
import rego.v1
|
||||||
|
|||||||
Reference in New Issue
Block a user