0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-06 12:08:56 +02:00

updates from jevolk

Peter Gervai 2020-05-04 01:04:10 +02:00
parent d9cb6a626c
commit b7cc1b187b

@ -48,16 +48,10 @@ List room events, optionally restricting to the given type or the given mxid. Ma
Get complete room state according to the server
### `room state rebuild <room>`
Manually rebuild the _present_ `room state` from the `room state space`. Required if the present state resolves incorrectly or falls out of sync due to bugs or missing functionality in the server.
Rebuild the room state from ? and doing ?, required if ?
### `room state space rebuild <room>`
Manually rebuild the _higher dimension_ `room state space` table from the `room events` table. Required if any state event is missing from this table, but is in the `room events` (rare).
### `room state space <room> [event_type] [state_key]`
Show all possible states for a given `(type,state_key)` "cell"
- The state which is selected for the present-state is marked with an `*` asterisk.
- A state which fails one of the three authentication phases is marked with an `X` and a reason string may be present on the right.
- A state which has been redacted is marked with an `R`
Rebuild harder. It will also ? and possibly ?.
### `room members <room>`
Show members of a room according to the server.
@ -79,13 +73,34 @@ Mass reset room heads of remote rooms
***
## conf
Configuration and settings.
### `conf set ircd.log.info.file.enable true`
Enable logging to file(s).
### `conf diff`
Show all differences between your current configuration and the defaults.
***
## log
Log level and facility control.
### `log`
List all logging facilities. `CONSOLE` and `FILE` are displayed if active.
### `log level [level-name]`
Enable log levels equal and less than provided level (affects console only). Most severe log level is CRITICAL (0) and least severe level is DEBUG (7). Therefor `log level CRITICAL` only displays CRITICAL messages.
### `log mask [facility] [...]`
Only enables facilities listed (affects console only). All other facilities are muted.
Note: `log mask` with no arguments *mutes all* facilities.
### `log unmask [facility] [...]`
Mutes all facilities listed (affects console only). All other facilities will be enabled.
Note: `log unmask` with no arguments *unmutes all* facilities.
***
## fed
@ -115,4 +130,16 @@ Call a *RocksDB* compaction on <db> (`events` or `media`) <table> (like `_room_h
## user
### `user room_tags <mxid>`
Show room tags of an user. (Supposedly.)
Show room tags of an user. (Supposedly.)
***
## redact
### `redact <event_id> [user_id]` or `redact <room> <type> <state_key> [user_id]`
Quick redact command. The user_id defaults to `@ircd:your.host` which is only useful for internal rooms. For
public rooms you must give the user with permission to redact.
Some examples:
`redact !dns:your.host well-known.matrix.server some.host` - drop record from the well-known cache.
`redact !dns:your.host ircd.net.dns.rrs.AAAA some.host` - drop ip6 record from the DNS cache.