3
0
mirror of https://github.com/42wim/matterbridge.git synced 2024-12-22 03:02:39 +01:00
Commit Graph

141 Commits

Author SHA1 Message Date
Wim
6b4b19194e
Update vendor shazow/ssh-chat () 2020-03-08 23:55:09 +01:00
Wim
9785edd263
Remove replace directives and use own fork to make go get work again ()
See https://github.com/golang/go/issues/30354
go get doesn't honor the go.mod replace options.
2020-03-08 17:08:18 +01:00
Wim
795a8705c3 Add initial Microsoft Teams support
Documentation on https://github.com/42wim/matterbridge/wiki/MS-Teams-setup
2020-03-01 22:19:33 +01:00
Wim
d893421c7b
Update vendor keybase/go-keybase-chat-bot () 2020-03-01 21:09:23 +01:00
Wim
250b3bb579
Use upstream slack-go/slack again () 2020-03-01 20:59:19 +01:00
Wim
54ed6320c2 Add support for avatars from matrix. () 2020-02-10 00:06:54 +01:00
Wim
23083f3ae0
Rebase gomatrix vendor with upstream () 2020-02-09 23:49:17 +01:00
Wim
ff8cf067b8 Update kekeybase/go-keybase-chat-bot vendor 2020-02-08 18:33:05 +01:00
Wim
585d1556c1
Disable smartypants in markdown parser. Fixes , () 2020-02-02 18:35:43 +01:00
Wim
9d84d6dd64
Update to tengo v2 () 2020-01-09 21:52:19 +01:00
Wim
0f708daf2d
Update dependencies () 2020-01-09 21:02:56 +01:00
Wim
b9354de8fd Clean up go.mod and vendor 2020-01-09 18:21:10 +01:00
Wim
12d2c6fe89
Update slack vendor to fix regression () 2019-12-08 21:05:02 +01:00
Wim
f43faf15f8
Update slack vendor to master () 2019-12-07 22:54:36 +01:00
Wim
075ca9ca47
Switch to new emoji library kyokomi/emoji () 2019-11-17 23:01:03 +01:00
Wim
d4253d7a55
Update shazow/ssh-chat dependency () 2019-11-17 21:42:41 +01:00
Benjamin
0917dc8766 Update markdown parsing library to github.com/gomarkdown/markdown () 2019-11-17 21:18:01 +01:00
Wim
aba86855b5
Use own slack fork to fix () 2019-11-14 00:04:39 +01:00
Wim
0bc159341d
Update vendor ()
* Update vendor

* Fix godiscord api change
2019-10-27 01:45:57 +02:00
Wim
0b9bc18236
Update vendor matterbridge/gomatrix fork () 2019-10-26 23:31:44 +02:00
Wim
bad3b83d33
Update golang-commonmark/linkify vendor and use upstream again. Fixes () 2019-10-26 22:08:02 +02:00
Wim
da3868c104 Try to fix blackfriday go modules mess 2019-09-22 00:34:37 +02:00
Wim
a3bee01e0a
Update dependencies () 2019-09-07 22:46:58 +02:00
Wim
1532f6e427
Update lrstanley/girc vendor () 2019-09-07 21:35:45 +02:00
Wim
1552dcb143
Replace bwmarrin/discordgo with matterbridge/discordgo ()
Needed for 
2019-08-26 23:47:50 +02:00
Wim
d525f1c9e4
Update Rhymen/go-whatsapp vendor () 2019-08-26 23:22:34 +02:00
cori hudson
921f2dfcdf Add initial Keybase Chat support ()
* 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
2019-08-26 21:00:31 +02:00
Wim
cb712ff37d
Update vendor () 2019-06-16 23:33:25 +02:00
Wim
ce7b749fd5 Update github.com/Rhymen/go-whatsapp vendor. Fixes 2019-06-14 00:02:32 +02:00
Wim
40f1d35415 Fix go mod issue by removing whatsapp-ext 2019-06-02 09:35:20 +01:00
Wim
3418e8c9af
Use upstream whatsapp again () 2019-05-30 12:20:56 +02:00
Wim
115d20373c
Update tengo vendor and load the stdlib. Fixes () 2019-04-06 22:18:25 +02:00
Wim
325d62b41c Update vendor d5/tengo 2019-03-05 23:10:45 +01:00
Wim
df3fdc26a0
Use whatsapp forks () 2019-03-02 13:04:28 +01:00
Wim
26a7e35f27
Add MediaConvertWebPToPNG option (telegram). ()
* 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 
2019-02-27 00:41:50 +01:00
Wim
96841c70c7 Fix regression in HTML handling (telegram). Closes
* Revert back to blackfriday v1
* Add testing
2019-02-24 15:13:56 +01:00
Wim
bf21604d42
Make all loggers derive from non-default instance () 2019-02-23 22:51:27 +01:00
Wim
1bb39eba87
Add scripting (tengo) support for every incoming message ()
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
2019-02-23 16:39:44 +01:00
Wim
5095db8a43 Update vendor 2019-02-23 14:14:29 +01:00
Krzysiek Madejski
55e79063d6 Add initial WhatsApp support () 2019-02-21 20:28:13 +01:00
Wim
3123695869
Upgrade to latest girc version (irc) () 2019-02-16 17:24:04 +01:00
Wim
716751cf76
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
2019-02-15 18:20:32 +01:00
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
2019-02-15 18:19:34 +01:00
Wim
5af1d80055 Do not panic on non-json response from server (zulip) 2019-02-13 00:29:34 +01:00
Wim
40d76b2296 Fix error handling on bad event queue id (zulip). Closes 2019-02-11 01:34:50 +01:00
Wim
c81c0dd22a Update vendor, move to labstack/echo/v4 Fixes 2019-01-31 17:06:36 +01:00
Wim
04567c765e
Add support for markdown to HTML conversion (matrix). Closes ()
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.
2019-01-06 22:25:19 +01:00
Wim
d2044c647b Update vendor
* go-telegram-bot-api/telegram-bot-api
* lrstanley/girc
* matterbridge/gomatrix
2019-01-03 00:07:50 +01:00
Patrick Connolly
e538a4d304 Update nlopes/slack to 4.1-dev () 2018-12-01 19:55:35 +01:00
Duco van Amstel
09875fe160 Update direct dependencies where possible 2018-11-25 21:21:04 +01:00