Commit Graph

8967 Commits

Author SHA1 Message Date
Slavi Pantaleev
6a07fb18f7 Merge pull request #3902 from luixxiul/fix
Edit docs: adopt the common instruction
2024-12-23 20:52:49 +02:00
Suguru Hirahara
516a0035c8 Update docs/configuring-playbook-matrix-media-repo.md: replace an external anchor link with an internal one
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-24 01:53:09 +09:00
Suguru Hirahara
40ef348c48 Update docs: Move "(optional)" on headers to the end of the line
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-24 01:53:00 +09:00
Suguru Hirahara
362d9cabd8 Update docs: add "recommended" to the "optional" label on the headers
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-24 01:52:54 +09:00
Suguru Hirahara
a2b9243247 Edit docs/configuring-playbook-email2matrix.md: adopt the common instruction about registering a dedicated user
Based on docs/configuring-playbook-alertmanager-receiver.md

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-24 01:52:47 +09:00
Suguru Hirahara
2c80aaf980 Edit docs/configuring-playbook-email2matrix.md: adopt the common instruction
Based on docs/configuring-playbook-dimension.md and docs/configuring-playbook-bot-go-neb.md

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-24 01:52:41 +09:00
Suguru Hirahara
4798888ac7 Edit docs/configuring-playbook-dimension.md: adopt the common instruction for introduction and prerequisites
- Register a dedicated Matrix user (optional)
- Obtain an access token

Since Dimension has been archived, this is purely for possible use as a template of another component.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-24 01:52:32 +09:00
Slavi Pantaleev
c97dd0b24f Merge pull request #3901 from luixxiul/fix
Edit docs for obtaining an access token
2024-12-23 15:53:27 +02:00
Suguru Hirahara
66ea709cb3 Replace headers for sections about obtaining an access token
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-23 18:18:36 +09:00
Suguru Hirahara
7911cdb232 Add a common warning message about not to share an access token
Based on docs/obtaining-access-tokens.md

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-23 18:18:08 +09:00
Suguru Hirahara
fb05eace5a Edit instructions to obtain an access token
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-23 18:17:10 +09:00
Suguru Hirahara
3ad2211d74 Use common instructions for referring to the documentation on obtaining an access token
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-23 18:15:41 +09:00
Slavi Pantaleev
11a90a4789 Move matrix-registration-bot's token comment inside the if statement 2024-12-23 09:02:58 +02:00
Slavi Pantaleev
d89e627a79 Move some matrix-registration-bot variables around 2024-12-23 09:00:44 +02:00
Slavi Pantaleev
4d39efe6f6 Rename variable (matrix_bot_matrix_registration_bot_matrix_homeserver_url -> matrix_bot_matrix_registration_bot_api_base_url)
We were overriding the `matrix_bot_matrix_registration_bot_matrix_homeserver_url` variable via `group_vars/matrix_servers`
to point it to the container-local homeserver URL, but this variable was not being used at all.

The actual variable name (which was being used) is `matrix_bot_matrix_registration_bot_api_base_url`.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3898
2024-12-23 08:59:24 +02:00
Slavi Pantaleev
358b3486f9 Group matrix-registration-bot's self-building tasks in a block 2024-12-23 08:56:08 +02:00
Slavi Pantaleev
47a337258c Only create docker-src directory for matrix-registration-bot when self building is enabled 2024-12-23 08:55:48 +02:00
Slavi Pantaleev
cea437c844 Expose mautrix-discord's avatar proxy
Possibly fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3900

This patch hasn't been tested.
2024-12-23 08:36:18 +02:00
Slavi Pantaleev
f1c238e732 Update mautrix-discord config to latest upstream sample and introduce a few new Ansible variables
Provoked by https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3900
2024-12-23 08:20:56 +02:00
Slavi Pantaleev
6e3f508d20 Merge pull request #3899 from luixxiul/fix
Edit docs for bots: adopt the common format
2024-12-23 07:51:17 +02:00
Suguru Hirahara
069f1392e0 Update POT files
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-23 13:11:49 +09:00
Suguru Hirahara
9a56aff933 Edit docs for bots: adopt the common format
- Add "To use the bot" if it does not exist: adopt the format of the docs for bridges
- Add "Prerequisites" section if an API key or user account is required
- Use the common instruction for getting an access token
- Replace "Get" with "Obtain" about getting keys or access tokens
- Replace placeholders for access tokens on docs/configuring-playbook-bot-go.neb.md

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-23 13:11:38 +09:00
Slavi Pantaleev
2337e62ecf Merge pull request #3897 from spantaleev/renovate/urllib3-2.x
Update dependency urllib3 to v2.3.0
2024-12-22 13:25:47 +02:00
Slavi Pantaleev
59d9d2995c Merge pull request #3896 from luixxiul/fix
Edit docs: consistent instructions to generate passphrases or secrets with pwgen
2024-12-22 13:25:22 +02:00
renovate[bot]
c5f4ea6850 Update dependency urllib3 to v2.3.0 2024-12-22 09:30:35 +00:00
Suguru Hirahara
f044bdd279 Update POT files
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-22 17:54:16 +09:00
Suguru Hirahara
6b87d1aa7d Edit docs: consistent instructions to generate passphrases or secrets with pwgen
This commit replaces instructions to create passwords, passphrases, or secrets with common ones.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-22 17:53:14 +09:00
Slavi Pantaleev
f204a3ad01 Merge pull request #3895 from luixxiul/fix
Edit docs for bots
2024-12-22 09:21:57 +02:00
Suguru Hirahara
3be6043b5a Update POT files
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-22 12:03:23 +09:00
Suguru Hirahara
93c860305f Edit docs for bots: fix sentences in the usage sections
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-22 12:03:09 +09:00
Suguru Hirahara
a6a55961a9 Edit docs/configuring-playbook-bot-buscarron.md: fix list items
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-22 11:54:20 +09:00
Slavi Pantaleev
8e9ecdfb63 Merge pull request #3894 from spantaleev/renovate/click-8.x
Update dependency click to v8.1.8
2024-12-21 21:03:30 +02:00
Slavi Pantaleev
dc0d74448c Merge pull request #3893 from spantaleev/renovate/jinja2-3.x
Update dependency Jinja2 to v3.1.5
2024-12-21 21:03:07 +02:00
renovate[bot]
b3b44a1ce8 Update dependency click to v8.1.8 2024-12-21 18:49:46 +00:00
renovate[bot]
4abf6477d3 Update dependency Jinja2 to v3.1.5 2024-12-21 18:49:41 +00:00
Slavi Pantaleev
3b81f09748 Make various Cinny options configurable via dedicated variables
Provoked by https://github.com/etkecc/mrs/pull/4
I've discovered that Cinny supports various configuration options and it'd be better
if we add support for them.
2024-12-21 13:57:01 +02:00
Slavi Pantaleev
c95d181c9a Add matrix_client_cinny_config_homeserverList variable 2024-12-21 13:45:00 +02:00
Slavi Pantaleev
e533eef620 Upgrade Traefik (v3.2.1-0 -> v3.2.2-0) 2024-12-21 10:31:10 +02:00
Slavi Pantaleev
e5963c5e6c Merge pull request #3892 from luixxiul/fix
Consistent "send help" messages
2024-12-21 09:32:27 +02:00
Suguru Hirahara
e7ea622279 Update POT files
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-20 23:18:16 +09:00
Suguru Hirahara
e33bd16dc6 Consistent "send help" messages
The common pattern is "Send `.*?` to the bot (in the room) to see the available commands." If the descripions are about a bot being invited to a certain existing room or room which is not DM, then "in the room" is inserted among them.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-20 23:17:20 +09:00
Slavi Pantaleev
23bcf87596 Sync translation locales 2024-12-20 15:28:26 +02:00
Slavi Pantaleev
a146f2199b Fix old directory name in i18n/bin/build-translated-result.sh
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3891
2024-12-20 15:27:31 +02:00
Slavi Pantaleev
25601d96a7 Translate a few main quick-start strings to Bulgarian 2024-12-20 15:26:13 +02:00
Slavi Pantaleev
ad9af092a6 Merge pull request #3891 from luixxiul/fix
Change "translated" → "translations"
2024-12-20 15:01:25 +02:00
Slavi Pantaleev
9cbb6fd548 Translate a few main README strings to Bulgarian 2024-12-20 14:56:21 +02:00
Suguru Hirahara
c51e771d1a Change "translated" → "translations"
I think we might as well to use the word "translations" on this context.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-20 21:48:16 +09:00
Slavi Pantaleev
71e5f1103d Use msgcat to avoid word-wrapping in .po files 2024-12-20 14:35:01 +02:00
Slavi Pantaleev
36429d8bd3 Merge pull request #3890 from luixxiul/fix
Start adopting REUSE on files for a brand new subproject (translation)
2024-12-20 14:31:36 +02:00
Suguru Hirahara
1636c49134 Start adopting REUSE on files for a brand new subproject (translation)
REUSE is an initiative by FSFE, which intends to make licensing easier with best practices to display legal information through comment headers on source files that can be easily human and machine readable.

Because these files are new and translation shall involve a lot of people as copyright holders, now is the best time to adopt REUSE. As a first implementation, this commit intentionally limits the scope to i18n directory.

Cherry-picked from c737ed0612e5b8bd5837877df63932d77bdcfcf7 and a2445af6d0100a43d6011b31402b9ae8f0c38f0c

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-20 19:08:12 +09:00