Procházet zdrojové kódy

Add license information to files for matrix-dendrite

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4124/head
Suguru Hirahara před 1 rokem
rodič
revize
e870f0b664
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: E4F9743DAB4B7B75
14 změnil soubory, kde provedl 99 přidání a 0 odebrání
  1. +8
    -0
      docs/configuring-playbook-dendrite.md
  2. +14
    -0
      roles/custom/matrix-dendrite/defaults/main.yml
  3. +7
    -0
      roles/custom/matrix-dendrite/tasks/main.yml
  4. +6
    -0
      roles/custom/matrix-dendrite/tasks/register_user.yml
  5. +6
    -0
      roles/custom/matrix-dendrite/tasks/self_check_client_api.yml
  6. +6
    -0
      roles/custom/matrix-dendrite/tasks/self_check_federation_api.yml
  7. +11
    -0
      roles/custom/matrix-dendrite/tasks/setup_install.yml
  8. +4
    -0
      roles/custom/matrix-dendrite/tasks/setup_uninstall.yml
  9. +6
    -0
      roles/custom/matrix-dendrite/tasks/validate_config.yml
  10. +3
    -0
      roles/custom/matrix-dendrite/templates/bin/create-account.j2.license
  11. +10
    -0
      roles/custom/matrix-dendrite/templates/dendrite.yaml.j2
  12. +6
    -0
      roles/custom/matrix-dendrite/templates/labels.j2
  13. +7
    -0
      roles/custom/matrix-dendrite/templates/systemd/matrix-dendrite.service.j2.license
  14. +5
    -0
      roles/custom/matrix-dendrite/vars/main.yml

+ 8
- 0
docs/configuring-playbook-dendrite.md Zobrazit soubor

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

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

# Configuring Dendrite (optional)

The playbook can install and configure the [Dendrite](https://github.com/element-hq/dendrite) Matrix server for you.


+ 14
- 0
roles/custom/matrix-dendrite/defaults/main.yml Zobrazit soubor

@@ -1,3 +1,17 @@
# SPDX-FileCopyrightText: 2022 - 2023 MDAD project contributors
# SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Aaron Raimist
# SPDX-FileCopyrightText: 2022 Darren Rambaud
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Nikita Chernyi
# SPDX-FileCopyrightText: 2022 Shaleen Jain
# SPDX-FileCopyrightText: 2023 Isaiah Becker-Mayer
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
# Dendrite is a second-generation Matrix homeserver currently in Beta
# Project source code URL: https://github.com/matrix-org/dendrite


+ 7
- 0
roles/custom/matrix-dendrite/tasks/main.yml Zobrazit soubor

@@ -1,3 +1,10 @@
# SPDX-FileCopyrightText: 2022 - 2023 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Aaron Raimist
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 6
- 0
roles/custom/matrix-dendrite/tasks/register_user.yml Zobrazit soubor

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Fail if playbook called incorrectly


+ 6
- 0
roles/custom/matrix-dendrite/tasks/self_check_client_api.yml Zobrazit soubor

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
- name: Check Matrix Client API
ansible.builtin.uri:


+ 6
- 0
roles/custom/matrix-dendrite/tasks/self_check_federation_api.yml Zobrazit soubor

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
- name: Check Matrix Federation API
ansible.builtin.uri:


+ 11
- 0
roles/custom/matrix-dendrite/tasks/setup_install.yml Zobrazit soubor

@@ -1,3 +1,14 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Jim Myhrberg
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Nikita Chernyi
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
# SPDX-FileCopyrightText: 2023 Isaiah Becker-Mayer
# SPDX-FileCopyrightText: 2024 David Mehren
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
- name: Ensure Dendrite paths exist
ansible.builtin.file:


+ 4
- 0
roles/custom/matrix-dendrite/tasks/setup_uninstall.yml Zobrazit soubor

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

---

- name: Check existence of matrix-dendrite service


+ 6
- 0
roles/custom/matrix-dendrite/tasks/validate_config.yml Zobrazit soubor

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2023 MDAD project contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: (Deprecation) Catch and report renamed Dendrite settings


+ 3
- 0
roles/custom/matrix-dendrite/templates/bin/create-account.j2.license Zobrazit soubor

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

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

+ 10
- 0
roles/custom/matrix-dendrite/templates/dendrite.yaml.j2 Zobrazit soubor

@@ -1,3 +1,13 @@
{#
SPDX-FileCopyrightText: 2022 - 2023 MDAD project contributors
SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Jip J. Dekker
SPDX-FileCopyrightText: 2022 Shaleen Jain
SPDX-FileCopyrightText: 2024 Suguru Hirahara

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

# This is the Dendrite configuration file.
#
# The configuration is split up into sections - each Dendrite component has a


+ 6
- 0
roles/custom/matrix-dendrite/templates/labels.j2 Zobrazit soubor

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

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

{% if matrix_dendrite_container_labels_traefik_enabled %}
traefik.enable=true



+ 7
- 0
roles/custom/matrix-dendrite/templates/systemd/matrix-dendrite.service.j2.license Zobrazit soubor

@@ -0,0 +1,7 @@
SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Charles Wright
SPDX-FileCopyrightText: 2022 Jip J. Dekker
SPDX-FileCopyrightText: 2022 MDAD project contributors
SPDX-FileCopyrightText: 2022 Shaleen Jain

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

+ 5
- 0
roles/custom/matrix-dendrite/vars/main.yml Zobrazit soubor

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
matrix_dendrite_client_api_url_endpoint_public: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}://{{ matrix_dendrite_hostname }}/_matrix/client/versions"
matrix_dendrite_federation_api_url_endpoint_public: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}://{{ matrix_dendrite_hostname }}:{{ matrix_federation_public_port }}/_matrix/federation/v1/version"


Načítá se…
Zrušit
Uložit