summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release v1.22.2 (#1504)v1.22.2Wim2021-06-016-53/+26
|
* Add support for message deletion (nctalk) (#1492)Gary Kim2021-06-018-91/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Update irc references (#1499)Wim2021-05-302-11/+11
|
* Update vendor (#1498)Wim2021-05-30443-6100/+32870
|
* Fix content body issue for redactions (matrix) (#1496)Gary Kim2021-05-291-7/+7
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Add a MessageClipped option to set your own clipped message. Closes #1359 ↵Wim2021-05-278-105/+124
| | | | (#1487)
* Support sending file URLs (nctalk) (#1489)Gary Kim2021-05-271-0/+31
| | | | | | | | | | | | * 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>
* Make DocumentMessage handler use FileName attribute (whatsapp) (#1488)Avinash Reddy2021-05-261-2/+2
| | | | | | | * [whatsapp] make DocumentMessage handler use FileName attribute. referenced: https://github.com/Rhymen/go-whatsapp/blob/master/message.go#L582 * fix lint
* Delete now-unused `img/slack-setup-*.png` files (#1491)Chris Bobbe2021-05-257-0/+0
|
* Fix crash on encountering VideoMessage (whatsapp) (#1483)Avinash Reddy2021-05-231-0/+4
| | | | | | | * [whatsapp] fix crash on encountering VideoMessage * Update handlers.go * gofmt
* Rename .jpe files to .jpg Fixes #1463 (whatsapp) (#1485)Wim2021-05-231-0/+5
|
* Handle document messages (whatsapp) (#1475)Avinash Reddy2021-05-211-0/+57
| | | | | | | | | | | * [Whatsapp] Add DocumentMessage handler * Fix typo Thanks @42wim :) Co-authored-by: Wim <wim@42.be> Co-authored-by: Wim <wim@42.be>
* Add MxId/Token login option for Matrix (#1438)Jason Robinson2021-05-173-18/+34
| | | | | | | | | | | | | * 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 #1429 * MxId -> MxID * Add err != nil to matrix.NewClient
* Add libwebp-dev to tgs.Dockerfile fixes Telegram sticker to WebP rendering ↵Funatiker2021-05-151-0/+1
| | | | (#1476)
* Add additional variable for TGS conversion in sample config (#1472)Bill Mcilhargey2021-05-131-0/+7
| | | | | | | | | | | 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
* discord: Add AllowMention to restrict allowed mentions (#1462)Alexandre GV2021-05-135-33/+71
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Update vendor (#1461)Wim2021-05-0546-1650/+428
| | | | | * Update vendored libs * Fix slack api changes
* Follow up to 536823ce5559b92a3224061b72bcda6010abea17 for the tgs.Dockerfile ↵Sandro2021-05-031-7/+3
| | | | (#1448)
* Bump versionWim2021-04-041-1/+1
|
* Release v1.22.1 (#1447)v1.22.1Wim2021-04-033-520/+741
|
* Adding caption to send telegram images. Fixes #1357 (#1358)Paul2021-04-032-29/+45
| | | | | | | | | | | | | | | | | * 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>
* Update vendor (#1446)Wim2021-04-0340-5397/+8088
| | | | | * Update vendor * Use upstream emoji lib again
* Add MatterBukkit and Forge / Bukkit distinction (#1444)Millesimus2021-04-021-2/+4
|
* Set ogg as default audiomessage when none found (whatsapp). Fixes #1427 (#1431)Wim2021-03-201-0/+4
|
* Declare GUILD_MEMBERS privileged intent (discord) (#1428)James Lu2021-03-201-0/+5
| | | | | | | | 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
* Make lottie_convert work on platforms without /dev/stdout (#1424)Ben Wiederhake2021-03-201-9/+26
| | | Fixes #1423.
* Update vendor (#1414)Wim2021-03-20187-1600/+6735
|
* Add Facebook messenger api bridge URL to README.md (#1425)powerjungle2021-03-131-0/+2
|
* Check rune length instead of bytes (telegram). Fixes #1409 (#1412)Wim2021-02-251-8/+10
|
* Use go1.16 as binary builder. Remove go1.14 (#1407)Wim2021-02-171-7/+7
|
* Fix webhooks for channels with special characters (xmpp) (#1405)Alexander2021-02-171-1/+2
|
* Change workflow from go 1.16.0-rc1 to go 1.16.x (#1406)Qais Patankar2021-02-171-1/+1
|
* Handle Rocket.Chat attachments (#1395)Tadeo Kondrak2021-02-152-0/+63
|
* Use valid transmitter Log default (discord) (#1402)Qais Patankar2021-02-151-1/+1
| | | | | | * 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.)
* Fix panic when the webhook fails (xmpp) (#1401)Alexander2021-02-151-1/+6
|
* Fix missing word in matterbridge.toml.sample (#1398)PeGaSuS2021-02-111-1/+1
| | | Co-authored-by: Qais Patankar <qaisjp@gmail.com>
* Add scoop repoWim2021-02-021-0/+1
|
* Add go 1.16.0-rc1 to github workflow (#1386)Wim2021-02-021-1/+2
|
* Bump versionWim2021-02-011-1/+1
|
* Release v1.22.0 (#1385)v1.22.0Wim2021-02-013-2/+25
|
* Update vendor (#1384)Wim2021-02-0137-244/+1539
|
* Pick up all the webhooks (discord) (#1383)Wim2021-02-011-1/+0
|
* Add vk bridge (#1372)Ivanik2021-01-29112-0/+26908
| | | | | | | | | | | | | | | | | | | | | * 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
* Add an even more debug option (discord) (#1368)Wim2021-01-231-0/+5
| | | Enable discordgo debugging with debuglevel=1 under the [discord.xxx] section, for even more debugging fun.
* Allow the XMPP bridge to use slack compatible webhooks (xmpp) (#1364)Alexander2021-01-212-6/+56
| | | | | | | | | * 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
* Update README (#1362)Wim2021-01-151-2/+9
|
* Optimize Dockerfile (#1361)Wim2021-01-151-6/+4
|
* Unify/sync apk index cache control in Dockerfile (#1352)Peter Dave Hello2021-01-141-1/+1
| | | The second stage is using a single `apk` command with `--no-cache` which is better.
* Add jpe as valid image filename extension (telegram) (#1360)Paul2021-01-141-1/+1
|
* Improve Markdown in transmitter docs (discord) (#1351)Qais Patankar2021-01-031-6/+7
|