Commit Graph

248 Commits (master)

Author SHA1 Message Date
Wim a18807f19e
Update matterbridge/go-xmpp to add xmpp avatar support (#1070) 4 years ago
Wim a30bb8fed0 Sync matterbridge/go-xmpp with upstream 4 years ago
Wim 092ca1cd67
Update vendor slack-go/slack (#1068) 4 years ago
Wim 0df2539641
Use upstream yaegashi/msgraph.go/msauth (msteams) (#1067) 4 years ago
Wim 0f2d8a599c
Update vendor d5/tengo (#1066) 4 years ago
Qais Patankar 76e5fe5a87 Update vendor yaegashi/msgraph.go to v0.1.2 (2) 4 years ago
Qais Patankar 802c80f40c Update vendor yaegashi/msgraph.go to v0.1.2 (1) 4 years ago
Wim 6b4b19194e
Update vendor shazow/ssh-chat (#1029) 4 years ago
Wim 9785edd263
Remove replace directives and use own fork to make go get work again (#1028)
See https://github.com/golang/go/issues/30354
go get doesn't honor the go.mod replace options.
4 years ago
Wim 795a8705c3 Add initial Microsoft Teams support
Documentation on https://github.com/42wim/matterbridge/wiki/MS-Teams-setup
4 years ago
Wim d893421c7b
Update vendor keybase/go-keybase-chat-bot (#1019) 4 years ago
Wim 250b3bb579
Use upstream slack-go/slack again (#1018) 4 years ago
Wim 54ed6320c2 Add support for avatars from matrix. #984 (#1007) 4 years ago
Wim 23083f3ae0
Rebase gomatrix vendor with upstream (#1006) 4 years ago
Wim ff8cf067b8 Update kekeybase/go-keybase-chat-bot vendor 4 years ago
Wim 585d1556c1
Disable smartypants in markdown parser. Fixes #989, #983 (#993) 4 years ago
Wim 9d84d6dd64
Update to tengo v2 (#976) 4 years ago
Wim 0f708daf2d
Update dependencies (#975) 4 years ago
Wim b9354de8fd Clean up go.mod and vendor 4 years ago
Wim 12d2c6fe89
Update slack vendor to fix regression (#959) 5 years ago
Wim f43faf15f8
Update slack vendor to master (#958) 5 years ago
Wim 075ca9ca47
Switch to new emoji library kyokomi/emoji (#948) 5 years ago
Wim d4253d7a55
Update shazow/ssh-chat dependency (#947) 5 years ago
Benjamin 0917dc8766 Update markdown parsing library to github.com/gomarkdown/markdown (#944) 5 years ago
Wim aba86855b5
Use own slack fork to fix #937 (#943) 5 years ago
Wim 0bc159341d
Update vendor (#932)
* Update vendor

* Fix godiscord api change
5 years ago
Wim 0b9bc18236
Update vendor matterbridge/gomatrix fork (#928) 5 years ago
Wim bad3b83d33
Update golang-commonmark/linkify vendor and use upstream again. Fixes #924 (#926) 5 years ago
Wim da3868c104 Try to fix blackfriday go modules mess 5 years ago
Wim a3bee01e0a
Update dependencies (#886) 5 years ago
Wim 1532f6e427
Update lrstanley/girc vendor (#884) 5 years ago
Wim 1552dcb143
Replace bwmarrin/discordgo with matterbridge/discordgo (#878)
Needed for #872
5 years ago
Wim d525f1c9e4
Update Rhymen/go-whatsapp vendor (#876) 5 years ago
cori hudson 921f2dfcdf Add initial Keybase Chat support (#877)
* 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
5 years ago
Wim cb712ff37d
Update vendor (#852) 5 years ago
Wim ce7b749fd5 Update github.com/Rhymen/go-whatsapp vendor. Fixes #843 5 years ago
Wim 40f1d35415 Fix go mod issue by removing whatsapp-ext 5 years ago
Wim 3418e8c9af
Use upstream whatsapp again (#809) 5 years ago
Wim 115d20373c
Update tengo vendor and load the stdlib. Fixes #789 (#792) 5 years ago
Wim 325d62b41c Update vendor d5/tengo 5 years ago
Wim df3fdc26a0
Use whatsapp forks (#750) 5 years ago
Wim 26a7e35f27
Add MediaConvertWebPToPNG option (telegram). (#741)
* 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
5 years ago
Wim 96841c70c7 Fix regression in HTML handling (telegram). Closes #734
* Revert back to blackfriday v1
* Add testing
5 years ago
Wim bf21604d42
Make all loggers derive from non-default instance (#728) 5 years ago
Wim 1bb39eba87
Add scripting (tengo) support for every incoming message (#731)
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
5 years ago
Wim 5095db8a43 Update vendor 5 years ago
Krzysiek Madejski 55e79063d6 Add initial WhatsApp support (#711) 5 years ago
Wim 3123695869
Upgrade to latest girc version (irc) (#718) 5 years ago
Wim 716751cf76
Refactor and update RocketChat bridge (#707)
* 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
5 years ago
Wim 6ebd5cbbd8 Refactor and update RocketChat bridge
* 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
5 years ago
Wim 5af1d80055 Do not panic on non-json response from server (zulip) 5 years ago
Wim 40d76b2296 Fix error handling on bad event queue id (zulip). Closes #694 5 years ago
Wim c81c0dd22a Update vendor, move to labstack/echo/v4 Fixes #698 5 years ago
Wim 04567c765e
Add support for markdown to HTML conversion (matrix). Closes #663 (#670)
This uses our own gomatrix lib with the SendHTML function which
adds HTML to formatted_body in matrix.
golang-commonmark is used to convert markdown into valid HTML.
6 years ago
Wim d2044c647b Update vendor
* go-telegram-bot-api/telegram-bot-api
* lrstanley/girc
* matterbridge/gomatrix
6 years ago
Patrick Connolly e538a4d304 Update nlopes/slack to 4.1-dev (#595) 6 years ago
Duco van Amstel 09875fe160 Update direct dependencies where possible 6 years ago
Duco van Amstel 692bb8faa7
Upgrade logrus / testify to stable versions 6 years ago
Wim f8dc24bc09 Switch back go upstream bwmarrin/discordgo
Commit ffa9956c9b got merged in.
6 years ago
Duco van Amstel f2cdda7278 Update Blackfriday dependency (closes #522) (#532)
- Fixup Telegram bridge implementation to support updated dependency.
6 years ago
Duco van Amstel 917040b044 Update of nlopes/slack dependency (#511) 6 years ago
Wim e0ca876de2 Update vendor lrstanley/girc 6 years ago
Wim 68aeb93afa Update nlopes/slack vendor 6 years ago
Wim 51062863a5 Use mod vendor for vendored directory (backwards compatible) 6 years ago
Wim 7f3cbcedc0 Use own forks for logrus-prefixed-formatter and discordgo 6 years ago
Wim 6f131250f1 Release v1.11.0 6 years ago
Wim fd04e08c9c Update vendor matterbridge/go-xmpp 6 years ago
Wim fc6074ea9f Add vendor github.com/rs/xid 6 years ago
Wim bf0b9959d1 Add vendor github.com/dfordsoft/golib/ic 6 years ago
Wim 85b2d5a124 Update vendor lrstanley/girc 6 years ago
Wim 521a7ed7b0 Update vendor lrstanley/girc 6 years ago
Wim 529b188164 Update vendor go-telegram-bot-api/telegram-bot-api 6 years ago
Wim 8d307d8134 Update vendor matterbridge/go-xmpp 6 years ago
Wim 1605fbc012 Add vendor matterbridge/gozulipbot 6 years ago
Wim 25a72113b1 Add vendor files for spf13/viper 6 years ago
Wim 6a727b9723 Use our own version of go-xmpp with debug output to logrus 6 years ago
Wim 55ab0c12f1 Update vendor labstack/echo 6 years ago
Wim d1227b5fc9 Use prefixed-formatter for better logging 6 years ago
Wim 6ea368c383 Move Sirupsen => sirupsen 6 years ago
Wim 6f78485878 Fix role replace 6 years ago
Wim fd0fe3390b Update vendor bwmarrin/discordgo 6 years ago
Wim 5aab158c0b Update vendor (github.com/mattermost) 6 years ago
Wim 4a96a977c0 Update vendor (slack) 7 years ago
Wim 16f3fa6bae Vendor github.com/matterbridge/gomatrix 7 years ago
Wim 5c919e6bff Update vendor labstack/echo 7 years ago
Wim ed9118b346 Add sshchat dependencies in vendor 7 years ago
Wim 788d3b32ac Update vendor lrstanley/girc and readme 7 years ago
Wim 1d414cf2fd Allow ^ in nick (irc). Closes #305 7 years ago
Wim cc3c168162 Update vendor lrstanley/girc 7 years ago
Wim 71cb9b2d1d Update vendor github.com/matrix-org/gomatrix 7 years ago
Wim 639f9cf966 Update vendor/github.com/mattn/go-xmpp 7 years ago
Wim e313154134 Vendor github.com/lrstanley/girc 7 years ago
Wim b2a6777995 Use matterbridge vendored slack 7 years ago
Wim df74df475b Update vendor 7 years ago
Wim a61e2db7cb Backoff for 60 seconds when reconnecting too fast 7 years ago
Wim d19535fa21 Update vendor (nlopes/slack) 7 years ago
Wim 49204cafcc Update vendor (bwmarrin/discordgo) apiv6 7 years ago
Wim 0352970051 Update vendor (go-telegram-bot-api/telegram-bot-api) 7 years ago
Wim e59d338d4e Use github.com/42wim/go-gitter for now 7 years ago
Wim b963f83c6a Update mattermost vendor (3.7 => 4.1) 7 years ago
Wim 38d09dba2e Update vendor (go-irc) 7 years ago
Wim a97804548e Add vendor (github.com/hashicorp/golang-lru) 7 years ago
Wim 3527e09bc5 Update vendor 7 years ago
Wim 5db24aa901 Update vendor (bwmarrin/discordgo) 7 years ago
Wim aec5e3d77b Update vendor (nlopes/slack) 7 years ago
Wim 6256c066f1 Replace :emoji: with unicode chars. #215
Add vendor github.com/peterhellberg/emojilib
7 years ago
Wim a0938d9386 Add go-charset and chardet to vendor 7 years ago
Wim 1f91461853 Add vendor (steam) 7 years ago
Wim e49266ae43 Update gitter vendor. (fixes crash) 7 years ago
Wim 3a183cb218 Update vendor 7 years ago
Wim 8fede90b9e Remove examples (vendor issues) 7 years ago
Wim eacb1c1771 Update vendor (mattermost) 7 years ago
Wim 07fd825349 Update vendor 7 years ago
Wim be15cc8a36 Update vendored toml. Adds support for inline tables 7 years ago
Wim 2f68519b3c Add gops agent 7 years ago
Wim c5cfbc2297 Add matrix support 7 years ago
Wim 930b639cc9 Update vendor 7 years ago
Wim 79e6c9fa6c Update vendor 7 years ago
Wim 482fbac68f Update vendor (slack) 7 years ago
Wim 077d494c7b Update vendor (telegram) 7 years ago
Wim 09b243d8c2 Update vendor (irc) 7 years ago
Wim f8a6e65bfd Release v0.9.1 8 years ago
Wim 93114b7682 Sync with mattermost 3.6.0 8 years ago
Wim 4ef32103ca Update xmpp vendor 8 years ago
Wim 2867ec459a Add missing imports 8 years ago
Wim cd18d89894 Add initial telegram support 8 years ago
Wim 1d5cd1d7c4 Sync with mattermost 3.5.0 8 years ago
Wim a3dd0f1345 Add support for using avatars from discord,slack and gitter in slack 8 years ago
Wim 37873acfcd Update vendor (slack) 8 years ago
Wim 1b15897135 Fix tight loop (gitter). Closes #68. 8 years ago
Wim 18504ec08d Cleanup irc bridge debug/info messages 8 years ago
Wim 6af82401fc Add forgotten vendor for discord 8 years ago
Wim a0b84beb9b Add Discord support 8 years ago
Wim 7baf386ede Refactor for more flexibility
* Move from gcfg to toml configuration because gcfg was too restrictive
* Implemented gateway which has support multiple in and out bridges.
* Allow for bridging the same bridges, which means eg you can now bridge between multiple mattermosts.
* Support multiple gateways
8 years ago
Wim 16ed2aca6a Sync with mattermost 3.4.0 8 years ago
Wim b30e85836e Add Slack support 8 years ago
Wim 12389d602e Add Gitter support 8 years ago
Wim 24defcb970 Sync with mattermost 3.3.0 8 years ago
Wim ff94796700 Refactor bridge. Allows bridging between every protocol 8 years ago
Wim 46faad8b57 Vendor go-xmpp 8 years ago
Wim 911c597377 Sync with mattermost 3.2.0 8 years ago
Wim 3e38c7945c Actually add sasl.go 8 years ago
Wim 79ffb76f6e Add (PLAIN) SASL support 8 years ago
Wim 6ec77e06ea Sync with mattermost 3.1.0 8 years ago
Wim 33844fa60c Commit mattermost vendoring 8 years ago
Wim 59e6abcc11 Sync with mattermost 3.0 8 years ago
Wim 51265d5464 Sync with mattermost 2.2.0 release 8 years ago
Wim de4c780410 Vendor libs 8 years ago