meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
digital:server:matrixsynapsemisc [2018/11/08 14:28] natrius |
digital:server:matrixsynapsemisc [2022/03/26 23:25] natrius |
||
---|---|---|---|
Line 3: | Line 3: | ||
Different things, sometimes advanced and some things that just did not fit in the regular guide. | Different things, sometimes advanced and some things that just did not fit in the regular guide. | ||
- | ## SRV Record | + | ## Interesting projects |
- | Use the domain '' | + | Moved to [[digital: |
- | < | + | ## Synpase maintenance tools |
- | So, for example use | + | * https:// |
- | < | + | ## Show the public rooms on the server |
- | and when creating the Synapse server use '' | + | * '' |
- | Stefan | + | ## Coturn |
- | So, when I'm using the domain matrix.example.com | + | Coturn is a turn server |
- | If i'm using example.com and making the redirect with nginx, there is no need for a SRV record? | + | |
- | kythyria | + | < |
- | The SRV record is how other servers find your server (and putting matrix federation behind a reverse proxy is a bit fragile) | + | Edit Config files |
- | Mathijs | + | opening ports |
- | the relevant url is where the federated servers can connect to you | + | |
- | kythyria | + | ## Installing Bots |
- | It's so your server_name (what's in MXIDs) doesn't have to be the hostname of the machine synapse | + | Matrix Synapse currently does not have a concept of bots, a bot is just a normal user. Usally there is a config and a '' |
- | ## Optional Adminshell | + | Install python3 |
- | If you forgot to write '' | + | < |
- | There is another way but you should **not** work like that all the time because its not secure. There is a reason you have to write '' | + | then install pip |
- | ## Synpase maintenance tools | + | < |
- | https:// | + | then matrix-bot-api from pyp |
- | ## Change listener port | + | < |
- | Now check if the HTTP and HTTPS listener port ' | + | and finally fill out the config |
- | < | + | < |
- | < | + | ## Exclude a server from a channel |
- | port: 8448 | + | |
- | bind_addresses: | + | |
- | - ' | + | |
- | - port: 8008 | + | Info von https://matrix.org/ |
- | bind_addresses: | + | |
- | </code> | + | |
- | ## Installing Bots | + | - Chat `/ |
+ | - `Send Custom Event` | ||
+ | - Rechts unten roten Button `Event` drücken | ||
+ | - Event Type: `m.room.server_acl` | ||
+ | - State Key: leer lassen | ||
+ | - Event Content: | ||
- | Matrix Synapse currently does not have a concept of bots, a bot is just a normal user. Usally there is a config and a '' | + | ``` |
+ | { | ||
+ | " | ||
+ | " | ||
+ | ], | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | "*.kiwifarms.net" | ||
+ | " | ||
+ | "*.zygoat.club" | ||
+ | ] | ||
+ | } | ||
+ | ``` | ||
- | Install python3 | + | - `Send` |
+ | - Bestätigung im Chat `[CURRENT USER] set the server ACLs for this room.` | ||
- | < | + | ## Send custom reactions to messages (Powerlevel 1) |
- | then install pip | + | - Chat `/ |
+ | - `Send Custom Event` | ||
+ | - Event Type: `m.reaction` | ||
+ | - Event Content: | ||
- | < | + | ``` |
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | ``` | ||
- | then matrix-bot-api from pyp | + | ## Send custom reactions to messages (Powerlevel >=50) |
- | < | + | - Chat `/ |
+ | - `Send Custom Event` | ||
+ | - Rechts unten roten Button `Event` drücken | ||
+ | - Event Type: `m.reaction` | ||
+ | - State Key: leer lassen | ||
+ | - Event Content: | ||
+ | |||
+ | ``` | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | } | ||
+ | ``` | ||
+ | |||
+ | - `Send` | ||
+ | |||
+ | ## Tombstone Event | ||
+ | |||
+ | - Chat `/devtools` | ||
+ | - `Send Custom Event` | ||
+ | - Rechts unten roten Button `Event` drücken | ||
+ | - Event Type: `m.room.tombstone` | ||
+ | - State Key: leer lassen | ||
+ | - Event Content: | ||
+ | |||
+ | ``` | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ``` | ||
+ | |||
+ | - `Send` | ||
+ | |||
+ | ## Inactive room blocking address | ||
+ | |||
+ | IIRC you can request release of alias at support@matrix.org | ||
- | and finally fill out the config and start it | ||
- | < |