summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Invalidate user in cache on user change event (#1604)Jonathan Walker (Keenan)2021-10-162-0/+8
| | | Co-authored-by: Wim <wim@42.be>
* Add support for mattermost v6Wim2021-10-164-36/+409
|
* Update vendorWim2021-10-16588-3423/+119385
|
* Disable exhaustivestruct linterWim2021-10-161-0/+1
|
* Build static binaries on githubWim2021-10-141-3/+3
|
* Convert .tgs with go libraries (and cgo) (telegram) (#1569)Benau2021-08-24310-85/+121526
| | | | | | | | | | | | | | | | This commit adds support for go/cgo tgs conversion when building with the -tags `cgo` The default binaries are still "pure" go and uses the old way of converting. * Move lottie_convert.py conversion code to its own file * Add optional libtgsconverter * Update vendor * Apply suggestions from code review * Update bridge/helper/libtgsconverter.go Co-authored-by: Wim <wim@42.be>
* Disable errorlint,gci and nlreturnWim2021-08-241-0/+3
|
* Update github actions to go1.17 and increase deadline (#1573)Wim2021-08-222-6/+6
|
* Remove newline character in bridge multiline messages (mumble) (#1572)powerjungle2021-08-221-1/+4
|
* Update vendor (#1560)Wim2021-07-3195-181/+1677
|
* Add support for anonymous connection (xmpp) (#1548)tytan6522021-07-312-5/+19
|
* Update matterbridge/go-xmpp vendor (#1559)Wim2021-07-314-8/+12
|
* Add space before file upload comment (slack) (#1554)Brian V2021-07-271-1/+1
|
* Fix XMPP parseNick function (#1547)tytan6522021-07-201-1/+1
|
* Add link to service files wiki page (#1545)minecraftchest12021-07-201-0/+5
| | | Added Systemd section to README.md. Added Systemd to table of contents.
* Use correct URL for Mediaserver Setup (#1550)Brian V2021-07-201-1/+1
|
* Update .goreleaser.ymlWim2021-06-251-0/+3
|
* Update matterbridge.toml.sampleWim2021-06-251-7/+0
|
* Add support for separate display name (nctalk) (#1506)Gary Kim2021-06-196-12/+45
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Bump versionWim2021-06-161-1/+1
|
* Release v1.22.3 (#1522)v1.22.3Wim2021-06-163-2/+11
| | | * Release v1.22.3
* Update dependencies (#1521)Wim2021-06-16243-14258/+12620
|
* Update Rhymen/go-whatsapp module to latest master (2b8a3e9b8aa2) (#1518)Nathanaël2021-06-165-6/+7
|
* Bump versionWim2021-06-021-1/+1
|
* 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.