# SOME DESCRIPTIVE TITLE. # Copyright (C) 2018-2025, Slavi Pantaleev, Aine Etke, MDAD community members # This file is distributed under the same license as the matrix-docker-ansible-deploy package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: matrix-docker-ansible-deploy \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-11-06 23:09+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../../../docs/configuring-playbook-bridge-hookshot.md:11 msgid "Setting up matrix-hookshot (optional)" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:13 msgid "The playbook can install and configure [matrix-hookshot](https://github.com/matrix-org/matrix-hookshot) for you." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:15 msgid "Hookshot can bridge [Webhooks](https://en.wikipedia.org/wiki/Webhook) from software project management services such as GitHub, GitLab, Jira, and Figma, as well as generic webhooks." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:17 msgid "See the project's [documentation](https://matrix-org.github.io/matrix-hookshot/latest/hookshot.html) to learn what it does and why it might be useful to you." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:19 msgid "**Note**: the playbook also supports [matrix-appservice-webhooks](configuring-playbook-bridge-appservice-webhooks.md), which however was deprecated by its author." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:21 msgid "Prerequisites" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:23 msgid "Download GitHub app private key (optional)" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:25 msgid "If you're setting up the GitHub bridge, you need to create your GitHub app, and generate a private key file of it." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:27 msgid "You need to download the private key file, if you will install the file manually or with the `aux` role. For details, see [the section below](#manage-github-private-key-with-aux-role)." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:29 msgid "Adjusting the playbook configuration" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:31 msgid "Add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file. Make sure to replace `GITHUB_PRIVATE_KEY_HERE` with the one created [above](#download-github-app-private-key)." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:45 msgid "For each of the services (GitHub, GitLab, Jira, Figma, and generic webhooks) fill in the respective variables `matrix_hookshot_service_*` listed in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml) as required." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:47 msgid "Take special note of the `matrix_hookshot_*_enabled` variables. Services that need no further configuration are enabled by default (GitLab and generic webhooks), while you must first add the required configuration and enable the others (GitHub, Jira, and Figma)." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:49 msgid "Extending the configuration" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:51 msgid "There are some additional things you may wish to configure about the bridge." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:53 msgid "Take a look at:" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:55 msgid "`roles/custom/matrix-bridge-hookshot/defaults/main.yml` for some variables that you can customize via your `vars.yml` file" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:56 msgid "`roles/custom/matrix-bridge-hookshot/templates/config.yaml.j2` for the bridge's default configuration. You can override settings (even those that don't have dedicated playbook variables) using the `matrix_hookshot_configuration_extension_yaml` and `matrix_hookshot_registration_extension_yaml` variables" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:58 msgid "Refer the [official instructions](https://matrix-org.github.io/matrix-hookshot/latest/setup.html) and the comments in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml) to learn what the individual options do." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:60 msgid "Installing" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:62 msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:69 msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-service hookshot` or `just setup-all`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:71 msgid "`just install-service hookshot` is useful for maintaining your setup quickly when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed. Note `just setup-all` runs the `ensure-matrix-users-created` tag too." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:73 msgid "Usage" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:75 msgid "To use the bridge, you need to create a room and invite the Hookshot bot (`@hookshot:example.com`) to it." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:77 msgid "Make sure the bot is able to send state events (usually the Moderator power level in clients)." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:79 msgid "Send `!hookshot help` to the bot to see the available commands." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:81 msgid "Refer to [Hookshot's documentation](https://matrix-org.github.io/matrix-hookshot/latest/usage.html) for more details about using the bridge's various features." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:83 msgid "💡 **Note**: the different listeners are bound to certain paths which might differ from those assumed by the hookshot documentation. See [URLs for bridges setup](#urls-for-bridges-setup) below." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:85 msgid "Reset crypto store" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:87 msgid "Should the crypto store be corrupted, you can reset it by executing this Ansible playbook with the tag `reset-hookshot-encryption` added:" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:93 msgid "More setup documentation" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:95 msgid "URLs for bridges setup" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:97 msgid "Unless indicated otherwise, the following endpoints are reachable on your `matrix.` subdomain (if the feature is enabled)." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "Listener" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "Default path" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "Variable" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "Used as" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "-" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`/hookshot/webhooks/`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`matrix_hookshot_webhook_endpoint`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "Webhook-prefix, which affects all webhook-related URLs below" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "generic" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`/hookshot/webhooks/webhook`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`matrix_hookshot_generic_endpoint`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "Generic webhooks" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "github oauth" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`/hookshot/webhooks/oauth`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`matrix_hookshot_github_oauth_endpoint`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "GitHub \"Callback URL\"" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "jira oauth" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`/hookshot/webhooks/jira/oauth`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`matrix_hookshot_jira_oauth_endpoint`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "Jira OAuth" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "figma endpoint" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`/hookshot/webhooks/figma/webhook`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`matrix_hookshot_figma_endpoint`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "Figma" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "appservice" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`/hookshot/_matrix/app/`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`matrix_hookshot_appservice_endpoint`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "Matrix server" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "widgets" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`/hookshot/widgetapi/`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "`matrix_hookshot_widgets_endpoint`" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:0 msgid "Widgets" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:109 msgid "Also see the various `matrix_hookshot_container_labels_*` variables in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml), which expose URLs publicly." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:111 msgid "The different listeners are also reachable *internally* in the docker-network via the container's name (configured by `matrix_hookshot_container_url`) and on different ports (e.g. `matrix_hookshot_appservice_port`). Read [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml) in detail for more info." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:113 msgid "Manage GitHub Private Key with aux role" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:115 msgid "The GitHub bridge requires you to install a private key file. This can be done in multiple ways:" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:117 msgid "copy the *contents* of the downloaded file and set the variable `matrix_hookshot_github_private_key` to the contents (see example in [main.yml](../roles/custom/matrix-bridge-hookshot/defaults/main.yml))." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:118 msgid "somehow copy the file to the path `{{ matrix_hookshot_base_path }}/{{ matrix_hookshot_github_private_key_file }}` (default: `/matrix/hookshot/private-key.pem`) on the server manually." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:119 msgid "use the [`aux` role](https://github.com/mother-of-all-self-hosting/ansible-role-aux) to copy the file from an arbitrary path on your ansible client to the correct path on the server." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:121 msgid "To use the `aux` role, make sure the `matrix_hookshot_github_private_key` variable is empty. Then add the following configuration to your `vars.yml` file:" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:132 msgid "For more information, see the documentation in the [default configuration of the aux role](https://github.com/mother-of-all-self-hosting/ansible-role-aux/blob/main/defaults/main.yml)." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:134 msgid "Collision with matrix-appservice-webhooks" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:136 msgid "If you are also running [matrix-appservice-webhooks](configuring-playbook-bridge-appservice-webhooks.md), it reserves its namespace by the default setting `matrix_appservice_webhooks_user_prefix: '_webhook_'`. You should take care if you modify its or hookshot's prefix that they do not collide with each other's namespace (default `matrix_hookshot_generic_userIdPrefix: '_webhooks_'`)." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:138 msgid "Enable metrics" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:140 msgid "The playbook can enable and configure the metrics of the service for you." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:142 msgid "Metrics are **only enabled by default** if the builtin [Prometheus](configuring-playbook-prometheus-grafana.md) is enabled (by default, Prometheus isn't enabled). If so, metrics will automatically be collected by Prometheus and made available in Grafana. You will, however, need to set up your own Dashboard for displaying them." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:144 msgid "To enable the metrics, add the following configuration to your `vars.yml` file:" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:151 msgid "**To collect metrics from an external Prometheus server**, besides enabling metrics as described above, you will also need to enable metrics exposure on `https://matrix.example.com/metrics/hookshot` by adding the following configuration to your `vars.yml` file:" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:157 msgid "By default metrics are exposed publicly **without** password-protection. To password-protect the metrics with dedicated credentials, add the following configuration to your `vars.yml` file:" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:164 msgid "To `matrix_hookshot_container_labels_metrics_middleware_basic_auth_users`, set the Basic Authentication credentials (raw `htpasswd` file content) used to protect the endpoint. See https://doc.traefik.io/traefik/middlewares/http/basicauth/#users for details about it." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:166 msgid "**Note**: alternatively, you can use `matrix_metrics_exposure_enabled` to expose all services on this `/metrics/*` feature, and you can use `matrix_metrics_exposure_http_basic_auth_enabled` and `matrix_metrics_exposure_http_basic_auth_users` to password-protect the metrics of them. See [this section](configuring-playbook-prometheus-grafana.md#collecting-metrics-to-an-external-prometheus-server) for more information." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:168 msgid "Enable Grafana (optional)" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:170 msgid "Probably you wish to enable Grafana along with Prometheus for generating graphs of the metrics." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:172 msgid "To enable Grafana, see [this section](configuring-playbook-prometheus-grafana.md#adjusting-the-playbook-configuration-grafana) for instructions." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:174 msgid "Troubleshooting" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:176 msgid "As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-hookshot`." msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:178 msgid "Increase logging verbosity" msgstr "" #: ../../../docs/configuring-playbook-bridge-hookshot.md:180 msgid "The default logging level for this component is `warn`. If you want to increase the verbosity, add the following configuration to your `vars.yml` file and re-run the playbook:" msgstr ""