Shorter config, better defaults for IRC
This commit is contained in:
parent
3a2d030fc1
commit
b1c617726d
53
config.yml
53
config.yml
|
@ -18,53 +18,28 @@ irc_announce:
|
||||||
mucbridge:
|
mucbridge:
|
||||||
chans:
|
chans:
|
||||||
# List of JIDs to bridge together, carefully following cheogram-muc-bridge settings
|
# 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
|
# Mappings of server to channel name
|
||||||
- { tildechat: "#foo", jj: "foo" }
|
- { tildechat: "#foo", jj: "foo" }
|
||||||
disroot:
|
# mappings defined in settings.profiles.jjworkinggroups
|
||||||
- "anarchism"
|
disroot: [ "anarchism", "federation" ]
|
||||||
- "federation"
|
jfr: [ "anarchisme", "fédération" ]
|
||||||
jfr:
|
jjworkinggroups: [ "privacy", "bridging", "abuse", "translations", "sysadmin", "website" ]
|
||||||
- "anarchisme"
|
|
||||||
- "fédération"
|
|
||||||
jjworkinggroups: # mappings defined in settings.profiles.jjworkinggroups
|
|
||||||
- "privacy"
|
|
||||||
- "bridging"
|
|
||||||
- "abuse"
|
|
||||||
- "translations"
|
|
||||||
- "sysadmin"
|
|
||||||
- "website"
|
|
||||||
settings:
|
settings:
|
||||||
host: "bridge.fr.tild3.org"
|
host: "bridge.fr.tild3.org"
|
||||||
nick: "fr-bridge2"
|
nick: "fr-bridge2"
|
||||||
gateway_irc: "irc.localhost" # Optional (defaults to irc.localhost + biboumi setup
|
gateway_irc: "irc.localhost" # Optional (defaults to irc.localhost + biboumi setup
|
||||||
accounts:
|
accounts:
|
||||||
tildechat:
|
tildechat: { host: "irc.tilde.chat", type: "irc", tag: "~chat" }
|
||||||
host: "irc.tilde.chat"
|
jj: { host: "joinjabber.org", tag: "jj" }
|
||||||
type: "irc" # Optional (default to "xmpp")
|
disroot: { host: "chat.disroot.org", tag: "disroot" }
|
||||||
nickChars: "Some \"a-zA-Z0-9`|^_{}[]\\\\-\"" # Optional (default to that, when type="irc", "None Text" otherwise)
|
jfr: { host: "chat.jabberfr.org", tag: "jfr" }
|
||||||
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"
|
|
||||||
profiles:
|
profiles:
|
||||||
jjworkinggroups:
|
# Profiles are mapping of profile name to a mapping of server name to chatroom name format
|
||||||
tildechat: "#joinjabber-$room"
|
jjworkinggroups: { tildechat: "#joinjabber-$room", jj: "$room" }
|
||||||
jj: "$room"
|
jfr: { tildechat: "#$room", jfr: "$room" }
|
||||||
jfr:
|
disroot: { tildechat: "#$room", disroot: "$room" }
|
||||||
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" } ]
|
|
||||||
#chatbridge:
|
#chatbridge:
|
||||||
# jabberfr:
|
# jabberfr:
|
||||||
# - anarchisme
|
# - anarchisme
|
||||||
|
|
2
roles
2
roles
|
@ -1 +1 @@
|
||||||
Subproject commit 3ddabb084cd171ec78f71016278a01cead5d654a
|
Subproject commit 6ff785c87976bcc026b30772a472f9886812efc5
|
Loading…
Reference in New Issue