summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
Commit message (Collapse)AuthorAgeFilesLines
* Add vk bridge (#1372)Ivanik2021-01-291-0/+14
| | | | | | | | | | | | | | | | | | | | | * Add vk bridge * Vk bridge attachments * Vk bridge forwarded messages * Vk bridge sample config and code cleanup * Vk bridge add vendor * Vk bridge message edit * Vk bridge: fix fetching names of other bots * Vk bridge: code cleanup * Vk bridge: fix shadows declaration * Vk bridge: remove UseFileURL
* Allow the XMPP bridge to use slack compatible webhooks (xmpp) (#1364)Alexander2021-01-211-0/+5
| | | | | | | | | * Add mod_slack_webhook support to the XMPP bridge * Replace b.webhookURL with b.GetString * Do not return a message ID on webhook POST * Add the XMPP webhook to the sample configuration
* Add support for stateless bridging via draft/relaymsg (irc) (#1339)James Lu2020-12-301-0/+13
| | | | | | | | | | | | | | | | | * irc: add support for stateless bridging via draft/relaymsg As discussed at https://github.com/42wim/matterbridge/issues/667#issuecomment-634214165 * irc: handle the draft/relaymsg tag in spoofed messages too * Apply suggestions from code review Co-authored-by: Wim <wim@42.be> * Run gofmt on irc.go * Document relaymsg in matterbridge.toml.sample Co-authored-by: Wim <wim@42.be>
* Update webhook documentation (discord) (#1335)Qais Patankar2020-12-171-7/+11
|
* Add UserID to RemoteNickFormat and Tengo (#1308)JeremyRand2020-11-251-3/+5
| | | | | | | | | | | * Add UserID to RemoteNickFormat and Tengo * Use strings.ReplaceAll in gateway.modifyUsername Fixes a warning from gocritic linter. * Use Unicode escape sequence instead of raw ZWSP in gateway.modifyUsername Fixes a warning from stylecheck linter.
* Send the display name instead of the user name (matrix) (#1282)Simon THOBY2020-11-221-0/+3
| | | | | | | | | * matrix: send the display name (the nickname in matrix parlance) instead of the user name There is also the option UseUserName (already in use by the discord bridge) to turn back to the old behavior. * matrix: update displayNames on join events * matrix: introduce a helper.go file to keep matrix.go size reasonable
* Add NoTLS option to allow plaintext XMPP connections (#1288)George2020-11-131-0/+4
| | | Co-authored-by: George <zhoreeq@users.noreply.github.com>
* Allow tengo to drop messages using msgDrop (#1272)Wim2020-10-211-1/+3
|
* Add PingDelay option (irc) (#1269)Wim2020-10-211-0/+6
|
* Append a suffix if user is a guest user (nctalk) (#1250)Gary Kim2020-10-011-0/+3
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Add Mumble support (#1245)Sebastian P2020-10-011-0/+48
|
* Add TLSConfig to nctalk (#1195)Gary Kim2020-08-301-0/+5
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Replace gorilla with melody for websocket API (#1205)NikkyAI2020-08-261-0/+2
|
* Fix typo in documentation (#1183)Wim2020-07-301-1/+1
|
* Add Nextcloud Talk support (#1167)Gary Kim2020-07-181-1/+18
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Add an option to log into a file rather than stdout (#1168)z3bra2020-07-181-0/+8
| | | Use Logfile option in the `[general]` section
* Add StripMarkdown option (irc). (#1145)Wim2020-05-231-0/+4
| | | Enable `StripMarkdown` to strip markdown for irc.
* Add an option to disable sending HTML to matrix. Fixes #1022 (#1135)Wim2020-05-141-0/+5
|
* Add JoinDelay option (irc). Fixes #1084 (#1098)Wim2020-04-191-0/+6
|
* Clarify terminology used in mapping group chat IDs to channels in config (#1079)Jerry Heiselman2020-04-081-27/+37
| | | | | * Clarify embedded docs for channel specification Should help with #1072
* Add more msteams docs (#1051)Wim2020-03-211-0/+92
|
* Add markdownv2 mode for telegram documentation, see #1032 (#1037)burner10242020-03-181-4/+5
|
* Make some discord matterbridge.toml.sample lines less verboseQais Patankar2020-03-081-10/+10
|
* Remove trailing newlines from matterbridge.toml.sampleQais Patankar2020-03-081-122/+122
|
* Refactor matterbridge.toml.sample discord sectionQais Patankar2020-03-081-81/+86
|
* Add ability to procure avatars from the destination bridge (#1000)Qais Patankar2020-02-091-0/+6
| | | | | | | | | | | | * remote_avatar: add UseLocalAvatar * remote_avatar: make sure msg.Protocol is always set correctly * remote_avatars: support msg.Account * remote_avatar: add to matterbridge.toml.sample * remote_avatar: clarify something
* Add DisableWebPagePreview option (telegram). Closes #980 (#994)Wim2020-02-021-0/+4
|
* Add QuoteLengthLimit option (telegram) fixes #963 (#985)Humorhenker2020-01-301-0/+4
| | | * QuoteLengthLimit option added to limit max. quoted message length if QuoteLengthLimit = 0 the whole message will be quoted
* Add token support (RocketChat) (#892)Michal Suchánek2019-09-131-0/+5
| | | Signed-off-by: Michal Suchanek <msuchanek@suse.de>
* Add initial Keybase Chat support (#877)cori hudson2019-08-261-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial work on native keybase bridging * Hopefully make a functional keybase bridge * add keybase to bridgemap * send to right channel, try to figure out received msgs * add account and userid * i am a Dam Fool * Fix formatting for messages, handle /me * update vendors, ran golint and goimports * move handlers to handlers.go, clean up unused config options * add sample config, fix inconsistent remote nick handling * Update readme with keybase links * Resolve fixmie errors * Error -> Errorf * fix linting errors in go.mod and go.sum * explicitly join channels, ignore messages from non-specified channels * check that team names match before bridging message
* Add support for discord category channels (discord) (#863)Wim2019-07-151-0/+1
| | | | | | | | | | | | | | This adds support for the discord category option that can be used to group channels in. This means we can have multiple channels with the same name. We add the option to specify a category in the channel option of a discord account under [[gateway]] Besides channel="channel" or channel="ID:channelID", now also channel="category/channel" can be specified. This change remains backwards compatible with people that haven't specified the category and incorporates the fix in #861
* Update documentation and changelogWim2019-06-161-0/+6
|
* Add msg event to tengoWim2019-04-241-2/+2
|
* Add scripting (tengo) support for every outgoing message (#806)Wim2019-04-191-2/+22
| | | | | | | | | | | | | | | | | | Adds a new key OutMessage under [tengo] table, which specifies the location of the script that will be invoked on each message being sent to a bridge and can be used to modify the Username and the Text of that message. The script will have the following global variables: read-only: inAccount, inProtocol, inChannel, inGateway outAccount, outProtocol, outChannel, outGateway read-write: msgText, msgUsername The script is reloaded on every message, so you can modify the script on the fly. The default script in https://github.com/42wim/matterbridge/tree/master/internal/tengo/outmessage.tengo is compiled in and will be executed if no script is specified.
* Remove deprecated TengoModifyMessageWim2019-04-191-23/+0
| | | | This has become InMessage under [tengo]
* Add verbose IRC joins/parts (ident@host) (#805)chotaire2019-04-181-0/+5
| | | New configuration setting: VerboseJoinPart (default is false)
* Fix deadlock on reconnect (irc). Closes #757Wim2019-04-151-1/+1
|
* Remove hipchatWim2019-04-141-92/+2
|
* Add tengo support to RemoteNickFormat (#793)Wim2019-04-081-0/+42
| | | | | | | | | | | | | | | | | | | This commit add support for using the result of a tengo script in RemoteNickFormat using {TENGO} Also adds a new toml table [tengo] with key RemoteNickFormat and value location of the script. This also moves the TengoModifyMessage from [general] to Message in [tengo] Documentation: RemoteNickFormat allows you to specify the location of a tengo (https://github.com/d5/tengo/) script. The script will have the following global variables: to modify: result to read: channel, bridge, gateway, protocol, nick The result will be set in {TENGO} in the RemoteNickFormat key of every bridge where {TENGO} is specified The script is reloaded on every message, so you can modify the script on the fly. Example script can be found in https://github.com/42wim/matterbridge/tree/master/contrib/remotenickformat.tengo [tengo] RemoteNickFormat="remotenickformat.tengo"
* Update doc wrt rocketchat api issueWim2019-03-211-0/+2
|
* Update rocketchat documentationWim2019-03-201-1/+2
|
* Need to specify /topic:mytopic for channel configuration (zulip). (#751)Wim2019-03-021-11/+2
| | | | | | | | | | | | | | Breaking change for zulip channel configuration. For zulip the channel configuration will now need to specify also the topic with /topic:yourtopic. Example: [[gateway.inout]] account="zulip.streamchat" channel="general/topic:mytopic" This fixes the incorrect PR #701 which didn't work with multiple gateways.
* Add MediaConvertWebPToPNG option (telegram). (#741)Wim2019-02-271-0/+5
| | | | | | | | * Add MediaConvertWebPToPNG option (telegram). When enabled matterbridge will convert .webp files to .png files before uploading them to the mediaserver of the other bridges. Fixes #398
* Add scripting (tengo) support for every incoming message (#731)Wim2019-02-231-0/+23
| | | | | | | | | | | | | | | | | | | | | | TengoModifyMessage allows you to specify the location of a tengo (https://github.com/d5/tengo/) script. This script will receive every incoming message and can be used to modify the Username and the Text of that message. The script will have the following global variables: to modify: msgUsername and msgText to read: msgChannel and msgAccount The script is reloaded on every message, so you can modify the script on the fly. Example script can be found in https://github.com/42wim/matterbridge/tree/master/gateway/bench.tengo and https://github.com/42wim/matterbridge/tree/master/contrib/example.tengo The example below will check if the text contains blah and if so, it'll replace the text and the username of that message. text := import("text") if text.re_match("blah",msgText) { msgText="replaced by this" msgUsername="fakeuser" } More information about tengo on: https://github.com/d5/tengo/blob/master/docs/tutorial.md and https://github.com/d5/tengo/blob/master/docs/stdlib.md
* Support rewriting messages from relaybots using ExtractNicks. Fixes #466 (#730)Wim2019-02-231-0/+132
| | | | | | | | | | some examples: this replaces a message like "Relaybot: <relayeduser> something interesting" to "relayeduser: something interesting" ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ] ] you can use multiple entries for multiplebots this also replaces a message like "otherbot: (relayeduser) something else" to "relayeduser: something else" ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ],[ "otherbot","\\((.*?)\\)\\s+" ] OPTIONAL (default empty) ExtractNicks=[ ["otherbot","<(.*?)>\\s+" ] ]
* Add extra debug option (slack)Wim2019-02-221-0/+4
|
* Allow sending discriminator with Discord username (#726)Declan Hoare2019-02-221-1/+5
|
* Add initial WhatsApp support (#711)Krzysiek Madejski2019-02-211-23/+63
|
* Update documentation wrt ShowJoinPart from discordWim2019-02-211-12/+12
|
* Allow zulip bridge to specify topic per channel. Closes #701 (#723)Wim2019-02-171-0/+9
|