Commit Graph

1712 Commits (master)
 

Author SHA1 Message Date
Wim a0bca42a7a
Update vendor (#1461)
* Update vendored libs

* Fix slack api changes
3 years ago
Sandro af543dcd05
Follow up to 536823ce55 for the tgs.Dockerfile (#1448) 3 years ago
Wim af77109a47 Bump version 3 years ago
Wim b979aff270
Release v1.22.1 (#1447) 3 years ago
Paul b293e3fa75
Adding caption to send telegram images. Fixes #1357 (#1358)
* 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>
3 years ago
Wim 21eb37e471
Update vendor (#1446)
* Update vendor

* Use upstream emoji lib again
3 years ago
Millesimus d3b60cc445
Add MatterBukkit and Forge / Bukkit distinction (#1444) 3 years ago
Wim 7466e1d014
Set ogg as default audiomessage when none found (whatsapp). Fixes #1427 (#1431) 3 years ago
James Lu 2a7f28606c
Declare GUILD_MEMBERS privileged intent (discord) (#1428)
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
3 years ago
Ben Wiederhake 0450482e6e
Make lottie_convert work on platforms without /dev/stdout (#1424)
Fixes #1423.
3 years ago
Wim ee5d9b43b5
Update vendor (#1414) 3 years ago
powerjungle 3a8857c8c9
Add Facebook messenger api bridge URL to README.md (#1425) 3 years ago
Wim be3dfb251d
Check rune length instead of bytes (telegram). Fixes #1409 (#1412) 3 years ago
Wim 4e11e29f70
Use go1.16 as binary builder. Remove go1.14 (#1407) 3 years ago
Alexander 763bb95cea
Fix webhooks for channels with special characters (xmpp) (#1405) 3 years ago
Qais Patankar 668e7407e6
Change workflow from go 1.16.0-rc1 to go 1.16.x (#1406) 3 years ago
Tadeo Kondrak c147ba1da1
Handle Rocket.Chat attachments (#1395) 3 years ago
Qais Patankar 10f044c3dd
Use valid transmitter Log default (discord) (#1402)
* 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.)
3 years ago
Alexander ce5140febd
Fix panic when the webhook fails (xmpp) (#1401) 3 years ago
PeGaSuS 858cdc86f5
Fix missing word in matterbridge.toml.sample (#1398)
Co-authored-by: Qais Patankar <qaisjp@gmail.com>
3 years ago
Wim 9a25297d51 Add scoop repo 3 years ago
Wim e24f7f5151
Add go 1.16.0-rc1 to github workflow (#1386) 3 years ago
Wim eff5f1e119 Bump version 3 years ago
Wim afcd362cd1
Release v1.22.0 (#1385) 3 years ago
Wim 0452be0cb3
Update vendor (#1384) 3 years ago
Wim 1624f10773
Pick up all the webhooks (discord) (#1383) 3 years ago
Ivanik 8764be7461
Add vk bridge (#1372)
* Add vk bridge

* Vk bridge attachments

* Vk bridge forwarded messages

* Vk bridge sample config and code cleanup

* Vk bridge add vendor

* Vk bridge message edit

* Vk bridge: fix fetching names of other bots

* Vk bridge: code cleanup

* Vk bridge: fix shadows declaration

* Vk bridge: remove UseFileURL
3 years ago
Wim 5dd15ef8e7
Add an even more debug option (discord) (#1368)
Enable discordgo debugging with debuglevel=1 under the [discord.xxx] section, for even more debugging fun.
3 years ago
Alexander 4ac6366706
Allow the XMPP bridge to use slack compatible webhooks (xmpp) (#1364)
* Add mod_slack_webhook support to the XMPP bridge

* Replace b.webhookURL with b.GetString

* Do not return a message ID on webhook POST

* Add the XMPP webhook to the sample configuration
3 years ago
Wim adc0912efa
Update README (#1362) 3 years ago
Wim 536823ce55
Optimize Dockerfile (#1361) 3 years ago
Peter Dave Hello 207cd24edb
Unify/sync apk index cache control in Dockerfile (#1352)
The second stage is using a single `apk` command with `--no-cache` which is better.
3 years ago
Paul b039da1eba
Add jpe as valid image filename extension (telegram) (#1360) 3 years ago
Qais Patankar 8fcd0f3b6f
Improve Markdown in transmitter docs (discord) (#1351) 3 years ago
Wim 16fde6935c
Rename .oga audio files to .ogg (telegram) (#1349) 3 years ago
Wim 9592cff9fa Update README about unsupported steam chat 3 years ago
Wim 109148988c Bump version 3 years ago
Wim cf13fff7d2
Release v1.21.0 (#1348) 3 years ago
Qais Patankar a9d8ac8bc0
Refactor "msg-parent-not-found" to config.ParentIDNotFound (#1347) 3 years ago
Qais Patankar 1a4717b366
Reject cross-channel message references (discord) (#1345)
Discord message references have been designed in a way for this to
support cross-channel or even cross-guild references in the future.

This will ensure the ParentID is *not* set when the message refers to a
message that was sent in a different channel.
3 years ago
Qais Patankar 6cadf12260
Add a prefix handler for unthreaded messages (discord) (#1346) 3 years ago
Wim 19d47784bd
Add threading support with token (discord) (#1342)
Webhooks don't support the threading yet, so this is token only.
In discord you can reply on each message of a thread, but this is not possible in mattermost (so some changes added there to make sure we always answer on the rootID of the thread).

Also needs some more testing with slack.

update : It now also uses the token when replying to a thread (even if webhooks are enabled), until webhooks have support for threads.
3 years ago
Qais Patankar b89102c5fc
Fix 'webook' typo in discord/webhook.go (#1344) 3 years ago
Wim 4f20ebead3
Update vendor for next release (#1343) 3 years ago
James Lu a9f89dbc64
Add support for stateless bridging via draft/relaymsg (irc) (#1339)
* irc: add support for stateless bridging via draft/relaymsg

As discussed at https://github.com/42wim/matterbridge/issues/667#issuecomment-634214165

* irc: handle the draft/relaymsg tag in spoofed messages too

* Apply suggestions from code review

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

* Run gofmt on irc.go

* Document relaymsg in matterbridge.toml.sample

Co-authored-by: Wim <wim@42.be>
3 years ago
wschwab 58ea1e07d2
Update README.md (#1340)
added using `chmod a+x` to make the binary executable in the installation section
3 years ago
Qais Patankar 6de4c7e971
Update webhook documentation (discord) (#1335) 4 years ago
Qais Patankar 03dc51ffa2 Split Bdiscord.Send into handleEventWebhook and handleEventBotUser (discord) 4 years ago
Qais Patankar aef2dcdfdd Move webhook specific logic to its own file (discord) 4 years ago
Qais Patankar 0494119bf4 Extract maybeGetLocalAvatar into its own function (discord) 4 years ago