summaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* Make linter happy and cleanup (msteams)Wim2020-03-012-14/+16
|
* Support threading from other bridges to msteamsWim2020-03-011-0/+24
|
* Support receiving attachments from msteamsWim2020-03-012-3/+71
|
* Add initial Microsoft Teams supportWim2020-03-012-0/+173
| | | | Documentation on https://github.com/42wim/matterbridge/wiki/MS-Teams-setup
* Use upstream slack-go/slack again (#1018)Wim2020-03-015-5/+5
|
* Make avatars download work with mediaserverdownload (telegram). Fixes #920 ↵Wim2020-02-151-1/+1
| | | | (#1012)
* Add support for avatars from matrix. #984 (#1007)Wim2020-02-101-3/+20
|
* Implement basic reconnect (whatsapp). Fixes #987 (#1003)Wim2020-02-091-1/+33
|
* Be less lossy when throttling IRC messages (#1004)Qais Patankar2020-02-091-6/+2
| | | Note that msg.Text and chucking it through a chan is OK: https://play.golang.org/p/MTfT3YSsgPX
* Add ability to procure avatars from the destination bridge (#1000)Qais Patankar2020-02-092-0/+22
| | | | | | | | | | | | * 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
* Fix go-keybase-chat-bot api changesWim2020-02-082-8/+9
|
* Check only bridged channels for PermManageWebhooks (discord) (#1001)Qais Patankar2020-02-081-4/+5
| | | | | | * Check only bridged channels for PermManageWebhooks * add note
* Enable intra-word emphasis supression in markdown (#999)Martijn Braam2020-02-041-1/+1
| | | | This fixes plain links sent to Matrix being broken if they contain underscores. Fixes issue #997
* Fix duplicated messages (sshchat). Fixes #950 (#996)Wim2020-02-021-0/+4
|
* Show file comment in webhook if normal message is empty (discord). Fixes ↵Wim2020-02-021-0/+5
| | | | #962 (#995)
* Add DisableWebPagePreview option (telegram). Closes #980 (#994)Wim2020-02-022-0/+4
|
* Disable smartypants in markdown parser. Fixes #989, #983 (#993)Wim2020-02-021-1/+5
|
* Fail with message instead of panic. #988 (#991)Wim2020-02-011-0/+5
|
* Add QuoteLengthLimit option (telegram) fixes #963 (#985)Humorhenker2020-01-302-0/+9
| | | * QuoteLengthLimit option added to limit max. quoted message length if QuoteLengthLimit = 0 the whole message will be quoted
* Fix channel ID problem with multiple gateways (discord). Fixes #953 (#977)Wim2020-01-093-19/+9
|
* Add support for WhatsApp media (jpeg/png/gif) bridging (#974)Guillaume Lazzara2020-01-093-38/+181
| | | | | | | | * Whatsapp image bridging * Prevent double message in telegram when media with caption received Co-authored-by: imShara <shara@protonmail.com>
* move stripCustomoji logic to default Tengo script (#973)c0ncord22020-01-092-6/+0
| | | | | | | | | | | | * move stripCustomoji logic to default Tengo script Removing the image ID from the message (without any possibility of recovering it later) is a loss of valuable data that prevents users from giving support to custom emoji via Tengo scripts. * bugfix - do send colors to other irc bridges "if we're not sending to an irc bridge we strip the IRC colors" Co-authored-by: c0ncord <59654954+c0ncord@users.noreply.github.com>
* Return when we have only WebhookURL (mattermost). Fixes #954 (#960)Wim2019-12-151-2/+1
|
* Update markdown parsing library to github.com/gomarkdown/markdown (#944)Benjamin2019-11-171-3/+7
|
* Add support for receiving attachments (keybase) (#923)Gonçalo Ribeiro2019-11-011-4/+27
|
* Update vendor (#932)Wim2019-10-271-1/+4
| | | | | | * Update vendor * Fix godiscord api change
* Convert slack bold/strike to correct markdown (slack). Fixes #918 (#930)Wim2019-10-272-0/+31
|
* Remove obsolete file upload links (discord). Fixes #908 (#931)Wim2019-10-271-12/+0
| | | | Since v1.16.0 we now can upload files via webhook. Old way of showing files with webhook only setup can be removed.
* Add support for uploading application/x and audio/x (matrix). Fixes #925 (#929)Wim2019-10-271-1/+14
|
* Fix panic on WebhookURL only setting (mattermost). Closes #916 (#917)Wim2019-10-041-0/+5
|
* Suppress unhandled HelloEvent message (slack) (#913)Qais Patankar2019-10-042-3/+4
|
* Add UserTypingSupport (discord) (#914)Qais Patankar2019-10-042-0/+22
| | | | | | | | * Add Discord to UserTypingSupport * discord: start typing in a channel on EventUserTyping receive * discord: emit EventUserTyping to gateway
* Specify correct GuildID on unknown user query (discord). Fixes #879 (#894)Wim2019-09-152-4/+4
|
* Add token support (RocketChat) (#892)Michal Suchánek2019-09-131-0/+3
| | | Signed-off-by: Michal Suchanek <msuchanek@suse.de>
* 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
* Update dependencies (#886)Wim2019-09-071-1/+1
|
* Bail if incorrect Jid (xmpp). Fixes #869 (#883)Wim2019-09-071-0/+3
|
* Add extra debug info (discord)Wim2019-09-051-1/+1
|
* Add support for sending files via webhook (discord) (#872)MOZGIII2019-08-292-36/+68
|
* Add initial Keybase Chat support (#877)cori hudson2019-08-263-1/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix regression (discord). Closes #864 (#866)Wim2019-07-291-1/+1
|
* Add support for discord category channels (discord) (#863)Wim2019-07-152-23/+53
| | | | | | | | | | | | | | 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
* Fix discord channel & category name clash. #860 (#861)Qais Patankar2019-07-142-6/+24
|
* Fix panic by checking slice bounds in handleEntities (telegram). Fixes #857 ↵Wim2019-07-081-3/+9
| | | | | | (#858) Besides the bound checking, this now also use utf16 as suggested by https://github.com/go-telegram-bot-api/telegram-bot-api/issues/231
* Support webhook message deletions (discord) (#853)Qais Patankar2019-07-082-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support webhook message deletions (discord) Messages sent via webhook can now be deleted. It seems it can do this without any special permissions. This copies discordgo.WebhookExecute and makes it support the returning of discordgo.Message. A pull request has been sent upstream, so we should use that if @bwmariin accepts the pull request: https://github.com/bwmarrin/discordgo/pull/663 Changes in behaviour (webhook mode only): - Previously messages *edited* on other platforms would just be retransmitted as a brand new message to Discord. - Message *edits* will now be ignored. - Debug: message edits will now print out a "permission error". In the future it may be good to send an "message edited" react to those webhook messages, so at least people know that the message was edited on other platforms. (Even though it can't actually show the new message.) Alternatively, message edits could just send a brand new message with a link back to the old one. This is a little ugly but it would ensure that Discord users are able to see the edited message. These "message edit notifications" would be sent from the bot user (not from a webhook), so we could edit the "edit notification" if subsequent edits to the original message are made.
* Keep connection state. Fixes #856Wim2019-06-301-0/+23
| | | | | | | | Actually check if we're connected when trying to Send() a message. Messages now will get dropped when not connected. TODO: Ideally this should be in a ring buffer to retransmit when the connection comes back up.
* Add an option to skip the Mattermost server version check (#849)Joona Hoikkala2019-06-162-0/+2
| | | Adds SkipVersionCheck bool option for mattermost
* Support bulk deletions (discord)Qais Patankar2019-06-162-0/+22
|
* Verify TLS against JID domain, not the host. (xmpp) (#834)Nick2019-06-141-1/+1
| | | | | Partially fixes #820. A full fix requires patching https://github.com/matterbridge/go-xmpp to use DNS SRV records.
* Fix logic (xmpp)Wim2019-06-141-1/+1
|