summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add support for NoSendJoinPart. Closes #382Wim2018-03-061-0/+15
|
* Add label support in RemoteNickFormatWim2018-02-201-0/+62
|
* Add ShowTopicChange option. Allow/disable topic change messages (currently ↵Wim2018-02-021-11/+66
| | | | only from slack). Closes #353
* Download files and reupload to supported bridges (mattermost). Closes #357Wim2018-02-021-1/+1
|
* Add RejoinDelay option. Delay to rejoin after channel kick (irc). Closes #322Wim2017-12-231-0/+4
|
* Allow specifying maximum download size of media using MediaDownloadSize ↵Wim2017-12-191-0/+9
| | | | (slack,telegram,matrix)
* Update documentation about ReplaceMessages and ReplaceNicksWim2017-11-241-1/+187
|
* Add documentation about MediaServerUpload and MediaServerDownloadWim2017-11-241-0/+16
|
* Add MessageSplit option to split messages on MessageLength (irc). Closes #281Wim2017-11-241-0/+5
|
* Add StripNick option, only allow alphanumerical nicks. Closes #285Wim2017-10-271-0/+56
|
* Fix outdated sample config on slack channel format. (#280)Patrick Connolly2017-10-201-1/+1
|
* Make [general] settings default, not total override (specifically ↵Patrick Connolly2017-10-201-1/+1
| | | | | | | | | | RemoteNickFormat) (#279) * Use general settings as default, that specific protocols override. * Fixed tab formatting. * Clarified override precedence of [general] config.
* Add support for Quakenet auth (irc). Closes #263Wim2017-09-201-0/+5
|
* remove comment about useAPI in sample configuration (#251)Ryan Mulligan2017-09-041-1/+0
|