Bladeren bron

Merge pull request #4127 from luixxiul/fix

Add license information to files for components
pull/4133/head
Slavi Pantaleev 1 jaar geleden
committed by GitHub
bovenliggende
commit
a83d79e229
Geen bekende sleutel gevonden voor deze handtekening in de database GPG sleutel-ID: B5690EEEBB952194
31 gewijzigde bestanden met toevoegingen van 211 en 0 verwijderingen
  1. +8
    -0
      docs/configuring-playbook-matrix-ldap-registration-proxy.md
  2. +9
    -0
      docs/configuring-playbook-matrix-media-repo.md
  3. +10
    -0
      docs/configuring-playbook-turn.md
  4. +15
    -0
      roles/custom/matrix-coturn/defaults/main.yml
  5. +6
    -0
      roles/custom/matrix-coturn/tasks/main.yml
  6. +14
    -0
      roles/custom/matrix-coturn/tasks/setup_install.yml
  7. +5
    -0
      roles/custom/matrix-coturn/tasks/setup_uninstall.yml
  8. +5
    -0
      roles/custom/matrix-coturn/tasks/validate_config.yml
  9. +6
    -0
      roles/custom/matrix-coturn/templates/systemd/matrix-coturn-reload.service.j2
  10. +8
    -0
      roles/custom/matrix-coturn/templates/systemd/matrix-coturn-reload.timer.j2
  11. +8
    -0
      roles/custom/matrix-coturn/templates/systemd/matrix-coturn.service.j2.license
  12. +6
    -0
      roles/custom/matrix-coturn/templates/turnserver.conf.j2.license
  13. +4
    -0
      roles/custom/matrix-coturn/vars/main.yml
  14. +6
    -0
      roles/custom/matrix-ldap-registration-proxy/defaults/main.yml
  15. +6
    -0
      roles/custom/matrix-ldap-registration-proxy/tasks/main.yml
  16. +8
    -0
      roles/custom/matrix-ldap-registration-proxy/tasks/setup_install.yml
  17. +6
    -0
      roles/custom/matrix-ldap-registration-proxy/tasks/setup_uninstall.yml
  18. +6
    -0
      roles/custom/matrix-ldap-registration-proxy/tasks/validate_config.yml
  19. +6
    -0
      roles/custom/matrix-ldap-registration-proxy/templates/labels.j2
  20. +8
    -0
      roles/custom/matrix-ldap-registration-proxy/templates/ldap-registration-proxy.env.j2
  21. +5
    -0
      roles/custom/matrix-ldap-registration-proxy/templates/systemd/matrix-ldap-registration-proxy.service.j2.license
  22. +8
    -0
      roles/custom/matrix-media-repo/defaults/main.yml
  23. +5
    -0
      roles/custom/matrix-media-repo/tasks/main.yml
  24. +7
    -0
      roles/custom/matrix-media-repo/tasks/setup_install.yml
  25. +4
    -0
      roles/custom/matrix-media-repo/tasks/setup_uninstall.yml
  26. +5
    -0
      roles/custom/matrix-media-repo/tasks/validate_config.yml
  27. +3
    -0
      roles/custom/matrix-media-repo/templates/grafana/media-repo.json.license
  28. +6
    -0
      roles/custom/matrix-media-repo/templates/media-repo/env.j2
  29. +7
    -0
      roles/custom/matrix-media-repo/templates/media-repo/labels.j2
  30. +7
    -0
      roles/custom/matrix-media-repo/templates/media-repo/media-repo.yaml.j2
  31. +4
    -0
      roles/custom/matrix-media-repo/templates/media-repo/systemd/matrix-media-repo.service.j2.license

+ 8
- 0
docs/configuring-playbook-matrix-ldap-registration-proxy.md Bestand weergeven

@@ -1,3 +1,11 @@
<!--
SPDX-FileCopyrightText: 2022 Julian-Samuel Gebühr
SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

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

# Setting up matrix-ldap-registration-proxy (optional)

The playbook can install and configure [matrix-ldap-registration-proxy](https://gitlab.com/activism.international/matrix_ldap_registration_proxy) for you.


+ 9
- 0
docs/configuring-playbook-matrix-media-repo.md Bestand weergeven

@@ -1,3 +1,12 @@
<!--
SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
SPDX-FileCopyrightText: 2023 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2023 MDAD project contributors
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

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

# Storing Matrix media files using matrix-media-repo (optional)

The playbook can install and configure [matrix-media-repo](https://docs.t2bot.io/matrix-media-repo/) (often abbreviated "MMR") for you.


+ 10
- 0
docs/configuring-playbook-turn.md Bestand weergeven

@@ -1,3 +1,13 @@
<!--
SPDX-FileCopyrightText: 2019 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2020 Christian Wolf
SPDX-FileCopyrightText: 2020 MDAD project contributors
SPDX-FileCopyrightText: 2020 Marcel Partap
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

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

# Configuring a TURN server (optional, advanced)

By default, this playbook installs and configures the [coturn](https://github.com/coturn/coturn) as a TURN server, through which clients can make audio/video calls even from [NAT](https://en.wikipedia.org/wiki/Network_address_translation)-ed networks. It also configures the Synapse chat server by default, so that it points to the coturn TURN server installed by the playbook. If that's okay, you can skip this document.


+ 15
- 0
roles/custom/matrix-coturn/defaults/main.yml Bestand weergeven

@@ -1,3 +1,18 @@
# SPDX-FileCopyrightText: 2019 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2019 Stuart Mumford
# SPDX-FileCopyrightText: 2019 Sylvia van Os
# SPDX-FileCopyrightText: 2020 - 2021 Dan Arnfield
# SPDX-FileCopyrightText: 2020 Horvath Gergely
# SPDX-FileCopyrightText: 2021 - 2022 MDAD project contributors
# SPDX-FileCopyrightText: 2021 Ahmad Haghighi
# SPDX-FileCopyrightText: 2022 - 2023 Nikita Chernyi
# SPDX-FileCopyrightText: 2022 Hefty Zauk
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
# SPDX-FileCopyrightText: 2025 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
# Project source code URL: https://github.com/coturn/coturn



+ 6
- 0
roles/custom/matrix-coturn/tasks/main.yml Bestand weergeven

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2019 - 2023 Slavi Pantaleev
# SPDX-FileCopyrightText: 2019 Dan Arnfield
# SPDX-FileCopyrightText: 2022 Marko Weltzer
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 14
- 0
roles/custom/matrix-coturn/tasks/setup_install.yml Bestand weergeven

@@ -1,3 +1,17 @@
# SPDX-FileCopyrightText: 2018 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2019 - 2020 MDAD project contributors
# SPDX-FileCopyrightText: 2019 Dan Arnfield
# SPDX-FileCopyrightText: 2020 Béla Becker
# SPDX-FileCopyrightText: 2020 Chris van Dijk
# SPDX-FileCopyrightText: 2020 Horvath Gergely
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Nikita Chernyi
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
# SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
# SPDX-FileCopyrightText: 2024 David Mehren
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- when: matrix_coturn_turn_external_ip_address_auto_detection_enabled | bool


+ 5
- 0
roles/custom/matrix-coturn/tasks/setup_uninstall.yml Bestand weergeven

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

---

- name: Check existence of matrix-coturn service


+ 5
- 0
roles/custom/matrix-coturn/tasks/validate_config.yml Bestand weergeven

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2019 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

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


+ 6
- 0
roles/custom/matrix-coturn/templates/systemd/matrix-coturn-reload.service.j2 Bestand weergeven

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

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

[Unit]
Description=Reloads matrix-coturn so that new SSL certificates can kick in



+ 8
- 0
roles/custom/matrix-coturn/templates/systemd/matrix-coturn-reload.timer.j2 Bestand weergeven

@@ -1,3 +1,11 @@
{#
SPDX-FileCopyrightText: 2021 - 2022 Slavi Pantaleev
SPDX-FileCopyrightText: 2021 Hardy Erlinger
SPDX-FileCopyrightText: 2025 Suguru Hirahara

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

[Unit]
Description=Reloads matrix-coturn periodically so that new SSL certificates can kick in



+ 8
- 0
roles/custom/matrix-coturn/templates/systemd/matrix-coturn.service.j2.license Bestand weergeven

@@ -0,0 +1,8 @@
SPDX-FileCopyrightText: 2018 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2019 Hugues De Keyzer
SPDX-FileCopyrightText: 2019 Sylvia van Os
SPDX-FileCopyrightText: 2020 Chris van Dijk
SPDX-FileCopyrightText: 2021 Dan Arnfield
SPDX-FileCopyrightText: 2024 Suguru Hirahara

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

+ 6
- 0
roles/custom/matrix-coturn/templates/turnserver.conf.j2.license Bestand weergeven

@@ -0,0 +1,6 @@
SPDX-FileCopyrightText: 2018 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2019 Hugues De Keyzer
SPDX-FileCopyrightText: 2019 Stuart Mumford
SPDX-FileCopyrightText: 2021 - 2022 MDAD project contributors

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

+ 4
- 0
roles/custom/matrix-coturn/vars/main.yml Bestand weergeven

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

---

matrix_coturn_turn_uris: |-


+ 6
- 0
roles/custom/matrix-ldap-registration-proxy/defaults/main.yml Bestand weergeven

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Julian-Samuel Gebühr
# SPDX-FileCopyrightText: 2022 MDAD project contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
# matrix_ldap_registration_proxy - Want to build a large-scale Matrix server using external registration on LDAP?
# Project source code URL: https://gitlab.com/activism.international/matrix_ldap_registration_proxy


+ 6
- 0
roles/custom/matrix-ldap-registration-proxy/tasks/main.yml Bestand weergeven

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 Julian-Samuel Gebühr
# SPDX-FileCopyrightText: 2022 MDAD project contributors
# SPDX-FileCopyrightText: 2023 - 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 8
- 0
roles/custom/matrix-ldap-registration-proxy/tasks/setup_install.yml Bestand weergeven

@@ -1,3 +1,11 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Julian-Samuel Gebühr
# SPDX-FileCopyrightText: 2022 MDAD project contributors
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
# SPDX-FileCopyrightText: 2024 David Mehren
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Ensure matrix_ldap_registration_proxy paths exist


+ 6
- 0
roles/custom/matrix-ldap-registration-proxy/tasks/setup_uninstall.yml Bestand weergeven

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 - 2023 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 MDAD project contributors
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Check existence of matrix-matrix_ldap_registration_proxy service


+ 6
- 0
roles/custom/matrix-ldap-registration-proxy/tasks/validate_config.yml Bestand weergeven

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Julian-Samuel Gebühr
# SPDX-FileCopyrightText: 2022 MDAD project contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

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


+ 6
- 0
roles/custom/matrix-ldap-registration-proxy/templates/labels.j2 Bestand weergeven

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

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

{% if matrix_ldap_registration_proxy_container_labels_traefik_enabled %}
traefik.enable=true



+ 8
- 0
roles/custom/matrix-ldap-registration-proxy/templates/ldap-registration-proxy.env.j2 Bestand weergeven

@@ -1,3 +1,11 @@
{#
SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Julian-Samuel Gebühr
SPDX-FileCopyrightText: 2022 MDAD project contributors

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

# please specify the configuration here
#
# these settings are mandatory


+ 5
- 0
roles/custom/matrix-ldap-registration-proxy/templates/systemd/matrix-ldap-registration-proxy.service.j2.license Bestand weergeven

@@ -0,0 +1,5 @@
SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Julian-Samuel Gebühr
SPDX-FileCopyrightText: 2022 MDAD project contributors

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

+ 8
- 0
roles/custom/matrix-media-repo/defaults/main.yml Bestand weergeven

@@ -1,3 +1,11 @@
# SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
# SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2023 MDAD project contributors
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
# matrix-media-repo is a highly customizable multi-domain media repository for Matrix.
# Intended for medium to large environments consisting of several homeservers, this


+ 5
- 0
roles/custom/matrix-media-repo/tasks/main.yml Bestand weergeven

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2023 Michael Hollister
# SPDX-FileCopyrightText: 2023 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 7
- 0
roles/custom/matrix-media-repo/tasks/setup_install.yml Bestand weergeven

@@ -1,3 +1,10 @@
# SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
# SPDX-FileCopyrightText: 2024 Daniel A. Maierhofer
# SPDX-FileCopyrightText: 2024 David Mehren
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Ensure media-repo paths exist


+ 4
- 0
roles/custom/matrix-media-repo/tasks/setup_uninstall.yml Bestand weergeven

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Michael Hollister
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Check existence of media-repo service


+ 5
- 0
roles/custom/matrix-media-repo/tasks/validate_config.yml Bestand weergeven

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2023 Michael Hollister
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Fail if required matrix-media-repo settings not defined


+ 3
- 0
roles/custom/matrix-media-repo/templates/grafana/media-repo.json.license Bestand weergeven

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister

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

+ 6
- 0
roles/custom/matrix-media-repo/templates/media-repo/env.j2 Bestand weergeven

@@ -1 +1,7 @@
{#
SPDX-FileCopyrightText: 2023 Michael Hollister

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

REPO_CONFIG=/config/media-repo.yaml

+ 7
- 0
roles/custom/matrix-media-repo/templates/media-repo/labels.j2 Bestand weergeven

@@ -1,3 +1,10 @@
{#
SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

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

{% if matrix_media_repo_container_labels_traefik_enabled %}
traefik.enable=true



+ 7
- 0
roles/custom/matrix-media-repo/templates/media-repo/media-repo.yaml.j2 Bestand weergeven

@@ -1,3 +1,10 @@
{#
SPDX-FileCopyrightText: 2023 - 2024 Michael Hollister
SPDX-FileCopyrightText: 2024 Suguru Hirahara

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

# General repo configuration
repo:
bindAddress: {{ matrix_media_repo_bind_address | to_json }}


+ 4
- 0
roles/custom/matrix-media-repo/templates/media-repo/systemd/matrix-media-repo.service.j2.license Bestand weergeven

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2023 Michael Hollister

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

Laden…
Annuleren
Opslaan