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

Add license information to files for matrix-bot-matrix-registration-bot

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4121/head
Suguru Hirahara 1 год назад
Родитель
Сommit
1189673e4a
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
9 измененных файлов: 64 добавлений и 1 удалений
  1. +12
    -0
      docs/configuring-playbook-bot-matrix-registration-bot.md
  2. +10
    -0
      roles/custom/matrix-bot-matrix-registration-bot/defaults/main.yml
  3. +4
    -0
      roles/custom/matrix-bot-matrix-registration-bot/tasks/clean_cache.yml
  4. +5
    -0
      roles/custom/matrix-bot-matrix-registration-bot/tasks/main.yml
  5. +8
    -0
      roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml
  6. +6
    -0
      roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_uninstall.yml
  7. +5
    -0
      roles/custom/matrix-bot-matrix-registration-bot/tasks/validate_config.yml
  8. +8
    -1
      roles/custom/matrix-bot-matrix-registration-bot/templates/config.yaml.j2
  9. +6
    -0
      roles/custom/matrix-bot-matrix-registration-bot/templates/systemd/matrix-bot-matrix-registration-bot.service.j2.license

+ 12
- 0
docs/configuring-playbook-bot-matrix-registration-bot.md Просмотреть файл

@@ -1,3 +1,15 @@
<!--
SPDX-FileCopyrightText: 2022 - 2023 Julian-Samuel Gebühr
SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Dennis Ciba
SPDX-FileCopyrightText: 2022 Erick Wibben
SPDX-FileCopyrightText: 2022 Kolja Lampe
SPDX-FileCopyrightText: 2023 - 2024 MDAD project contributors
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

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

# Setting up matrix-registration-bot (optional) # Setting up matrix-registration-bot (optional)


The playbook can install and configure [matrix-registration-bot](https://github.com/moan0s/matrix-registration-bot) for you. The playbook can install and configure [matrix-registration-bot](https://github.com/moan0s/matrix-registration-bot) for you.


+ 10
- 0
roles/custom/matrix-bot-matrix-registration-bot/defaults/main.yml Просмотреть файл

@@ -1,3 +1,13 @@
# SPDX-FileCopyrightText: 2022 - 2023 Julian-Samuel Gebühr
# SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Erick Wibben
# SPDX-FileCopyrightText: 2022 MDAD project contributors
# SPDX-FileCopyrightText: 2022 Nikita Chernyi
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
# SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---
# matrix-registration-bot creates and manages registration tokens for a Matrix server # matrix-registration-bot creates and manages registration tokens for a Matrix server
# Project source code URL: https://github.com/moan0s/matrix-registration-bot # Project source code URL: https://github.com/moan0s/matrix-registration-bot


+ 4
- 0
roles/custom/matrix-bot-matrix-registration-bot/tasks/clean_cache.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Julian-Samuel Gebühr
#
# SPDX-License-Identifier: AGPL-3.0-or-later

--- ---


- name: Delete cache files - name: Delete cache files


+ 5
- 0
roles/custom/matrix-bot-matrix-registration-bot/tasks/main.yml Просмотреть файл

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

--- ---


- tags: - tags:


+ 8
- 0
roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml Просмотреть файл

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

--- ---


- name: Ensure matrix-registration-bot paths exist - name: Ensure matrix-registration-bot paths exist


+ 6
- 0
roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_uninstall.yml Просмотреть файл

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

--- ---


- name: Check existence of matrix-matrix-registration-bot service - name: Check existence of matrix-matrix-registration-bot service


+ 5
- 0
roles/custom/matrix-bot-matrix-registration-bot/tasks/validate_config.yml Просмотреть файл

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

--- ---


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


+ 8
- 1
roles/custom/matrix-bot-matrix-registration-bot/templates/config.yaml.j2 Просмотреть файл

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

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

bot: bot:
server: {{ matrix_bot_matrix_registration_bot_bot_server|to_json }} server: {{ matrix_bot_matrix_registration_bot_bot_server|to_json }}
username: {{ matrix_bot_matrix_registration_bot_matrix_user_id_localpart|to_json }} username: {{ matrix_bot_matrix_registration_bot_matrix_user_id_localpart|to_json }}
@@ -13,4 +21,3 @@ api:


logging: logging:
level: {{ matrix_bot_matrix_registration_bot_logging_level|to_json }} level: {{ matrix_bot_matrix_registration_bot_logging_level|to_json }}


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

@@ -0,0 +1,6 @@
SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Erick Wibben
SPDX-FileCopyrightText: 2022 Julian-Samuel Gebühr
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

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

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