summaryrefslogtreecommitdiffstats
path: root/bridge/config
Commit message (Collapse)AuthorAgeFilesLines
* Add an option to log into a file rather than stdout (#1168)z3bra2020-07-181-0/+11
| | | Use Logfile option in the `[general]` section
* Add sane RemoteNickFormat default for API (#1157)Qais Patankar2020-06-251-0/+12
|
* Add StripMarkdown option (irc). (#1145)Wim2020-05-231-0/+1
| | | Enable `StripMarkdown` to strip markdown for irc.
* Add an option to disable sending HTML to matrix. Fixes #1022 (#1135)Wim2020-05-141-0/+1
|
* Add JoinDelay option (irc). Fixes #1084 (#1098)Wim2020-04-191-0/+1
|
* Support JSON and YAML config formats (#1045)Jakub2020-03-181-4/+18
| | | Signed-off-by: Jakub Sokołowski <jakub@status.im>
* Add initial Microsoft Teams supportWim2020-03-011-0/+4
| | | | Documentation on https://github.com/42wim/matterbridge/wiki/MS-Teams-setup
* Add ability to procure avatars from the destination bridge (#1000)Qais Patankar2020-02-091-0/+1
| | | | | | | | | | | | * 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/+1
|
* Add QuoteLengthLimit option (telegram) fixes #963 (#985)Humorhenker2020-01-301-0/+1
| | | * QuoteLengthLimit option added to limit max. quoted message length if QuoteLengthLimit = 0 the whole message will be quoted
* Do configuration validation on start-up. Fixes #888 (#889)Wim2019-09-091-0/+5
| | | | | | Fail if: * we don't have any gateways configured * we have gateways configured but with non-existing bridge configuration * we have gateways configured without any configuration
* Add initial Keybase Chat support (#877)cori hudson2019-08-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 an option to skip the Mattermost server version check (#849)Joona Hoikkala2019-06-161-0/+1
| | | Adds SkipVersionCheck bool option for mattermost
* Make config parse errors readableWim2019-06-021-2/+2
|
* Add scripting (tengo) support for every outgoing message (#806)Wim2019-04-191-0/+2
| | | | | | | | | | | | | | | | | | 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.
* Add verbose IRC joins/parts (ident@host) (#805)chotaire2019-04-181-1/+2
| | | New configuration setting: VerboseJoinPart (default is false)
* Add tengo support to RemoteNickFormat (#793)Wim2019-04-081-0/+6
| | | | | | | | | | | | | | | | | | | 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"
* Add MediaConvertWebPToPNG option (telegram). (#741)Wim2019-02-271-0/+1
| | | | | | | | * 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
* Make all loggers derive from non-default instance (#728)Wim2019-02-231-45/+37
|
* Add scripting (tengo) support for every incoming message (#731)Wim2019-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Allow sending discriminator with Discord username (#726)Declan Hoare2019-02-221-0/+1
|
* Add initial WhatsApp support (#711)Krzysiek Madejski2019-02-211-0/+1
|
* Allow zulip bridge to specify topic per channel. Closes #701 (#723)Wim2019-02-171-0/+1
|
* Add initial support for getting ChannelMember info of all bridges (#678)Wim2019-01-181-10/+21
| | | | | | | | | | | | | | * Add initial support for getting ChannelMember info of all bridges. Adds an EventGetChannelMembers event, which gets send every x time to all bridges. Bridges should respond on this event with a Message containing ChannelMembers in the EventGetChannelMembers key in the Extra field. handleEventGetChannelMembers will handle this Message and sets the contained ChannelMembers to the Bridge struct. * Add ChannelMembers support to the slack bridge
* Remove unused key (config)Wim2019-01-041-1/+0
|
* Use logrus imports instead of log (#662)Duco van Amstel2018-12-261-7/+7
|
* Sync channel topics between Slack bridges (#585)Patrick Connolly2018-11-261-0/+1
| | | 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/+1
|
* Add option to ignore failing bridge on start. Fixes #455 (#603)Wim2018-11-251-0/+1
|
* Fix golint linter issues and enable it in CI (#593)Duco van Amstel2018-11-151-19/+19
|
* Fix IRC line splitting. Closes #584 (#587)Duco van Amstel2018-11-141-3/+0
|
* Make config.Config more unit-test friendly (#586)Duco van Amstel2018-11-131-24/+88
|
* Add new Slack connection and forked legacy Slack bridge (#582)Duco van Amstel2018-11-131-0/+1
|
* Add ability to show when user is typing across Slack bridges (#559)Patrick Connolly2018-11-081-0/+2
|
* Clean up config loading. (#561)Patrick Connolly2018-11-071-22/+18
|
* Preserve threading between Slack instances (#529)Patrick Connolly2018-11-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | * 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.
* Remove hyphens when auto-loading envvars from viper config (#545)Patrick Connolly2018-11-031-1/+1
| | | | | | * When auto-loading envvars from toml keys, remove hyphens. See: https://unix.stackexchange.com/questions/23659/can-shell-variable-include-character
* Respond with message on connect (api) (#550)NikkyAI2018-11-021-0/+1
| | | fix #549
* Use own forks for logrus-prefixed-formatter and discordgoWim2018-08-061-1/+1
|
* Add channel password support for XMPP (#451)Bruno Bierbaumer2018-06-181-1/+1
|
* Add MediaDownloadBlacklist option. Closes #442Wim2018-06-091-1/+2
|
* Add config option MediaDownloadPath (#443)Remi Reuvekamp2018-06-081-4/+6
| | | | | | | | | | | | | | * 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.
* [WIP] Colorize username sent to IRC using its crc32 IEEE checksum (#423)Yuval Langer2018-05-111-0/+1
| | | | | | | | * 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/+1
|
* Add initial zulip supportWim2018-05-071-0/+2
|
* Add support for reloading all settings automatically after changing config ↵Wim2018-05-011-0/+11
| | | | except connection and gateway configuration. Closes #373
* Fix regression in ReplaceMessages and ReplaceNicks. Closes #407Wim2018-04-211-4/+11
|
* Add QuoteDisable option (telegram). Closes #399Wim2018-04-171-0/+1
|
* Add support for NoSendJoinPart. Closes #382Wim2018-03-061-0/+1
|
* Fix tests and make megacheck happyWim2018-03-051-0/+18
|