Shorter config, better defaults for IRC

This commit is contained in:
southerntofu 2021-07-24 23:14:56 +00:00
parent 3a2d030fc1
commit b1c617726d
2 changed files with 15 additions and 40 deletions

View File

@ -18,53 +18,28 @@ irc_announce:
mucbridge:
chans:
# List of JIDs to bridge together, carefully following cheogram-muc-bridge settings
- [ { jid: "#joinjabber-fr%irc.tilde.chat@irc.localhost", tag: "~chat", nickChars: "Some \"a-zA-Z0-9`|^_{}[]\\\\-\"", nickLength: "Some 32" }, { jid: "fr@joinjabber.org", tag: "jabberFR", nickChars: "None Text", nickLength: "None Natural" } ]
- [ { jid: "#joinjabber-fr%irc.tilde.chat@irc.localhost", tag: "~", nickChars: "Some \"a-zA-Z0-9`|^_{}[]\\\\-\"", nickLength: "Some 32" }, { jid: "fr@joinjabber.org", tag: "jabberFR", nickChars: "None Text", nickLength: "None Natural" } ]
#- [ { jid: "#whereiseveryone%irc.libera.chat@irc.localhost", tag: "libera", nickChars: "Some \"a-zA-Z0-9`|^_{}[]\\\\-\"", nickLength: "Some 32" }, { jid: "guix@rooms.dismail.de", tag: "dismail", nickChars: "None Text", nickLength: "None Natural" } ]
# Mappings of server to channel name
- { tildechat: "#foo", jj: "foo" }
disroot:
- "anarchism"
- "federation"
jfr:
- "anarchisme"
- "fédération"
jjworkinggroups: # mappings defined in settings.profiles.jjworkinggroups
- "privacy"
- "bridging"
- "abuse"
- "translations"
- "sysadmin"
- "website"
# mappings defined in settings.profiles.jjworkinggroups
disroot: [ "anarchism", "federation" ]
jfr: [ "anarchisme", "fédération" ]
jjworkinggroups: [ "privacy", "bridging", "abuse", "translations", "sysadmin", "website" ]
settings:
host: "bridge.fr.tild3.org"
nick: "fr-bridge2"
gateway_irc: "irc.localhost" # Optional (defaults to irc.localhost + biboumi setup
accounts:
tildechat:
host: "irc.tilde.chat"
type: "irc" # Optional (default to "xmpp")
nickChars: "Some \"a-zA-Z0-9`|^_{}[]\\\\-\"" # Optional (default to that, when type="irc", "None Text" otherwise)
nickLength: 32 # Optional (default to 32)
tag: "~chat"
jj:
host: "joinjabber.org"
tag: "jj"
disroot:
host: "chat.disroot.org"
tag: "disroot"
jfr:
host: "chat.jabberfr.org"
tag: "jfr"
tildechat: { host: "irc.tilde.chat", type: "irc", tag: "~chat" }
jj: { host: "joinjabber.org", tag: "jj" }
disroot: { host: "chat.disroot.org", tag: "disroot" }
jfr: { host: "chat.jabberfr.org", tag: "jfr" }
profiles:
jjworkinggroups:
tildechat: "#joinjabber-$room"
jj: "$room"
jfr:
tildechat: "#$room"
jfr: "$room"
disroot:
tildechat: "#$room"
disroot: "$room"
# - [ { jid: "#whereiseveryone%irc.libera.chat@irc.hmm.st", tag: "libera", nickChars: "Some \"a-zA-Z0-9`|^_{}[]\\\\-\"", nickLength: "Some 32" }, { jid: "guix@rooms.dismail.de", tag: "dismail", nickChars: "None Text", nickLength: "None Natural" } ]
# Profiles are mapping of profile name to a mapping of server name to chatroom name format
jjworkinggroups: { tildechat: "#joinjabber-$room", jj: "$room" }
jfr: { tildechat: "#$room", jfr: "$room" }
disroot: { tildechat: "#$room", disroot: "$room" }
#chatbridge:
# jabberfr:
# - anarchisme

2
roles

@ -1 +1 @@
Subproject commit 3ddabb084cd171ec78f71016278a01cead5d654a
Subproject commit 6ff785c87976bcc026b30772a472f9886812efc5