Skip to content

Commit 0e873e2

Browse files
Suguru HiraharaSuguru Hirahara
authored andcommitted
Replace "matrixzulipbridge" with "zulip", etc.
Signed-off-by: Suguru Hirahara <did:key:z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
1 parent b1c6b70 commit 0e873e2

File tree

15 files changed

+264
-264
lines changed

15 files changed

+264
-264
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Bridges can be used to connect your Matrix installation with third-party communi
133133
| [matrix-hookshot](https://github.com/matrix-org/matrix-hookshot) || Bridge for generic webhooks and multiple project management services, such as GitHub, GitLab, Figma, and Jira in particular | [Link](docs/configuring-playbook-bridge-hookshot.md) |
134134
| [matrix-sms-bridge](https://github.com/benkuly/matrix-sms-bridge) || Bridge to SMS | [Link](docs/configuring-playbook-bridge-matrix-bridge-sms.md) |
135135
| [matrix-wechat](https://github.com/duo/matrix-wechat) || Bridge to [WeChat](https://www.wechat.com/) | [Link](docs/configuring-playbook-bridge-wechat.md) |
136-
| [MatrixZulipBridge](https://github.com/GearKite/MatrixZulipBridge) || Puppeting appservice bridge for [Zulip](https://zulip.com/) | [Link](docs/configuring-playbook-bridge-matrixzulipbridge.md) |
136+
| [MatrixZulipBridge](https://github.com/GearKite/MatrixZulipBridge) || Puppeting appservice bridge for [Zulip](https://zulip.com/) | [Link](docs/configuring-playbook-bridge-bridge-zulip.md) |
137137
| [Heisenbridge](https://github.com/hifi/heisenbridge) || Bouncer-style bridge to [IRC](https://wikipedia.org/wiki/Internet_Relay_Chat) | [Link](docs/configuring-playbook-bridge-heisenbridge.md) |
138138
| [go-skype-bridge](https://github.com/kelaresg/go-skype-bridge) || Bridge to [Skype](https://www.skype.com) | [Link](docs/configuring-playbook-bridge-go-skype-bridge.md) |
139139
| [mx-puppet-slack](https://gitlab.com/mx-puppet/slack/mx-puppet-slack) || Bridge to [Slack](https://slack.com) | [Link](docs/configuring-playbook-bridge-mx-puppet-slack.md) |

docs/configuring-playbook-bridge-matrixzulipbridge.md renamed to docs/configuring-playbook-bridge-zulip.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the project's [documentation](https://github.com/GearKite/MatrixZulipBridge/
1414

1515
## Adjusting DNS records (optional)
1616

17-
By default, this playbook installs MatrixZulipBridge on the `matrix.` subdomain, at the `/matrixzulipbridge` path (https://matrix.example.com/matrixzulipbridge). This makes it easy to install it, because it **doesn't require additional DNS records to be set up**. If that's okay, you can skip this section.
17+
By default, this playbook installs MatrixZulipBridge on the `matrix.` subdomain, at the `/zulip` path (https://matrix.example.com/zulip). This makes it easy to install it, because it **doesn't require additional DNS records to be set up**. If that's okay, you can skip this section.
1818

1919
If you wish to adjust it, see the section [below](#adjusting-the-matrixzulipbridge-url-optional) for details about DNS configuration.
2020

@@ -23,29 +23,29 @@ If you wish to adjust it, see the section [below](#adjusting-the-matrixzulipbrid
2323
To enable MatrixZulipBridge, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:
2424

2525
```yaml
26-
matrix_matrixzulipbridge_enabled: true
26+
matrix_bridge_zulip_enabled: true
2727

2828
# Setting the owner is optional as the first local user to DM `@matrixzulipbridge:example.com` will be made the owner.
2929
# If you are not using a local user you must set it as otherwise you can't DM it at all.
30-
matrix_matrixzulipbridge_owner: "@alice:{{ matrix_domain }}"
30+
matrix_bridge_zulip_owner: "@alice:{{ matrix_domain }}"
3131

3232
# Uncomment to enable identd on host port 113/TCP (optional)
33-
# matrix_matrixzulipbridge_identd_enabled: true
33+
# matrix_bridge_zulip_identd_enabled: true
3434
```
3535

3636
### Adjusting the MatrixZulipBridge URL (optional)
3737

38-
By tweaking the `matrix_matrixzulipbridge_hostname` and `matrix_matrixzulipbridge_path_prefix` variables, you can easily make the service available at a **different hostname and/or path** than the default one.
38+
By tweaking the `matrix_bridge_zulip_hostname` and `matrix_bridge_zulip_path_prefix` variables, you can easily make the service available at a **different hostname and/or path** than the default one.
3939

4040
Example additional configuration for your `vars.yml` file:
4141

4242
```yaml
4343
# Change the default hostname and path prefix
44-
matrix_matrixzulipbridge_hostname: matrixzulipbridge.example.com
45-
matrix_matrixzulipbridge_path_prefix: /
44+
matrix_bridge_zulip_hostname: zulip.example.com
45+
matrix_bridge_zulip_path_prefix: /
4646
```
4747
48-
If you've changed the default hostname, you may need to create a CNAME record for the MatrixZulipBridge domain (`matrixzulipbridge.example.com`), which targets `matrix.example.com`.
48+
If you've changed the default hostname, you may need to create a CNAME record for the MatrixZulipBridge domain (`zulip.example.com`), which targets `matrix.example.com`.
4949

5050
When setting, replace `example.com` with your own.
5151

@@ -55,7 +55,7 @@ There are some additional things you may wish to configure about the bridge.
5555

5656
Take a look at:
5757

58-
- `roles/custom/matrix-bridge-matrixzulipbridge/defaults/main.yml` for some variables that you can customize via your `vars.yml` file
58+
- `roles/custom/matrix-bridge-zulip/defaults/main.yml` for some variables that you can customize via your `vars.yml` file
5959

6060
## Installing
6161

@@ -72,10 +72,10 @@ The shortcut commands with the [`just` program](just.md) are also available: `ju
7272

7373
## Usage
7474

75-
To use the bridge, you need to start a chat with `@zulipbridge:example.com` (where `example.com` is your base domain, not the `matrix.` domain). If the bridge ignores you and a DM is not accepted then the owner setting may be wrong.
75+
To use the bridge, you need to start a chat with `@matrixzulipbridge:example.com` (where `example.com` is your base domain, not the `matrix.` domain). If the bridge ignores you and a DM is not accepted then the owner setting may be wrong.
7676

7777
If you encounter issues or feel lost you can join the project room at [#matrixzulipbridge:shema.lv](https://matrix.to/#/#matrixzulipbridge:shema.lv) for help.
7878

7979
## Troubleshooting
8080

81-
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-matrixzulipbridge`.
81+
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-bridge-zulip`.

docs/configuring-playbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Bridges can be used to connect your Matrix installation with third-party communi
194194

195195
- [Setting up Matrix SMS bridging](configuring-playbook-bridge-matrix-bridge-sms.md)
196196

197-
- [Setting up MatrixZulipBridge](configuring-playbook-bridge-matrixzulipbridge.md)
197+
- [Setting up MatrixZulipBridge](configuring-playbook-bridge-bridge-zulip.md)
198198

199199
- [Setting up Heisenbridge bouncer-style IRC bridging](configuring-playbook-bridge-heisenbridge.md)
200200

docs/container-images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Bridges can be used to connect your Matrix installation with third-party communi
107107
| [matrix-hookshot](configuring-playbook-bridge-hookshot.md) | [halfshot/matrix-hookshot](https://hub.docker.com/r/halfshot/matrix-hookshot) || Bridge for generic webhooks and multiple project management services, such as GitHub, GitLab, Figma, and Jira in particular |
108108
| [matrix-sms-bridge](configuring-playbook-bridge-matrix-bridge-sms.md) | [folivonet/matrix-sms-bridge](https://hub.docker.com/repository/docker/folivonet/matrix-sms-bridge) || Bridge to SMS |
109109
| [matrix-wechat](configuring-playbook-bridge-wechat.md) | [lxduo/matrix-wechat](https://hub.docker.com/r/lxduo/matrix-wechat) || Bridge to [WeChat](https://www.wechat.com/) |
110-
| [MatrixZulipBridge](configuring-playbook-bridge-matrixzulipbridge.md) | [GearKite/MatrixZulipBridge](https://ghcr.io/gearkite/matrixzulipbridge) || Puppeting appservice bridge for [Zulip](https://zulip.com/) |
110+
| [MatrixZulipBridge](configuring-playbook-bridge-bridge-zulip.md) | [GearKite/MatrixZulipBridge](https://ghcr.io/gearkite/matrixzulipbridge) || Puppeting appservice bridge for [Zulip](https://zulip.com/) |
111111
| [Heisenbridge](configuring-playbook-bridge-heisenbridge.md) | [hif1/heisenbridge](https://hub.docker.com/r/hif1/heisenbridge) || Bouncer-style bridge to [IRC](https://wikipedia.org/wiki/Internet_Relay_Chat) |
112112
| [go-skype-bridge](configuring-playbook-bridge-go-skype-bridge.md) | [nodefyme/go-skype-bridge](https://hub.docker.com/r/nodefyme/go-skype-bridge) || Bridge to [Skype](https://www.skype.com) |
113113
| [mx-puppet-slack](configuring-playbook-bridge-mx-puppet-slack.md) | [mx-puppet/slack/mx-puppet-slack](https://gitlab.com/mx-puppet/slack/mx-puppet-slack/container_registry) || Bridge to [Slack](https://slack.com) |

group_vars/matrix_servers

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ matrix_homeserver_container_extra_arguments_auto: |
118118
+
119119
(['--mount type=bind,src=' + matrix_hookshot_base_path + '/registration.yml,dst=/hookshot-registration.yml,ro'] if matrix_hookshot_enabled else [])
120120
+
121-
(['--mount type=bind,src=' + matrix_matrixzulipbridge_base_path + '/registration.yaml,dst=/matrixzulipbridge-registration.yaml,ro'] if matrix_matrixzulipbridge_enabled else [])
121+
(['--mount type=bind,src=' + matrix_bridge_zulip_base_path + '/registration.yaml,dst=/matrixzulipbridge-registration.yaml,ro'] if matrix_bridge_zulip_enabled else [])
122122
+
123123
(['--mount type=bind,src=' + matrix_mautrix_bluesky_config_path + '/registration.yaml,dst=/matrix-mautrix-bluesky-registration.yaml,ro'] if matrix_mautrix_bluesky_enabled else [])
124124
+
@@ -195,7 +195,7 @@ matrix_homeserver_app_service_config_files_auto: |
195195
+
196196
(['/hookshot-registration.yml'] if matrix_hookshot_enabled else [])
197197
+
198-
(['/matrixzulipbridge-registration.yaml'] if matrix_matrixzulipbridge_enabled else [])
198+
(['/matrixzulipbridge-registration.yaml'] if matrix_bridge_zulip_enabled else [])
199199
+
200200
(['/matrix-mautrix-bluesky-registration.yaml'] if matrix_mautrix_bluesky_enabled else [])
201201
+
@@ -343,7 +343,7 @@ devture_systemd_service_manager_services_list_auto: |
343343
+
344344
([{'name': 'matrix-hookshot.service', 'priority': 2000, 'groups': ['matrix', 'bridges', 'hookshot', 'bridge-hookshot']}] if matrix_hookshot_enabled else [])
345345
+
346-
([{'name': 'matrix-matrixzulipbridge.service', 'priority': 2000, 'groups': ['matrix', 'bridges', 'matrixzulipbridge']}] if matrix_matrixzulipbridge_enabled else [])
346+
([{'name': 'matrix-bridge-zulip.service', 'priority': 2000, 'groups': ['matrix', 'bridges', 'matrixzulipbridge']}] if matrix_bridge_zulip_enabled else [])
347347
+
348348
([{'name': 'matrix-mautrix-bluesky.service', 'priority': 2000, 'groups': ['matrix', 'bridges', 'mautrix-bluesky']}] if matrix_mautrix_bluesky_enabled else [])
349349
+
@@ -2378,47 +2378,47 @@ matrix_hookshot_public_hostname: "{{ matrix_server_fqn_matrix }}"
23782378

23792379
######################################################################
23802380
#
2381-
# matrix-bridge-matrixzulipbridge
2381+
# matrix-bridge-zulip
23822382
#
23832383
######################################################################
23842384

23852385
# We don't enable bridges by default.
2386-
matrix_matrixzulipbridge_enabled: false
2386+
matrix_bridge_zulip_enabled: false
23872387

2388-
matrix_matrixzulipbridge_scheme: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}"
2388+
matrix_bridge_zulip_scheme: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}"
23892389

2390-
matrix_matrixzulipbridge_systemd_required_services_list_auto: |
2390+
matrix_bridge_zulip_systemd_required_services_list_auto: |
23912391
{{
23922392
matrix_addons_homeserver_systemd_services_list
23932393
}}
23942394

2395-
matrix_matrixzulipbridge_docker_image_registry_prefix_upstream: "{{ matrix_container_global_registry_prefix_override if matrix_container_global_registry_prefix_override else matrix_matrixzulipbridge_docker_image_registry_prefix_upstream_default }}"
2395+
matrix_bridge_zulip_docker_image_registry_prefix_upstream: "{{ matrix_container_global_registry_prefix_override if matrix_container_global_registry_prefix_override else matrix_bridge_zulip_docker_image_registry_prefix_upstream_default }}"
23962396

2397-
matrix_matrixzulipbridge_container_network: "{{ matrix_addons_container_network }}"
2397+
matrix_bridge_zulip_container_network: "{{ matrix_addons_container_network }}"
23982398

2399-
matrix_matrixzulipbridge_container_additional_networks_auto: |-
2399+
matrix_bridge_zulip_container_additional_networks_auto: |-
24002400
{{
24012401
(
24022402
([] if matrix_addons_homeserver_container_network == '' else [matrix_addons_homeserver_container_network])
24032403
+
2404-
[matrix_playbook_reverse_proxyable_services_additional_network] if (matrix_matrixzulipbridge_container_labels_traefik_enabled and matrix_playbook_reverse_proxyable_services_additional_network) else []
2404+
[matrix_playbook_reverse_proxyable_services_additional_network] if (matrix_bridge_zulip_container_labels_traefik_enabled and matrix_playbook_reverse_proxyable_services_additional_network) else []
24052405
) | unique
24062406
}}
24072407

2408-
matrix_matrixzulipbridge_container_labels_traefik_enabled: "{{ matrix_playbook_reverse_proxy_type in ['playbook-managed-traefik', 'other-traefik-container'] }}"
2409-
matrix_matrixzulipbridge_container_labels_traefik_docker_network: "{{ matrix_playbook_reverse_proxyable_services_additional_network }}"
2410-
matrix_matrixzulipbridge_container_labels_traefik_entrypoints: "{{ traefik_entrypoint_primary }}"
2411-
matrix_matrixzulipbridge_container_labels_traefik_tls_certResolver: "{{ traefik_certResolver_primary }}"
2408+
matrix_bridge_zulip_container_labels_traefik_enabled: "{{ matrix_playbook_reverse_proxy_type in ['playbook-managed-traefik', 'other-traefik-container'] }}"
2409+
matrix_bridge_zulip_container_labels_traefik_docker_network: "{{ matrix_playbook_reverse_proxyable_services_additional_network }}"
2410+
matrix_bridge_zulip_container_labels_traefik_entrypoints: "{{ traefik_entrypoint_primary }}"
2411+
matrix_bridge_zulip_container_labels_traefik_tls_certResolver: "{{ traefik_certResolver_primary }}"
24122412

2413-
matrix_matrixzulipbridge_appservice_token: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'zulip.as.tok', rounds=655555) | to_uuid }}"
2413+
matrix_bridge_zulip_appservice_token: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'zulip.as.tok', rounds=655555) | to_uuid }}"
24142414

2415-
matrix_matrixzulipbridge_homeserver_token: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'zulip.hs.tok', rounds=655555) | to_uuid }}"
2415+
matrix_bridge_zulip_homeserver_token: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'zulip.hs.tok', rounds=655555) | to_uuid }}"
24162416

2417-
matrix_matrixzulipbridge_homeserver_url: "{{ matrix_addons_homeserver_client_api_url }}"
2417+
matrix_bridge_zulip_homeserver_url: "{{ matrix_addons_homeserver_client_api_url }}"
24182418

24192419
######################################################################
24202420
#
2421-
# /matrix-bridge-matrixzulipbridge
2421+
# /matrix-bridge-zulip
24222422
#
24232423
######################################################################
24242424

@@ -5357,7 +5357,7 @@ matrix_synapse_admin_config_asManagedUsers_auto: |
53575357
([
53585358
'^@matrixzulipbridge:'+(matrix_domain | regex_escape)+'$',
53595359
'^@zulip_[a-zA-Z0-9]+:'+(matrix_domain | regex_escape)+'$',
5360-
] if matrix_matrixzulipbridge_enabled else [])
5360+
] if matrix_bridge_zulip_enabled else [])
53615361
+
53625362
([
53635363
'^@'+(matrix_mautrix_bluesky_appservice_bot_username | default('') | regex_escape)+':'+(matrix_domain | regex_escape)+'$',

0 commit comments

Comments
 (0)