diff --git a/.dockerignore b/.dockerignore index dedfd723..6f8b89a0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 node_modules config diff --git a/.editorconfig b/.editorconfig index 329b86a7..00932c3e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # -# SPDX-License-Identifier: 0BSD +# SPDX-License-Identifier: Apache-2.0 root = true diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index a026bea6..c3156170 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,5 +1,5 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 # The first time that we ran prettier. 3b2036c2db205e7f9a10a6b4fef2ec1760b8f51b diff --git a/.gitattributes b/.gitattributes index 640d9625..282a5c71 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2024 Aminda Suomalainen # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 * text=auto eol=lf *.gif filter=lfs diff=lfs merge=lfs -text diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 363e075c..58bed50a 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Aminda Suomalainen // -// SPDX-License-Identifier: CC0-1.0 +// SPDX-License-Identifier: Apache-2.0 { extends: ["github>the-draupnir-project/.github:renovate-shared"], } diff --git a/.github/workflows/docker-hub-develop.yml b/.github/workflows/docker-hub-develop.yml index 3e71df5c..a3425eb9 100644 --- a/.github/workflows/docker-hub-develop.yml +++ b/.github/workflows/docker-hub-develop.yml @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # SPDX-FileCopyrightText: 2026 Catalan Lover # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 # Copied from https://github.com/matrix-org/matrix-bifrost/blob/develop/.github/workflows/docker-hub-latest.yml @@ -66,7 +66,7 @@ jobs: org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.version=${{ github.ref_name }}-${{ github.sha }} org.opencontainers.image.ref.name=${{ github.ref_name }} - org.opencontainers.image.licenses=AFL-3.0 + org.opencontainers.image.licenses=Apache-2.0 sbom: true tags: | ${{ env.DOCKER_NAMESPACE }}/draupnir:develop diff --git a/.github/workflows/docker-hub-latest.yml b/.github/workflows/docker-hub-latest.yml index 6fb42d8d..d5642856 100644 --- a/.github/workflows/docker-hub-latest.yml +++ b/.github/workflows/docker-hub-latest.yml @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # SPDX-FileCopyrightText: 2026 Catalan Lover # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 # Copied from https://github.com/matrix-org/matrix-bifrost/blob/develop/.github/workflows/docker-hub-release.yml # This is duplicated with docker-hub-release.yml the only difference is the tag and hook @@ -66,7 +66,7 @@ jobs: org.opencontainers.image.source=${{ env.IMG_SOURCE }} org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.version=${{ github.ref_name }} - org.opencontainers.image.licenses=AFL-3.0 + org.opencontainers.image.licenses=Apache-2.0 sbom: true tags: | ${{ env.DOCKER_NAMESPACE }}/draupnir:latest diff --git a/.github/workflows/docker-hub-release.yml b/.github/workflows/docker-hub-release.yml index 06933e8d..30f82962 100644 --- a/.github/workflows/docker-hub-release.yml +++ b/.github/workflows/docker-hub-release.yml @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # SPDX-FileCopyrightText: 2026 Catalan Lover # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 # Copied from https://github.com/matrix-org/matrix-bifrost/blob/develop/.github/workflows/docker-hub-release.yml # This is duplicated with docker-hub-latest.yml the only difference is the tag and hook @@ -67,7 +67,7 @@ jobs: org.opencontainers.image.source=${{ env.IMG_SOURCE }} org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.version=${{ github.ref_name }} - org.opencontainers.image.licenses=AFL-3.0 + org.opencontainers.image.licenses=Apache-2.0 sbom: true tags: | ${{ env.DOCKER_NAMESPACE }}/draupnir:${{ steps.release_version.outputs.release_version }} diff --git a/.github/workflows/ghcr-all-dev-branches.yml b/.github/workflows/ghcr-all-dev-branches.yml index 548ceeba..d643569a 100644 --- a/.github/workflows/ghcr-all-dev-branches.yml +++ b/.github/workflows/ghcr-all-dev-branches.yml @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2026 Catalan Lover # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 # This file is derived from the docker-hub-develop.yml workflow, but instead of pushing to Docker Hub, it pushes to GHCR. It also runs on all non excluded branches to allow easier access to development builds. name: "GHCR - Development Branches" @@ -85,6 +85,6 @@ jobs: org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.version=${{ github.ref_name }}-${{ github.sha }} org.opencontainers.image.ref.name=${{ github.ref_name }} - org.opencontainers.image.licenses=AFL-3.0 + org.opencontainers.image.licenses=Apache-2.0 sbom: true tags: ${{ steps.meta.outputs.tags }} diff --git a/.github/workflows/ghcr-latest.yml b/.github/workflows/ghcr-latest.yml index c3ad528a..b5a1af8a 100644 --- a/.github/workflows/ghcr-latest.yml +++ b/.github/workflows/ghcr-latest.yml @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2026 Catalan Lover # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 name: "GHCR - Latest" @@ -67,7 +67,7 @@ jobs: org.opencontainers.image.source=${{ env.IMG_SOURCE }} org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.version=${{ github.ref_name }} - org.opencontainers.image.licenses=AFL-3.0 + org.opencontainers.image.licenses=Apache-2.0 sbom: true tags: | ghcr.io/${{ steps.image_owner.outputs.image_owner }}/draupnir:latest diff --git a/.github/workflows/ghcr-release.yml b/.github/workflows/ghcr-release.yml index c71dbec8..74ad1e21 100644 --- a/.github/workflows/ghcr-release.yml +++ b/.github/workflows/ghcr-release.yml @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2026 Catalan Lover # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 name: "GHCR - Release" @@ -68,7 +68,7 @@ jobs: org.opencontainers.image.source=${{ env.IMG_SOURCE }} org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.version=${{ github.ref_name }} - org.opencontainers.image.licenses=AFL-3.0 + org.opencontainers.image.licenses=Apache-2.0 sbom: true tags: | ghcr.io/${{ steps.image_owner.outputs.image_owner }}/draupnir:${{ steps.release_version.outputs.release_version }} diff --git a/.github/workflows/mjolnir.yml b/.github/workflows/mjolnir.yml index 3b1cd5ed..d1092cce 100644 --- a/.github/workflows/mjolnir.yml +++ b/.github/workflows/mjolnir.yml @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 name: Tests diff --git a/.gitignore b/.gitignore index fb4533bd..7469e91d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 # Draupnir config config/* diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 19822129..d441567f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # -# SPDX-License-Identifier: 0BSD +# SPDX-License-Identifier: Apache-2.0 # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks diff --git a/.prettierignore b/.prettierignore index bdf44a06..6a3fa28d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # -# SPDX-License-Identifier: 0BSD +# SPDX-License-Identifier: Apache-2.0 dist packages/matrix-protection-suite/docs diff --git a/.prettierrc.yaml b/.prettierrc.yaml index c7114a44..79e93755 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # -# SPDX-License-Identifier: 0BSD +# SPDX-License-Identifier: Apache-2.0 tabWidth: 2 useTabs: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 99ff1ce9..4033bd6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6b0381e4..da70ee51 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,7 @@ # Contributing to Draupnir diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md index 2e2a8aff..5202282a 100644 --- a/DEPENDENCIES.md +++ b/DEPENDENCIES.md @@ -1,7 +1,7 @@ # Dependencies diff --git a/Dockerfile b/Dockerfile index 6be81cf3..6c1c27dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ # Copyright 2024 Gnuxie # Copyright 2019 The Matrix.org Foundation C.I.C. # -# SPDX-License-Identifier: Apache-2.0 AND AFL-3.0 - +# SPDX-License-Identifier: Apache-2.0 # syntax=docker/dockerfile:1.7 FROM node:24-slim AS build-stage diff --git a/LICENSE b/LICENSE index 62ed9b4e..fd6699f0 100644 --- a/LICENSE +++ b/LICENSE @@ -14,9 +14,9 @@ No single license applies to all files in this repository. ## Additional note -This project is primarily developed under the Academic Free License 3.0 -(AFL-3.0), with some components under Apache-2.0, and others under more -permissive licenses such as MIT or 0BSD. +This project is primarily developed under the Apache License Version 2.0 +(Apache-2.0), with some components integrating code under more permissive +licenses such as MIT or 0BSD. When redistributing Draupnir, you must comply with the terms of each applicable license. In practice, this primarily involves preserving license texts and any diff --git a/LICENSES/0BSD.txt b/LICENSES/0BSD.txt deleted file mode 100644 index 0b8ae762..00000000 --- a/LICENSES/0BSD.txt +++ /dev/null @@ -1,5 +0,0 @@ -Copyright (C) YEAR by AUTHOR EMAIL - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/LICENSES/AFL-3.0.txt b/LICENSES/AFL-3.0.txt deleted file mode 100644 index e1b7792a..00000000 --- a/LICENSES/AFL-3.0.txt +++ /dev/null @@ -1,43 +0,0 @@ -Academic Free License (“AFL”) v. 3.0 - -This Academic Free License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following licensing notice adjacent to the copyright notice for the Original Work: - - Licensed under the Academic Free License version 3.0 - -1) Grant of Copyright License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, for the duration of the copyright, to do the following: - - a) to reproduce the Original Work in copies, either alone or as part of a collective work; - b) to translate, adapt, alter, transform, modify, or arrange the Original Work, thereby creating derivative works ("Derivative Works") based upon the Original Work; - c) to distribute or communicate copies of the Original Work and Derivative Works to the public, under any license of your choice that does not contradict the terms and conditions, including Licensor’s reserved rights and remedies, in this Academic Free License; - d) to perform the Original Work publicly; and - e) to display the Original Work publicly. - -2) Grant of Patent License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, under patent claims owned or controlled by the Licensor that are embodied in the Original Work as furnished by the Licensor, for the duration of the patents, to make, use, sell, offer for sale, have made, and import the Original Work and Derivative Works. - -3) Grant of Source Code License. The term "Source Code" means the preferred form of the Original Work for making modifications to it and all available documentation describing how to modify the Original Work. Licensor agrees to provide a machine-readable copy of the Source Code of the Original Work along with each copy of the Original Work that Licensor distributes. Licensor reserves the right to satisfy this obligation by placing a machine-readable copy of the Source Code in an information repository reasonably calculated to permit inexpensive and convenient access by You for as long as Licensor continues to distribute the Original Work. - - 4) Exclusions From License Grant. Neither the names of Licensor, nor the names of any contributors to the Original Work, nor any of their trademarks or service marks, may be used to endorse or promote products derived from this Original Work without express prior permission of the Licensor. Except as expressly stated herein, nothing in this License grants any license to Licensor’s trademarks, copyrights, patents, trade secrets or any other intellectual property. No patent license is granted to make, use, sell, offer for sale, have made, or import embodiments of any patent claims other than the licensed claims defined in Section 2. No license is granted to the trademarks of Licensor even if such marks are included in the Original Work. Nothing in this License shall be interpreted to prohibit Licensor from licensing under terms different from this License any Original Work that Licensor otherwise would have a right to license. - -5) External Deployment. The term "External Deployment" means the use, distribution, or communication of the Original Work or Derivative Works in any way such that the Original Work or Derivative Works may be used by anyone other than You, whether those works are distributed or communicated to those persons or made available as an application intended for use over a network. As an express condition for the grants of license hereunder, You must treat any External Deployment by You of the Original Work or a Derivative Work as a distribution under section 1(c). - -6) Attribution Rights. You must retain, in the Source Code of any Derivative Works that You create, all copyright, patent, or trademark notices from the Source Code of the Original Work, as well as any notices of licensing and any descriptive text identified therein as an "Attribution Notice." You must cause the Source Code for any Derivative Works that You create to carry a prominent Attribution Notice reasonably calculated to inform recipients that You have modified the Original Work. - -7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that the copyright in and to the Original Work and the patent rights granted herein by Licensor are owned by the Licensor or are sublicensed to You under the terms of this License with the permission of the contributor(s) of those copyrights and patent rights. Except as expressly stated in the immediately preceding sentence, the Original Work is provided under this License on an "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, without limitation, the warranties of non-infringement, merchantability or fitness for a particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No license to the Original Work is granted by this License except under this disclaimer. - -8) Limitation of Liability. Under no circumstances and under no legal theory, whether in tort (including negligence), contract, or otherwise, shall the Licensor be liable to anyone for any indirect, special, incidental, or consequential damages of any character arising as a result of this License or the use of the Original Work including, without limitation, damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses. This limitation of liability shall not apply to the extent applicable law prohibits such limitation. - -9) Acceptance and Termination. If, at any time, You expressly assented to this License, that assent indicates your clear and irrevocable acceptance of this License and all of its terms and conditions. If You distribute or communicate copies of the Original Work or a Derivative Work, You must make a reasonable effort under the circumstances to obtain the express assent of recipients to the terms of this License. This License conditions your rights to undertake the activities listed in Section 1, including your right to create Derivative Works based upon the Original Work, and doing so without honoring these terms and conditions is prohibited by copyright law and international treaty. Nothing in this License is intended to affect copyright exceptions and limitations (including “fair use” or “fair dealing”). This License shall terminate immediately and You may no longer exercise any of the rights granted to You by this License upon your failure to honor the conditions in Section 1(c). - -10) Termination for Patent Action. This License shall terminate automatically and You may no longer exercise any of the rights granted to You by this License as of the date You commence an action, including a cross-claim or counterclaim, against Licensor or any licensee alleging that the Original Work infringes a patent. This termination provision shall not apply for an action alleging patent infringement by combinations of the Original Work with other software or hardware. - -11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this License may be brought only in the courts of a jurisdiction wherein the Licensor resides or in which Licensor conducts its primary business, and under the laws of that jurisdiction excluding its conflict-of-law provisions. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any use of the Original Work outside the scope of this License or after its termination shall be subject to the requirements and penalties of copyright or patent law in the appropriate jurisdiction. This section shall survive the termination of this License. - -12) Attorneys’ Fees. In any action to enforce the terms of this License or seeking damages relating thereto, the prevailing party shall be entitled to recover its costs and expenses, including, without limitation, reasonable attorneys' fees and costs incurred in connection with such action, including any appeal of such action. This section shall survive the termination of this License. - -13) Miscellaneous. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. - -14) Definition of "You" in This License. "You" throughout this License, whether in upper or lower case, means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, "You" includes any entity that controls, is controlled by, or is under common control with you. For purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -15) Right to Use. You may use the Original Work in all ways not otherwise restricted or conditioned by this License or by law, and Licensor promises not to interfere with or be responsible for such uses by You. - -16) Modification of This License. This License is Copyright © 2005 Lawrence Rosen. Permission is granted to copy, distribute, or communicate this License without modification. Nothing in this License permits You to modify this License as applied to the Original Work or to Derivative Works. However, You may modify the text of this License and copy, distribute or communicate your modified version (the "Modified License") and apply it to other original works of authorship subject to the following conditions: (i) You may not indicate in any way that your Modified License is the "Academic Free License" or "AFL" and you may not use those names in the name of your Modified License; (ii) You must replace the notice specified in the first paragraph above with the notice "Licensed under " or with a notice of your own that is not confusingly similar to the notice in this License; and (iii) You may not claim that your original works are open source software unless your Modified License has been approved by Open Source Initiative (OSI) and You comply with its license review and certification process. diff --git a/LICENSES/CC-BY-SA-4.0.txt b/LICENSES/CC-BY-SA-4.0.txt deleted file mode 100644 index 835a6836..00000000 --- a/LICENSES/CC-BY-SA-4.0.txt +++ /dev/null @@ -1,170 +0,0 @@ -Creative Commons Attribution-ShareAlike 4.0 International - - Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. - -Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors. - -Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. - -Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public. - -Creative Commons Attribution-ShareAlike 4.0 International Public License - -By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. - -Section 1 – Definitions. - - a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. - - b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. - - c. BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License. - - d. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. - - e. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. - - f. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. - - g. License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike. - - h. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. - - i. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. - - j. Licensor means the individual(s) or entity(ies) granting rights under this Public License. - - k. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. - - l. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. - - m. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. - -Section 2 – Scope. - - a. License grant. - - 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: - - A. reproduce and Share the Licensed Material, in whole or in part; and - - B. produce, reproduce, and Share Adapted Material. - - 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. - - 3. Term. The term of this Public License is specified in Section 6(a). - - 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. - - 5. Downstream recipients. - - A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. - - B. Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply. - - C. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. - - 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). - - b. Other rights. - - 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. - - 2. Patent and trademark rights are not licensed under this Public License. - - 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. - -Section 3 – License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the following conditions. - - a. Attribution. - - 1. If You Share the Licensed Material (including in modified form), You must: - - A. retain the following if it is supplied by the Licensor with the Licensed Material: - - i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); - - ii. a copyright notice; - - iii. a notice that refers to this Public License; - - iv. a notice that refers to the disclaimer of warranties; - - v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; - - B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and - - C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. - - 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. - - 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. - - b. ShareAlike.In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. - - 1. The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License. - - 2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. - - 3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. - -Section 4 – Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; - - b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and - - c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. -For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. - -Section 5 – Disclaimer of Warranties and Limitation of Liability. - - a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. - - b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. - - c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. - -Section 6 – Term and Termination. - - a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. - - b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: - - 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or - - 2. upon express reinstatement by the Licensor. - - c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. - - d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. - - e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. - -Section 7 – Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. - - b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. - -Section 8 – Interpretation. - - a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. - - b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. - - c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. - - d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. - -Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. - -Creative Commons may be contacted at creativecommons.org. diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt deleted file mode 100644 index 0e259d42..00000000 --- a/LICENSES/CC0-1.0.txt +++ /dev/null @@ -1,121 +0,0 @@ -Creative Commons Legal Code - -CC0 1.0 Universal - - CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE - LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN - ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS - INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES - REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS - PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM - THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED - HEREUNDER. - -Statement of Purpose - -The laws of most jurisdictions throughout the world automatically confer -exclusive Copyright and Related Rights (defined below) upon the creator -and subsequent owner(s) (each and all, an "owner") of an original work of -authorship and/or a database (each, a "Work"). - -Certain owners wish to permanently relinquish those rights to a Work for -the purpose of contributing to a commons of creative, cultural and -scientific works ("Commons") that the public can reliably and without fear -of later claims of infringement build upon, modify, incorporate in other -works, reuse and redistribute as freely as possible in any form whatsoever -and for any purposes, including without limitation commercial purposes. -These owners may contribute to the Commons to promote the ideal of a free -culture and the further production of creative, cultural and scientific -works, or to gain reputation or greater distribution for their Work in -part through the use and efforts of others. - -For these and/or other purposes and motivations, and without any -expectation of additional consideration or compensation, the person -associating CC0 with a Work (the "Affirmer"), to the extent that he or she -is an owner of Copyright and Related Rights in the Work, voluntarily -elects to apply CC0 to the Work and publicly distribute the Work under its -terms, with knowledge of his or her Copyright and Related Rights in the -Work and the meaning and intended legal effect of CC0 on those rights. - -1. Copyright and Related Rights. A Work made available under CC0 may be -protected by copyright and related or neighboring rights ("Copyright and -Related Rights"). Copyright and Related Rights include, but are not -limited to, the following: - - i. the right to reproduce, adapt, distribute, perform, display, - communicate, and translate a Work; - ii. moral rights retained by the original author(s) and/or performer(s); -iii. publicity and privacy rights pertaining to a person's image or - likeness depicted in a Work; - iv. rights protecting against unfair competition in regards to a Work, - subject to the limitations in paragraph 4(a), below; - v. rights protecting the extraction, dissemination, use and reuse of data - in a Work; - vi. database rights (such as those arising under Directive 96/9/EC of the - European Parliament and of the Council of 11 March 1996 on the legal - protection of databases, and under any national implementation - thereof, including any amended or successor version of such - directive); and -vii. other similar, equivalent or corresponding rights throughout the - world based on applicable law or treaty, and any national - implementations thereof. - -2. Waiver. To the greatest extent permitted by, but not in contravention -of, applicable law, Affirmer hereby overtly, fully, permanently, -irrevocably and unconditionally waives, abandons, and surrenders all of -Affirmer's Copyright and Related Rights and associated claims and causes -of action, whether now known or unknown (including existing as well as -future claims and causes of action), in the Work (i) in all territories -worldwide, (ii) for the maximum duration provided by applicable law or -treaty (including future time extensions), (iii) in any current or future -medium and for any number of copies, and (iv) for any purpose whatsoever, -including without limitation commercial, advertising or promotional -purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each -member of the public at large and to the detriment of Affirmer's heirs and -successors, fully intending that such Waiver shall not be subject to -revocation, rescission, cancellation, termination, or any other legal or -equitable action to disrupt the quiet enjoyment of the Work by the public -as contemplated by Affirmer's express Statement of Purpose. - -3. Public License Fallback. Should any part of the Waiver for any reason -be judged legally invalid or ineffective under applicable law, then the -Waiver shall be preserved to the maximum extent permitted taking into -account Affirmer's express Statement of Purpose. In addition, to the -extent the Waiver is so judged Affirmer hereby grants to each affected -person a royalty-free, non transferable, non sublicensable, non exclusive, -irrevocable and unconditional license to exercise Affirmer's Copyright and -Related Rights in the Work (i) in all territories worldwide, (ii) for the -maximum duration provided by applicable law or treaty (including future -time extensions), (iii) in any current or future medium and for any number -of copies, and (iv) for any purpose whatsoever, including without -limitation commercial, advertising or promotional purposes (the -"License"). The License shall be deemed effective as of the date CC0 was -applied by Affirmer to the Work. Should any part of the License for any -reason be judged legally invalid or ineffective under applicable law, such -partial invalidity or ineffectiveness shall not invalidate the remainder -of the License, and in such case Affirmer hereby affirms that he or she -will not (i) exercise any of his or her remaining Copyright and Related -Rights in the Work or (ii) assert any associated claims and causes of -action with respect to the Work, in either case contrary to Affirmer's -express Statement of Purpose. - -4. Limitations and Disclaimers. - - a. No trademark or patent rights held by Affirmer are waived, abandoned, - surrendered, licensed or otherwise affected by this document. - b. Affirmer offers the Work as-is and makes no representations or - warranties of any kind concerning the Work, express, implied, - statutory or otherwise, including without limitation warranties of - title, merchantability, fitness for a particular purpose, non - infringement, or the absence of latent or other defects, accuracy, or - the present or absence of errors, whether or not discoverable, all to - the greatest extent permissible under applicable law. - c. Affirmer disclaims responsibility for clearing rights of other persons - that may apply to the Work or any use thereof, including without - limitation any person's Copyright and Related Rights in the Work. - Further, Affirmer disclaims responsibility for obtaining any necessary - consents, permissions or other rights required for any use of the - Work. - d. Affirmer understands and acknowledges that Creative Commons is not a - party to this document and has no duty or obligation with respect to - this CC0 or use of the Work. diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt deleted file mode 100644 index d817195d..00000000 --- a/LICENSES/MIT.txt +++ /dev/null @@ -1,18 +0,0 @@ -MIT License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and -associated documentation files (the "Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the -following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO -EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index ec01a29d..edb8dd51 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Draupnir diff --git a/REUSE.toml b/REUSE.toml index 50ad9d26..e68e899f 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -7,65 +7,65 @@ SPDX-PackageDownloadLocation = "https://github.com/the-draupnir-project/Draupnir path = ".github/ISSUE_TEMPLATE/bug-report.md" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.base.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.all.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.eslint.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "yarn.lock" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package-lock.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "NOTICE" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = ".changeset/**" precedence = "override" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "AFL-3.0" +SPDX-License-Identifier = "Apache-2.0" diff --git a/apps/draupnir/.gitignore b/apps/draupnir/.gitignore index 94e7123e..aca8b8d3 100644 --- a/apps/draupnir/.gitignore +++ b/apps/draupnir/.gitignore @@ -1,5 +1,5 @@ # SPDX-FileCopyrightText: 2026 Gnuxie # -# SPDX-License-Identifier: 0BSD +# SPDX-License-Identifier: Apache-2.0 test/harness/mjolnir-data/* diff --git a/apps/draupnir/REUSE.toml b/apps/draupnir/REUSE.toml index a8653fc9..f03a52fd 100644 --- a/apps/draupnir/REUSE.toml +++ b/apps/draupnir/REUSE.toml @@ -7,58 +7,58 @@ SPDX-PackageDownloadLocation = "https://github.com/the-draupnir-project/Draupnir path = ".github/ISSUE_TEMPLATE/bug-report.md" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.test.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.base.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "yarn.lock" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package-lock.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "NOTICE" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "test/tsconfig.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "AFL-3.0" +SPDX-License-Identifier = "Apache-2.0" diff --git a/apps/draupnir/src/Draupnir.ts b/apps/draupnir/src/Draupnir.ts index 7bfbd529..c6405f8a 100644 --- a/apps/draupnir/src/Draupnir.ts +++ b/apps/draupnir/src/Draupnir.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/DraupnirBotMode.ts b/apps/draupnir/src/DraupnirBotMode.ts index 54857248..7ea2c325 100644 --- a/apps/draupnir/src/DraupnirBotMode.ts +++ b/apps/draupnir/src/DraupnirBotMode.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/appservice/AccessControl.ts b/apps/draupnir/src/appservice/AccessControl.ts index d63e6c5b..8263ac0e 100644 --- a/apps/draupnir/src/appservice/AccessControl.ts +++ b/apps/draupnir/src/appservice/AccessControl.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/appservice/AppService.ts b/apps/draupnir/src/appservice/AppService.ts index 91bf0809..46e38f40 100644 --- a/apps/draupnir/src/appservice/AppService.ts +++ b/apps/draupnir/src/appservice/AppService.ts @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2023 - 2026 Gnuxie // SPDX-FileCopyrightText: 2026 Catalan Lover // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/appservice/AppServiceDraupnirManager.ts b/apps/draupnir/src/appservice/AppServiceDraupnirManager.ts index de700d63..9dd54e17 100644 --- a/apps/draupnir/src/appservice/AppServiceDraupnirManager.ts +++ b/apps/draupnir/src/appservice/AppServiceDraupnirManager.ts @@ -2,7 +2,7 @@ // Copyright 2022 The Matrix.org Foundation C.I.C. // SPDX-FileCopyrightText: 2026 Catalan Lover // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/appservice/bot/AccessCommands.tsx b/apps/draupnir/src/appservice/bot/AccessCommands.tsx index b8149552..6c0aa7f8 100644 --- a/apps/draupnir/src/appservice/bot/AccessCommands.tsx +++ b/apps/draupnir/src/appservice/bot/AccessCommands.tsx @@ -1,6 +1,6 @@ // Copyright 2022 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { AppserviceAdaptorContext } from "./AppserviceBotPrerequisite"; import { ActionResult } from "matrix-protection-suite"; diff --git a/apps/draupnir/src/appservice/bot/AppserviceBotHelp.tsx b/apps/draupnir/src/appservice/bot/AppserviceBotHelp.tsx index 8f0455b1..ea3a53b4 100644 --- a/apps/draupnir/src/appservice/bot/AppserviceBotHelp.tsx +++ b/apps/draupnir/src/appservice/bot/AppserviceBotHelp.tsx @@ -1,6 +1,6 @@ // Copyright 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/appservice/bot/AppserviceCommandHandler.ts b/apps/draupnir/src/appservice/bot/AppserviceCommandHandler.ts index 8afb1b16..dce8e9ef 100644 --- a/apps/draupnir/src/appservice/bot/AppserviceCommandHandler.ts +++ b/apps/draupnir/src/appservice/bot/AppserviceCommandHandler.ts @@ -1,6 +1,6 @@ // Copyright 2022 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { WeakEvent } from "matrix-appservice-bridge"; import { MjolnirAppService } from "../AppService"; diff --git a/apps/draupnir/src/appservice/bot/ListCommand.tsx b/apps/draupnir/src/appservice/bot/ListCommand.tsx index 8dbcd145..a3533306 100644 --- a/apps/draupnir/src/appservice/bot/ListCommand.tsx +++ b/apps/draupnir/src/appservice/bot/ListCommand.tsx @@ -1,6 +1,6 @@ // Copyright 2022 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionError, diff --git a/apps/draupnir/src/appservice/bot/ProvisionCommand.tsx b/apps/draupnir/src/appservice/bot/ProvisionCommand.tsx index 54976601..7492ebbe 100644 --- a/apps/draupnir/src/appservice/bot/ProvisionCommand.tsx +++ b/apps/draupnir/src/appservice/bot/ProvisionCommand.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2026 Catalan Lover // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { AppserviceAdaptorContext } from "./AppserviceBotPrerequisite"; import { ActionResult, isError, Ok } from "matrix-protection-suite"; diff --git a/apps/draupnir/src/appservice/bot/VersionCommand.tsx b/apps/draupnir/src/appservice/bot/VersionCommand.tsx index 5fde85b3..1a03c241 100644 --- a/apps/draupnir/src/appservice/bot/VersionCommand.tsx +++ b/apps/draupnir/src/appservice/bot/VersionCommand.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2026 Catalan Lover // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { AppserviceAdaptorContext } from "./AppserviceBotPrerequisite"; import { ActionResult, Ok, isError } from "matrix-protection-suite"; diff --git a/apps/draupnir/src/appservice/cli.ts b/apps/draupnir/src/appservice/cli.ts index edc8d0e6..d3d542a6 100644 --- a/apps/draupnir/src/appservice/cli.ts +++ b/apps/draupnir/src/appservice/cli.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/appservice/config/REUSE.toml b/apps/draupnir/src/appservice/config/REUSE.toml index 6e68f391..9a507e9d 100644 --- a/apps/draupnir/src/appservice/config/REUSE.toml +++ b/apps/draupnir/src/appservice/config/REUSE.toml @@ -4,10 +4,10 @@ version = 1 path = "*.yaml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "CC0-1.0" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "CC0-1.0" +SPDX-License-Identifier = "Apache-2.0" diff --git a/apps/draupnir/src/appservice/config/config.ts b/apps/draupnir/src/appservice/config/config.ts index 66cd7e1f..03ff548f 100644 --- a/apps/draupnir/src/appservice/config/config.ts +++ b/apps/draupnir/src/appservice/config/config.ts @@ -2,7 +2,7 @@ // Copyright 2022 The Matrix.org Foundation C.I.C. // SPDX-FileCopyrightText: 2026 Catalan Lover // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/appservice/datastore.ts b/apps/draupnir/src/appservice/datastore.ts index 1e925d0f..3096740a 100644 --- a/apps/draupnir/src/appservice/datastore.ts +++ b/apps/draupnir/src/appservice/datastore.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/appservice/postgres/schema/v1.ts b/apps/draupnir/src/appservice/postgres/schema/v1.ts index b2d59e8e..a925c7b3 100644 --- a/apps/draupnir/src/appservice/postgres/schema/v1.ts +++ b/apps/draupnir/src/appservice/postgres/schema/v1.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: CC0-1.0 +// SPDX-License-Identifier: Apache-2.0 import postgres from "postgres"; diff --git a/apps/draupnir/src/appservice/postgres/schema/v2.ts b/apps/draupnir/src/appservice/postgres/schema/v2.ts index 8fc6434e..be83d0d8 100644 --- a/apps/draupnir/src/appservice/postgres/schema/v2.ts +++ b/apps/draupnir/src/appservice/postgres/schema/v2.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: CC0-1.0 +// SPDX-License-Identifier: Apache-2.0 import postgres from "postgres"; diff --git a/apps/draupnir/src/backingstore/better-sqlite3/SqliteRoomStateBackingStore.ts b/apps/draupnir/src/backingstore/better-sqlite3/SqliteRoomStateBackingStore.ts index e688183a..60f77e9c 100644 --- a/apps/draupnir/src/backingstore/better-sqlite3/SqliteRoomStateBackingStore.ts +++ b/apps/draupnir/src/backingstore/better-sqlite3/SqliteRoomStateBackingStore.ts @@ -1,6 +1,6 @@ // Copyright (C) 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionException, diff --git a/apps/draupnir/src/capabilities/DraupnirRendererMessageCollector.tsx b/apps/draupnir/src/capabilities/DraupnirRendererMessageCollector.tsx index 4fa1ae71..28670ee2 100644 --- a/apps/draupnir/src/capabilities/DraupnirRendererMessageCollector.tsx +++ b/apps/draupnir/src/capabilities/DraupnirRendererMessageCollector.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { RendererMessage, diff --git a/apps/draupnir/src/capabilities/RendererMessageCollector.ts b/apps/draupnir/src/capabilities/RendererMessageCollector.ts index 497c7ce4..9878f855 100644 --- a/apps/draupnir/src/capabilities/RendererMessageCollector.ts +++ b/apps/draupnir/src/capabilities/RendererMessageCollector.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { DocumentNode } from "@the-draupnir-project/interface-manager"; import { Capability, DescriptionMeta } from "matrix-protection-suite"; diff --git a/apps/draupnir/src/capabilities/ServerACLConsequencesRenderer.tsx b/apps/draupnir/src/capabilities/ServerACLConsequencesRenderer.tsx index 0cfcbb11..8e7c7973 100644 --- a/apps/draupnir/src/capabilities/ServerACLConsequencesRenderer.tsx +++ b/apps/draupnir/src/capabilities/ServerACLConsequencesRenderer.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/capabilities/StandardEventConsequencesRenderer.tsx b/apps/draupnir/src/capabilities/StandardEventConsequencesRenderer.tsx index 573e37fa..b1bed041 100644 --- a/apps/draupnir/src/capabilities/StandardEventConsequencesRenderer.tsx +++ b/apps/draupnir/src/capabilities/StandardEventConsequencesRenderer.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/capabilities/StandardUserConsequencesRenderer.tsx b/apps/draupnir/src/capabilities/StandardUserConsequencesRenderer.tsx index 701c82ae..16733cc6 100644 --- a/apps/draupnir/src/capabilities/StandardUserConsequencesRenderer.tsx +++ b/apps/draupnir/src/capabilities/StandardUserConsequencesRenderer.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/capabilities/capabilityIndex.ts b/apps/draupnir/src/capabilities/capabilityIndex.ts index 2a160ae2..b4c8ff3d 100644 --- a/apps/draupnir/src/capabilities/capabilityIndex.ts +++ b/apps/draupnir/src/capabilities/capabilityIndex.ts @@ -1,7 +1,7 @@ // Copyright 2022-2024 Gnuxie // Copyright 2019 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/AliasCommands.ts b/apps/draupnir/src/commands/AliasCommands.ts index ab5cee4e..c5d11008 100644 --- a/apps/draupnir/src/commands/AliasCommands.ts +++ b/apps/draupnir/src/commands/AliasCommands.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2020 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/Ban.tsx b/apps/draupnir/src/commands/Ban.tsx index 4087c3aa..8808c9da 100644 --- a/apps/draupnir/src/commands/Ban.tsx +++ b/apps/draupnir/src/commands/Ban.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2025 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/CreateBanListCommand.ts b/apps/draupnir/src/commands/CreateBanListCommand.ts index 6934cb4b..017eab4f 100644 --- a/apps/draupnir/src/commands/CreateBanListCommand.ts +++ b/apps/draupnir/src/commands/CreateBanListCommand.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/Help.tsx b/apps/draupnir/src/commands/Help.tsx index 7040b076..d6109d3b 100644 --- a/apps/draupnir/src/commands/Help.tsx +++ b/apps/draupnir/src/commands/Help.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/ImportCommand.ts b/apps/draupnir/src/commands/ImportCommand.ts index 7c70730f..b80ca362 100644 --- a/apps/draupnir/src/commands/ImportCommand.ts +++ b/apps/draupnir/src/commands/ImportCommand.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/KickCommand.tsx b/apps/draupnir/src/commands/KickCommand.tsx index 614949c7..c0c6f184 100644 --- a/apps/draupnir/src/commands/KickCommand.tsx +++ b/apps/draupnir/src/commands/KickCommand.tsx @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2020 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/ProtectionsCapabilitiesCommand.tsx b/apps/draupnir/src/commands/ProtectionsCapabilitiesCommand.tsx index 5f360d46..21e1fc4a 100644 --- a/apps/draupnir/src/commands/ProtectionsCapabilitiesCommand.tsx +++ b/apps/draupnir/src/commands/ProtectionsCapabilitiesCommand.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok, Result, ResultError, isError } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/commands/ProtectionsCommands.tsx b/apps/draupnir/src/commands/ProtectionsCommands.tsx index 88ac670b..74976577 100644 --- a/apps/draupnir/src/commands/ProtectionsCommands.tsx +++ b/apps/draupnir/src/commands/ProtectionsCommands.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/ProtectionsShowCommand.tsx b/apps/draupnir/src/commands/ProtectionsShowCommand.tsx index d3780c7c..730ed40a 100644 --- a/apps/draupnir/src/commands/ProtectionsShowCommand.tsx +++ b/apps/draupnir/src/commands/ProtectionsShowCommand.tsx @@ -1,6 +1,6 @@ // Copyright 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { DeadDocumentJSX, diff --git a/apps/draupnir/src/commands/RedactCommand.ts b/apps/draupnir/src/commands/RedactCommand.ts index f10cbb05..1c0ca734 100644 --- a/apps/draupnir/src/commands/RedactCommand.ts +++ b/apps/draupnir/src/commands/RedactCommand.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/ResolveAlias.tsx b/apps/draupnir/src/commands/ResolveAlias.tsx index b6c87e5b..06034055 100644 --- a/apps/draupnir/src/commands/ResolveAlias.tsx +++ b/apps/draupnir/src/commands/ResolveAlias.tsx @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2020 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/Rooms.tsx b/apps/draupnir/src/commands/Rooms.tsx index 64672e77..16ecc136 100644 --- a/apps/draupnir/src/commands/Rooms.tsx +++ b/apps/draupnir/src/commands/Rooms.tsx @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2020 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/Rules.tsx b/apps/draupnir/src/commands/Rules.tsx index 460d7f85..c22bdc79 100644 --- a/apps/draupnir/src/commands/Rules.tsx +++ b/apps/draupnir/src/commands/Rules.tsx @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/SafeModeCommand.ts b/apps/draupnir/src/commands/SafeModeCommand.ts index 648c2653..04d45484 100644 --- a/apps/draupnir/src/commands/SafeModeCommand.ts +++ b/apps/draupnir/src/commands/SafeModeCommand.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { BasicInvocationInformation, diff --git a/apps/draupnir/src/commands/SetDisplayNameCommand.ts b/apps/draupnir/src/commands/SetDisplayNameCommand.ts index 8a046b92..9ca99b83 100644 --- a/apps/draupnir/src/commands/SetDisplayNameCommand.ts +++ b/apps/draupnir/src/commands/SetDisplayNameCommand.ts @@ -1,6 +1,6 @@ // Copyright 2023 Marcel // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError, Ok, Result } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/commands/SetPowerLevelCommand.ts b/apps/draupnir/src/commands/SetPowerLevelCommand.ts index cca6dae0..3b043a54 100644 --- a/apps/draupnir/src/commands/SetPowerLevelCommand.ts +++ b/apps/draupnir/src/commands/SetPowerLevelCommand.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2020 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/StatusCommand.tsx b/apps/draupnir/src/commands/StatusCommand.tsx index b02de5e9..e6aca311 100644 --- a/apps/draupnir/src/commands/StatusCommand.tsx +++ b/apps/draupnir/src/commands/StatusCommand.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2026 Gnuxie // Copyright 2019 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/WatchPreview.tsx b/apps/draupnir/src/commands/WatchPreview.tsx index 4251bd90..3a920dca 100644 --- a/apps/draupnir/src/commands/WatchPreview.tsx +++ b/apps/draupnir/src/commands/WatchPreview.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { DeadDocumentJSX, diff --git a/apps/draupnir/src/commands/WatchUnwatchCommand.ts b/apps/draupnir/src/commands/WatchUnwatchCommand.ts index 0d7afa0b..1e68877c 100644 --- a/apps/draupnir/src/commands/WatchUnwatchCommand.ts +++ b/apps/draupnir/src/commands/WatchUnwatchCommand.ts @@ -1,7 +1,7 @@ // Copyright 2022, 2025 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/server-admin/DeactivateCommand.tsx b/apps/draupnir/src/commands/server-admin/DeactivateCommand.tsx index 356d1305..dd099f39 100644 --- a/apps/draupnir/src/commands/server-admin/DeactivateCommand.tsx +++ b/apps/draupnir/src/commands/server-admin/DeactivateCommand.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2025 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/server-admin/HijackRoomCommand.ts b/apps/draupnir/src/commands/server-admin/HijackRoomCommand.ts index e15996a6..4aaf8a2f 100644 --- a/apps/draupnir/src/commands/server-admin/HijackRoomCommand.ts +++ b/apps/draupnir/src/commands/server-admin/HijackRoomCommand.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021, 2022 Marco Cirillo // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/server-admin/ShutdownRoomCommand.ts b/apps/draupnir/src/commands/server-admin/ShutdownRoomCommand.ts index a3ed348c..6edfc12f 100644 --- a/apps/draupnir/src/commands/server-admin/ShutdownRoomCommand.ts +++ b/apps/draupnir/src/commands/server-admin/ShutdownRoomCommand.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2020 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/server-admin/SuspendCommand.tsx b/apps/draupnir/src/commands/server-admin/SuspendCommand.tsx index 0c746137..56881ce0 100644 --- a/apps/draupnir/src/commands/server-admin/SuspendCommand.tsx +++ b/apps/draupnir/src/commands/server-admin/SuspendCommand.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { BasicInvocationInformation, diff --git a/apps/draupnir/src/commands/server-admin/Takedown.tsx b/apps/draupnir/src/commands/server-admin/Takedown.tsx index 2ac7da06..b57f9f7a 100644 --- a/apps/draupnir/src/commands/server-admin/Takedown.tsx +++ b/apps/draupnir/src/commands/server-admin/Takedown.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { BasicInvocationInformation, diff --git a/apps/draupnir/src/commands/server-admin/UnrestrictCommand.tsx b/apps/draupnir/src/commands/server-admin/UnrestrictCommand.tsx index c6e3eec4..1b1f850c 100644 --- a/apps/draupnir/src/commands/server-admin/UnrestrictCommand.tsx +++ b/apps/draupnir/src/commands/server-admin/UnrestrictCommand.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { BasicInvocationInformation, diff --git a/apps/draupnir/src/commands/unban/PolicyRemove.tsx b/apps/draupnir/src/commands/unban/PolicyRemove.tsx index 71106d2b..f635e735 100644 --- a/apps/draupnir/src/commands/unban/PolicyRemove.tsx +++ b/apps/draupnir/src/commands/unban/PolicyRemove.tsx @@ -1,6 +1,6 @@ // Copyright 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { BasicInvocationInformation, diff --git a/apps/draupnir/src/commands/unban/Unban.tsx b/apps/draupnir/src/commands/unban/Unban.tsx index e00f2f81..19786297 100644 --- a/apps/draupnir/src/commands/unban/Unban.tsx +++ b/apps/draupnir/src/commands/unban/Unban.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2025 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/commands/unban/UnbanEntity.tsx b/apps/draupnir/src/commands/unban/UnbanEntity.tsx index d6ec8318..e88e9264 100644 --- a/apps/draupnir/src/commands/unban/UnbanEntity.tsx +++ b/apps/draupnir/src/commands/unban/UnbanEntity.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 // So the purpose of this is just to remove all policies related to an entity. // Prompt which policies will be removed, and then remove them if it's accepted. diff --git a/apps/draupnir/src/commands/unban/UnbanUsers.tsx b/apps/draupnir/src/commands/unban/UnbanUsers.tsx index 6778a152..3db99ec3 100644 --- a/apps/draupnir/src/commands/unban/UnbanUsers.tsx +++ b/apps/draupnir/src/commands/unban/UnbanUsers.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/config.ts b/apps/draupnir/src/config.ts index 77a73918..0d578fbd 100644 --- a/apps/draupnir/src/config.ts +++ b/apps/draupnir/src/config.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019, 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/draupnirfactory/DraupnirFactory.ts b/apps/draupnir/src/draupnirfactory/DraupnirFactory.ts index 224d8ee2..54754d7b 100644 --- a/apps/draupnir/src/draupnirfactory/DraupnirFactory.ts +++ b/apps/draupnir/src/draupnirfactory/DraupnirFactory.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionResult, diff --git a/apps/draupnir/src/draupnirfactory/DraupnirProtectedRoomsSet.ts b/apps/draupnir/src/draupnirfactory/DraupnirProtectedRoomsSet.ts index 2c4d5e57..700fea79 100644 --- a/apps/draupnir/src/draupnirfactory/DraupnirProtectedRoomsSet.ts +++ b/apps/draupnir/src/draupnirfactory/DraupnirProtectedRoomsSet.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/draupnirfactory/StandardDraupnirManager.ts b/apps/draupnir/src/draupnirfactory/StandardDraupnirManager.ts index 405d4c97..05c774a3 100644 --- a/apps/draupnir/src/draupnirfactory/StandardDraupnirManager.ts +++ b/apps/draupnir/src/draupnirfactory/StandardDraupnirManager.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/health/healthz.ts b/apps/draupnir/src/health/healthz.ts index 5c890bae..69d9cb88 100644 --- a/apps/draupnir/src/health/healthz.ts +++ b/apps/draupnir/src/health/healthz.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2020 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/index.ts b/apps/draupnir/src/index.ts index 2e344e5b..664d4f3e 100644 --- a/apps/draupnir/src/index.ts +++ b/apps/draupnir/src/index.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019, 2020 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/managementroom/ManagementRoomDetail.ts b/apps/draupnir/src/managementroom/ManagementRoomDetail.ts index 3f062e3f..b94be1d3 100644 --- a/apps/draupnir/src/managementroom/ManagementRoomDetail.ts +++ b/apps/draupnir/src/managementroom/ManagementRoomDetail.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/apps/draupnir/src/managementroom/ManagementRoomOutput.ts b/apps/draupnir/src/managementroom/ManagementRoomOutput.ts index fc11f08e..46ec78c2 100644 --- a/apps/draupnir/src/managementroom/ManagementRoomOutput.ts +++ b/apps/draupnir/src/managementroom/ManagementRoomOutput.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019, 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/models/RoomUpdateError.tsx b/apps/draupnir/src/models/RoomUpdateError.tsx index 809f627e..14e9e35b 100644 --- a/apps/draupnir/src/models/RoomUpdateError.tsx +++ b/apps/draupnir/src/models/RoomUpdateError.tsx @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/BanPropagation.tsx b/apps/draupnir/src/protections/BanPropagation.tsx index e425de39..8004a675 100644 --- a/apps/draupnir/src/protections/BanPropagation.tsx +++ b/apps/draupnir/src/protections/BanPropagation.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2025 Gnuxie // Copyright 2019 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/BasicFlooding.ts b/apps/draupnir/src/protections/BasicFlooding.ts index eed8ef3b..bef5404a 100644 --- a/apps/draupnir/src/protections/BasicFlooding.ts +++ b/apps/draupnir/src/protections/BasicFlooding.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019, 2020 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/BlockInvitationsOnServerProtection.tsx b/apps/draupnir/src/protections/BlockInvitationsOnServerProtection.tsx index c4ca3753..5dbfa93d 100644 --- a/apps/draupnir/src/protections/BlockInvitationsOnServerProtection.tsx +++ b/apps/draupnir/src/protections/BlockInvitationsOnServerProtection.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { AbstractProtection, diff --git a/apps/draupnir/src/protections/ConfigHooks.ts b/apps/draupnir/src/protections/ConfigHooks.ts index 26756c40..108405d1 100644 --- a/apps/draupnir/src/protections/ConfigHooks.ts +++ b/apps/draupnir/src/protections/ConfigHooks.ts @@ -1,6 +1,6 @@ // Copyright 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionResult, diff --git a/apps/draupnir/src/protections/ConfigMigration/DefaultEnabledProtectionsMigration.ts b/apps/draupnir/src/protections/ConfigMigration/DefaultEnabledProtectionsMigration.ts index 7b7f86ef..8560f8fd 100644 --- a/apps/draupnir/src/protections/ConfigMigration/DefaultEnabledProtectionsMigration.ts +++ b/apps/draupnir/src/protections/ConfigMigration/DefaultEnabledProtectionsMigration.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionError, diff --git a/apps/draupnir/src/protections/DraupnirNews/DraupnirNews.tsx b/apps/draupnir/src/protections/DraupnirNews/DraupnirNews.tsx index c5fb0ed0..0997ef6a 100644 --- a/apps/draupnir/src/protections/DraupnirNews/DraupnirNews.tsx +++ b/apps/draupnir/src/protections/DraupnirNews/DraupnirNews.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 - 2026 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok, Result } from "@gnuxie/typescript-result"; import { Type } from "@sinclair/typebox"; diff --git a/apps/draupnir/src/protections/DraupnirNews/news.json.license b/apps/draupnir/src/protections/DraupnirNews/news.json.license index f4ceed14..94100010 100644 --- a/apps/draupnir/src/protections/DraupnirNews/news.json.license +++ b/apps/draupnir/src/protections/DraupnirNews/news.json.license @@ -1,3 +1,3 @@ # SPDX-FileCopyrightText: 2025 Gnuxie # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 diff --git a/apps/draupnir/src/protections/DraupnirProtectionsIndex.ts b/apps/draupnir/src/protections/DraupnirProtectionsIndex.ts index a51f82d9..f9baf1c3 100644 --- a/apps/draupnir/src/protections/DraupnirProtectionsIndex.ts +++ b/apps/draupnir/src/protections/DraupnirProtectionsIndex.ts @@ -1,6 +1,6 @@ // Copyright 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 /** * This file exists as a way to register all protections. diff --git a/apps/draupnir/src/protections/FirstMessageIsImage.ts b/apps/draupnir/src/protections/FirstMessageIsImage.ts index 153995ae..8f7061b6 100644 --- a/apps/draupnir/src/protections/FirstMessageIsImage.ts +++ b/apps/draupnir/src/protections/FirstMessageIsImage.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019, 2020 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPolicyApplication.ts b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPolicyApplication.ts index a4740e1c..4e162100 100644 --- a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPolicyApplication.ts +++ b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPolicyApplication.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError, Ok, Result } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPolicyProtection.ts b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPolicyProtection.ts index 6048df03..a7bed5f1 100644 --- a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPolicyProtection.ts +++ b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPolicyProtection.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Type } from "@sinclair/typebox"; import { diff --git a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPurgingDeactivate.ts b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPurgingDeactivate.ts index d14427c5..5c485279 100644 --- a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPurgingDeactivate.ts +++ b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/HomeserverUserPurgingDeactivate.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 // Uses the user details api to check if the user is already locked or whatever // calls the redact thing diff --git a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/SqliteUserRestrictionAuditLog.ts b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/SqliteUserRestrictionAuditLog.ts index 0b5b2f00..6a7fb2fc 100644 --- a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/SqliteUserRestrictionAuditLog.ts +++ b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/SqliteUserRestrictionAuditLog.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringUserID } from "@the-draupnir-project/matrix-basic-types"; import { diff --git a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionAuditLog.ts b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionAuditLog.ts index f0fb6679..16d65f47 100644 --- a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionAuditLog.ts +++ b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionAuditLog.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; import { StringUserID } from "@the-draupnir-project/matrix-basic-types"; diff --git a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionCapability.ts b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionCapability.ts index 75fa6689..1def4da3 100644 --- a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionCapability.ts +++ b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionCapability.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; import { Type } from "@sinclair/typebox"; diff --git a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionCapabilityRenderer.tsx b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionCapabilityRenderer.tsx index 7acf5412..506644a8 100644 --- a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionCapabilityRenderer.tsx +++ b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserRestrictionCapabilityRenderer.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { describeCapabilityRenderer, diff --git a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserSuspensionCapability.ts b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserSuspensionCapability.ts index 786f1b48..12130577 100644 --- a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserSuspensionCapability.ts +++ b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/UserSuspensionCapability.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { AccountRestriction, diff --git a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/deactivateUser.ts b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/deactivateUser.ts index daa6f22f..7f3dcfd2 100644 --- a/apps/draupnir/src/protections/HomeserverUserPolicyApplication/deactivateUser.ts +++ b/apps/draupnir/src/protections/HomeserverUserPolicyApplication/deactivateUser.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError, Ok, Result } from "@gnuxie/typescript-result"; import { StringUserID } from "@the-draupnir-project/matrix-basic-types"; diff --git a/apps/draupnir/src/protections/InvalidEventProtection.tsx b/apps/draupnir/src/protections/InvalidEventProtection.tsx index ae2f0703..81473a0d 100644 --- a/apps/draupnir/src/protections/InvalidEventProtection.tsx +++ b/apps/draupnir/src/protections/InvalidEventProtection.tsx @@ -1,6 +1,6 @@ // Copyright 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Type } from "@sinclair/typebox"; import { diff --git a/apps/draupnir/src/protections/JoinWaveShortCircuit.tsx b/apps/draupnir/src/protections/JoinWaveShortCircuit.tsx index 878bb274..28d5a116 100644 --- a/apps/draupnir/src/protections/JoinWaveShortCircuit.tsx +++ b/apps/draupnir/src/protections/JoinWaveShortCircuit.tsx @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/MessageIsMedia.ts b/apps/draupnir/src/protections/MessageIsMedia.ts index 502cf725..695d78e5 100644 --- a/apps/draupnir/src/protections/MessageIsMedia.ts +++ b/apps/draupnir/src/protections/MessageIsMedia.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/MessageIsVoice.ts b/apps/draupnir/src/protections/MessageIsVoice.ts index e93b0504..a79a36bf 100644 --- a/apps/draupnir/src/protections/MessageIsVoice.ts +++ b/apps/draupnir/src/protections/MessageIsVoice.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/MissingProtectionPermissions.tsx b/apps/draupnir/src/protections/MissingProtectionPermissions.tsx index ca32ca65..8b38932d 100644 --- a/apps/draupnir/src/protections/MissingProtectionPermissions.tsx +++ b/apps/draupnir/src/protections/MissingProtectionPermissions.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { HandleMissingProtectionPermissions, diff --git a/apps/draupnir/src/protections/NewJoinerProtection.ts b/apps/draupnir/src/protections/NewJoinerProtection.ts index c4a06c1b..99bb2ca5 100644 --- a/apps/draupnir/src/protections/NewJoinerProtection.ts +++ b/apps/draupnir/src/protections/NewJoinerProtection.ts @@ -1,6 +1,6 @@ // Copyright 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { AbstractProtection, diff --git a/apps/draupnir/src/protections/NotificationRoom/NotificationRoom.ts b/apps/draupnir/src/protections/NotificationRoom/NotificationRoom.ts index 5896b5f6..1d545392 100644 --- a/apps/draupnir/src/protections/NotificationRoom/NotificationRoom.ts +++ b/apps/draupnir/src/protections/NotificationRoom/NotificationRoom.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok, Result } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/protections/PolicyChangeNotification.tsx b/apps/draupnir/src/protections/PolicyChangeNotification.tsx index e4b8d9ce..6036fcfb 100644 --- a/apps/draupnir/src/protections/PolicyChangeNotification.tsx +++ b/apps/draupnir/src/protections/PolicyChangeNotification.tsx @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2022 - 2024 Gnuxie // SPDX-FileCopyrightText: 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/ProtectedRooms/ProtectJoinedRooms.tsx b/apps/draupnir/src/protections/ProtectedRooms/ProtectJoinedRooms.tsx index 4eb32402..84283431 100644 --- a/apps/draupnir/src/protections/ProtectedRooms/ProtectJoinedRooms.tsx +++ b/apps/draupnir/src/protections/ProtectedRooms/ProtectJoinedRooms.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomReference, diff --git a/apps/draupnir/src/protections/ProtectedRooms/ProtectReplacementRooms.tsx b/apps/draupnir/src/protections/ProtectedRooms/ProtectReplacementRooms.tsx index f6240741..b0f7ea29 100644 --- a/apps/draupnir/src/protections/ProtectedRooms/ProtectReplacementRooms.tsx +++ b/apps/draupnir/src/protections/ProtectedRooms/ProtectReplacementRooms.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError, Ok, Result, ResultError } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/protections/ProtectedRooms/RoomsSetBehaviourProtection.tsx b/apps/draupnir/src/protections/ProtectedRooms/RoomsSetBehaviourProtection.tsx index f5b484e0..e28c3fd9 100644 --- a/apps/draupnir/src/protections/ProtectedRooms/RoomsSetBehaviourProtection.tsx +++ b/apps/draupnir/src/protections/ProtectedRooms/RoomsSetBehaviourProtection.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { AbstractProtection, diff --git a/apps/draupnir/src/protections/ProtectedRooms/UnprotectPartedRooms.tsx b/apps/draupnir/src/protections/ProtectedRooms/UnprotectPartedRooms.tsx index 9bc40ff6..a48d70ad 100644 --- a/apps/draupnir/src/protections/ProtectedRooms/UnprotectPartedRooms.tsx +++ b/apps/draupnir/src/protections/ProtectedRooms/UnprotectPartedRooms.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomReference, diff --git a/apps/draupnir/src/protections/ProtectedRooms/WatchReplacementPolicyRooms.tsx b/apps/draupnir/src/protections/ProtectedRooms/WatchReplacementPolicyRooms.tsx index f9f09ed1..c45c8138 100644 --- a/apps/draupnir/src/protections/ProtectedRooms/WatchReplacementPolicyRooms.tsx +++ b/apps/draupnir/src/protections/ProtectedRooms/WatchReplacementPolicyRooms.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { DocumentNode } from "@the-draupnir-project/interface-manager"; import { diff --git a/apps/draupnir/src/protections/ProtectedRoomsSetRenderers.tsx b/apps/draupnir/src/protections/ProtectedRoomsSetRenderers.tsx index cdb0fb52..9cb11bc0 100644 --- a/apps/draupnir/src/protections/ProtectedRoomsSetRenderers.tsx +++ b/apps/draupnir/src/protections/ProtectedRoomsSetRenderers.tsx @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/Protection.ts b/apps/draupnir/src/protections/Protection.ts index 5b0fd41b..55a5a961 100644 --- a/apps/draupnir/src/protections/Protection.ts +++ b/apps/draupnir/src/protections/Protection.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/RedactionSynchronisation.ts b/apps/draupnir/src/protections/RedactionSynchronisation.ts index ba4873f9..2270c133 100644 --- a/apps/draupnir/src/protections/RedactionSynchronisation.ts +++ b/apps/draupnir/src/protections/RedactionSynchronisation.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 - 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { AbstractProtection, diff --git a/apps/draupnir/src/protections/RoomTakedown/RoomDiscoveryRenderer.tsx b/apps/draupnir/src/protections/RoomTakedown/RoomDiscoveryRenderer.tsx index 981a6baf..1e8656cb 100644 --- a/apps/draupnir/src/protections/RoomTakedown/RoomDiscoveryRenderer.tsx +++ b/apps/draupnir/src/protections/RoomTakedown/RoomDiscoveryRenderer.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { DocumentNode } from "@the-draupnir-project/interface-manager"; import { RoomBasicDetails } from "matrix-protection-suite"; diff --git a/apps/draupnir/src/protections/RoomTakedown/SynapseAdminRoomDetails.ts b/apps/draupnir/src/protections/RoomTakedown/SynapseAdminRoomDetails.ts index b1678c30..5d83991f 100644 --- a/apps/draupnir/src/protections/RoomTakedown/SynapseAdminRoomDetails.ts +++ b/apps/draupnir/src/protections/RoomTakedown/SynapseAdminRoomDetails.ts @@ -1,3 +1,3 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 diff --git a/apps/draupnir/src/protections/TrustedReporters.ts b/apps/draupnir/src/protections/TrustedReporters.ts index 98a50272..eca95c71 100644 --- a/apps/draupnir/src/protections/TrustedReporters.ts +++ b/apps/draupnir/src/protections/TrustedReporters.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/WordList.ts b/apps/draupnir/src/protections/WordList.ts index b9ff9765..b28836ed 100644 --- a/apps/draupnir/src/protections/WordList.ts +++ b/apps/draupnir/src/protections/WordList.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2020 Emi Tatsuo Simpson et al. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/invitation/JoinRoomsOnInviteProtection.tsx b/apps/draupnir/src/protections/invitation/JoinRoomsOnInviteProtection.tsx index ee3ccc4d..6d6cf50c 100644 --- a/apps/draupnir/src/protections/invitation/JoinRoomsOnInviteProtection.tsx +++ b/apps/draupnir/src/protections/invitation/JoinRoomsOnInviteProtection.tsx @@ -1,7 +1,7 @@ // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // Copyright 2022 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/invitation/ProtectRoomsOnInvite.tsx b/apps/draupnir/src/protections/invitation/ProtectRoomsOnInvite.tsx index 1ee9a3ab..6946668e 100644 --- a/apps/draupnir/src/protections/invitation/ProtectRoomsOnInvite.tsx +++ b/apps/draupnir/src/protections/invitation/ProtectRoomsOnInvite.tsx @@ -1,7 +1,7 @@ // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // Copyright 2022 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/invitation/WatchRoomsOnInvite.tsx b/apps/draupnir/src/protections/invitation/WatchRoomsOnInvite.tsx index 39b3f24b..4aaafbee 100644 --- a/apps/draupnir/src/protections/invitation/WatchRoomsOnInvite.tsx +++ b/apps/draupnir/src/protections/invitation/WatchRoomsOnInvite.tsx @@ -1,7 +1,7 @@ // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // Copyright 2022 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/protections/invitation/inviteCore.ts b/apps/draupnir/src/protections/invitation/inviteCore.ts index 58203565..c5c7cd2c 100644 --- a/apps/draupnir/src/protections/invitation/inviteCore.ts +++ b/apps/draupnir/src/protections/invitation/inviteCore.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringUserID } from "@the-draupnir-project/matrix-basic-types"; import { diff --git a/apps/draupnir/src/queues/EventRedactionQueue.ts b/apps/draupnir/src/queues/EventRedactionQueue.ts index 53f28a85..ab475425 100644 --- a/apps/draupnir/src/queues/EventRedactionQueue.ts +++ b/apps/draupnir/src/queues/EventRedactionQueue.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/queues/ProtectedRoomActivityTracker.ts b/apps/draupnir/src/queues/ProtectedRoomActivityTracker.ts index d5dd7cf2..4f7aa9f0 100644 --- a/apps/draupnir/src/queues/ProtectedRoomActivityTracker.ts +++ b/apps/draupnir/src/queues/ProtectedRoomActivityTracker.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/queues/ThrottlingQueue.ts b/apps/draupnir/src/queues/ThrottlingQueue.ts index d99556e3..0f3ad59c 100644 --- a/apps/draupnir/src/queues/ThrottlingQueue.ts +++ b/apps/draupnir/src/queues/ThrottlingQueue.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/queues/TimelineRedactionQueue.ts b/apps/draupnir/src/queues/TimelineRedactionQueue.ts index a606a4df..a9ad76a1 100644 --- a/apps/draupnir/src/queues/TimelineRedactionQueue.ts +++ b/apps/draupnir/src/queues/TimelineRedactionQueue.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError, Ok, Result } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/queues/UnlistedUserRedactionQueue.ts b/apps/draupnir/src/queues/UnlistedUserRedactionQueue.ts index 428fedbf..cae52723 100644 --- a/apps/draupnir/src/queues/UnlistedUserRedactionQueue.ts +++ b/apps/draupnir/src/queues/UnlistedUserRedactionQueue.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/report/ReportManager.ts b/apps/draupnir/src/report/ReportManager.ts index b48a061f..ac928f6d 100644 --- a/apps/draupnir/src/report/ReportManager.ts +++ b/apps/draupnir/src/report/ReportManager.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/report/ReportPoller.ts b/apps/draupnir/src/report/ReportPoller.ts index 55fec39e..c3771bbd 100644 --- a/apps/draupnir/src/report/ReportPoller.ts +++ b/apps/draupnir/src/report/ReportPoller.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/safemode/BootOption.ts b/apps/draupnir/src/safemode/BootOption.ts index 7f8083db..de51ce2b 100644 --- a/apps/draupnir/src/safemode/BootOption.ts +++ b/apps/draupnir/src/safemode/BootOption.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 export enum SafeModeBootOption { RecoveryOnly = "RecoveryOnly", diff --git a/apps/draupnir/src/safemode/DraupnirSafeMode.ts b/apps/draupnir/src/safemode/DraupnirSafeMode.ts index cbefe0b0..3c2acc4e 100644 --- a/apps/draupnir/src/safemode/DraupnirSafeMode.ts +++ b/apps/draupnir/src/safemode/DraupnirSafeMode.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ClientPlatform, diff --git a/apps/draupnir/src/safemode/ManagementRoom.ts b/apps/draupnir/src/safemode/ManagementRoom.ts index 1e10478a..48e0900d 100644 --- a/apps/draupnir/src/safemode/ManagementRoom.ts +++ b/apps/draupnir/src/safemode/ManagementRoom.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/safemode/PersistentConfigEditor.ts b/apps/draupnir/src/safemode/PersistentConfigEditor.ts index 713485ab..8f364110 100644 --- a/apps/draupnir/src/safemode/PersistentConfigEditor.ts +++ b/apps/draupnir/src/safemode/PersistentConfigEditor.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok, Result, isError } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/safemode/PersistentConfigRenderer.tsx b/apps/draupnir/src/safemode/PersistentConfigRenderer.tsx index a8af8c1c..9d463f09 100644 --- a/apps/draupnir/src/safemode/PersistentConfigRenderer.tsx +++ b/apps/draupnir/src/safemode/PersistentConfigRenderer.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { DeadDocumentJSX, diff --git a/apps/draupnir/src/safemode/RecoveryOptions.tsx b/apps/draupnir/src/safemode/RecoveryOptions.tsx index 587ac13a..497d318c 100644 --- a/apps/draupnir/src/safemode/RecoveryOptions.tsx +++ b/apps/draupnir/src/safemode/RecoveryOptions.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { DeadDocumentJSX, diff --git a/apps/draupnir/src/safemode/SafeModeCause.ts b/apps/draupnir/src/safemode/SafeModeCause.ts index 19e94122..06fbeb79 100644 --- a/apps/draupnir/src/safemode/SafeModeCause.ts +++ b/apps/draupnir/src/safemode/SafeModeCause.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ResultError } from "@gnuxie/typescript-result"; import { StringUserID } from "@the-draupnir-project/matrix-basic-types"; diff --git a/apps/draupnir/src/safemode/SafeModeCommandDispatcher.ts b/apps/draupnir/src/safemode/SafeModeCommandDispatcher.ts index 9fa4a798..a087b893 100644 --- a/apps/draupnir/src/safemode/SafeModeCommandDispatcher.ts +++ b/apps/draupnir/src/safemode/SafeModeCommandDispatcher.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { BasicInvocationInformation, diff --git a/apps/draupnir/src/safemode/SafeModeToggle.ts b/apps/draupnir/src/safemode/SafeModeToggle.ts index f5913bbd..8f05cf10 100644 --- a/apps/draupnir/src/safemode/SafeModeToggle.ts +++ b/apps/draupnir/src/safemode/SafeModeToggle.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Err, Result, ResultError } from "@gnuxie/typescript-result"; import { Draupnir } from "../Draupnir"; diff --git a/apps/draupnir/src/safemode/commands/HelpCommand.tsx b/apps/draupnir/src/safemode/commands/HelpCommand.tsx index 14d2a70e..5b915406 100644 --- a/apps/draupnir/src/safemode/commands/HelpCommand.tsx +++ b/apps/draupnir/src/safemode/commands/HelpCommand.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { SafeModeCommands } from "./SafeModeCommands"; import { SafeModeInterfaceAdaptor } from "./SafeModeAdaptor"; diff --git a/apps/draupnir/src/safemode/commands/RecoverCommand.tsx b/apps/draupnir/src/safemode/commands/RecoverCommand.tsx index 63207443..02706a88 100644 --- a/apps/draupnir/src/safemode/commands/RecoverCommand.tsx +++ b/apps/draupnir/src/safemode/commands/RecoverCommand.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok, Result, ResultError, isError } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/safemode/commands/RestartDraupnirCommand.ts b/apps/draupnir/src/safemode/commands/RestartDraupnirCommand.ts index e40048a2..4297d273 100644 --- a/apps/draupnir/src/safemode/commands/RestartDraupnirCommand.ts +++ b/apps/draupnir/src/safemode/commands/RestartDraupnirCommand.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { describeCommand } from "@the-draupnir-project/interface-manager"; import { Draupnir } from "../../Draupnir"; diff --git a/apps/draupnir/src/safemode/commands/SafeModeAdaptor.ts b/apps/draupnir/src/safemode/commands/SafeModeAdaptor.ts index 4bfe4707..aacffee8 100644 --- a/apps/draupnir/src/safemode/commands/SafeModeAdaptor.ts +++ b/apps/draupnir/src/safemode/commands/SafeModeAdaptor.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StandardAdaptorContextToCommandContextTranslator, diff --git a/apps/draupnir/src/safemode/commands/SafeModeCommands.tsx b/apps/draupnir/src/safemode/commands/SafeModeCommands.tsx index 1b6dae9f..3d354233 100644 --- a/apps/draupnir/src/safemode/commands/SafeModeCommands.tsx +++ b/apps/draupnir/src/safemode/commands/SafeModeCommands.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StandardCommandTable, diff --git a/apps/draupnir/src/safemode/commands/StatusCommand.tsx b/apps/draupnir/src/safemode/commands/StatusCommand.tsx index 8ef3e8d2..d582169b 100644 --- a/apps/draupnir/src/safemode/commands/StatusCommand.tsx +++ b/apps/draupnir/src/safemode/commands/StatusCommand.tsx @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result, ResultError } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/src/utils.ts b/apps/draupnir/src/utils.ts index 8730eb32..c47cfdea 100644 --- a/apps/draupnir/src/utils.ts +++ b/apps/draupnir/src/utils.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/src/webapis/SynapseHTTPAntispam/CheckEventForSpamEndpoint.ts b/apps/draupnir/src/webapis/SynapseHTTPAntispam/CheckEventForSpamEndpoint.ts index 9c69a56b..95046731 100644 --- a/apps/draupnir/src/webapis/SynapseHTTPAntispam/CheckEventForSpamEndpoint.ts +++ b/apps/draupnir/src/webapis/SynapseHTTPAntispam/CheckEventForSpamEndpoint.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Type } from "@sinclair/typebox"; import { diff --git a/apps/draupnir/src/webapis/SynapseHTTPAntispam/SpamCheckEndpointPluginManager.ts b/apps/draupnir/src/webapis/SynapseHTTPAntispam/SpamCheckEndpointPluginManager.ts index 97efd322..d5fcb2e9 100644 --- a/apps/draupnir/src/webapis/SynapseHTTPAntispam/SpamCheckEndpointPluginManager.ts +++ b/apps/draupnir/src/webapis/SynapseHTTPAntispam/SpamCheckEndpointPluginManager.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Logger, Task } from "matrix-protection-suite"; diff --git a/apps/draupnir/src/webapis/SynapseHTTPAntispam/SynapseHttpAntispam.ts b/apps/draupnir/src/webapis/SynapseHTTPAntispam/SynapseHttpAntispam.ts index d58edc4b..fe5c451b 100644 --- a/apps/draupnir/src/webapis/SynapseHTTPAntispam/SynapseHttpAntispam.ts +++ b/apps/draupnir/src/webapis/SynapseHTTPAntispam/SynapseHttpAntispam.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Express, Request, Response } from "express"; import { SpamCheckEndpointPluginManager } from "./SpamCheckEndpointPluginManager"; diff --git a/apps/draupnir/src/webapis/SynapseHTTPAntispam/UserMayInviteEndpoint.ts b/apps/draupnir/src/webapis/SynapseHTTPAntispam/UserMayInviteEndpoint.ts index 3059ce35..6a4de2f3 100644 --- a/apps/draupnir/src/webapis/SynapseHTTPAntispam/UserMayInviteEndpoint.ts +++ b/apps/draupnir/src/webapis/SynapseHTTPAntispam/UserMayInviteEndpoint.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { SpamCheckEndpointPluginManager } from "./SpamCheckEndpointPluginManager"; import { Request, Response } from "express"; diff --git a/apps/draupnir/src/webapis/SynapseHTTPAntispam/UserMayJoinRoomEndpoint.ts b/apps/draupnir/src/webapis/SynapseHTTPAntispam/UserMayJoinRoomEndpoint.ts index 135978e0..f53168e5 100644 --- a/apps/draupnir/src/webapis/SynapseHTTPAntispam/UserMayJoinRoomEndpoint.ts +++ b/apps/draupnir/src/webapis/SynapseHTTPAntispam/UserMayJoinRoomEndpoint.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Type } from "@sinclair/typebox"; import { diff --git a/apps/draupnir/src/webapis/WebAPIs.ts b/apps/draupnir/src/webapis/WebAPIs.ts index 7ef3de1c..8304d955 100644 --- a/apps/draupnir/src/webapis/WebAPIs.ts +++ b/apps/draupnir/src/webapis/WebAPIs.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/appservice/integration/listUnstartedDraupnirTest.ts b/apps/draupnir/test/appservice/integration/listUnstartedDraupnirTest.ts index a914b9e1..6ae60193 100644 --- a/apps/draupnir/test/appservice/integration/listUnstartedDraupnirTest.ts +++ b/apps/draupnir/test/appservice/integration/listUnstartedDraupnirTest.ts @@ -1,6 +1,6 @@ // Copyright 2022 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import expect from "expect"; import { MjolnirAppService } from "../../../src/appservice/AppService"; diff --git a/apps/draupnir/test/appservice/integration/provisionTest.ts b/apps/draupnir/test/appservice/integration/provisionTest.ts index bb29cde5..7307daed 100644 --- a/apps/draupnir/test/appservice/integration/provisionTest.ts +++ b/apps/draupnir/test/appservice/integration/provisionTest.ts @@ -2,7 +2,7 @@ // Copyright 2022 The Matrix.org Foundation C.I.C. // SPDX-FileCopyrightText: 2026 Catalan Lover // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/appservice/integration/safeModeRecoverTest.ts b/apps/draupnir/test/appservice/integration/safeModeRecoverTest.ts index 06c017ba..b8284b1c 100644 --- a/apps/draupnir/test/appservice/integration/safeModeRecoverTest.ts +++ b/apps/draupnir/test/appservice/integration/safeModeRecoverTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringUserID } from "@the-draupnir-project/matrix-basic-types"; import { MjolnirAppService } from "../../../src/appservice/AppService"; diff --git a/apps/draupnir/test/appservice/integration/safeModeToggleTest.ts b/apps/draupnir/test/appservice/integration/safeModeToggleTest.ts index 39ea11eb..f2806f36 100644 --- a/apps/draupnir/test/appservice/integration/safeModeToggleTest.ts +++ b/apps/draupnir/test/appservice/integration/safeModeToggleTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringUserID } from "@the-draupnir-project/matrix-basic-types"; import { MjolnirAppService } from "../../../src/appservice/AppService"; diff --git a/apps/draupnir/test/appservice/integration/versionAndBranchDraupnirTest.ts b/apps/draupnir/test/appservice/integration/versionAndBranchDraupnirTest.ts index 90ad06ec..05d0ccbe 100644 --- a/apps/draupnir/test/appservice/integration/versionAndBranchDraupnirTest.ts +++ b/apps/draupnir/test/appservice/integration/versionAndBranchDraupnirTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2026 Catalan Lover // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import expect from "expect"; import { MjolnirAppService } from "../../../src/appservice/AppService"; diff --git a/apps/draupnir/test/appservice/utils/ProvisionHelper.ts b/apps/draupnir/test/appservice/utils/ProvisionHelper.ts index a1e7d879..4c0cc069 100644 --- a/apps/draupnir/test/appservice/utils/ProvisionHelper.ts +++ b/apps/draupnir/test/appservice/utils/ProvisionHelper.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok, Result, ResultError, isError } from "@gnuxie/typescript-result"; import { Draupnir } from "../../../src/Draupnir"; diff --git a/apps/draupnir/test/appservice/utils/harness.ts b/apps/draupnir/test/appservice/utils/harness.ts index 80392257..38916e31 100644 --- a/apps/draupnir/test/appservice/utils/harness.ts +++ b/apps/draupnir/test/appservice/utils/harness.ts @@ -2,7 +2,7 @@ // Copyright 2022 The Matrix.org Foundation C.I.C. // SPDX-FileCopyrightText: 2026 Catalan Lover // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/draupnir_news.json.license b/apps/draupnir/test/draupnir_news.json.license index f4ceed14..94100010 100644 --- a/apps/draupnir/test/draupnir_news.json.license +++ b/apps/draupnir/test/draupnir_news.json.license @@ -1,3 +1,3 @@ # SPDX-FileCopyrightText: 2025 Gnuxie # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 diff --git a/apps/draupnir/test/integration/abuseReportTest.ts b/apps/draupnir/test/integration/abuseReportTest.ts index 022400d9..187dbb98 100644 --- a/apps/draupnir/test/integration/abuseReportTest.ts +++ b/apps/draupnir/test/integration/abuseReportTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/banPropagationTest.ts b/apps/draupnir/test/integration/banPropagationTest.ts index 15f435d9..b65eceb6 100644 --- a/apps/draupnir/test/integration/banPropagationTest.ts +++ b/apps/draupnir/test/integration/banPropagationTest.ts @@ -1,6 +1,6 @@ // Copyright 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import expect from "expect"; import { newTestUser } from "./clientHelper"; diff --git a/apps/draupnir/test/integration/clientHelper.ts b/apps/draupnir/test/integration/clientHelper.ts index 8afc7c23..16ab0f3d 100644 --- a/apps/draupnir/test/integration/clientHelper.ts +++ b/apps/draupnir/test/integration/clientHelper.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/commands/commandUtils.ts b/apps/draupnir/test/integration/commands/commandUtils.ts index 443761f0..02b56690 100644 --- a/apps/draupnir/test/integration/commands/commandUtils.ts +++ b/apps/draupnir/test/integration/commands/commandUtils.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/commands/hijackRoomCommandTest.ts b/apps/draupnir/test/integration/commands/hijackRoomCommandTest.ts index da789645..62a1a8e4 100644 --- a/apps/draupnir/test/integration/commands/hijackRoomCommandTest.ts +++ b/apps/draupnir/test/integration/commands/hijackRoomCommandTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021, 2022 Marco Cirillo // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/commands/recoverCommandDetail.ts b/apps/draupnir/test/integration/commands/recoverCommandDetail.ts index e1056077..aba2732c 100644 --- a/apps/draupnir/test/integration/commands/recoverCommandDetail.ts +++ b/apps/draupnir/test/integration/commands/recoverCommandDetail.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MJOLNIR_PROTECTED_ROOMS_EVENT_TYPE, diff --git a/apps/draupnir/test/integration/commands/recoverCommandTest.ts b/apps/draupnir/test/integration/commands/recoverCommandTest.ts index 1dc2bed7..26f44231 100644 --- a/apps/draupnir/test/integration/commands/recoverCommandTest.ts +++ b/apps/draupnir/test/integration/commands/recoverCommandTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringUserID } from "@the-draupnir-project/matrix-basic-types"; import { newTestUser } from "../clientHelper"; diff --git a/apps/draupnir/test/integration/commands/redactCommandTest.ts b/apps/draupnir/test/integration/commands/redactCommandTest.ts index a2c652b5..bfbb6653 100644 --- a/apps/draupnir/test/integration/commands/redactCommandTest.ts +++ b/apps/draupnir/test/integration/commands/redactCommandTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/commands/roomsTest.ts b/apps/draupnir/test/integration/commands/roomsTest.ts index 66690e17..99cde534 100644 --- a/apps/draupnir/test/integration/commands/roomsTest.ts +++ b/apps/draupnir/test/integration/commands/roomsTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/commands/shutdownCommandTest.ts b/apps/draupnir/test/integration/commands/shutdownCommandTest.ts index bb7aaff9..db64211c 100644 --- a/apps/draupnir/test/integration/commands/shutdownCommandTest.ts +++ b/apps/draupnir/test/integration/commands/shutdownCommandTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/commands/unbanTest.ts b/apps/draupnir/test/integration/commands/unbanTest.ts index 316f0f10..6fd419ba 100644 --- a/apps/draupnir/test/integration/commands/unbanTest.ts +++ b/apps/draupnir/test/integration/commands/unbanTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 // 1. We need to test glob on user, literal on user, and server on user all get // removed when using unban. diff --git a/apps/draupnir/test/integration/fixtures.ts b/apps/draupnir/test/integration/fixtures.ts index eb97e209..1da006a6 100644 --- a/apps/draupnir/test/integration/fixtures.ts +++ b/apps/draupnir/test/integration/fixtures.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/helloTest.ts b/apps/draupnir/test/integration/helloTest.ts index 5b32fe40..0a77d5c2 100644 --- a/apps/draupnir/test/integration/helloTest.ts +++ b/apps/draupnir/test/integration/helloTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/httpAntispamTest.ts b/apps/draupnir/test/integration/httpAntispamTest.ts index cb0e4514..7e17d362 100644 --- a/apps/draupnir/test/integration/httpAntispamTest.ts +++ b/apps/draupnir/test/integration/httpAntispamTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import expect from "expect"; import { DraupnirTestContext } from "./mjolnirSetupUtils"; diff --git a/apps/draupnir/test/integration/mjolnirSetupUtils.ts b/apps/draupnir/test/integration/mjolnirSetupUtils.ts index 429f6d42..06d247ee 100644 --- a/apps/draupnir/test/integration/mjolnirSetupUtils.ts +++ b/apps/draupnir/test/integration/mjolnirSetupUtils.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/protections/BlockInvitationsOnServerTest.ts b/apps/draupnir/test/integration/protections/BlockInvitationsOnServerTest.ts index dc846fbf..36681eb8 100644 --- a/apps/draupnir/test/integration/protections/BlockInvitationsOnServerTest.ts +++ b/apps/draupnir/test/integration/protections/BlockInvitationsOnServerTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomReference, diff --git a/apps/draupnir/test/integration/protections/JoinRoomsOnInviteTest.ts b/apps/draupnir/test/integration/protections/JoinRoomsOnInviteTest.ts index 07e1ca5e..e8191bfb 100644 --- a/apps/draupnir/test/integration/protections/JoinRoomsOnInviteTest.ts +++ b/apps/draupnir/test/integration/protections/JoinRoomsOnInviteTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomReference, diff --git a/apps/draupnir/test/integration/protections/RoomTakedownProtectionTest.ts b/apps/draupnir/test/integration/protections/RoomTakedownProtectionTest.ts index f92d3e25..7780c3f6 100644 --- a/apps/draupnir/test/integration/protections/RoomTakedownProtectionTest.ts +++ b/apps/draupnir/test/integration/protections/RoomTakedownProtectionTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomReference, diff --git a/apps/draupnir/test/integration/reportPollingTest.ts b/apps/draupnir/test/integration/reportPollingTest.ts index 2549055b..974052bd 100644 --- a/apps/draupnir/test/integration/reportPollingTest.ts +++ b/apps/draupnir/test/integration/reportPollingTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/throttleQueueTest.ts b/apps/draupnir/test/integration/throttleQueueTest.ts index c06f52a3..470351b6 100644 --- a/apps/draupnir/test/integration/throttleQueueTest.ts +++ b/apps/draupnir/test/integration/throttleQueueTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/throttleTest.ts b/apps/draupnir/test/integration/throttleTest.ts index 541fd75c..bd10c8a6 100644 --- a/apps/draupnir/test/integration/throttleTest.ts +++ b/apps/draupnir/test/integration/throttleTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/timelinePaginationTest.ts b/apps/draupnir/test/integration/timelinePaginationTest.ts index 0743309b..009b1e1a 100644 --- a/apps/draupnir/test/integration/timelinePaginationTest.ts +++ b/apps/draupnir/test/integration/timelinePaginationTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/integration/utilsTest.ts b/apps/draupnir/test/integration/utilsTest.ts index f2426ede..a8ca6bfe 100644 --- a/apps/draupnir/test/integration/utilsTest.ts +++ b/apps/draupnir/test/integration/utilsTest.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2021 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/apps/draupnir/test/nginx.conf b/apps/draupnir/test/nginx.conf index f51583c3..bc5b5b29 100644 --- a/apps/draupnir/test/nginx.conf +++ b/apps/draupnir/test/nginx.conf @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: Apache-2.0 events { diff --git a/apps/draupnir/test/tsnode.cjs b/apps/draupnir/test/tsnode.cjs index 341db36c..46d5bd46 100644 --- a/apps/draupnir/test/tsnode.cjs +++ b/apps/draupnir/test/tsnode.cjs @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: CC0-1.0 +// SPDX-License-Identifier: Apache-2.0 const tsAutoMockTransformer = require("ts-auto-mock/transformer").default; require("ts-node").register({ diff --git a/apps/draupnir/test/unit/commands/BanCommandTest.ts b/apps/draupnir/test/unit/commands/BanCommandTest.ts index 7d5e7230..dcf7b80e 100644 --- a/apps/draupnir/test/unit/commands/BanCommandTest.ts +++ b/apps/draupnir/test/unit/commands/BanCommandTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { CommandExecutorHelper, diff --git a/apps/draupnir/test/unit/commands/KickCommandTest.ts b/apps/draupnir/test/unit/commands/KickCommandTest.ts index 06c59556..703d09d8 100644 --- a/apps/draupnir/test/unit/commands/KickCommandTest.ts +++ b/apps/draupnir/test/unit/commands/KickCommandTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { CommandExecutorHelper } from "@the-draupnir-project/interface-manager"; import { diff --git a/apps/draupnir/test/unit/commands/UnbanCommandTest.ts b/apps/draupnir/test/unit/commands/UnbanCommandTest.ts index e48831f5..fd076c03 100644 --- a/apps/draupnir/test/unit/commands/UnbanCommandTest.ts +++ b/apps/draupnir/test/unit/commands/UnbanCommandTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { CommandExecutorHelper } from "@the-draupnir-project/interface-manager"; import { diff --git a/apps/draupnir/test/unit/commands/WatchUnwatchCommandTest.ts b/apps/draupnir/test/unit/commands/WatchUnwatchCommandTest.ts index 040152d3..33c4dfd0 100644 --- a/apps/draupnir/test/unit/commands/WatchUnwatchCommandTest.ts +++ b/apps/draupnir/test/unit/commands/WatchUnwatchCommandTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/apps/draupnir/test/unit/config/unknownPropertiesTest.ts b/apps/draupnir/test/unit/config/unknownPropertiesTest.ts index 4820c42a..d8904655 100644 --- a/apps/draupnir/test/unit/config/unknownPropertiesTest.ts +++ b/apps/draupnir/test/unit/config/unknownPropertiesTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import expect from "expect"; import { diff --git a/apps/draupnir/test/unit/protections/DraupnirNewsTest.ts b/apps/draupnir/test/unit/protections/DraupnirNewsTest.ts index 507019a2..39d23bd0 100644 --- a/apps/draupnir/test/unit/protections/DraupnirNewsTest.ts +++ b/apps/draupnir/test/unit/protections/DraupnirNewsTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok } from "@gnuxie/typescript-result"; import { diff --git a/apps/draupnir/test/unit/protections/RedactionSynchronisationTest.ts b/apps/draupnir/test/unit/protections/RedactionSynchronisationTest.ts index ba013915..65e9d8b8 100644 --- a/apps/draupnir/test/unit/protections/RedactionSynchronisationTest.ts +++ b/apps/draupnir/test/unit/protections/RedactionSynchronisationTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { describeProtectedRoomsSet, diff --git a/apps/draupnir/test/unit/protections/RoomTakedownServiceTest.ts b/apps/draupnir/test/unit/protections/RoomTakedownServiceTest.ts index 46b013fe..08b30fde 100644 --- a/apps/draupnir/test/unit/protections/RoomTakedownServiceTest.ts +++ b/apps/draupnir/test/unit/protections/RoomTakedownServiceTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { createMock } from "ts-auto-mock"; import { StandardRoomTakedown } from "../../../src/protections/RoomTakedown/RoomTakedown"; diff --git a/apps/draupnir/test/unit/stores/hashStoreTest.ts b/apps/draupnir/test/unit/stores/hashStoreTest.ts index 39f849d5..5b0a06fa 100644 --- a/apps/draupnir/test/unit/stores/hashStoreTest.ts +++ b/apps/draupnir/test/unit/stores/hashStoreTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import Database from "better-sqlite3"; import { SqliteHashReversalStore } from "../../../src/backingstore/better-sqlite3/HashStore"; diff --git a/apps/draupnir/test/unit/stores/roomAuditLogTest.ts b/apps/draupnir/test/unit/stores/roomAuditLogTest.ts index 5d9c039f..eead9c80 100644 --- a/apps/draupnir/test/unit/stores/roomAuditLogTest.ts +++ b/apps/draupnir/test/unit/stores/roomAuditLogTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import Database from "better-sqlite3"; import { BetterSqliteOptions } from "../../../src/backingstore/better-sqlite3/BetterSqliteStore"; diff --git a/apps/draupnir/test/unit/stores/roomStateBackingStoreTest.ts b/apps/draupnir/test/unit/stores/roomStateBackingStoreTest.ts index 1d6c0672..ccd2bc9b 100644 --- a/apps/draupnir/test/unit/stores/roomStateBackingStoreTest.ts +++ b/apps/draupnir/test/unit/stores/roomStateBackingStoreTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import Database from "better-sqlite3"; import { BetterSqliteOptions } from "../../../src/backingstore/better-sqlite3/BetterSqliteStore"; diff --git a/apps/draupnir/test/unit/stores/userRestrictionAuditLogTest.ts b/apps/draupnir/test/unit/stores/userRestrictionAuditLogTest.ts index 2754297d..9b85931c 100644 --- a/apps/draupnir/test/unit/stores/userRestrictionAuditLogTest.ts +++ b/apps/draupnir/test/unit/stores/userRestrictionAuditLogTest.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import Database from "better-sqlite3"; import { BetterSqliteOptions } from "../../../src/backingstore/better-sqlite3/BetterSqliteStore"; diff --git a/config/REUSE.toml b/config/REUSE.toml index 6e68f391..9a507e9d 100644 --- a/config/REUSE.toml +++ b/config/REUSE.toml @@ -4,10 +4,10 @@ version = 1 path = "*.yaml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "CC0-1.0" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "CC0-1.0" +SPDX-License-Identifier = "Apache-2.0" diff --git a/docs/REUSE.toml b/docs/REUSE.toml index 6fb3159e..1fc081b6 100644 --- a/docs/REUSE.toml +++ b/docs/REUSE.toml @@ -4,10 +4,10 @@ version = 1 path = "*.gif" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "CC0-1.0" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "CC0-1.0" +SPDX-License-Identifier = "Apache-2.0" diff --git a/docs/appservice.md b/docs/appservice.md index 410a38b1..a0d4232e 100644 --- a/docs/appservice.md +++ b/docs/appservice.md @@ -1,7 +1,7 @@ This Document has moved to diff --git a/docs/code-style.md b/docs/code-style.md index fcb0b144..9fa03ca4 100644 --- a/docs/code-style.md +++ b/docs/code-style.md @@ -1,7 +1,7 @@ # Code style diff --git a/docs/context.md b/docs/context.md index 4ef6cb3d..a6d490c2 100644 --- a/docs/context.md +++ b/docs/context.md @@ -1,7 +1,7 @@ ## Context for developing Draupnir diff --git a/docs/development-environment.md b/docs/development-environment.md index 88a25b4d..5f04c591 100644 --- a/docs/development-environment.md +++ b/docs/development-environment.md @@ -1,7 +1,7 @@ # Developing Draupnir - tests, tools, and environment diff --git a/docs/development.md b/docs/development.md index 0c08ec3a..9ab96828 100644 --- a/docs/development.md +++ b/docs/development.md @@ -1,7 +1,7 @@ # Developing Draupnir diff --git a/docs/moderators.md b/docs/moderators.md index cc746195..8f5c28af 100644 --- a/docs/moderators.md +++ b/docs/moderators.md @@ -1,7 +1,7 @@ # Moderator's guide to Draupnir (bot edition) diff --git a/docs/setup.md b/docs/setup.md index e2b447b1..5d11ff65 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -1,7 +1,7 @@ # Setting up Draupnir diff --git a/docs/setup_docker.md b/docs/setup_docker.md index bee5ff3f..9be6f25b 100644 --- a/docs/setup_docker.md +++ b/docs/setup_docker.md @@ -1,7 +1,7 @@ This document has moved to diff --git a/docs/setup_selfbuild.md b/docs/setup_selfbuild.md index 0c75b9b8..df0a1d7b 100644 --- a/docs/setup_selfbuild.md +++ b/docs/setup_selfbuild.md @@ -1,7 +1,7 @@ This Document has moved to diff --git a/docs/synapse_module.md b/docs/synapse_module.md index 7fa10908..109d8f1f 100644 --- a/docs/synapse_module.md +++ b/docs/synapse_module.md @@ -1,7 +1,7 @@ This Document has moved to diff --git a/docs/triaging.md b/docs/triaging.md index a94d7985..bc06887a 100644 --- a/docs/triaging.md +++ b/docs/triaging.md @@ -1,7 +1,7 @@ # Triaging issues diff --git a/eslint.config.mjs b/eslint.config.mjs index ba8764f0..b6639482 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: 0BSD +// SPDX-License-Identifier: Apache-2.0 import eslint from "@eslint/js"; import tseslint from "typescript-eslint"; diff --git a/package-lock.json b/package-lock.json index c30badf4..87aadf9f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "": { "name": "@the-draupnir-project/monorepo", "version": "0.0.0", - "license": "AFL-3.0", + "license": "Apache-2.0", "workspaces": [ "packages/*", "apps/*" @@ -29,7 +29,7 @@ }, "apps/draupnir": { "version": "3.0.0", - "license": "AFL-3.0", + "license": "Apache-2.0", "dependencies": { "@gnuxie/typescript-result": "^1.0.0", "@sentry/node": "^7.17.2", @@ -14629,7 +14629,7 @@ "packages/matrix-protection-suite": { "name": "@the-draupnir-project/matrix-protection-suite", "version": "7.0.0", - "license": "AFL-3.0", + "license": "Apache-2.0", "dependencies": { "@gnuxie/typescript-result": "^1.0.0", "await-lock": "^2.2.2", @@ -14653,7 +14653,7 @@ "packages/matrix-protection-suite-for-matrix-bot-sdk": { "name": "@the-draupnir-project/matrix-protection-suite-for-matrix-bot-sdk", "version": "5.0.0", - "license": "AFL-3.0", + "license": "Apache-2.0", "dependencies": { "@gnuxie/typescript-result": "^1.0.0", "await-lock": "^2.2.2" diff --git a/packages/interface-manager/CHANGELOG.md b/packages/interface-manager/CHANGELOG.md index c493043d..d217bc1c 100644 --- a/packages/interface-manager/CHANGELOG.md +++ b/packages/interface-manager/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog diff --git a/packages/interface-manager/README.md b/packages/interface-manager/README.md index 10c03b48..79c2dedd 100644 --- a/packages/interface-manager/README.md +++ b/packages/interface-manager/README.md @@ -1,7 +1,7 @@ # @the-draupnir-project/interface-manager diff --git a/packages/interface-manager/REUSE.toml b/packages/interface-manager/REUSE.toml index 41153469..e59bba83 100644 --- a/packages/interface-manager/REUSE.toml +++ b/packages/interface-manager/REUSE.toml @@ -7,25 +7,25 @@ SPDX-PackageDownloadLocation = "https://github.com/the-draupnir-project/interfac path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.test.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package-lock.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package.json" diff --git a/packages/interface-manager/jest.config.cjs b/packages/interface-manager/jest.config.cjs index ba73b8ce..4eea8894 100644 --- a/packages/interface-manager/jest.config.cjs +++ b/packages/interface-manager/jest.config.cjs @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: CC0-1.0 +// SPDX-License-Identifier: Apache-2.0 module.exports = { preset: "ts-jest", diff --git a/packages/matrix-basic-types/CHANGELOG.md b/packages/matrix-basic-types/CHANGELOG.md index b6af73a1..97a850f7 100644 --- a/packages/matrix-basic-types/CHANGELOG.md +++ b/packages/matrix-basic-types/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog diff --git a/packages/matrix-basic-types/README.md b/packages/matrix-basic-types/README.md index 1207436e..c9432276 100644 --- a/packages/matrix-basic-types/README.md +++ b/packages/matrix-basic-types/README.md @@ -1,7 +1,7 @@ # Matrix basic types diff --git a/packages/matrix-basic-types/REUSE.toml b/packages/matrix-basic-types/REUSE.toml index afe50453..93a72c02 100644 --- a/packages/matrix-basic-types/REUSE.toml +++ b/packages/matrix-basic-types/REUSE.toml @@ -7,25 +7,25 @@ SPDX-PackageDownloadLocation = "https://github.com/Gnuxie/tsconfig" path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.test.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package-lock.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package.json" diff --git a/packages/matrix-basic-types/jest.config.cjs b/packages/matrix-basic-types/jest.config.cjs index ba73b8ce..4eea8894 100644 --- a/packages/matrix-basic-types/jest.config.cjs +++ b/packages/matrix-basic-types/jest.config.cjs @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: CC0-1.0 +// SPDX-License-Identifier: Apache-2.0 module.exports = { preset: "ts-jest", diff --git a/packages/matrix-basic-types/src/MatrixReference/MatrixGlob.ts b/packages/matrix-basic-types/src/MatrixReference/MatrixGlob.ts index 2168f0c2..2eb61adf 100644 --- a/packages/matrix-basic-types/src/MatrixReference/MatrixGlob.ts +++ b/packages/matrix-basic-types/src/MatrixReference/MatrixGlob.ts @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 Gnuxie // SPDX-FileCopyrightText: 2018 - 2022 Travis Ralston // -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-bot-sdk diff --git a/packages/matrix-basic-types/src/MatrixReference/MatrixUserID.ts b/packages/matrix-basic-types/src/MatrixReference/MatrixUserID.ts index e2c3c40f..e035b81b 100644 --- a/packages/matrix-basic-types/src/MatrixReference/MatrixUserID.ts +++ b/packages/matrix-basic-types/src/MatrixReference/MatrixUserID.ts @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 Gnuxie // SPDX-FileCopyrightText: 2018 - 2022 Travis Ralston // -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-bot-sdk diff --git a/packages/matrix-basic-types/src/MatrixReference/Permalinks.test.ts b/packages/matrix-basic-types/src/MatrixReference/Permalinks.test.ts index 7e385231..89a87da8 100644 --- a/packages/matrix-basic-types/src/MatrixReference/Permalinks.test.ts +++ b/packages/matrix-basic-types/src/MatrixReference/Permalinks.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 import { isError } from "@gnuxie/typescript-result"; import { diff --git a/packages/matrix-basic-types/src/MatrixReference/Permalinks.ts b/packages/matrix-basic-types/src/MatrixReference/Permalinks.ts index e5700ec2..18690012 100644 --- a/packages/matrix-basic-types/src/MatrixReference/Permalinks.ts +++ b/packages/matrix-basic-types/src/MatrixReference/Permalinks.ts @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 Gnuxie // SPDX-FileCopyrightText: 2018 - 2022 Travis Ralston // -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-bot-sdk diff --git a/packages/matrix-protection-suite-for-matrix-bot-sdk/CHANGELOG.md b/packages/matrix-protection-suite-for-matrix-bot-sdk/CHANGELOG.md index 1021eb1a..31fa2b85 100644 --- a/packages/matrix-protection-suite-for-matrix-bot-sdk/CHANGELOG.md +++ b/packages/matrix-protection-suite-for-matrix-bot-sdk/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog diff --git a/packages/matrix-protection-suite-for-matrix-bot-sdk/REUSE.toml b/packages/matrix-protection-suite-for-matrix-bot-sdk/REUSE.toml index d07dc4d8..6b3a8a8d 100644 --- a/packages/matrix-protection-suite-for-matrix-bot-sdk/REUSE.toml +++ b/packages/matrix-protection-suite-for-matrix-bot-sdk/REUSE.toml @@ -7,46 +7,46 @@ SPDX-PackageDownloadLocation = "https://github.com/the-draupnir-project/Draupnir path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.test.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package-lock.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "NOTICE" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "README.md" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "typedoc.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" diff --git a/packages/matrix-protection-suite-for-matrix-bot-sdk/jest.config.js b/packages/matrix-protection-suite-for-matrix-bot-sdk/jest.config.js index 9d399825..59d8c406 100644 --- a/packages/matrix-protection-suite-for-matrix-bot-sdk/jest.config.js +++ b/packages/matrix-protection-suite-for-matrix-bot-sdk/jest.config.js @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2026 Gnuxie // -// SPDX-License-Identifier: 0BSD +// SPDX-License-Identifier: Apache-2.0 module.exports = { preset: "ts-jest", diff --git a/packages/matrix-protection-suite-for-matrix-bot-sdk/package.json b/packages/matrix-protection-suite-for-matrix-bot-sdk/package.json index eb754316..aed6e9b8 100644 --- a/packages/matrix-protection-suite-for-matrix-bot-sdk/package.json +++ b/packages/matrix-protection-suite-for-matrix-bot-sdk/package.json @@ -10,7 +10,7 @@ "name": "Gnuxie", "email": "Gnuxie@protonmail.com" }, - "license": "AFL-3.0", + "license": "Apache-2.0", "repository": { "url": "https://github.com/the-draupnir-project/Draupnir.git", "type": "git" diff --git a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKAllClient.ts b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKAllClient.ts index 0d85fa29..c081c91c 100644 --- a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKAllClient.ts +++ b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKAllClient.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ClientRooms, diff --git a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKBaseClient.ts b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKBaseClient.ts index 74719a37..1a125615 100644 --- a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKBaseClient.ts +++ b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKBaseClient.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StaticDecode, Type } from "@sinclair/typebox"; import { MatrixError } from "@vector-im/matrix-bot-sdk"; diff --git a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKClientPlatform.ts b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKClientPlatform.ts index 7cc98af0..fe2c6fc1 100644 --- a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKClientPlatform.ts +++ b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/Client/BotSDKClientPlatform.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ClientCapabilitiesNegotiation, diff --git a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/ClientManagement/ClientCapabilityFactory.ts b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/ClientManagement/ClientCapabilityFactory.ts index 390d7d51..d8585644 100644 --- a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/ClientManagement/ClientCapabilityFactory.ts +++ b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/ClientManagement/ClientCapabilityFactory.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ClientPlatform, diff --git a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/ClientManagement/RoomStateRefresh.ts b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/ClientManagement/RoomStateRefresh.ts index 01ea1f50..7dac6f11 100644 --- a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/ClientManagement/RoomStateRefresh.ts +++ b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/ClientManagement/RoomStateRefresh.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import AwaitLock from "await-lock"; import { diff --git a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/index.ts b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/index.ts index 44635f07..a045f947 100644 --- a/packages/matrix-protection-suite-for-matrix-bot-sdk/src/index.ts +++ b/packages/matrix-protection-suite-for-matrix-bot-sdk/src/index.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2026 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 export * from "./Client/BotSDKAllClient"; export * from "./Client/BotSDKBaseClient"; diff --git a/packages/matrix-protection-suite/.gitignore b/packages/matrix-protection-suite/.gitignore index 079cb42b..b141a96d 100644 --- a/packages/matrix-protection-suite/.gitignore +++ b/packages/matrix-protection-suite/.gitignore @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: 2024 Gnuxie # -# SPDX-License-Identifier: 0BSD +# SPDX-License-Identifier: Apache-2.0 docs/ diff --git a/packages/matrix-protection-suite/CHANGELOG.md b/packages/matrix-protection-suite/CHANGELOG.md index 6ba6370a..d4992350 100644 --- a/packages/matrix-protection-suite/CHANGELOG.md +++ b/packages/matrix-protection-suite/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog diff --git a/packages/matrix-protection-suite/README.md b/packages/matrix-protection-suite/README.md index b47e9caf..55e20df4 100644 --- a/packages/matrix-protection-suite/README.md +++ b/packages/matrix-protection-suite/README.md @@ -1,7 +1,7 @@ ## matrix-protection-suite diff --git a/packages/matrix-protection-suite/REUSE.toml b/packages/matrix-protection-suite/REUSE.toml index ebc2b769..c5f46cee 100644 --- a/packages/matrix-protection-suite/REUSE.toml +++ b/packages/matrix-protection-suite/REUSE.toml @@ -7,46 +7,46 @@ SPDX-PackageDownloadLocation = "https://github.com/Gnuxie/tsconfig" path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.test.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package-lock.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "yarn.lock" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "NOTICE" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "typedoc.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" diff --git a/packages/matrix-protection-suite/jest.config.js b/packages/matrix-protection-suite/jest.config.js index 8d44953f..b30f5123 100644 --- a/packages/matrix-protection-suite/jest.config.js +++ b/packages/matrix-protection-suite/jest.config.js @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 module.exports = { preset: "ts-jest", diff --git a/packages/matrix-protection-suite/package.json b/packages/matrix-protection-suite/package.json index 7f3f3234..f794830b 100644 --- a/packages/matrix-protection-suite/package.json +++ b/packages/matrix-protection-suite/package.json @@ -10,7 +10,7 @@ "name": "Gnuxie", "email": "Gnuxie@protonmail.com" }, - "license": "AFL-3.0", + "license": "Apache-2.0", "repository": { "url": "https://github.com/the-draupnir-project/Draupnir.git", "type": "git" diff --git a/packages/matrix-protection-suite/src/Client/ClientCapabilityNegotiation.ts b/packages/matrix-protection-suite/src/Client/ClientCapabilityNegotiation.ts index 84c8f2ad..3564adb2 100644 --- a/packages/matrix-protection-suite/src/Client/ClientCapabilityNegotiation.ts +++ b/packages/matrix-protection-suite/src/Client/ClientCapabilityNegotiation.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; import { Type, Static } from "@sinclair/typebox"; diff --git a/packages/matrix-protection-suite/src/Client/ClientPlatform.ts b/packages/matrix-protection-suite/src/Client/ClientPlatform.ts index 082806db..61465e37 100644 --- a/packages/matrix-protection-suite/src/Client/ClientPlatform.ts +++ b/packages/matrix-protection-suite/src/Client/ClientPlatform.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ClientCapabilitiesNegotiation } from "./ClientCapabilityNegotiation"; import { RoomBanner } from "./RoomBanner"; diff --git a/packages/matrix-protection-suite/src/Client/DummyClientPlatform.ts b/packages/matrix-protection-suite/src/Client/DummyClientPlatform.ts index c9c23852..3a7be06c 100644 --- a/packages/matrix-protection-suite/src/Client/DummyClientPlatform.ts +++ b/packages/matrix-protection-suite/src/Client/DummyClientPlatform.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomAlias, diff --git a/packages/matrix-protection-suite/src/Client/Pagination/MatrixPaginator.ts b/packages/matrix-protection-suite/src/Client/Pagination/MatrixPaginator.ts index f7aeb06a..25269a61 100644 --- a/packages/matrix-protection-suite/src/Client/Pagination/MatrixPaginator.ts +++ b/packages/matrix-protection-suite/src/Client/Pagination/MatrixPaginator.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 - 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; import { PaginationChunk } from "./PaginationChunk"; diff --git a/packages/matrix-protection-suite/src/Client/Pagination/PaginationChunk.ts b/packages/matrix-protection-suite/src/Client/Pagination/PaginationChunk.ts index b3bf292f..ebe78e2e 100644 --- a/packages/matrix-protection-suite/src/Client/Pagination/PaginationChunk.ts +++ b/packages/matrix-protection-suite/src/Client/Pagination/PaginationChunk.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 - 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringPaginationToken } from "./PaginationToken"; diff --git a/packages/matrix-protection-suite/src/Client/Pagination/PaginationIteration.ts b/packages/matrix-protection-suite/src/Client/Pagination/PaginationIteration.ts index e29e12c2..8e0356d1 100644 --- a/packages/matrix-protection-suite/src/Client/Pagination/PaginationIteration.ts +++ b/packages/matrix-protection-suite/src/Client/Pagination/PaginationIteration.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 - 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; diff --git a/packages/matrix-protection-suite/src/Client/Pagination/PaginationOptions.ts b/packages/matrix-protection-suite/src/Client/Pagination/PaginationOptions.ts index 6fac2db8..6d783f9b 100644 --- a/packages/matrix-protection-suite/src/Client/Pagination/PaginationOptions.ts +++ b/packages/matrix-protection-suite/src/Client/Pagination/PaginationOptions.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 - 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringPaginationToken } from "./PaginationToken"; diff --git a/packages/matrix-protection-suite/src/Client/Pagination/PaginationSession.ts b/packages/matrix-protection-suite/src/Client/Pagination/PaginationSession.ts index 2cc9a889..fafb7e0b 100644 --- a/packages/matrix-protection-suite/src/Client/Pagination/PaginationSession.ts +++ b/packages/matrix-protection-suite/src/Client/Pagination/PaginationSession.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 - 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; import { PaginationChunk } from "./PaginationChunk"; diff --git a/packages/matrix-protection-suite/src/Client/Pagination/PaginationToken.ts b/packages/matrix-protection-suite/src/Client/Pagination/PaginationToken.ts index c5346d45..2e75b1c2 100644 --- a/packages/matrix-protection-suite/src/Client/Pagination/PaginationToken.ts +++ b/packages/matrix-protection-suite/src/Client/Pagination/PaginationToken.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 - 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { FormatRegistry, Type } from "@sinclair/typebox"; diff --git a/packages/matrix-protection-suite/src/Client/Pagination/StandardPaginationIterator.ts b/packages/matrix-protection-suite/src/Client/Pagination/StandardPaginationIterator.ts index 17695293..14fade92 100644 --- a/packages/matrix-protection-suite/src/Client/Pagination/StandardPaginationIterator.ts +++ b/packages/matrix-protection-suite/src/Client/Pagination/StandardPaginationIterator.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 - 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError, Ok, Result } from "@gnuxie/typescript-result"; import { MatrixPaginator } from "./MatrixPaginator"; diff --git a/packages/matrix-protection-suite/src/Client/PowerLevelsMirror.test.ts b/packages/matrix-protection-suite/src/Client/PowerLevelsMirror.test.ts index 211495ca..4e31f428 100644 --- a/packages/matrix-protection-suite/src/Client/PowerLevelsMirror.test.ts +++ b/packages/matrix-protection-suite/src/Client/PowerLevelsMirror.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { RoomCreateEvent } from "../MatrixTypes/CreateRoom"; import { PowerLevelsEventContent } from "../MatrixTypes/PowerLevels"; diff --git a/packages/matrix-protection-suite/src/Client/PowerLevelsMirror.ts b/packages/matrix-protection-suite/src/Client/PowerLevelsMirror.ts index ae0d19eb..b6409c5c 100644 --- a/packages/matrix-protection-suite/src/Client/PowerLevelsMirror.ts +++ b/packages/matrix-protection-suite/src/Client/PowerLevelsMirror.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringUserID } from "@the-draupnir-project/matrix-basic-types"; import { PowerLevelsEventContent } from "../MatrixTypes/PowerLevels"; diff --git a/packages/matrix-protection-suite/src/Client/RoomBanner.ts b/packages/matrix-protection-suite/src/Client/RoomBanner.ts index 1302f066..380d16b4 100644 --- a/packages/matrix-protection-suite/src/Client/RoomBanner.ts +++ b/packages/matrix-protection-suite/src/Client/RoomBanner.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/packages/matrix-protection-suite/src/Client/RoomCreator.ts b/packages/matrix-protection-suite/src/Client/RoomCreator.ts index 72304585..e96c58fe 100644 --- a/packages/matrix-protection-suite/src/Client/RoomCreator.ts +++ b/packages/matrix-protection-suite/src/Client/RoomCreator.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID } from "@the-draupnir-project/matrix-basic-types"; import { ActionResult } from "../Interface/Action"; diff --git a/packages/matrix-protection-suite/src/Client/RoomEventFilter.ts b/packages/matrix-protection-suite/src/Client/RoomEventFilter.ts index 88bba3cc..eebb4c10 100644 --- a/packages/matrix-protection-suite/src/Client/RoomEventFilter.ts +++ b/packages/matrix-protection-suite/src/Client/RoomEventFilter.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Type, Static } from "@sinclair/typebox"; import { diff --git a/packages/matrix-protection-suite/src/Client/RoomEventGetter.ts b/packages/matrix-protection-suite/src/Client/RoomEventGetter.ts index fab1e796..11a6ed8a 100644 --- a/packages/matrix-protection-suite/src/Client/RoomEventGetter.ts +++ b/packages/matrix-protection-suite/src/Client/RoomEventGetter.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringEventID, diff --git a/packages/matrix-protection-suite/src/Client/RoomEventRedacter.ts b/packages/matrix-protection-suite/src/Client/RoomEventRedacter.ts index b5a5f9ad..90648606 100644 --- a/packages/matrix-protection-suite/src/Client/RoomEventRedacter.ts +++ b/packages/matrix-protection-suite/src/Client/RoomEventRedacter.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/packages/matrix-protection-suite/src/Client/RoomEventRelations.ts b/packages/matrix-protection-suite/src/Client/RoomEventRelations.ts index 774935ab..72e94ab5 100644 --- a/packages/matrix-protection-suite/src/Client/RoomEventRelations.ts +++ b/packages/matrix-protection-suite/src/Client/RoomEventRelations.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringEventID, diff --git a/packages/matrix-protection-suite/src/Client/RoomInviter.ts b/packages/matrix-protection-suite/src/Client/RoomInviter.ts index bb9d97b5..fd87c020 100644 --- a/packages/matrix-protection-suite/src/Client/RoomInviter.ts +++ b/packages/matrix-protection-suite/src/Client/RoomInviter.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; import { diff --git a/packages/matrix-protection-suite/src/Client/RoomJoiner.ts b/packages/matrix-protection-suite/src/Client/RoomJoiner.ts index ac7d7a9b..9361b2f8 100644 --- a/packages/matrix-protection-suite/src/Client/RoomJoiner.ts +++ b/packages/matrix-protection-suite/src/Client/RoomJoiner.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/packages/matrix-protection-suite/src/Client/RoomKicker.ts b/packages/matrix-protection-suite/src/Client/RoomKicker.ts index 1153e12a..6fde128f 100644 --- a/packages/matrix-protection-suite/src/Client/RoomKicker.ts +++ b/packages/matrix-protection-suite/src/Client/RoomKicker.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/packages/matrix-protection-suite/src/Client/RoomMessageSender.ts b/packages/matrix-protection-suite/src/Client/RoomMessageSender.ts index 8cfec65b..73cf4ea9 100644 --- a/packages/matrix-protection-suite/src/Client/RoomMessageSender.ts +++ b/packages/matrix-protection-suite/src/Client/RoomMessageSender.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringEventID, diff --git a/packages/matrix-protection-suite/src/Client/RoomMessages.ts b/packages/matrix-protection-suite/src/Client/RoomMessages.ts index b520e156..a79f89a7 100644 --- a/packages/matrix-protection-suite/src/Client/RoomMessages.ts +++ b/packages/matrix-protection-suite/src/Client/RoomMessages.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID } from "@the-draupnir-project/matrix-basic-types"; import { RoomEvent } from "../MatrixTypes/Events"; diff --git a/packages/matrix-protection-suite/src/Client/RoomReactionSender.ts b/packages/matrix-protection-suite/src/Client/RoomReactionSender.ts index 80020882..8c60401a 100644 --- a/packages/matrix-protection-suite/src/Client/RoomReactionSender.ts +++ b/packages/matrix-protection-suite/src/Client/RoomReactionSender.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; import { diff --git a/packages/matrix-protection-suite/src/Client/RoomResolver.ts b/packages/matrix-protection-suite/src/Client/RoomResolver.ts index f3ceb370..aa764157 100644 --- a/packages/matrix-protection-suite/src/Client/RoomResolver.ts +++ b/packages/matrix-protection-suite/src/Client/RoomResolver.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomReference, diff --git a/packages/matrix-protection-suite/src/Client/RoomStateEventSender.ts b/packages/matrix-protection-suite/src/Client/RoomStateEventSender.ts index dc484c1c..ff180e88 100644 --- a/packages/matrix-protection-suite/src/Client/RoomStateEventSender.ts +++ b/packages/matrix-protection-suite/src/Client/RoomStateEventSender.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/packages/matrix-protection-suite/src/Client/RoomStateGetter.ts b/packages/matrix-protection-suite/src/Client/RoomStateGetter.ts index 1476b1ab..bfdf6f46 100644 --- a/packages/matrix-protection-suite/src/Client/RoomStateGetter.ts +++ b/packages/matrix-protection-suite/src/Client/RoomStateGetter.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/packages/matrix-protection-suite/src/Client/RoomUnbanner.ts b/packages/matrix-protection-suite/src/Client/RoomUnbanner.ts index 98a41e62..d3b11219 100644 --- a/packages/matrix-protection-suite/src/Client/RoomUnbanner.ts +++ b/packages/matrix-protection-suite/src/Client/RoomUnbanner.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/packages/matrix-protection-suite/src/ClientManagement/Client.ts b/packages/matrix-protection-suite/src/ClientManagement/Client.ts index 95e8b203..274e3948 100644 --- a/packages/matrix-protection-suite/src/ClientManagement/Client.ts +++ b/packages/matrix-protection-suite/src/ClientManagement/Client.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { RoomEvent } from "../MatrixTypes/Events"; import { PolicyRoomManager } from "../PolicyList/PolicyRoomManger"; diff --git a/packages/matrix-protection-suite/src/ClientManagement/ClientRooms.ts b/packages/matrix-protection-suite/src/ClientManagement/ClientRooms.ts index 4c948e0c..3d641874 100644 --- a/packages/matrix-protection-suite/src/ClientManagement/ClientRooms.ts +++ b/packages/matrix-protection-suite/src/ClientManagement/ClientRooms.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from "events"; import { RoomEvent } from "../MatrixTypes/Events"; diff --git a/packages/matrix-protection-suite/src/ClientManagement/ClientsInRoomMap.ts b/packages/matrix-protection-suite/src/ClientManagement/ClientsInRoomMap.ts index b11c1c6b..b47553ca 100644 --- a/packages/matrix-protection-suite/src/ClientManagement/ClientsInRoomMap.ts +++ b/packages/matrix-protection-suite/src/ClientManagement/ClientsInRoomMap.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { JoinedRoomsRevision } from "./JoinedRoomsRevision"; import { diff --git a/packages/matrix-protection-suite/src/ClientManagement/JoinedRoomsRevision.ts b/packages/matrix-protection-suite/src/ClientManagement/JoinedRoomsRevision.ts index cf668d51..2a665972 100644 --- a/packages/matrix-protection-suite/src/ClientManagement/JoinedRoomsRevision.ts +++ b/packages/matrix-protection-suite/src/ClientManagement/JoinedRoomsRevision.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID, diff --git a/packages/matrix-protection-suite/src/ClientManagement/RoomEventAcivity.ts b/packages/matrix-protection-suite/src/ClientManagement/RoomEventAcivity.ts index 4515bcc1..fbcc36ae 100644 --- a/packages/matrix-protection-suite/src/ClientManagement/RoomEventAcivity.ts +++ b/packages/matrix-protection-suite/src/ClientManagement/RoomEventAcivity.ts @@ -1,6 +1,6 @@ // Copyright (C) 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID } from "@the-draupnir-project/matrix-basic-types"; import { RoomEvent } from "../MatrixTypes/Events"; diff --git a/packages/matrix-protection-suite/src/ClientManagement/RoomPauser.ts b/packages/matrix-protection-suite/src/ClientManagement/RoomPauser.ts index ac3e534a..5b509198 100644 --- a/packages/matrix-protection-suite/src/ClientManagement/RoomPauser.ts +++ b/packages/matrix-protection-suite/src/ClientManagement/RoomPauser.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID } from "@the-draupnir-project/matrix-basic-types"; import { Logger } from "../Logging/Logger"; diff --git a/packages/matrix-protection-suite/src/ClientManagement/StandardClientRooms.ts b/packages/matrix-protection-suite/src/ClientManagement/StandardClientRooms.ts index ce243a1e..e4f50998 100644 --- a/packages/matrix-protection-suite/src/ClientManagement/StandardClientRooms.ts +++ b/packages/matrix-protection-suite/src/ClientManagement/StandardClientRooms.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionResult, Ok, isError } from "../Interface/Action"; import { Value } from "../Interface/Value"; diff --git a/packages/matrix-protection-suite/src/Config/ConfigDescription.ts b/packages/matrix-protection-suite/src/Config/ConfigDescription.ts index 1eb27ed6..21c6ad3a 100644 --- a/packages/matrix-protection-suite/src/Config/ConfigDescription.ts +++ b/packages/matrix-protection-suite/src/Config/ConfigDescription.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { TObject, TProperties, TSchema, Type } from "@sinclair/typebox"; import { EDStatic } from "../Interface/Static"; diff --git a/packages/matrix-protection-suite/src/Config/ConfigMirror.ts b/packages/matrix-protection-suite/src/Config/ConfigMirror.ts index 6c51340c..5a13e116 100644 --- a/packages/matrix-protection-suite/src/Config/ConfigMirror.ts +++ b/packages/matrix-protection-suite/src/Config/ConfigMirror.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Evaluate, diff --git a/packages/matrix-protection-suite/src/Config/ConfigParseError.ts b/packages/matrix-protection-suite/src/Config/ConfigParseError.ts index 5e2ef897..9e2f4b43 100644 --- a/packages/matrix-protection-suite/src/Config/ConfigParseError.ts +++ b/packages/matrix-protection-suite/src/Config/ConfigParseError.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Err, ResultError } from "@gnuxie/typescript-result"; import { ConfigRecoveryOption } from "./PersistentConfigData"; diff --git a/packages/matrix-protection-suite/src/Config/PersistentConfigData.ts b/packages/matrix-protection-suite/src/Config/PersistentConfigData.ts index 7a9ab26e..c2b1a6d7 100644 --- a/packages/matrix-protection-suite/src/Config/PersistentConfigData.ts +++ b/packages/matrix-protection-suite/src/Config/PersistentConfigData.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok, diff --git a/packages/matrix-protection-suite/src/Config/describeConfig.test.ts b/packages/matrix-protection-suite/src/Config/describeConfig.test.ts index 0a484e25..511cf6dd 100644 --- a/packages/matrix-protection-suite/src/Config/describeConfig.test.ts +++ b/packages/matrix-protection-suite/src/Config/describeConfig.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Type } from "@sinclair/typebox"; import { StringUserIDSchema } from "../MatrixTypes/StringlyTypedMatrix"; diff --git a/packages/matrix-protection-suite/src/Config/describeConfig.ts b/packages/matrix-protection-suite/src/Config/describeConfig.ts index 43fcf25f..7ea2e32a 100644 --- a/packages/matrix-protection-suite/src/Config/describeConfig.ts +++ b/packages/matrix-protection-suite/src/Config/describeConfig.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { TObject } from "@sinclair/typebox"; import { diff --git a/packages/matrix-protection-suite/src/Interface/Action.ts b/packages/matrix-protection-suite/src/Interface/Action.ts index c5140d07..83a11e7c 100644 --- a/packages/matrix-protection-suite/src/Interface/Action.ts +++ b/packages/matrix-protection-suite/src/Interface/Action.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Interface/ActionException.ts b/packages/matrix-protection-suite/src/Interface/ActionException.ts index 6c7cac16..0f90a6e7 100644 --- a/packages/matrix-protection-suite/src/Interface/ActionException.ts +++ b/packages/matrix-protection-suite/src/Interface/ActionException.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { randomUUID } from "crypto"; import { ActionError, ResultError, ActionResult } from "./Action"; diff --git a/packages/matrix-protection-suite/src/Interface/Deduplicator.ts b/packages/matrix-protection-suite/src/Interface/Deduplicator.ts index 253b5411..20d273bc 100644 --- a/packages/matrix-protection-suite/src/Interface/Deduplicator.ts +++ b/packages/matrix-protection-suite/src/Interface/Deduplicator.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 /** * Exposes a single method to check whether a key is a duplicate (has this event been seen before?). diff --git a/packages/matrix-protection-suite/src/Interface/FakePersistentMatrixData.ts b/packages/matrix-protection-suite/src/Interface/FakePersistentMatrixData.ts index 04b6aa51..95516f40 100644 --- a/packages/matrix-protection-suite/src/Interface/FakePersistentMatrixData.ts +++ b/packages/matrix-protection-suite/src/Interface/FakePersistentMatrixData.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixAccountData } from "./PersistentMatrixData"; import { ActionResult, Ok } from "./Action"; diff --git a/packages/matrix-protection-suite/src/Interface/InternedInstanceFactory.ts b/packages/matrix-protection-suite/src/Interface/InternedInstanceFactory.ts index 3ad438d4..2c23a3b3 100644 --- a/packages/matrix-protection-suite/src/Interface/InternedInstanceFactory.ts +++ b/packages/matrix-protection-suite/src/Interface/InternedInstanceFactory.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionResult, Ok, isOk } from "./Action"; diff --git a/packages/matrix-protection-suite/src/Interface/KeyedBatchQueue.ts b/packages/matrix-protection-suite/src/Interface/KeyedBatchQueue.ts index 878ed2f8..131153c1 100644 --- a/packages/matrix-protection-suite/src/Interface/KeyedBatchQueue.ts +++ b/packages/matrix-protection-suite/src/Interface/KeyedBatchQueue.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Result } from "@gnuxie/typescript-result"; import { Task } from "./Task"; diff --git a/packages/matrix-protection-suite/src/Interface/LoggableConfig.ts b/packages/matrix-protection-suite/src/Interface/LoggableConfig.ts index de54beae..59114abf 100644 --- a/packages/matrix-protection-suite/src/Interface/LoggableConfig.ts +++ b/packages/matrix-protection-suite/src/Interface/LoggableConfig.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 export interface LoggableConfig { logCurrentConfig(): void; diff --git a/packages/matrix-protection-suite/src/Interface/MatrixException.ts b/packages/matrix-protection-suite/src/Interface/MatrixException.ts index 6853bf21..e7d1a45d 100644 --- a/packages/matrix-protection-suite/src/Interface/MatrixException.ts +++ b/packages/matrix-protection-suite/src/Interface/MatrixException.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionError, ActionResult, ResultError } from "./Action"; import { ActionException, ActionExceptionKind } from "./ActionException"; diff --git a/packages/matrix-protection-suite/src/Interface/MultipleErrors.ts b/packages/matrix-protection-suite/src/Interface/MultipleErrors.ts index e91418e1..617fdec7 100644 --- a/packages/matrix-protection-suite/src/Interface/MultipleErrors.ts +++ b/packages/matrix-protection-suite/src/Interface/MultipleErrors.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionError, ActionResult, ResultError } from "./Action"; diff --git a/packages/matrix-protection-suite/src/Interface/PersistentMatrixData.ts b/packages/matrix-protection-suite/src/Interface/PersistentMatrixData.ts index 0448794f..c3a1c535 100644 --- a/packages/matrix-protection-suite/src/Interface/PersistentMatrixData.ts +++ b/packages/matrix-protection-suite/src/Interface/PersistentMatrixData.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StaticDecode, TSchema } from "@sinclair/typebox"; import { ActionResult } from "./Action"; diff --git a/packages/matrix-protection-suite/src/Interface/RoomUpdateError.ts b/packages/matrix-protection-suite/src/Interface/RoomUpdateError.ts index c9a5657b..ef63d1f6 100644 --- a/packages/matrix-protection-suite/src/Interface/RoomUpdateError.ts +++ b/packages/matrix-protection-suite/src/Interface/RoomUpdateError.ts @@ -1,7 +1,7 @@ // Copyright (C) 2022 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Interface/SchemedMatrixData.ts b/packages/matrix-protection-suite/src/Interface/SchemedMatrixData.ts index f38701f6..bebe3f8a 100644 --- a/packages/matrix-protection-suite/src/Interface/SchemedMatrixData.ts +++ b/packages/matrix-protection-suite/src/Interface/SchemedMatrixData.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionError, ActionResult, Ok, isError } from "./Action"; diff --git a/packages/matrix-protection-suite/src/Interface/SimpleChangeType.ts b/packages/matrix-protection-suite/src/Interface/SimpleChangeType.ts index daa3b818..680a8a05 100644 --- a/packages/matrix-protection-suite/src/Interface/SimpleChangeType.ts +++ b/packages/matrix-protection-suite/src/Interface/SimpleChangeType.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Interface/Static.ts b/packages/matrix-protection-suite/src/Interface/Static.ts index bcf501ad..84f09eb3 100644 --- a/packages/matrix-protection-suite/src/Interface/Static.ts +++ b/packages/matrix-protection-suite/src/Interface/Static.ts @@ -1,6 +1,6 @@ // Copyright 2024 Haydn Paterson (sinclair) // -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: Apache-2.0 import { Evaluate, StaticDecode, TSchema } from "@sinclair/typebox"; diff --git a/packages/matrix-protection-suite/src/Interface/Task.ts b/packages/matrix-protection-suite/src/Interface/Task.ts index 08908bd0..33b9b637 100644 --- a/packages/matrix-protection-suite/src/Interface/Task.ts +++ b/packages/matrix-protection-suite/src/Interface/Task.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023, 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ResultError } from "@gnuxie/typescript-result"; import { Logger } from "../Logging/Logger"; diff --git a/packages/matrix-protection-suite/src/Interface/Value.ts b/packages/matrix-protection-suite/src/Interface/Value.ts index f56ad385..cc529cc1 100644 --- a/packages/matrix-protection-suite/src/Interface/Value.ts +++ b/packages/matrix-protection-suite/src/Interface/Value.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { TSchema, diff --git a/packages/matrix-protection-suite/src/Logging/Logger.ts b/packages/matrix-protection-suite/src/Logging/Logger.ts index 6b1723f1..fec704d2 100644 --- a/packages/matrix-protection-suite/src/Logging/Logger.ts +++ b/packages/matrix-protection-suite/src/Logging/Logger.ts @@ -1,7 +1,7 @@ // Copyright 2023 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-appservice-bridge diff --git a/packages/matrix-protection-suite/src/MatrixTypes/CreateRoom.ts b/packages/matrix-protection-suite/src/MatrixTypes/CreateRoom.ts index 63776f69..aea4ccc1 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/CreateRoom.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/CreateRoom.ts @@ -2,7 +2,7 @@ // Copyright 2016 OpenMarket Ltd // Copyright 2018 New Vector Ltd // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-spec diff --git a/packages/matrix-protection-suite/src/MatrixTypes/DefaultEventDecoder.ts b/packages/matrix-protection-suite/src/MatrixTypes/DefaultEventDecoder.ts index 78e64798..f5df1e5c 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/DefaultEventDecoder.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/DefaultEventDecoder.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Value } from "../Interface/Value"; import { diff --git a/packages/matrix-protection-suite/src/MatrixTypes/EventDecoder.test.ts b/packages/matrix-protection-suite/src/MatrixTypes/EventDecoder.test.ts index 3a3878b2..a17e295c 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/EventDecoder.test.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/EventDecoder.test.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError, isOk } from "../Interface/Action"; import { DecodeException, Value } from "../Interface/Value"; diff --git a/packages/matrix-protection-suite/src/MatrixTypes/EventDecoder.ts b/packages/matrix-protection-suite/src/MatrixTypes/EventDecoder.ts index 49e808d9..b7749c44 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/EventDecoder.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/EventDecoder.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Type } from "@sinclair/typebox"; import { ActionResult, isError, isOk } from "../Interface/Action"; diff --git a/packages/matrix-protection-suite/src/MatrixTypes/Events.ts b/packages/matrix-protection-suite/src/MatrixTypes/Events.ts index c1637a0e..65eb002f 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/Events.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/Events.ts @@ -1,7 +1,7 @@ // Copyright 2023 Gnuxie // Copyright 2018 New Vector Ltd // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-spec diff --git a/packages/matrix-protection-suite/src/MatrixTypes/MembershipEvent.ts b/packages/matrix-protection-suite/src/MatrixTypes/MembershipEvent.ts index 9c1244b7..bc491c56 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/MembershipEvent.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/MembershipEvent.ts @@ -2,7 +2,7 @@ // Copyright 2016 OpenMarket Ltd // Copyright 2018 New Vector Ltd // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-spec diff --git a/packages/matrix-protection-suite/src/MatrixTypes/PermalinkSchema.test.ts b/packages/matrix-protection-suite/src/MatrixTypes/PermalinkSchema.test.ts index 782db8d9..dd46a4de 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/PermalinkSchema.test.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/PermalinkSchema.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixEventViaAlias, diff --git a/packages/matrix-protection-suite/src/MatrixTypes/PermalinkSchema.ts b/packages/matrix-protection-suite/src/MatrixTypes/PermalinkSchema.ts index ec60d17f..ac2d3842 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/PermalinkSchema.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/PermalinkSchema.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError, Result } from "@gnuxie/typescript-result"; import { Type } from "@sinclair/typebox"; diff --git a/packages/matrix-protection-suite/src/MatrixTypes/PolicyEvents.ts b/packages/matrix-protection-suite/src/MatrixTypes/PolicyEvents.ts index 7abca2cb..cfb1e793 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/PolicyEvents.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/PolicyEvents.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/MatrixTypes/PowerLevels.ts b/packages/matrix-protection-suite/src/MatrixTypes/PowerLevels.ts index 0e93beb1..33f48390 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/PowerLevels.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/PowerLevels.ts @@ -2,7 +2,7 @@ // Copyright 2016 OpenMarket Ltd // Copyright 2018 New Vector Ltd // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-spec diff --git a/packages/matrix-protection-suite/src/MatrixTypes/ReactionEvent.ts b/packages/matrix-protection-suite/src/MatrixTypes/ReactionEvent.ts index 98a0d4d7..5545e148 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/ReactionEvent.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/ReactionEvent.ts @@ -1,7 +1,7 @@ // Copyright 2023 Gnuxie // Copyright 2018 New Vector Ltd // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-spec diff --git a/packages/matrix-protection-suite/src/MatrixTypes/Redaction.ts b/packages/matrix-protection-suite/src/MatrixTypes/Redaction.ts index 4245269b..e1080d96 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/Redaction.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/Redaction.ts @@ -1,7 +1,7 @@ // Copyright 2024 Gnuxie // Copyright 2018 New Vector Ltd // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-spec diff --git a/packages/matrix-protection-suite/src/MatrixTypes/RoomMessage.ts b/packages/matrix-protection-suite/src/MatrixTypes/RoomMessage.ts index d3e0ee90..c28bcc13 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/RoomMessage.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/RoomMessage.ts @@ -1,7 +1,7 @@ // Copyright 2023 Gnuxie // Copyright 2018 New Vector Ltd // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-spec diff --git a/packages/matrix-protection-suite/src/MatrixTypes/ServerACL.ts b/packages/matrix-protection-suite/src/MatrixTypes/ServerACL.ts index 8f852cd4..16ed2c51 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/ServerACL.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/ServerACL.ts @@ -1,7 +1,7 @@ // Copyright 2023 Gnuxie // Copyright 2018 New Vector Ltd // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from matrix-spec diff --git a/packages/matrix-protection-suite/src/MatrixTypes/ServerACLBuilder.ts b/packages/matrix-protection-suite/src/MatrixTypes/ServerACLBuilder.ts index 22558507..4712b6ed 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/ServerACLBuilder.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/ServerACLBuilder.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/MatrixTypes/StringlyTypedMatrix.ts b/packages/matrix-protection-suite/src/MatrixTypes/StringlyTypedMatrix.ts index b83d87b5..5b2f297b 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/StringlyTypedMatrix.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/StringlyTypedMatrix.ts @@ -1,7 +1,7 @@ // Copyright 2023 - 2024 Gnuxie // Copyright 2024 Haydn Paterson (sinclair) // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { FormatRegistry, Type } from "@sinclair/typebox"; import { diff --git a/packages/matrix-protection-suite/src/MatrixTypes/SynapseAdmin/APIBodies.ts b/packages/matrix-protection-suite/src/MatrixTypes/SynapseAdmin/APIBodies.ts index 5e893057..bc95147a 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/SynapseAdmin/APIBodies.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/SynapseAdmin/APIBodies.ts @@ -1,7 +1,7 @@ // Copyright 2023 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from synapse diff --git a/packages/matrix-protection-suite/src/MatrixTypes/SynapseReport.ts b/packages/matrix-protection-suite/src/MatrixTypes/SynapseReport.ts index d00b308a..7819df59 100644 --- a/packages/matrix-protection-suite/src/MatrixTypes/SynapseReport.ts +++ b/packages/matrix-protection-suite/src/MatrixTypes/SynapseReport.ts @@ -1,7 +1,7 @@ // Copyright 2023 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from synapse diff --git a/packages/matrix-protection-suite/src/Membership/FakeRoomMembershipManager.ts b/packages/matrix-protection-suite/src/Membership/FakeRoomMembershipManager.ts index 30fcda2c..12a1a74f 100644 --- a/packages/matrix-protection-suite/src/Membership/FakeRoomMembershipManager.ts +++ b/packages/matrix-protection-suite/src/Membership/FakeRoomMembershipManager.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID, diff --git a/packages/matrix-protection-suite/src/Membership/FakeRoomMembershipRevisionIssuer.ts b/packages/matrix-protection-suite/src/Membership/FakeRoomMembershipRevisionIssuer.ts index 6a491d40..e2156940 100644 --- a/packages/matrix-protection-suite/src/Membership/FakeRoomMembershipRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/Membership/FakeRoomMembershipRevisionIssuer.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MembershipChange } from "./MembershipChange"; import { RoomMembershipRevision } from "./MembershipRevision"; diff --git a/packages/matrix-protection-suite/src/Membership/MembershipChange.test.ts b/packages/matrix-protection-suite/src/Membership/MembershipChange.test.ts index b682d9bf..a33487b9 100644 --- a/packages/matrix-protection-suite/src/Membership/MembershipChange.test.ts +++ b/packages/matrix-protection-suite/src/Membership/MembershipChange.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2023-2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { describeRoomMember } from "../StateTracking/DeclareRoomState"; import { randomUserID } from "../TestUtilities/EventGeneration"; diff --git a/packages/matrix-protection-suite/src/Membership/MembershipChange.ts b/packages/matrix-protection-suite/src/Membership/MembershipChange.ts index ff8b4ee0..ed51c178 100644 --- a/packages/matrix-protection-suite/src/Membership/MembershipChange.ts +++ b/packages/matrix-protection-suite/src/Membership/MembershipChange.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StaticDecode } from "@sinclair/typebox"; import { diff --git a/packages/matrix-protection-suite/src/Membership/MembershipRevision.ts b/packages/matrix-protection-suite/src/Membership/MembershipRevision.ts index 573c8ef6..8aee3060 100644 --- a/packages/matrix-protection-suite/src/Membership/MembershipRevision.ts +++ b/packages/matrix-protection-suite/src/Membership/MembershipRevision.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Membership/MembershipRevisionIssuer.ts b/packages/matrix-protection-suite/src/Membership/MembershipRevisionIssuer.ts index 5e48466f..ab13acb6 100644 --- a/packages/matrix-protection-suite/src/Membership/MembershipRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/Membership/MembershipRevisionIssuer.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023-2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID } from "@the-draupnir-project/matrix-basic-types"; import { MembershipEvent } from "../MatrixTypes/MembershipEvent"; diff --git a/packages/matrix-protection-suite/src/Membership/RoomMembershipManager.ts b/packages/matrix-protection-suite/src/Membership/RoomMembershipManager.ts index 7c3131b9..b63b2e60 100644 --- a/packages/matrix-protection-suite/src/Membership/RoomMembershipManager.ts +++ b/packages/matrix-protection-suite/src/Membership/RoomMembershipManager.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StaticDecode } from "@sinclair/typebox"; import { ActionResult } from "../Interface/Action"; diff --git a/packages/matrix-protection-suite/src/Membership/RoomStateMembershipRevisionIssuer.ts b/packages/matrix-protection-suite/src/Membership/RoomStateMembershipRevisionIssuer.ts index 52b31bca..f1e4faa9 100644 --- a/packages/matrix-protection-suite/src/Membership/RoomStateMembershipRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/Membership/RoomStateMembershipRevisionIssuer.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from "events"; import { RoomMembershipRevisionIssuer } from "./MembershipRevisionIssuer"; diff --git a/packages/matrix-protection-suite/src/Membership/SetMembershipRevision.ts b/packages/matrix-protection-suite/src/Membership/SetMembershipRevision.ts index 2e464e04..5f099b1b 100644 --- a/packages/matrix-protection-suite/src/Membership/SetMembershipRevision.ts +++ b/packages/matrix-protection-suite/src/Membership/SetMembershipRevision.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Membership, diff --git a/packages/matrix-protection-suite/src/Membership/SetMembershipRevisionIssuer.test.ts b/packages/matrix-protection-suite/src/Membership/SetMembershipRevisionIssuer.test.ts index 7c3787ea..6d5f8048 100644 --- a/packages/matrix-protection-suite/src/Membership/SetMembershipRevisionIssuer.test.ts +++ b/packages/matrix-protection-suite/src/Membership/SetMembershipRevisionIssuer.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 // Things to test: // 1. When it is created, the existing room memberships are accounted for. diff --git a/packages/matrix-protection-suite/src/Membership/SetMembershipRevisionIssuer.ts b/packages/matrix-protection-suite/src/Membership/SetMembershipRevisionIssuer.ts index 1e12022c..3c4080c7 100644 --- a/packages/matrix-protection-suite/src/Membership/SetMembershipRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/Membership/SetMembershipRevisionIssuer.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from "events"; import { diff --git a/packages/matrix-protection-suite/src/Membership/SetRoomMembership.ts b/packages/matrix-protection-suite/src/Membership/SetRoomMembership.ts index db20bd79..146def03 100644 --- a/packages/matrix-protection-suite/src/Membership/SetRoomMembership.ts +++ b/packages/matrix-protection-suite/src/Membership/SetRoomMembership.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID, diff --git a/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevision.test.ts b/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevision.test.ts index db5ad103..7e093b52 100644 --- a/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevision.test.ts +++ b/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevision.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { describeRoomMember } from "../StateTracking/DeclareRoomState"; import { randomRoomID, randomUserID } from "../TestUtilities/EventGeneration"; diff --git a/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevision.ts b/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevision.ts index cd2c893d..a79bb4a2 100644 --- a/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevision.ts +++ b/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevision.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StaticDecode } from "@sinclair/typebox"; import { MembershipEvent } from "../MatrixTypes/MembershipEvent"; diff --git a/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevisionIssuer.ts b/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevisionIssuer.ts index badb2af8..2e05064d 100644 --- a/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/Membership/StandardRoomMembershipRevisionIssuer.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from "events"; import { RoomMembershipRevisionIssuer } from "./MembershipRevisionIssuer"; diff --git a/packages/matrix-protection-suite/src/Membership/StandardSetRoomMembership.ts b/packages/matrix-protection-suite/src/Membership/StandardSetRoomMembership.ts index d02a824f..925d7052 100644 --- a/packages/matrix-protection-suite/src/Membership/StandardSetRoomMembership.ts +++ b/packages/matrix-protection-suite/src/Membership/StandardSetRoomMembership.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from "events"; import { ActionResult, Ok, isError } from "../Interface/Action"; diff --git a/packages/matrix-protection-suite/src/MembershipPolicies/MembershipPolicyRevision.ts b/packages/matrix-protection-suite/src/MembershipPolicies/MembershipPolicyRevision.ts index 53e2e141..c5e42a79 100644 --- a/packages/matrix-protection-suite/src/MembershipPolicies/MembershipPolicyRevision.ts +++ b/packages/matrix-protection-suite/src/MembershipPolicies/MembershipPolicyRevision.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringUserID } from "@the-draupnir-project/matrix-basic-types"; import { diff --git a/packages/matrix-protection-suite/src/MembershipPolicies/SetMembershipPolicyRevisionIssuer.test.ts b/packages/matrix-protection-suite/src/MembershipPolicies/SetMembershipPolicyRevisionIssuer.test.ts index cec8271a..5959e412 100644 --- a/packages/matrix-protection-suite/src/MembershipPolicies/SetMembershipPolicyRevisionIssuer.test.ts +++ b/packages/matrix-protection-suite/src/MembershipPolicies/SetMembershipPolicyRevisionIssuer.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 // Things to test: // 1. Creating the revision from existing room members and policies diff --git a/packages/matrix-protection-suite/src/MembershipPolicies/SetMembershipPolicyRevisionIssuer.ts b/packages/matrix-protection-suite/src/MembershipPolicies/SetMembershipPolicyRevisionIssuer.ts index d7658857..b9bd7526 100644 --- a/packages/matrix-protection-suite/src/MembershipPolicies/SetMembershipPolicyRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/MembershipPolicies/SetMembershipPolicyRevisionIssuer.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from "events"; import { diff --git a/packages/matrix-protection-suite/src/MembershipPolicies/StandardSetMembershipPolicyRevision.ts b/packages/matrix-protection-suite/src/MembershipPolicies/StandardSetMembershipPolicyRevision.ts index 027255e2..99a25d4c 100644 --- a/packages/matrix-protection-suite/src/MembershipPolicies/StandardSetMembershipPolicyRevision.ts +++ b/packages/matrix-protection-suite/src/MembershipPolicies/StandardSetMembershipPolicyRevision.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringUserID, diff --git a/packages/matrix-protection-suite/src/PolicyList/FakePolicyRoomRevisionIssuer.ts b/packages/matrix-protection-suite/src/PolicyList/FakePolicyRoomRevisionIssuer.ts index 8de23355..0e57f095 100644 --- a/packages/matrix-protection-suite/src/PolicyList/FakePolicyRoomRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/PolicyList/FakePolicyRoomRevisionIssuer.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID } from "@the-draupnir-project/matrix-basic-types"; import { RoomStateRevisionIssuer } from "../StateTracking/StateRevisionIssuer"; diff --git a/packages/matrix-protection-suite/src/PolicyList/PolicyListRevision.ts b/packages/matrix-protection-suite/src/PolicyList/PolicyListRevision.ts index e9288c45..96da28d5 100644 --- a/packages/matrix-protection-suite/src/PolicyList/PolicyListRevision.ts +++ b/packages/matrix-protection-suite/src/PolicyList/PolicyListRevision.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/PolicyList/PolicyListRevisionIssuer.ts b/packages/matrix-protection-suite/src/PolicyList/PolicyListRevisionIssuer.ts index 84719c2a..c79ad656 100644 --- a/packages/matrix-protection-suite/src/PolicyList/PolicyListRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/PolicyList/PolicyListRevisionIssuer.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/PolicyList/PolicyRoomEditor.ts b/packages/matrix-protection-suite/src/PolicyList/PolicyRoomEditor.ts index 8c8fd550..661209ff 100644 --- a/packages/matrix-protection-suite/src/PolicyList/PolicyRoomEditor.ts +++ b/packages/matrix-protection-suite/src/PolicyList/PolicyRoomEditor.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/PolicyList/PolicyRoomManger.ts b/packages/matrix-protection-suite/src/PolicyList/PolicyRoomManger.ts index 36066f27..1f9f32f0 100644 --- a/packages/matrix-protection-suite/src/PolicyList/PolicyRoomManger.ts +++ b/packages/matrix-protection-suite/src/PolicyList/PolicyRoomManger.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { RoomCreateOptions } from "../MatrixTypes/CreateRoom"; import { ActionResult } from "../Interface/Action"; diff --git a/packages/matrix-protection-suite/src/PolicyList/PolicyRule.ts b/packages/matrix-protection-suite/src/PolicyList/PolicyRule.ts index 063b8e4e..38e370ce 100644 --- a/packages/matrix-protection-suite/src/PolicyList/PolicyRule.ts +++ b/packages/matrix-protection-suite/src/PolicyList/PolicyRule.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/PolicyList/PolicyRuleChange.ts b/packages/matrix-protection-suite/src/PolicyList/PolicyRuleChange.ts index 2de92145..e3b0baa3 100644 --- a/packages/matrix-protection-suite/src/PolicyList/PolicyRuleChange.ts +++ b/packages/matrix-protection-suite/src/PolicyList/PolicyRuleChange.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/PolicyList/PolicyRuleEventBuilder.ts b/packages/matrix-protection-suite/src/PolicyList/PolicyRuleEventBuilder.ts index 9c6ac1a0..5abe8b8b 100644 --- a/packages/matrix-protection-suite/src/PolicyList/PolicyRuleEventBuilder.ts +++ b/packages/matrix-protection-suite/src/PolicyList/PolicyRuleEventBuilder.ts @@ -1,6 +1,6 @@ // Copyright (C) 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ALL_RULE_TYPES, diff --git a/packages/matrix-protection-suite/src/PolicyList/Revision.ts b/packages/matrix-protection-suite/src/PolicyList/Revision.ts index c0aef9ed..1053d0e9 100644 --- a/packages/matrix-protection-suite/src/PolicyList/Revision.ts +++ b/packages/matrix-protection-suite/src/PolicyList/Revision.ts @@ -1,7 +1,7 @@ // Copyright 2022 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/PolicyList/RoomStatePolicyListRevisionIssuer.ts b/packages/matrix-protection-suite/src/PolicyList/RoomStatePolicyListRevisionIssuer.ts index 96465c38..fbc4ace5 100644 --- a/packages/matrix-protection-suite/src/PolicyList/RoomStatePolicyListRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/PolicyList/RoomStatePolicyListRevisionIssuer.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from "events"; import { diff --git a/packages/matrix-protection-suite/src/PolicyList/StandardPolicyListRevision.ts b/packages/matrix-protection-suite/src/PolicyList/StandardPolicyListRevision.ts index 6133c49f..2c1883ba 100644 --- a/packages/matrix-protection-suite/src/PolicyList/StandardPolicyListRevision.ts +++ b/packages/matrix-protection-suite/src/PolicyList/StandardPolicyListRevision.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2025 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomEditor.ts b/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomEditor.ts index 295a18f8..8f32bea1 100644 --- a/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomEditor.ts +++ b/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomEditor.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomRevision.ts b/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomRevision.ts index 297210c1..1cd4f4bb 100644 --- a/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomRevision.ts +++ b/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomRevision.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2025 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomRevisionIssuer.ts b/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomRevisionIssuer.ts index 01349ebe..7ce4ed04 100644 --- a/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/PolicyList/StandardPolicyRoomRevisionIssuer.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/AccessControl.ts b/packages/matrix-protection-suite/src/Protection/AccessControl.ts index 912f7679..4d95b736 100644 --- a/packages/matrix-protection-suite/src/Protection/AccessControl.ts +++ b/packages/matrix-protection-suite/src/Protection/AccessControl.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 - 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/Capability/CapabilityContextGlue.ts b/packages/matrix-protection-suite/src/Protection/Capability/CapabilityContextGlue.ts index 3d631df5..c1bdd44c 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/CapabilityContextGlue.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/CapabilityContextGlue.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { DescriptionMeta } from "../DescriptionMeta"; import { diff --git a/packages/matrix-protection-suite/src/Protection/Capability/CapabilityInterface.ts b/packages/matrix-protection-suite/src/Protection/Capability/CapabilityInterface.ts index d136f575..25da9def 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/CapabilityInterface.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/CapabilityInterface.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { TSchema } from "@sinclair/typebox"; import { diff --git a/packages/matrix-protection-suite/src/Protection/Capability/CapabilityProvider.ts b/packages/matrix-protection-suite/src/Protection/Capability/CapabilityProvider.ts index 1dccf566..c60bf4ff 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/CapabilityProvider.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/CapabilityProvider.ts @@ -1,7 +1,7 @@ // Copyright 2023 - 2024 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/Capability/CapabilityRenderer.ts b/packages/matrix-protection-suite/src/Protection/Capability/CapabilityRenderer.ts index 003d110d..686e479e 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/CapabilityRenderer.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/CapabilityRenderer.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { DescriptionMeta } from "../DescriptionMeta"; import { findCapabilityContextGlue } from "./CapabilityContextGlue"; diff --git a/packages/matrix-protection-suite/src/Protection/Capability/CapabilitySet.ts b/packages/matrix-protection-suite/src/Protection/Capability/CapabilitySet.ts index a36eceee..28327f85 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/CapabilitySet.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/CapabilitySet.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { PowerLevelPermission } from "../../Client/PowerLevelsMirror"; import { DescriptionMeta } from "../DescriptionMeta"; diff --git a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/CapabilityMethodSchema.ts b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/CapabilityMethodSchema.ts index fc678c35..4a82946f 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/CapabilityMethodSchema.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/CapabilityMethodSchema.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Type } from "@sinclair/typebox"; diff --git a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/EventConsequences.ts b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/EventConsequences.ts index 97509c1d..4f29a924 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/EventConsequences.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/EventConsequences.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Type } from "@sinclair/typebox"; import { ActionResult } from "../../../Interface/Action"; diff --git a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/RoomSetResult.test.ts b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/RoomSetResult.test.ts index c8318b3a..0f8d7fff 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/RoomSetResult.test.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/RoomSetResult.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionError, Ok } from "../../../Interface/Action"; import { diff --git a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/RoomSetResult.ts b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/RoomSetResult.ts index d6dae405..77a684b3 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/RoomSetResult.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/RoomSetResult.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID, diff --git a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/SimulatedEventConsequences.ts b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/SimulatedEventConsequences.ts index 5877ec08..328d5a8f 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/SimulatedEventConsequences.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/SimulatedEventConsequences.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok, Result } from "@gnuxie/typescript-result"; import { RoomEventRedacter } from "../../../Client/RoomEventRedacter"; diff --git a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/SimulatedUserConsequences.ts b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/SimulatedUserConsequences.ts index b0fc8ac8..3067dba5 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/SimulatedUserConsequences.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/SimulatedUserConsequences.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok, Result } from "@gnuxie/typescript-result"; import { RoomBanner } from "../../../Client/RoomBanner"; diff --git a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/StandardEventConsequences.ts b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/StandardEventConsequences.ts index 80c18197..734a02e5 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/StandardEventConsequences.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/StandardEventConsequences.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID, diff --git a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/StandardUserConsequences.ts b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/StandardUserConsequences.ts index cf926bff..c639c6f4 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/StandardUserConsequences.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/StandardUserConsequences.ts @@ -1,7 +1,7 @@ // Copyright 2023 - 2024 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/UserConsequences.ts b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/UserConsequences.ts index b23c7815..06f816d8 100644 --- a/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/UserConsequences.ts +++ b/packages/matrix-protection-suite/src/Protection/Capability/StandardCapability/UserConsequences.ts @@ -1,7 +1,7 @@ // Copyright 2023 - 2024 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/DescriptionMeta.ts b/packages/matrix-protection-suite/src/Protection/DescriptionMeta.ts index 41051dde..2b1c71e0 100644 --- a/packages/matrix-protection-suite/src/Protection/DescriptionMeta.ts +++ b/packages/matrix-protection-suite/src/Protection/DescriptionMeta.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 export type DescriptionMeta = { name: string; diff --git a/packages/matrix-protection-suite/src/Protection/DirectPropagationPolicyListRevisionIssuer.ts b/packages/matrix-protection-suite/src/Protection/DirectPropagationPolicyListRevisionIssuer.ts index fd70af75..195ef283 100644 --- a/packages/matrix-protection-suite/src/Protection/DirectPropagationPolicyListRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/Protection/DirectPropagationPolicyListRevisionIssuer.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsConfig.test.ts b/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsConfig.test.ts index 82bfe22f..b93a4a4f 100644 --- a/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsConfig.test.ts +++ b/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsConfig.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError } from "../../Interface/Action"; import { FakePersistentConfigBackend } from "../../Interface/FakePersistentMatrixData"; diff --git a/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsConfig.ts b/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsConfig.ts index d369ae9c..1cd76f85 100644 --- a/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsConfig.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import AwaitLock from "await-lock"; import { diff --git a/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsDescription.ts b/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsDescription.ts index d327f8ca..c76908f7 100644 --- a/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsDescription.ts +++ b/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirPolicyRoomsDescription.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StaticEncode, Type } from "@sinclair/typebox"; import { describeConfig } from "../../Config/describeConfig"; diff --git a/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirWatchedListsEvent.ts b/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirWatchedListsEvent.ts index ebbd9330..7288e4a9 100644 --- a/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirWatchedListsEvent.ts +++ b/packages/matrix-protection-suite/src/Protection/PolicyListConfig/MjolnirWatchedListsEvent.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/PolicyListConfig/PolicyListConfig.ts b/packages/matrix-protection-suite/src/Protection/PolicyListConfig/PolicyListConfig.ts index d1bcbc61..e37ff175 100644 --- a/packages/matrix-protection-suite/src/Protection/PolicyListConfig/PolicyListConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/PolicyListConfig/PolicyListConfig.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID } from "@the-draupnir-project/matrix-basic-types"; import { ActionResult } from "../../Interface/Action"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/FakeProtectedRoomsConfig.ts b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/FakeProtectedRoomsConfig.ts index af37901f..9f822396 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/FakeProtectedRoomsConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/FakeProtectedRoomsConfig.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ProtectedRoomsConfig } from "./ProtectedRoomsConfig"; import { ActionResult, Ok } from "../../Interface/Action"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/MjolnirProtectedRoomsDescription.ts b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/MjolnirProtectedRoomsDescription.ts index 3f500845..ebb20faf 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/MjolnirProtectedRoomsDescription.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/MjolnirProtectedRoomsDescription.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StaticEncode, Type } from "@sinclair/typebox"; import { describeConfig } from "../../Config/describeConfig"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/MjolnirProtectedRoomsEvent.ts b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/MjolnirProtectedRoomsEvent.ts index a3143e11..64ae8e9f 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/MjolnirProtectedRoomsEvent.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/MjolnirProtectedRoomsEvent.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2023 Gnuxie // Copyright 2019 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/ProtectedRoomsConfig.ts b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/ProtectedRoomsConfig.ts index 7f35525a..2746b2c2 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/ProtectedRoomsConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsConfig/ProtectedRoomsConfig.ts @@ -1,7 +1,7 @@ // Copyright 2019 2022 The Matrix.org Foundation C.I.C. // Copyright 2022 - 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsManager/ProtectedRoomsManager.ts b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsManager/ProtectedRoomsManager.ts index e2ec0cbf..97bdb2e0 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsManager/ProtectedRoomsManager.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsManager/ProtectedRoomsManager.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsManager/StandardProtectedRoomsManager.ts b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsManager/StandardProtectedRoomsManager.ts index 224bfcc7..f9d02699 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsManager/StandardProtectedRoomsManager.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsManager/StandardProtectedRoomsManager.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { EventEmitter } from "events"; import { ActionResult, Ok, isError } from "../../Interface/Action"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsSet.ts b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsSet.ts index 5c00a13d..d1ae3308 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectedRoomsSet.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectedRoomsSet.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2023-2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Task } from "../Interface/Task"; import { RoomEvent } from "../MatrixTypes/Events"; diff --git a/packages/matrix-protection-suite/src/Protection/Protection.ts b/packages/matrix-protection-suite/src/Protection/Protection.ts index 4c6bdf38..8cd35e97 100644 --- a/packages/matrix-protection-suite/src/Protection/Protection.ts +++ b/packages/matrix-protection-suite/src/Protection/Protection.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2025 Gnuxie // Copyright 2019 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionHandles.test.ts b/packages/matrix-protection-suite/src/Protection/ProtectionHandles.test.ts index fb7eda82..01a9b60f 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionHandles.test.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionHandles.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Type } from "@sinclair/typebox"; import { PowerLevelPermission } from "../Client/PowerLevelsMirror"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/FakeProtectionsConfig.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/FakeProtectionsConfig.ts index 19dfbfed..bf988a39 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/FakeProtectionsConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/FakeProtectionsConfig.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StandardPersistentConfigData } from "../../Config/PersistentConfigData"; import { FakePersistentConfigBackend } from "../../Interface/FakePersistentMatrixData"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/MjolnirEnabledProtectionsDescription.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/MjolnirEnabledProtectionsDescription.ts index 9a7e77d6..d70f4e9b 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/MjolnirEnabledProtectionsDescription.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/MjolnirEnabledProtectionsDescription.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StaticEncode, Type } from "@sinclair/typebox"; import { describeConfig } from "../../Config/describeConfig"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/MjolnirEnabledProtectionsEvent.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/MjolnirEnabledProtectionsEvent.ts index 6d27d505..17ba9ea8 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/MjolnirEnabledProtectionsEvent.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/MjolnirEnabledProtectionsEvent.ts @@ -1,7 +1,7 @@ // Copyright 2023 - 2024 Gnuxie // Copyright 2019 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionCapabilityProviderSetConfig/ProtectionCapabilityProviderSetConfig.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionCapabilityProviderSetConfig/ProtectionCapabilityProviderSetConfig.ts index 6d7fb048..23f741c3 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionCapabilityProviderSetConfig/ProtectionCapabilityProviderSetConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionCapabilityProviderSetConfig/ProtectionCapabilityProviderSetConfig.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ProtectionDescription } from "../../Protection"; import { CapabilityProviderSet } from "../../Capability/CapabilitySet"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionCapabilityProviderSetConfig/StandardProtectionCapabilityProviderSetConfig.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionCapabilityProviderSetConfig/StandardProtectionCapabilityProviderSetConfig.ts index bf116740..337f4c44 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionCapabilityProviderSetConfig/StandardProtectionCapabilityProviderSetConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionCapabilityProviderSetConfig/StandardProtectionCapabilityProviderSetConfig.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok, Result, isError } from "@gnuxie/typescript-result"; import { CapabilityProviderSet } from "../../Capability/CapabilitySet"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionSettingsConfig/MjolnirProtectionSettingsConfig.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionSettingsConfig/MjolnirProtectionSettingsConfig.ts index ca7a5bd4..833fb0ba 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionSettingsConfig/MjolnirProtectionSettingsConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionSettingsConfig/MjolnirProtectionSettingsConfig.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { TObject } from "@sinclair/typebox"; import { ProtectionDescription } from "../../Protection"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionSettingsConfig/ProtectionSettingsConfig.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionSettingsConfig/ProtectionSettingsConfig.ts index 031dc176..c1c9a160 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionSettingsConfig/ProtectionSettingsConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionSettingsConfig/ProtectionSettingsConfig.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { TObject } from "@sinclair/typebox"; import { ProtectionDescription } from "../../Protection"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionsConfig.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionsConfig.ts index 135f5089..ce19680d 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionsConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/ProtectionsConfig.ts @@ -1,7 +1,7 @@ // Copyright 2023 - 2024 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/StandardProtectionsConfig.test.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/StandardProtectionsConfig.test.ts index 454eec1f..faa0ca59 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/StandardProtectionsConfig.test.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/StandardProtectionsConfig.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok } from "@gnuxie/typescript-result"; import { FakePersistentConfigBackend } from "../../Interface/FakePersistentMatrixData"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/StandardProtectionsConfig.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/StandardProtectionsConfig.ts index 2f304cdb..ae250c11 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/StandardProtectionsConfig.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsConfig/StandardProtectionsConfig.ts @@ -1,7 +1,7 @@ // Copyright 2023 - 2024 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsManager/FakeProtectionsManager.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsManager/FakeProtectionsManager.ts index 9d054b09..9afbb24a 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsManager/FakeProtectionsManager.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsManager/FakeProtectionsManager.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok } from "@gnuxie/typescript-result"; import { FakeProtectionsConfig } from "../ProtectionsConfig/FakeProtectionsConfig"; diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsManager/ProtectionsManager.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsManager/ProtectionsManager.ts index 4478bb87..c21e0607 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsManager/ProtectionsManager.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsManager/ProtectionsManager.ts @@ -1,7 +1,7 @@ // Copyright 2023 Gnuxie // Copyright 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/ProtectionsManager/StandardProtectionsManager.ts b/packages/matrix-protection-suite/src/Protection/ProtectionsManager/StandardProtectionsManager.ts index 82effa4b..9b684d6a 100644 --- a/packages/matrix-protection-suite/src/Protection/ProtectionsManager/StandardProtectionsManager.ts +++ b/packages/matrix-protection-suite/src/Protection/ProtectionsManager/StandardProtectionsManager.ts @@ -1,7 +1,7 @@ // Copyright 2023 - 2025 Gnuxie // Copyright 2019 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/StandardProtections/MemberBanSynchronisation/MemberBanSynchronisation.test.ts b/packages/matrix-protection-suite/src/Protection/StandardProtections/MemberBanSynchronisation/MemberBanSynchronisation.test.ts index e3856f63..a02f96c3 100644 --- a/packages/matrix-protection-suite/src/Protection/StandardProtections/MemberBanSynchronisation/MemberBanSynchronisation.test.ts +++ b/packages/matrix-protection-suite/src/Protection/StandardProtections/MemberBanSynchronisation/MemberBanSynchronisation.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2023-2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { findProtection } from "../../Protection"; import "./MemberBanSynchronisation"; diff --git a/packages/matrix-protection-suite/src/Protection/StandardProtections/MemberBanSynchronisation/MemberBanSynchronisation.ts b/packages/matrix-protection-suite/src/Protection/StandardProtections/MemberBanSynchronisation/MemberBanSynchronisation.ts index 464f4db3..40dfc85d 100644 --- a/packages/matrix-protection-suite/src/Protection/StandardProtections/MemberBanSynchronisation/MemberBanSynchronisation.ts +++ b/packages/matrix-protection-suite/src/Protection/StandardProtections/MemberBanSynchronisation/MemberBanSynchronisation.ts @@ -1,7 +1,7 @@ // Copyright 2022-2023 Gnuxie // Copyright 2019 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerACLSynchronisationCapability.test.ts b/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerACLSynchronisationCapability.test.ts index 56583437..709b9005 100644 --- a/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerACLSynchronisationCapability.test.ts +++ b/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerACLSynchronisationCapability.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { PolicyRuleEvent, diff --git a/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerACLSynchronisationCapability.ts b/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerACLSynchronisationCapability.ts index 32a2c6a9..36a8005f 100644 --- a/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerACLSynchronisationCapability.ts +++ b/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerACLSynchronisationCapability.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID, diff --git a/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerBanSynchronisation.ts b/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerBanSynchronisation.ts index 726be62a..ddb9e170 100644 --- a/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerBanSynchronisation.ts +++ b/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerBanSynchronisation.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2025 Gnuxie // Copyright 2019 2022 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerBanSynchronisationCapability.ts b/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerBanSynchronisationCapability.ts index 5f5302fa..246e2ec0 100644 --- a/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerBanSynchronisationCapability.ts +++ b/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/ServerBanSynchronisationCapability.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 - 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID } from "@the-draupnir-project/matrix-basic-types"; import { Capability } from "../../Capability/CapabilityProvider"; diff --git a/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/SimulatedServerBanSynchronisationCapability.ts b/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/SimulatedServerBanSynchronisationCapability.ts index 12b9ad0c..bc13d895 100644 --- a/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/SimulatedServerBanSynchronisationCapability.ts +++ b/packages/matrix-protection-suite/src/Protection/StandardProtections/ServerBanSynchronisation/SimulatedServerBanSynchronisationCapability.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { Ok } from "@gnuxie/typescript-result"; import { randomEventID } from "../../../TestUtilities/EventGeneration"; diff --git a/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/HashReverser/Reversal.ts b/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/HashReverser/Reversal.ts index 0288cd29..6f2812f7 100644 --- a/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/HashReverser/Reversal.ts +++ b/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/HashReverser/Reversal.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { PolicyRuleType } from "../../../MatrixTypes/PolicyEvents"; import { PolicyListRevision } from "../../../PolicyList/PolicyListRevision"; diff --git a/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/HashReverser/SHA256HashReverser.ts b/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/HashReverser/SHA256HashReverser.ts index 2c10aa2a..a46ec816 100644 --- a/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/HashReverser/SHA256HashReverser.ts +++ b/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/HashReverser/SHA256HashReverser.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 /** * The purpose of the hash reverser is to implement the PolicyListRevisionIssuer interface by taking another PolicyListRevision, diff --git a/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/StandardWatchedPolicyRooms.ts b/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/StandardWatchedPolicyRooms.ts index dcdc9875..9edfb3e1 100644 --- a/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/StandardWatchedPolicyRooms.ts +++ b/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/StandardWatchedPolicyRooms.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID, diff --git a/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/WatchedPolicyRooms.ts b/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/WatchedPolicyRooms.ts index 7a2bda4e..29f554ae 100644 --- a/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/WatchedPolicyRooms.ts +++ b/packages/matrix-protection-suite/src/Protection/WatchedPolicyRooms/WatchedPolicyRooms.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { MatrixRoomID } from "@the-draupnir-project/matrix-basic-types"; import { diff --git a/packages/matrix-protection-suite/src/Reporting/EventReport.ts b/packages/matrix-protection-suite/src/Reporting/EventReport.ts index 6d1c0a35..28133c0e 100644 --- a/packages/matrix-protection-suite/src/Reporting/EventReport.ts +++ b/packages/matrix-protection-suite/src/Reporting/EventReport.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringEventID, diff --git a/packages/matrix-protection-suite/src/SafeMatrixEvents/MatrixEventMixinDescriptions/DefaultMixinExtractor.test.ts b/packages/matrix-protection-suite/src/SafeMatrixEvents/MatrixEventMixinDescriptions/DefaultMixinExtractor.test.ts index 3eac6266..d03916ac 100644 --- a/packages/matrix-protection-suite/src/SafeMatrixEvents/MatrixEventMixinDescriptions/DefaultMixinExtractor.test.ts +++ b/packages/matrix-protection-suite/src/SafeMatrixEvents/MatrixEventMixinDescriptions/DefaultMixinExtractor.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { RoomEvent } from "../../MatrixTypes/Events"; import { diff --git a/packages/matrix-protection-suite/src/SafeMatrixEvents/SafeMembershipEvent.test.ts b/packages/matrix-protection-suite/src/SafeMatrixEvents/SafeMembershipEvent.test.ts index 3fe07484..61ffd841 100644 --- a/packages/matrix-protection-suite/src/SafeMatrixEvents/SafeMembershipEvent.test.ts +++ b/packages/matrix-protection-suite/src/SafeMatrixEvents/SafeMembershipEvent.test.ts @@ -1,6 +1,6 @@ // Copyright 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError } from "../Interface/Action"; import { SafeMembershipEventMirror } from "./SafeMembershipEvent"; diff --git a/packages/matrix-protection-suite/src/SafeMatrixEvents/SafeMembershipEvent.ts b/packages/matrix-protection-suite/src/SafeMatrixEvents/SafeMembershipEvent.ts index a3dcc1d2..8a3ed830 100644 --- a/packages/matrix-protection-suite/src/SafeMatrixEvents/SafeMembershipEvent.ts +++ b/packages/matrix-protection-suite/src/SafeMatrixEvents/SafeMembershipEvent.ts @@ -1,6 +1,6 @@ // Copyright 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { ActionResult, Ok, isError, isOk } from "../Interface/Action"; import { DecodeException, Value } from "../Interface/Value"; diff --git a/packages/matrix-protection-suite/src/SafeMatrixEvents/UndecodableEventContent.ts b/packages/matrix-protection-suite/src/SafeMatrixEvents/UndecodableEventContent.ts index 43150d82..539d4c9b 100644 --- a/packages/matrix-protection-suite/src/SafeMatrixEvents/UndecodableEventContent.ts +++ b/packages/matrix-protection-suite/src/SafeMatrixEvents/UndecodableEventContent.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { isError, Ok, Result } from "@gnuxie/typescript-result"; import { UnsafeEvent } from "./UnsafeEvent"; diff --git a/packages/matrix-protection-suite/src/SafeMatrixEvents/UnsafeEvent.ts b/packages/matrix-protection-suite/src/SafeMatrixEvents/UnsafeEvent.ts index 16c93cad..d823ebc2 100644 --- a/packages/matrix-protection-suite/src/SafeMatrixEvents/UnsafeEvent.ts +++ b/packages/matrix-protection-suite/src/SafeMatrixEvents/UnsafeEvent.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { RoomEvent } from "../MatrixTypes/Events"; import { UnsafeContentKey } from "./SafeMembershipEvent"; diff --git a/packages/matrix-protection-suite/src/SafeMatrixEvents/hasOwn.ts b/packages/matrix-protection-suite/src/SafeMatrixEvents/hasOwn.ts index 1a9bea10..7d5d48b0 100644 --- a/packages/matrix-protection-suite/src/SafeMatrixEvents/hasOwn.ts +++ b/packages/matrix-protection-suite/src/SafeMatrixEvents/hasOwn.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: Bea <20361868+enbea@users.noreply.github.com> // -// SPDX-License-Identifier: 0BSD +// SPDX-License-Identifier: Apache-2.0 type CoalesceNever = [T1] extends [never] ? T2 : T1; diff --git a/packages/matrix-protection-suite/src/StateTracking/DeclareRoomState.ts b/packages/matrix-protection-suite/src/StateTracking/DeclareRoomState.ts index 83540edd..e5abc669 100644 --- a/packages/matrix-protection-suite/src/StateTracking/DeclareRoomState.ts +++ b/packages/matrix-protection-suite/src/StateTracking/DeclareRoomState.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { randomUUID } from "crypto"; import { StateEvent } from "../MatrixTypes/Events"; diff --git a/packages/matrix-protection-suite/src/StateTracking/FakePolicyRoomManager.ts b/packages/matrix-protection-suite/src/StateTracking/FakePolicyRoomManager.ts index cd9d9dc2..ceabd857 100644 --- a/packages/matrix-protection-suite/src/StateTracking/FakePolicyRoomManager.ts +++ b/packages/matrix-protection-suite/src/StateTracking/FakePolicyRoomManager.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID, diff --git a/packages/matrix-protection-suite/src/StateTracking/FakeRoomStateManager.ts b/packages/matrix-protection-suite/src/StateTracking/FakeRoomStateManager.ts index 38c46d9d..375695c2 100644 --- a/packages/matrix-protection-suite/src/StateTracking/FakeRoomStateManager.ts +++ b/packages/matrix-protection-suite/src/StateTracking/FakeRoomStateManager.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID, diff --git a/packages/matrix-protection-suite/src/StateTracking/FakeRoomStateRevisionIssuer.ts b/packages/matrix-protection-suite/src/StateTracking/FakeRoomStateRevisionIssuer.ts index 85705487..1b6b6147 100644 --- a/packages/matrix-protection-suite/src/StateTracking/FakeRoomStateRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/StateTracking/FakeRoomStateRevisionIssuer.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from "events"; import { diff --git a/packages/matrix-protection-suite/src/StateTracking/RoomStateBackingStore.ts b/packages/matrix-protection-suite/src/StateTracking/RoomStateBackingStore.ts index 70f5b569..57d2bf85 100644 --- a/packages/matrix-protection-suite/src/StateTracking/RoomStateBackingStore.ts +++ b/packages/matrix-protection-suite/src/StateTracking/RoomStateBackingStore.ts @@ -1,6 +1,6 @@ // Copyright (C) 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID } from "@the-draupnir-project/matrix-basic-types"; import { ActionResult } from "../Interface/Action"; diff --git a/packages/matrix-protection-suite/src/StateTracking/SetRoomState.ts b/packages/matrix-protection-suite/src/StateTracking/SetRoomState.ts index d2a50d83..b61e702a 100644 --- a/packages/matrix-protection-suite/src/StateTracking/SetRoomState.ts +++ b/packages/matrix-protection-suite/src/StateTracking/SetRoomState.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 - 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { StringRoomID, diff --git a/packages/matrix-protection-suite/src/StateTracking/StandardRoomStateRevision.ts b/packages/matrix-protection-suite/src/StateTracking/StandardRoomStateRevision.ts index 9428d31f..fcf6de1f 100644 --- a/packages/matrix-protection-suite/src/StateTracking/StandardRoomStateRevision.ts +++ b/packages/matrix-protection-suite/src/StateTracking/StandardRoomStateRevision.ts @@ -1,7 +1,7 @@ // Copyright (C) 2022 - 2023 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/StateTracking/StandardRoomStateRevisionIssuer.ts b/packages/matrix-protection-suite/src/StateTracking/StandardRoomStateRevisionIssuer.ts index 2229c878..3420c09a 100644 --- a/packages/matrix-protection-suite/src/StateTracking/StandardRoomStateRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/StateTracking/StandardRoomStateRevisionIssuer.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023-2025 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from "events"; import { diff --git a/packages/matrix-protection-suite/src/StateTracking/StandardSetRoomState.ts b/packages/matrix-protection-suite/src/StateTracking/StandardSetRoomState.ts index 69bca54a..d6989907 100644 --- a/packages/matrix-protection-suite/src/StateTracking/StandardSetRoomState.ts +++ b/packages/matrix-protection-suite/src/StateTracking/StandardSetRoomState.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from "events"; import { diff --git a/packages/matrix-protection-suite/src/StateTracking/StateChangeType.test.ts b/packages/matrix-protection-suite/src/StateTracking/StateChangeType.test.ts index 2249d039..7da5ea88 100644 --- a/packages/matrix-protection-suite/src/StateTracking/StateChangeType.test.ts +++ b/packages/matrix-protection-suite/src/StateTracking/StateChangeType.test.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2023-2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 // please note that the changes calculated from this test need to be tested // against the standard policy list revision. diff --git a/packages/matrix-protection-suite/src/StateTracking/StateChangeType.ts b/packages/matrix-protection-suite/src/StateTracking/StateChangeType.ts index 93a666ab..5677d29d 100644 --- a/packages/matrix-protection-suite/src/StateTracking/StateChangeType.ts +++ b/packages/matrix-protection-suite/src/StateTracking/StateChangeType.ts @@ -1,7 +1,7 @@ // Copyright 2022 - 2024 Gnuxie // Copyright 2019 - 2021 The Matrix.org Foundation C.I.C. // -// SPDX-License-Identifier: AFL-3.0 AND Apache-2.0 +// SPDX-License-Identifier: Apache-2.0 // // SPDX-FileAttributionText: // This modified file incorporates work from mjolnir diff --git a/packages/matrix-protection-suite/src/StateTracking/StateRevisionIssuer.ts b/packages/matrix-protection-suite/src/StateTracking/StateRevisionIssuer.ts index 644c585b..fe399bf2 100644 --- a/packages/matrix-protection-suite/src/StateTracking/StateRevisionIssuer.ts +++ b/packages/matrix-protection-suite/src/StateTracking/StateRevisionIssuer.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023-2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 // TODO // - IMPORTANT diff --git a/packages/matrix-protection-suite/src/TestUtilities/EventGeneration.ts b/packages/matrix-protection-suite/src/TestUtilities/EventGeneration.ts index 3e910ead..99088c15 100644 --- a/packages/matrix-protection-suite/src/TestUtilities/EventGeneration.ts +++ b/packages/matrix-protection-suite/src/TestUtilities/EventGeneration.ts @@ -1,6 +1,6 @@ // Copyright (C) 2023 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 import { randomUUID } from "crypto"; import { PolicyRuleEvent, PolicyRuleType } from "../MatrixTypes/PolicyEvents"; diff --git a/packages/matrix-protection-suite/src/index.ts b/packages/matrix-protection-suite/src/index.ts index e116ad32..c7f83352 100644 --- a/packages/matrix-protection-suite/src/index.ts +++ b/packages/matrix-protection-suite/src/index.ts @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: AFL-3.0 +// SPDX-License-Identifier: Apache-2.0 // For the love of god keep this in alphabetical order please. export * from "./Client/Pagination/MatrixPaginator"; diff --git a/packages/mps-interface-adaptor/CHANGELOG.md b/packages/mps-interface-adaptor/CHANGELOG.md index 5436d5ab..9b0a99ee 100644 --- a/packages/mps-interface-adaptor/CHANGELOG.md +++ b/packages/mps-interface-adaptor/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog diff --git a/packages/mps-interface-adaptor/REUSE.toml b/packages/mps-interface-adaptor/REUSE.toml index 9d591b88..68c02f5a 100644 --- a/packages/mps-interface-adaptor/REUSE.toml +++ b/packages/mps-interface-adaptor/REUSE.toml @@ -7,31 +7,31 @@ SPDX-PackageDownloadLocation = "https://github.com/Gnuxie/tsconfig" path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.test.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package-lock.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "yarn.lock" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "0BSD" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package.json" diff --git a/packages/tsconfig/CHANGELOG.md b/packages/tsconfig/CHANGELOG.md index d07cab2d..0d6c1856 100644 --- a/packages/tsconfig/CHANGELOG.md +++ b/packages/tsconfig/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog diff --git a/packages/tsconfig/REUSE.toml b/packages/tsconfig/REUSE.toml index f0c08b3e..62aabe53 100644 --- a/packages/tsconfig/REUSE.toml +++ b/packages/tsconfig/REUSE.toml @@ -7,19 +7,19 @@ SPDX-PackageDownloadLocation = "https://github.com/the-draupnir-project/interfac path = "REUSE.toml" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "CC0-1.0" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "tsconfig.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "CC0-1.0" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package-lock.json" precedence = "aggregate" SPDX-FileCopyrightText = "Gnuxie " -SPDX-License-Identifier = "CC0-1.0" +SPDX-License-Identifier = "Apache-2.0" [[annotations]] path = "package.json" diff --git a/packages/tsconfig/src/eslint9.mjs b/packages/tsconfig/src/eslint9.mjs index 1abb1366..821379f2 100644 --- a/packages/tsconfig/src/eslint9.mjs +++ b/packages/tsconfig/src/eslint9.mjs @@ -1,6 +1,6 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: 0BSD +// SPDX-License-Identifier: Apache-2.0 import eslint from "@eslint/js"; import tseslint from "typescript-eslint"; diff --git a/packages/tsconfig/src/index.js b/packages/tsconfig/src/index.js index 1a37254d..2cd2c332 100644 --- a/packages/tsconfig/src/index.js +++ b/packages/tsconfig/src/index.js @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: 2024 Gnuxie // -// SPDX-License-Identifier: 0BSD +// SPDX-License-Identifier: Apache-2.0 export { default as draupnirESLint } from "./eslint9.mjs";