1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-10 14:46:05 +02:00

roles/matrix: Update irc-bridge config file

This commit is contained in:
Jan Alexander Steffens (heftig) 2018-08-02 22:02:25 +02:00
parent 4520684ee7
commit 7ef4c65866
No known key found for this signature in database
GPG Key ID: A5E9288C4FA415FA

View File

@ -27,6 +27,11 @@ homeserver:
# is the "domain name" part of the HS URL.
domain: '{{ matrix_server_name }}'
# Should presence be enabledfor matrix clients on this bridge. If disabled on the
# homeserver then it should also be disabled here to avoid excess traffic.
# Default: true
enablePresence: true
# Configuration specific to the IRC service
ircService:
servers:
@ -39,6 +44,8 @@ ircService:
# It is also used in the Third Party Lookup API as the instance `desc`
# property, where each server is an instance.
name: '{{ matrix_server_name }}—{{ settings.name }}'
additionalAddresses: []
#
# [DEPRECATED] Use `name`, above, instead.
# A human-readable description string
@ -47,12 +54,19 @@ ircService:
# An ID for uniquely identifying this server amongst other servers being bridged.
# networkId: "example"
# URL to an icon used as the network icon whenever this network appear in
# a network list. (Like in the riot room directory, for instance.)
# icon: https://example.com/images/hash.png
# The port to connect to. Optional.
port: {{ settings.port }}
# Whether to use SSL or not. Default: false.
ssl: true
# Whether or not IRC server is using a self-signed cert or not providing CA Chain
sslselfsign: false
# Whether to allow expired certs when connecting to the IRC server.
# Usually this should be off. Default: false.
allowExpiredCerts: false
# A specific CA to trust instead of the default CAs. Optional.
#ca: |
# -----BEGIN CERTIFICATE-----
@ -156,6 +170,12 @@ ircService:
# join_rules will be set to 'invite' until these modes are removed.
# Default: "public".
joinRule: invite
# This will set the m.room.related_groups state event in newly created rooms
# with the given groupId. This means flares will show up on IRC users in those rooms.
# This should be set to the same thing as namespaces.users.group_id in irc_registration.
# This does not alter existing rooms.
# Leaving this option empty will not set the event.
groupId: ""
# Should created Matrix rooms be federated? If false, only users on the
# HS attached to this AS will be able to interact with this room.
# Default: true.
@ -211,17 +231,9 @@ ircService:
# Apply specific rules to Matrix rooms. Only matrix-to-IRC takes effect.
rooms: []
#- room: "!fuasirouddJoxtwfge:localhost"
# matrixToIrc:
# initial: false
# incremental: false
# Apply specific rules to IRC channels. Only IRC-to-matrix takes effect.
channels: []
# - channel: "#foo"
# ircToMatrix:
# initial: false
# incremental: false
mappings:
# 1:many mappings from IRC channels to room IDs on this IRC server.
@ -254,6 +266,10 @@ ircService:
# insert the IRC domain.
# Optional. Default: "$NICK (IRC)". Example: "Alice (IRC)"
displayName: "$NICK (IRC)"
# Number of tries a client can attempt to join a room before the request
# is discarded. You can also use -1 to never retry or 0 to never give up.
# Optional. Default: -1
joinAttempts: 2
# Configuration for virtual IRC users. The following variables are exposed:
# $LOCALPART => The user ID localpart ("alice" in @alice:localhost)
@ -300,6 +316,14 @@ ircService:
# a FIFO queue.
# Default: 5000 (5 seconds)
reconnectIntervalMs: 5000
# The number of concurrent reconnects if a user has been disconnected unexpectedly
# (e.g. a netsplit). You should set this to a reasonably high number so that
# bridges are not waiting an eternity to reconnect all its clients if
# we see a massive number of disconnect. This is unrelated to the reconnectIntervalMs
# setting above which is for connecting on restart of the bridge. Set to 0 to
# immediately try to reconnect all users.
# Default: 50
concurrentReconnectLimit: 50
# The number of lines to allow being sent by the IRC client that has received
# a large block of text to send from matrix. If the number of lines that would
# be sent is > lineLimit, the text will instead be uploaded to matrix and the
@ -331,6 +355,9 @@ ircService:
# on instead of 113 here.
# Default: 113.
port: 1113
# The address to listen on for incoming ident requests.
# Default: 0.0.0.0
address: "::"
# Configuration for logging. Optional. Default: console debug level logging
# only.
@ -344,8 +371,6 @@ ircService:
#errfile: "errors.log"
# Whether to log to the console or not.
toConsole: true
# The max size each file can get to in bytes before a new file is created.
maxFileSizeBytes: 134217728 # 128 MB
# The max number of files to keep. Files will be overwritten eventually due
# to rotations.
maxFiles: 5