Quellcode durchsuchen

Add license information to files for matrix-registration

This commit adds copyright attributions in SPDX to the files for matrix-registration following REUSE's specification.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4104/head
Suguru Hirahara vor 1 Jahr
Ursprung
Commit
44d91c6383
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: E4F9743DAB4B7B75
11 geänderte Dateien mit 70 neuen und 0 gelöschten Zeilen
  1. +8
    -0
      docs/configuring-playbook-matrix-registration.md
  2. +10
    -0
      roles/custom/matrix-registration/defaults/main.yml
  3. +5
    -0
      roles/custom/matrix-registration/tasks/generate_token.yml
  4. +6
    -0
      roles/custom/matrix-registration/tasks/list_tokens.yml
  5. +6
    -0
      roles/custom/matrix-registration/tasks/main.yml
  6. +10
    -0
      roles/custom/matrix-registration/tasks/setup_install.yml
  7. +6
    -0
      roles/custom/matrix-registration/tasks/setup_uninstall.yml
  8. +4
    -0
      roles/custom/matrix-registration/tasks/validate_config.yml
  9. +6
    -0
      roles/custom/matrix-registration/templates/config.yaml.j2
  10. +6
    -0
      roles/custom/matrix-registration/templates/labels.j2
  11. +3
    -0
      roles/custom/matrix-registration/templates/systemd/matrix-registration.service.j2.license

+ 8
- 0
docs/configuring-playbook-matrix-registration.md Datei anzeigen

@@ -1,3 +1,11 @@
<!--
SPDX-FileCopyrightText: 2020 - 2022 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 MDAD project contributors
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# Setting up matrix-registration (optional)

> [!WARNING]


+ 10
- 0
roles/custom/matrix-registration/defaults/main.yml Datei anzeigen

@@ -1,3 +1,13 @@
# SPDX-FileCopyrightText: 2020 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2021 Ahmad Haghighi
# SPDX-FileCopyrightText: 2021 Aaron Raimist
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Nikita Chernyi
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
# matrix-registration is a simple python application to have a token based Matrix registration
# See: https://zeratax.github.io/matrix-registration/


+ 5
- 0
roles/custom/matrix-registration/tasks/generate_token.yml Datei anzeigen

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2020 - 2022 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Marko Weltzer
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Fail if playbook called incorrectly


+ 6
- 0
roles/custom/matrix-registration/tasks/list_tokens.yml Datei anzeigen

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2021 MDAD project contributors
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Call matrix-registration list all tokens API


+ 6
- 0
roles/custom/matrix-registration/tasks/main.yml Datei anzeigen

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2020 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2021 MDAD project contributors
# SPDX-FileCopyrightText: 2022 Marko Weltzer
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 10
- 0
roles/custom/matrix-registration/tasks/setup_install.yml Datei anzeigen

@@ -1,3 +1,13 @@
# SPDX-FileCopyrightText: 2020 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2020 Stuart Mumford
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Jim Myhrberg
# SPDX-FileCopyrightText: 2022 Nikita Chernyi
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
# SPDX-FileCopyrightText: 2024 David Mehren
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- ansible.builtin.set_fact:


+ 6
- 0
roles/custom/matrix-registration/tasks/setup_uninstall.yml Datei anzeigen

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2020 - 2022 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Check existence of matrix-registration service


+ 4
- 0
roles/custom/matrix-registration/tasks/validate_config.yml Datei anzeigen

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 - 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Fail if required matrix-registration settings not defined


+ 6
- 0
roles/custom/matrix-registration/templates/config.yaml.j2 Datei anzeigen

@@ -1,3 +1,9 @@
{#
SPDX-FileCopyrightText: 2020 - 2022 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later
#}

server_location: {{ matrix_registration_server_location|to_json }}
server_name: {{ matrix_registration_server_name|to_json }}
shared_secret: {{ matrix_registration_shared_secret|to_json }}


+ 6
- 0
roles/custom/matrix-registration/templates/labels.j2 Datei anzeigen

@@ -1,3 +1,9 @@
{#
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{% if matrix_registration_container_labels_traefik_enabled %}
traefik.enable=true



+ 3
- 0
roles/custom/matrix-registration/templates/systemd/matrix-registration.service.j2.license Datei anzeigen

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2020 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

Laden…
Abbrechen
Speichern