Horvath Gergely 6 лет назад
Родитель
Сommit
5a4e4f6fb9
4 измененных файлов: 7 добавлений и 2 удалений
  1. +2
    -0
      docs/configuring-playbook-bridge-appservice-webhooks.md
  2. +1
    -1
      roles/matrix-bridge-appservice-webhooks/templates/systemd/matrix-appservice-webhooks.service.j2
  3. +3
    -0
      roles/matrix-synapse/defaults/main.yml
  4. +1
    -1
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 2
- 0
docs/configuring-playbook-bridge-appservice-webhooks.md Просмотреть файл

@@ -26,6 +26,8 @@ matrix_appservice_webhooks_log_level: '<log_level>'

3. If you've already installed Matrix services using the playbook before, you'll need to re-run it (`--tags=setup-all,start`). If not, proceed with [configuring other playbook services](configuring-playbook.md) and then with [Installing](installing.md). Get back to this guide once ready.

4. If you're using the [Dimension Integration Manager](configuring-playbook-dimension.md), you can configure the Webhooks bridge by opening the Dimension integration manager -> Settings -> Bridges and selecting edit action for "Webhook Bridge". Press "Add self-hosted Bridge" button and populate "Provisioning URL" & "Shared Secret" values from `/matrix/appservice-webhooks/config/config.yaml` file's homeserver URL value and provisioning secret value, respectively.

4. Invite the bridge bot user to your room:

- either with `/invite @_webhook:<domain.name>` (*Note*: Make sure you have administration permissions in your room)


+ 1
- 1
roles/matrix-bridge-appservice-webhooks/templates/systemd/matrix-appservice-webhooks.service.j2 Просмотреть файл

@@ -23,7 +23,7 @@ ExecStart=/usr/bin/docker run --rm --name matrix-appservice-webhooks \
--cap-drop=ALL \
--network={{ matrix_docker_network }} \
{% if matrix_appservice_webhooks_container_http_host_bind_port %}
-p {{ matrix_appservice_webhooks_container_http_host_bind_port }}:{{matrix_appservice_webhooks_matrix_port}} \
-p {{ matrix_appservice_webhooks_container_http_host_bind_port }}:{{matrix_appservice_webhooks_webhooks_port}} \
{% endif %}
-v {{ matrix_appservice_webhooks_config_path }}:/config:z \
-v {{ matrix_appservice_webhooks_data_path }}:/data:z \


+ 3
- 0
roles/matrix-synapse/defaults/main.yml Просмотреть файл

@@ -155,6 +155,9 @@ matrix_synapse_allow_public_rooms_over_federation: false
# Controls whether people with access to the homeserver can register by themselves.
matrix_synapse_enable_registration: false

# Allows non-server-admin users to create groups on this server
matrix_synapse_enable_group_creation: false

# A list of 3PID types which users must supply when registering (possible values: email, msisdn).
matrix_synapse_registrations_require_3pid: []



+ 1
- 1
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 Просмотреть файл

@@ -1582,7 +1582,7 @@ spam_checker: {{ matrix_synapse_spam_checker|to_json }}

# Uncomment to allow non-server-admin users to create groups on this server
#
#enable_group_creation: true
enable_group_creation: {{ matrix_synapse_enable_group_creation|to_json }}

# If enabled, non server admins can only create groups with local parts
# starting with this prefix


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