Quellcode durchsuchen

add more defederation variables

pull/4401/head
Virkkunen vor 8 Monaten
Ursprung
Commit
1b2b6ddaa3
2 geänderte Dateien mit 7 neuen und 4 gelöschten Zeilen
  1. +4
    -1
      roles/custom/matrix-continuwuity/defaults/main.yml
  2. +3
    -3
      roles/custom/matrix-continuwuity/templates/continuwuity.toml.j2

+ 4
- 1
roles/custom/matrix-continuwuity/defaults/main.yml Datei anzeigen

@@ -186,9 +186,12 @@ matrix_continuwuity_config_turn_password: ''
# Controls whether the self-check feature should validate SSL certificates. # Controls whether the self-check feature should validate SSL certificates.
matrix_continuwuity_self_check_validate_certificates: true matrix_continuwuity_self_check_validate_certificates: true


# Controls server defederation settings.
# Controls server (de)federation settings.
matrix_continuwuity_allowed_remote_server_names: []
matrix_continuwuity_forbidden_remote_server_names: [] matrix_continuwuity_forbidden_remote_server_names: []
matrix_continuwuity_forbidden_remote_room_directory_server_names: [] matrix_continuwuity_forbidden_remote_room_directory_server_names: []
matrix_continuwuity_prevent_media_downloads_from: []
matrix_continuwuity_ignore_messages_from_server_names: []


# Controls the `url_preview_domain_contains_allowlist` setting. # Controls the `url_preview_domain_contains_allowlist` setting.
matrix_continuwuity_url_preview_domain_contains_allowlist: [] matrix_continuwuity_url_preview_domain_contains_allowlist: []


+ 3
- 3
roles/custom/matrix-continuwuity/templates/continuwuity.toml.j2 Datei anzeigen

@@ -1224,14 +1224,14 @@ forbidden_remote_server_names = {{ matrix_continuwuity_forbidden_remote_server_n
# #
# example: ["goodserver\\.tld$", "goodphrase"] # example: ["goodserver\\.tld$", "goodphrase"]
# #
#allowed_remote_server_names = []
allowed_remote_server_names = {{ matrix_continuwuity_allowed_remote_server_names | to_json }}


# Vector list of regex patterns of server names that continuwuity will # Vector list of regex patterns of server names that continuwuity will
# refuse to download remote media from. # refuse to download remote media from.
# #
# example: ["badserver\.tld$", "badphrase", "19dollarfortnitecards"] # example: ["badserver\.tld$", "badphrase", "19dollarfortnitecards"]
# #
#prevent_media_downloads_from = []
prevent_media_downloads_from = {{ matrix_continuwuity_prevent_media_downloads_from | to_json }}


# List of forbidden server names via regex patterns that we will block all # List of forbidden server names via regex patterns that we will block all
# outgoing federated room directory requests for. Useful for preventing # outgoing federated room directory requests for. Useful for preventing
@@ -1252,7 +1252,7 @@ forbidden_remote_room_directory_server_names = {{ matrix_continuwuity_forbidden_
# example: ["reallybadserver\.tld$", "reallybadphrase", # example: ["reallybadserver\.tld$", "reallybadphrase",
# "69dollarfortnitecards"] # "69dollarfortnitecards"]
# #
#ignore_messages_from_server_names = []
ignore_messages_from_server_names = {{ matrix_continuwuity_ignore_messages_from_server_names | to_json }}


# Send messages from users that the user has ignored to the client. # Send messages from users that the user has ignored to the client.
# #


Laden…
Abbrechen
Speichern