3
0
mirror of https://github.com/42wim/matterbridge.git synced 2024-12-27 13:42:35 +01:00
Commit Graph

1494 Commits

Author SHA1 Message Date
powerjungle
86151da271
Remove newline character in bridge multiline messages (mumble) () 2021-08-22 23:17:37 +02:00
Wim
44f3e2557d
Update vendor () 2021-07-31 18:27:55 +02:00
tytan652
1f365c716e
Add support for anonymous connection (xmpp) () 2021-07-31 17:26:36 +02:00
Wim
9efcc41ab2
Update matterbridge/go-xmpp vendor () 2021-07-31 17:17:43 +02:00
Brian V
13bbeeaceb
Add space before file upload comment (slack) () 2021-07-27 17:52:30 +01:00
tytan652
da4dcec14d
Fix XMPP parseNick function () 2021-07-20 23:39:14 +02:00
minecraftchest1
761c0b79c5
Add link to service files wiki page ()
Added Systemd section to README.md. Added Systemd to table of contents.
2021-07-20 23:36:49 +02:00
Brian V
d93ab0496f
Use correct URL for Mediaserver Setup () 2021-07-20 23:35:52 +02:00
Wim
66b6f9749d
Update .goreleaser.yml 2021-06-25 00:47:24 +02:00
Wim
17c2d1f26a
Update matterbridge.toml.sample 2021-06-25 00:18:22 +02:00
Gary Kim
a79e632cdc
Add support for separate display name (nctalk) ()
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-06-19 21:45:19 +02:00
Wim
f36498421b
Bump version 2021-06-16 21:17:01 +02:00
Wim
e45bbe4571
Release v1.22.3 ()
* Release v1.22.3
2021-06-16 21:11:12 +02:00
Wim
fb5a84212c
Update dependencies () 2021-06-16 21:00:49 +02:00
Nathanaël
dedc1c45a1
Update Rhymen/go-whatsapp module to latest master (2b8a3e9b8aa2) () 2021-06-16 20:35:09 +02:00
Wim
6a12f9ff84
Bump version 2021-06-02 00:05:46 +02:00
Wim
641ed1873b
Release v1.22.2 () 2021-06-01 23:36:53 +02:00
Gary Kim
1d50da4b1c
Add support for message deletion (nctalk) ()
* nctalk: add message deletion support

Signed-off-by: Gary Kim <gary@garykim.dev>

* nctalk: seperate out deletion and sending logic

Signed-off-by: Gary Kim <gary@garykim.dev>

* nctalk: update library to v0.2.0

Signed-off-by: Gary Kim <gary@garykim.dev>

* Rename functions to be clearer

Signed-off-by: Gary Kim <gary@garykim.dev>

* Update to go-nc-talk v0.2.1

Signed-off-by: Gary Kim <gary@garykim.dev>

* Update to go-nc-talk v0.2.2

Signed-off-by: Gary Kim <gary@garykim.dev>

* Make deletions easier to debug

Signed-off-by: Gary Kim <gary@garykim.dev>
2021-06-01 23:17:07 +02:00
Wim
c7897cca5d
Update irc references () 2021-05-30 00:38:13 +02:00
Wim
4091b6f6b4
Update vendor () 2021-05-30 00:25:30 +02:00
Gary Kim
766f35554e
Fix content body issue for redactions (matrix) ()
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-05-29 23:47:36 +02:00
Wim
c86137449e
Add a MessageClipped option to set your own clipped message. Closes () 2021-05-27 21:45:23 +02:00
Gary Kim
efec01a92f
Support sending file URLs (nctalk) ()
* nctalk: support sending file URLs

Signed-off-by: Gary Kim <gary@garykim.dev>

* nctalk: reduce nesting

Co-authored-by: Wim <wim@42.be>
Signed-off-by: Gary Kim <gary@garykim.dev>

Co-authored-by: Wim <wim@42.be>
2021-05-27 21:44:54 +02:00
Avinash Reddy
4fcad8e04b
Make DocumentMessage handler use FileName attribute (whatsapp) ()
* [whatsapp] make DocumentMessage handler use FileName attribute.

referenced: https://github.com/Rhymen/go-whatsapp/blob/master/message.go#L582

* fix lint
2021-05-26 00:06:45 +02:00
Chris Bobbe
4b4b2d790e
Delete now-unused img/slack-setup-*.png files () 2021-05-25 03:51:52 +01:00
Avinash Reddy
ec6ae343dd
Fix crash on encountering VideoMessage (whatsapp) ()
* [whatsapp] fix crash on encountering VideoMessage

* Update handlers.go

* gofmt
2021-05-23 21:21:30 +02:00
Wim
b9fb361959
Rename .jpe files to .jpg Fixes (whatsapp) () 2021-05-23 00:17:55 +02:00
Avinash Reddy
a189298ab0
Handle document messages (whatsapp) ()
* [Whatsapp] Add DocumentMessage handler

* Fix typo

Thanks @42wim :)

Co-authored-by: Wim <wim@42.be>

Co-authored-by: Wim <wim@42.be>
2021-05-21 22:50:47 +02:00
Jason Robinson
714a2ad730
Add MxId/Token login option for Matrix ()
* Add possibility for using MxId/Token with Matrix

Makes it possible to configure a Matrix bot to use Matrix ID + Access token instead of username/password. This makes it possible to use the bot in environments where password login is disabled (for example SSO environments).

Matrix user ID's are commonly referred to as "MXID's". I thought about (ab)using "Login" here but it felt like a bad idea given it's used as "username" for the password login. None of the other configuration items felt fitting.

Closes 

* MxId -> MxID

* Add err != nil to matrix.NewClient
2021-05-17 00:10:13 +02:00
Funatiker
fa8b96dfa1
Add libwebp-dev to tgs.Dockerfile fixes Telegram sticker to WebP rendering () 2021-05-15 23:54:46 +02:00
Bill Mcilhargey
01955a0df8
Add additional variable for TGS conversion in sample config ()
this was buried and wanted to bring it up in the config

Convert Tgs (Telegram animated sticker) images to PNG before upload.
This is useful when your bridge also contains platforms that do not support animated WebP files, like Discord.
This requires the external dependency `lottie`, which can be installed like this:
`pip install lottie cairosvg`
https://github.com/42wim/matterbridge/issues/874

https://github.com/42wim/matterbridge/pull/1173
2021-05-13 22:49:41 +02:00
Alexandre GV
ac4aee39e3
discord: Add AllowMention to restrict allowed mentions ()
* Add DisablePingEveryoneHere/DisablePingRoles/DisablePingUsers keys to config

* Add basic AllowedMentions behavior to discord webhooks

* Initialize b.AllowedMentions on Discord Bridger init

* Call b.getAllowedMentions on each webhook to allow config hot reloading

* Add AllowedMentions on all Discord webhooks/messages

* Add DisablePingEveryoneHere/DisablePingRoles/DisablePingUsers to matterbridge.toml.sample

* Change 'Disable' for 'Allow' and revert logic in Discord AllowedMentions

* Update Discord AllowedMentions in matterbridge.toml.sample

* Fix typo in DisableWebPagePreview

* Replace 'AllowPingEveryoneHere' with 'AllowPingEveryone'

* Replace 3 AllowPingEveryone/Roles/Users bools with an array

* Fix typo
2021-05-13 22:39:25 +02:00
Wim
a0bca42a7a
Update vendor ()
* Update vendored libs

* Fix slack api changes
2021-05-05 22:03:28 +02:00
Sandro
af543dcd05
Follow up to 536823ce55 for the tgs.Dockerfile () 2021-05-03 23:47:36 +02:00
Wim
af77109a47 Bump version 2021-04-04 00:09:43 +02:00
Wim
b979aff270
Release v1.22.1 () 2021-04-03 23:55:06 +02:00
Paul
b293e3fa75
Adding caption to send telegram images. Fixes ()
* Used tgbotapi caption option to attach caption to photos / documents

* remove "text/template/parse"

* added TGGetParseMode to clean up. Added tg upload function for video, audio and voice

* fixed varname Textout. Changed fileextension logic to avoid chaining regex

* fixed textout varname

* fixed parsemode varname

* gofmt

Co-authored-by: Wim <wim@42.be>
2021-04-03 23:15:19 +02:00
Wim
21eb37e471
Update vendor ()
* Update vendor

* Use upstream emoji lib again
2021-04-03 19:16:46 +02:00
Millesimus
d3b60cc445
Add MatterBukkit and Forge / Bukkit distinction () 2021-04-02 23:40:04 +02:00
Wim
7466e1d014
Set ogg as default audiomessage when none found (whatsapp). Fixes () 2021-03-20 23:12:59 +01:00
James Lu
2a7f28606c
Declare GUILD_MEMBERS privileged intent (discord) ()
Without this declared, it seems that Discord will not send any member update
events after connection, even if the privileged gateway intent is enabled for
the bot in settings. This causes nick tracking to get out of sync when people
change their nicks after the bot connects.

See: https://discord.com/developers/docs/topics/gateway#gateway-intents
2021-03-20 22:46:36 +01:00
Ben Wiederhake
0450482e6e
Make lottie_convert work on platforms without /dev/stdout ()
Fixes .
2021-03-20 22:42:41 +01:00
Wim
ee5d9b43b5
Update vendor () 2021-03-20 22:40:23 +01:00
powerjungle
3a8857c8c9
Add Facebook messenger api bridge URL to README.md () 2021-03-13 22:06:01 +01:00
Wim
be3dfb251d
Check rune length instead of bytes (telegram). Fixes () 2021-02-25 23:28:54 +01:00
Wim
4e11e29f70
Use go1.16 as binary builder. Remove go1.14 () 2021-02-17 21:37:14 +01:00
Alexander
763bb95cea
Fix webhooks for channels with special characters (xmpp) () 2021-02-17 21:30:06 +01:00
Qais Patankar
668e7407e6
Change workflow from go 1.16.0-rc1 to go 1.16.x () 2021-02-17 21:14:21 +01:00
Tadeo Kondrak
c147ba1da1
Handle Rocket.Chat attachments () 2021-02-15 22:34:14 +01:00
Qais Patankar
10f044c3dd
Use valid transmitter Log default (discord) ()
* Use valid transmitter Log default (discord)

Using a logger created by `log.NewEntry(nil)` would crash. (matterbridge does not encounter this issue as it updates the Log field manually.)
2021-02-15 22:20:08 +01:00