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
6 years ago
Wim
96841c70c7
Fix regression in HTML handling (telegram). Closes #734
...
* Revert back to blackfriday v1
* Add testing
6 years ago
Wim
bf21604d42
Make all loggers derive from non-default instance ( #728 )
6 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
6 years ago
Wim
5095db8a43
Update vendor
6 years ago
Krzysiek Madejski
55e79063d6
Add initial WhatsApp support ( #711 )
6 years ago
Wim
3123695869
Upgrade to latest girc version (irc) ( #718 )
6 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
6 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
6 years ago
Wim
5af1d80055
Do not panic on non-json response from server (zulip)
6 years ago
Wim
40d76b2296
Fix error handling on bad event queue id (zulip). Closes #694
6 years ago
Wim
c81c0dd22a
Update vendor, move to labstack/echo/v4 Fixes #698
6 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
7 years ago
Wim
6a727b9723
Use our own version of go-xmpp with debug output to logrus
7 years ago
Wim
55ab0c12f1
Update vendor labstack/echo
7 years ago
Wim
d1227b5fc9
Use prefixed-formatter for better logging
7 years ago
Wim
6ea368c383
Move Sirupsen => sirupsen
7 years ago
Wim
6f78485878
Fix role replace
7 years ago
Wim
fd0fe3390b
Update vendor bwmarrin/discordgo
7 years ago
Wim
5aab158c0b
Update vendor (github.com/mattermost)
7 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