Commit Graph

28 Commits

Author SHA1 Message Date
Slavi Pantaleev
2c2738a48f Remove passlib dependency by making matrix-media-repo datastore IDs user-provided
These IDs were incorrectly auto-derived from matrix_homeserver_generic_secret_key,
which is meant for secrets that are OK to change. Datastore IDs are static
identifiers that must never change after first use.

The playbook now requires users to explicitly set matrix_media_repo_datastore_file_id
(and matrix_media_repo_datastore_s3_id when S3 is enabled) in vars.yml, with
validation that fails early if they are missing.

This was the last usage of passlib, which is now removed from prerequisites.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 16:56:51 +02:00
Suguru Hirahara
3653f9f89b Run codespell --write-changes
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-06-03 10:36:00 +03:00
Suguru Hirahara
d3826ee652 Add license information to files for matrix-media-repo
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-03-01 01:41:41 +09:00
Suguru Hirahara
c27fb2a832 Fix capitalization: postgres → Postgres
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-02-13 14:00:41 +09:00
Suguru Hirahara
11d4233088 Update docs/configuring-playbook-matrix-media-repo.md: replace variables for Hookshot with ones for MMR
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-02-10 20:37:13 +09:00
Suguru Hirahara
2ffea4fe73 Update docs/configuring-playbook-matrix-media-repo.md: copy metrics section from configuring-playbook-bridge-hookshot.md
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-02-10 20:37:03 +09:00
Suguru Hirahara
60457af840 Update docs/configuring-playbook-matrix-media-repo.md: remove descriptions about metrics for now
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-02-10 20:36:53 +09:00
Suguru Hirahara
63ff7a08ee Update docs/configuring-playbook-matrix-media-repo.md: move a note about disabling other media store roles up
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-02-10 20:36:42 +09:00
Suguru Hirahara
cc3fa496ef Update docs/configuring-playbook-matrix-media-repo.md: adopt the common format
- Adopt the common introduction
- Remove the ToC
- Merge sections for additional configuration options and extending the configuration

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-02-01 02:44:37 +09:00
Suguru Hirahara
66bb56db18 Update docs/configuring-playbook-matrix-media-repo.md: add the common section "Troubleshooting"
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-02-01 02:44:27 +09:00
Suguru Hirahara
74b95b57f1 Update docs/configuring-playbook-matrix-media-repo.md: add the common section "Extending the configuration"
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-02-01 02:43:56 +09:00
Suguru Hirahara
76e346573c Replace hyphen as dash with "Em Dash" unicode character (U+2014)
This commit replaces hyphen characters used as dash with the actual unicode character for dash. It avoids using HTML character entity reference (&mdash;), because IMHO it would make it a bit harder to read documents as plain markdown files on your local text editor.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-01-26 16:35:59 +09: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
64d6f77abf Edit user identifier examples: to @alice
From `@<username>`, `@your_username`, `@example`, etc.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-09 14:40:49 +09:00
Suguru Hirahara
a31400ed4a Adjust blank lines: add ones
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-02 03:14:48 +09:00
Suguru Hirahara
3d47e0d69c Synchronize document titles and links based on configuring-playbook.md
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-10-26 21:28:31 +09:00
Suguru Hirahara
90cfdabb2b Replace DOMAIN with example.com
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-10-18 04:02:02 +09:00
Suguru Hirahara
174b18be9a Fix capitalization: id → ID
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-10-16 02:25:03 +09:00
Slavi Pantaleev
8445843562 Switch postgres/postgres-backup Ansible role sources and adjust variable names (devture_postgres_ -> postgres_) 2024-09-27 09:37:24 +03:00
Michael Hollister
56b0a72000 Apply PR feedback 2024-08-13 14:22:14 -05:00
Michael Hollister
c3fd33566d Automated MMR signing key generation process 2024-08-09 13:43:26 -05:00
Michael Hollister
f1dbbd3106 Added new fields to MMR config template 2024-07-23 11:29:19 -05:00
Michael Hollister
42f33339c5 Updated MMR docs with updated fields in main.yaml (#3047)
* Updated MMR docs with updated fields in main.yaml

* Removed uneeded placeholder db password
2023-12-18 11:01:59 +02:00
Slavi Pantaleev
03fb357c81 Split Synapse and Dendrite importing instructions for MMR 2023-12-14 09:26:14 +02:00
axiopaladin
45bcb026dd updated MMR docs with instructions for importing existing media 2023-12-13 22:48:19 -05:00
axiopaladin
da039614fd updated MMR yaml defaults and docs for basic dendrite support 2023-12-13 22:36:43 -05:00
Slavi Pantaleev
68556400ba Announce matrix-media-repo
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2783
2023-07-17 22:38:44 +03:00
Michael Hollister
78bd1dbd1b Added matrix-media-repo role 2023-07-12 01:09:27 -05:00