2020-11-18 13:40:59 +01:00
|
|
|
# Maunium Synapse
|
|
|
|
This is a fork of [Synapse] to remove dumb limits and fix bugs that the
|
|
|
|
upstream devs don't want to fix.
|
|
|
|
|
|
|
|
The only official distribution is the docker image in the [GitLab container
|
|
|
|
registry], but you can also install from source ([upstream instructions]).
|
|
|
|
|
|
|
|
The master branch and `:latest` docker tag are upgraded to each upstream
|
|
|
|
release candidate very soon after release (usually within 10 minutes). There
|
|
|
|
are also docker tags for each release, e.g. `:1.23.0`. If you don't want RCs,
|
|
|
|
use the specific release tags.
|
|
|
|
|
|
|
|
[Synapse]: https://github.com/matrix-org/synapse
|
|
|
|
[GitLab container registry]: https://mau.dev/maunium/synapse/container_registry
|
|
|
|
[upstream instructions]: https://github.com/matrix-org/synapse/blob/develop/INSTALL.md#installing-from-source
|
|
|
|
|
|
|
|
## List of changes
|
|
|
|
* Default power level for room creator is 9001 instead of 100.
|
|
|
|
* Room creator can specify a custom room ID with the `room_id` param in the
|
|
|
|
request body. If the room ID is already in use, it will return `M_CONFLICT`.
|
|
|
|
* URL previewer user agent includes `Bot` so Twitter previews work properly.
|
|
|
|
* Local event creation concurrency is disabled to avoid unnecessary state
|
|
|
|
resolution.
|
|
|
|
* Register admin API can register invalid user IDs.
|
|
|
|
* Docker image with jemalloc.
|
|
|
|
* Config option to allow specific users to send events without unnecessary
|
|
|
|
validation.
|
|
|
|
* Config option to allow specific users to receive events that are usually
|
2021-01-06 13:44:28 +01:00
|
|
|
filtered away (e.g. `org.matrix.dummy_event` and `m.room.aliases`).
|
|
|
|
* Config option to allow specific users to use timestamp massaging without
|
|
|
|
being appservice users.
|
2021-10-30 13:06:15 +02:00
|
|
|
* Config option to allow appservices to use MSC2716 batch sending as any local user.
|
2021-01-16 13:24:15 +01:00
|
|
|
* Removed bad pusher URL validation.
|
2021-03-12 14:16:49 +01:00
|
|
|
* webp images are thumbnailed to webp instead of jpeg to avoid losing
|
|
|
|
transparency.
|
|
|
|
* Media repo `Cache-Control` header says `immutable` and 1 year for all media
|
|
|
|
that exists, as media IDs in Matrix are immutable.
|
2021-06-09 11:50:46 +02:00
|
|
|
* Allowed sending custom data with read receipts.
|
2020-11-18 13:40:59 +01:00
|
|
|
|
|
|
|
## Configuration
|
|
|
|
Generating a new config will include the `meow` section, but this is here for
|
|
|
|
reference for existing configs.
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
meow:
|
|
|
|
# List of users who aren't subject to unnecessary validation in the C-S API.
|
|
|
|
validation_override:
|
|
|
|
- "@you:example.com"
|
|
|
|
# List of users who will get org.matrix.dummy_event and m.room.aliases events down /sync
|
|
|
|
filter_override:
|
|
|
|
- "@you:example.com"
|
|
|
|
# Whether or not the admin API should be able to register invalid user IDs.
|
|
|
|
admin_api_register_invalid: true
|
2021-01-06 13:44:28 +01:00
|
|
|
# List of users who can use timestamp massaging without being appservices
|
|
|
|
timestamp_override:
|
|
|
|
- "@you:example.com"
|
2021-10-30 13:06:15 +02:00
|
|
|
# Whether appservices should be allowed to use MSC2716 batch sending as any local user.
|
|
|
|
appservice_batch_send_any: false
|
2020-11-18 13:40:59 +01:00
|
|
|
```
|