Просмотр исходного кода

Add license information to files for matrix-static-files

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4138/head
Suguru Hirahara 1 год назад
Родитель
Сommit
68a78857b8
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
14 измененных файлов: 66 добавлений и 0 удалений
  1. +5
    -0
      roles/custom/matrix-static-files/defaults/main.yml
  2. +5
    -0
      roles/custom/matrix-static-files/tasks/install.yml
  3. +4
    -0
      roles/custom/matrix-static-files/tasks/main.yml
  4. +7
    -0
      roles/custom/matrix-static-files/tasks/self_check_well_known.yml
  5. +9
    -0
      roles/custom/matrix-static-files/tasks/self_check_well_known_file.yml
  6. +4
    -0
      roles/custom/matrix-static-files/tasks/uninstall.yml
  7. +4
    -0
      roles/custom/matrix-static-files/tasks/validate_config.yml
  8. +3
    -0
      roles/custom/matrix-static-files/templates/config.toml.j2.license
  9. +6
    -0
      roles/custom/matrix-static-files/templates/env.j2
  10. +7
    -0
      roles/custom/matrix-static-files/templates/labels.j2
  11. +3
    -0
      roles/custom/matrix-static-files/templates/public/.well-known/matrix/client.j2.license
  12. +3
    -0
      roles/custom/matrix-static-files/templates/public/.well-known/matrix/server.j2.license
  13. +3
    -0
      roles/custom/matrix-static-files/templates/public/.well-known/matrix/support.j2.license
  14. +3
    -0
      roles/custom/matrix-static-files/templates/systemd/matrix-static-files.service.j2.license

+ 5
- 0
roles/custom/matrix-static-files/defaults/main.yml Просмотреть файл

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

--- ---


# matrix-static-files is a role which generates and serves `/.well-known/matrix` files for the purposes of Matrix Delegation. # matrix-static-files is a role which generates and serves `/.well-known/matrix` files for the purposes of Matrix Delegation.


+ 5
- 0
roles/custom/matrix-static-files/tasks/install.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 David Mehren
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---


- name: Ensure matrix-static-files paths exist - name: Ensure matrix-static-files paths exist


+ 4
- 0
roles/custom/matrix-static-files/tasks/main.yml Просмотреть файл

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

--- ---


- tags: - tags:


+ 7
- 0
roles/custom/matrix-static-files/tasks/self_check_well_known.yml Просмотреть файл

@@ -1,3 +1,10 @@
# SPDX-FileCopyrightText: 2018 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2018 Aaron Raimist
# SPDX-FileCopyrightText: 2019 - 2020 Dan Arnfield
# SPDX-FileCopyrightText: 2020 Marcel Partap
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---


- name: Determine well-known files to check (start with /.well-known/matrix/client) - name: Determine well-known files to check (start with /.well-known/matrix/client)


+ 9
- 0
roles/custom/matrix-static-files/tasks/self_check_well_known_file.yml Просмотреть файл

@@ -1,3 +1,12 @@
# SPDX-FileCopyrightText: 2019 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2020 Dan Arnfield
# SPDX-FileCopyrightText: 2020 MDAD project contributors
# SPDX-FileCopyrightText: 2021 Alexandros Afentoulis
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---


- ansible.builtin.set_fact: - ansible.builtin.set_fact:


+ 4
- 0
roles/custom/matrix-static-files/tasks/uninstall.yml Просмотреть файл

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

--- ---


- name: Check existence of matrix-static-files systemd service - name: Check existence of matrix-static-files systemd service


+ 4
- 0
roles/custom/matrix-static-files/tasks/validate_config.yml Просмотреть файл

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

--- ---


- name: Fail if required matrix-static-files settings not defined - name: Fail if required matrix-static-files settings not defined


+ 3
- 0
roles/custom/matrix-static-files/templates/config.toml.j2.license Просмотреть файл

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

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

+ 6
- 0
roles/custom/matrix-static-files/templates/env.j2 Просмотреть файл

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

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

SERVER_PORT={{ matrix_static_files_environment_variable_server_port }} SERVER_PORT={{ matrix_static_files_environment_variable_server_port }}


SERVER_LOG_LEVEL={{ matrix_static_files_environment_variable_server_log_level }} SERVER_LOG_LEVEL={{ matrix_static_files_environment_variable_server_log_level }}


+ 7
- 0
roles/custom/matrix-static-files/templates/labels.j2 Просмотреть файл

@@ -1,3 +1,10 @@
{#
SPDX-FileCopyrightText: 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 Suguru Hirahara

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

{% if matrix_static_files_container_labels_traefik_enabled %} {% if matrix_static_files_container_labels_traefik_enabled %}
traefik.enable=true traefik.enable=true




+ 3
- 0
roles/custom/matrix-static-files/templates/public/.well-known/matrix/client.j2.license Просмотреть файл

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

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

+ 3
- 0
roles/custom/matrix-static-files/templates/public/.well-known/matrix/server.j2.license Просмотреть файл

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

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

+ 3
- 0
roles/custom/matrix-static-files/templates/public/.well-known/matrix/support.j2.license Просмотреть файл

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

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

+ 3
- 0
roles/custom/matrix-static-files/templates/systemd/matrix-static-files.service.j2.license Просмотреть файл

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

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

Загрузка…
Отмена
Сохранить