summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Allow regexs in ignoreNicks. Closes #690 (#720)Wim2019-02-171-0/+12
|
* Refactor and update RocketChat bridgeWim2019-02-151-0/+17
| | | | | | | | * Add support for editing/deleting messages * Add support for uploading files * Add support for avatars * Use the Rocket.Chat.Go.SDK * Use the rest and streaming api
* Add note about slack/slack-legacy issues on threading. (#634)Patrick Connolly2018-12-031-0/+2
|
* Sync channel topics between Slack bridges (#585)Patrick Connolly2018-11-261-1/+6
| | | Added logic to allow for configurable synchronisation of topics and purposes of channels between Slack bridges.
* Add option to send RAW commands after connection (irc). Fixes #490 (#604)Wim2018-11-251-0/+5
|
* Remove double " from Discord gateway webhookurl= (#607)jamoffat2018-11-251-1/+1
|
* Add option to ignore failing bridge on start. Fixes #455 (#603)Wim2018-11-251-0/+6
|
* Improve user_typing botname suggestion. (#580)Patrick Connolly2018-11-091-2/+2
|
* Add ability to show when user is typing across Slack bridges (#559)Patrick Connolly2018-11-081-0/+6
|
* Preserve threading between Slack instances (#529)Patrick Connolly2018-11-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | * Opportunistically preserve Slack threading when parent thread in cache. [#529] * Removed slack-specific processing from gateway. * Added docs. * Add option to enable threading, with default to off. * Did cleanup on @42wim's comments. * Update gateway/gateway.go Co-Authored-By: patcon <patrick.c.connolly@gmail.com> * Suggestion from @42wim :) * Suggestions from @42wim. * More suggestions.
* Stop setting API ring buffer capacity if not specified. (#552)Patrick Connolly2018-11-051-0/+1
|
* Allow origin CHANNEL to be used in RemoteNickFormat (#515)Patrick Connolly2018-10-231-66/+15
| | | | | | | | * Added origin CHANNEL to RemoteNickFormat. Updated config docs. [Fixes #515] * Update matterbridge.toml.sample Co-Authored-By: patcon <patrick.c.connolly@gmail.com>
* Add support for slack channels by ID. Closes #436Wim2018-07-131-0/+1
|
* Release v1.11.0v1.11.0Wim2018-06-191-1/+2
|
* Add channel password support for XMPP (#451)Bruno Bierbaumer2018-06-181-6/+6
|
* Add MediaDownloadBlacklist option. Closes #442Wim2018-06-091-1/+7
|
* Add config option MediaDownloadPath (#443)Remi Reuvekamp2018-06-081-4/+9
| | | | | | | | | | | | | | * Add config option MediaUploadPath MediaDownloadPath can be used instead of MediaServerUpload, for when your webserver is on the same system as matterbridge and matterbridge has write access to the serve dir. * Limit length of hash in MediaServer urls to 8chars Full SHA256 is unnecessary for uniqueness. Also; if a file has the same first 8 charachters of the SHA256 hash, it's still not a problem, as long as the filename is not the same.
* Add info about markdown (telegram)Wim2018-06-061-1/+2
|
* [WIP] Colorize username sent to IRC using its crc32 IEEE checksum (#423)Yuval Langer2018-05-111-0/+4
| | | | | | | | * Colorize username sent to IRC using its crc32 IEEE checksum * Add `ColorNicks` configuration variable * Add `ColorNicks` setting
* Add QuoteFormat option (telegram). Closes #413Wim2018-05-111-0/+4
|
* Add initial zulip supportWim2018-05-071-0/+85
|
* Add support for reloading all settings automatically after changing config ↵Wim2018-05-011-0/+37
| | | | except connection and gateway configuration. Closes #373
* Add QuoteDisable option (telegram). Closes #399Wim2018-04-171-0/+4
|
* Revert #378Wim2018-03-171-0/+5
|