summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for using ID in channel config (mattermost) (#1715)Wim2022-02-064-21/+80
|
* Add UseUsername option (mattermost). Fixes #1665 (#1714)Wim2022-02-063-5/+13
|
* Add more debug options for discord (#1712)Wim2022-02-062-2/+11
| | | | | debuglevel=1 dumps every received discord event debuglevel=2 dumps every discord event we are sending to discord (also logs sensitive information)
* Use own gomatrix fork again. Fixes #1382 (#1713)Wim2022-02-064-9/+12
|
* Add support for client certificate (irc) (#1710)Wim2022-02-052-1/+38
| | | Supports https://libera.chat/guides/certfp.html
* Add support for deleting files from slack to discord. Fixes #1705 (#1709)Wim2022-02-056-37/+112
| | | | | | | | | | | | | | | | | | | | | | | | We create a new event EventFileDelete which will be used to delete specific uploaded files using the Extra["file"] in the config.Message. We also add a new NativeID key to the FileInfo struct which will contain the native file ID of the sending bridge. When a new file is added to the config.Message.Extra["file"] map, now the bridge native file ID should be added here. When the receiving bridge receives such a message, it should keep an internal mapping of NativeID <> bridge fileid/message id. In the case of discord we map it to the resulted discord message ID after uploading it. Now when a bridge deletes a file, it should send a EventFileDelete and setting the ID to the native file ID of the bridge. When the receiving bridge will get this event it'll look into the NativeID <> bridge id mapping to find their internal ID and use it to delete the specific file on their side. For now this is implemented for slack to discord but this will be add to other bridges where useful.
* Add support for sender_chat (telegram) (#1677)Wim2022-02-041-0/+24
| | | | | | | | | | * Add support for sender_chat (telegram) Fixes #1654 https://core.telegram.org/bots/api#december-7-2021 * Add debuglevel option Add `debuglevel=1` in telegram config to increase debug
* Add Telegram Bot Command /chatId (telegram) (#1703)Ivan Zuev2022-02-031-2/+15
| | | | | | | | * feat(telegram): command to get chat id * Gofumpt Co-authored-by: Ivan Zuev <i-zuev@yandex-team.ru> Co-authored-by: Wim <wim@42.be>
* Increase batch size for conversation.list api method (slack) (#1700)Ivan Zuev2022-01-291-0/+1
| | | Co-authored-by: Ivan Zuev <i-zuev@yandex-team.ru>
* Bump github.com/SevereCloud/vksdk/v2 from 2.11.0 to 2.13.0 (#1698)dependabot[bot]2022-01-28111-260/+21521
| | | | | | | | | | | | | | | | Bumps [github.com/SevereCloud/vksdk/v2](https://github.com/SevereCloud/vksdk) from 2.11.0 to 2.13.0. - [Release notes](https://github.com/SevereCloud/vksdk/releases) - [Commits](https://github.com/SevereCloud/vksdk/compare/v2.11.0...v2.13.0) --- updated-dependencies: - dependency-name: github.com/SevereCloud/vksdk/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump github.com/go-telegram-bot-api/telegram-bot-api/v5 (#1693)dependabot[bot]2022-01-264-5/+5
| | | | | | | | | | | | | | | | | Bumps [github.com/go-telegram-bot-api/telegram-bot-api/v5](https://github.com/go-telegram-bot-api/telegram-bot-api) from 5.5.0 to 5.5.1. - [Release notes](https://github.com/go-telegram-bot-api/telegram-bot-api/releases) - [Changelog](https://github.com/go-telegram-bot-api/telegram-bot-api/blob/master/docs/changelog.md) - [Commits](https://github.com/go-telegram-bot-api/telegram-bot-api/compare/v5.5.0...v5.5.1) --- updated-dependencies: - dependency-name: github.com/go-telegram-bot-api/telegram-bot-api/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump github.com/labstack/echo/v4 from 4.6.1 to 4.6.3 (#1685)dependabot[bot]2022-01-1811-69/+86
| | | | | | | | | | | | | | | | | Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.6.1 to 4.6.3. - [Release notes](https://github.com/labstack/echo/releases) - [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md) - [Commits](https://github.com/labstack/echo/compare/v4.6.1...v4.6.3) --- updated-dependencies: - dependency-name: github.com/labstack/echo/v4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump github.com/spf13/viper from 1.9.0 to 1.10.1 (#1684)dependabot[bot]2022-01-1816-124/+354
| | | | | | | | | | | | | | | | Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.9.0 to 1.10.1. - [Release notes](https://github.com/spf13/viper/releases) - [Commits](https://github.com/spf13/viper/compare/v1.9.0...v1.10.1) --- updated-dependencies: - dependency-name: github.com/spf13/viper dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump github.com/mattermost/mattermost-server/v6 from 6.1.0 to 6.3.0 (#1686)dependabot[bot]2022-01-18250-11370/+43034
| | | | | | | | | | | | | | | | | Bumps [github.com/mattermost/mattermost-server/v6](https://github.com/mattermost/mattermost-server) from 6.1.0 to 6.3.0. - [Release notes](https://github.com/mattermost/mattermost-server/releases) - [Changelog](https://github.com/mattermost/mattermost-server/blob/master/CHANGELOG.md) - [Commits](https://github.com/mattermost/mattermost-server/compare/v6.1.0...v6.3.0) --- updated-dependencies: - dependency-name: github.com/mattermost/mattermost-server/v6 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump github.com/mattermost/mattermost-server/v5 from 5.39.0 to 5.39.3 (#1682)dependabot[bot]2022-01-185-23/+32
| | | | | | | | | | | | | | | | | Bumps [github.com/mattermost/mattermost-server/v5](https://github.com/mattermost/mattermost-server) from 5.39.0 to 5.39.3. - [Release notes](https://github.com/mattermost/mattermost-server/releases) - [Changelog](https://github.com/mattermost/mattermost-server/blob/master/CHANGELOG.md) - [Commits](https://github.com/mattermost/mattermost-server/compare/v5.39.0...v5.39.3) --- updated-dependencies: - dependency-name: github.com/mattermost/mattermost-server/v5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add more ignore debug messages (mattermost) (#1678)Wim2022-01-101-1/+3
|
* Log eventtype in debug (mattermost) (#1676)Wim2022-01-101-1/+1
|
* Use current parentID if rootId is not set (mattermost) (#1675)Wim2022-01-101-2/+6
|
* Reply support for Matrix (#1664)vpzomtrrfrt2022-01-092-4/+83
| | | | | | | | | * Post replies to matrix * Handle replies from matrix * Include protocol in canonical ID return * fmt
* Remove GroupID (vk) (#1668)Daniil Suvorov2022-01-092-7/+8
|
* Add Dependabot.yml config (#1663)Felix2021-12-191-0/+22
| | | | | | | * Added: Dependabot.yml config * Updated: schedule interval * Updated: Interval to weekly
* Fix codeql warningsWim2021-12-193-4/+8
|
* Add support for Harmony (#1656)Janet Blackquill2021-12-1831-0/+29626
| | | | | | Harmony is a relatively new (1,5yo) chat protocol with a small community. This introduces support for Harmony into Matterbridge, using the functionality specifically designed for bridge bots. The implementation is a modest 200 lines of code.
* Fix vendored xmpp (#1661)Wim2021-12-125-19/+35
|
* Add comments to messages (telegram) (#1652)Soloam2021-12-122-4/+5
| | | | | | | | | | | | | * Add's comments to message in telegram messages This is a change to handle comments in telegram messages! Some messages in telegram have comments added to the message! This normally is the description in images or links. This changes appends the comment to the message if available. This should fix the issue in #1649 * [fix] discord: send comments in extras Co-authored-by: Wim <wim@42.be>
* Update telegram-bot-api to v5 (#1660)Wim2021-12-1223-3753/+6930
|
* Update dependencies/vendor (#1659)Wim2021-12-12214-5640/+8882
|
* Fix telegram/handlers.go linting (#1658)Wim2021-12-101-5/+5
|
* Disable some more lintersWim2021-12-101-1/+16
|
* Fix Zulip example in matterbridge.toml.sample (#1657)Yash Rathore2021-12-101-1/+1
| | | | | Commit 11fc4c286fbcd6c1519362d2b0123ebd4ab19067 changed the example for Zulip, in a way that was not accurate to what zulip.go expects, hence this commit fixes the example.
* Add support for code blocks in telegram (#1650)Dan Walmsley2021-12-071-0/+15
| | | | | | | | | | | * handle code blocks in telegram. * support multi-line code blocks. * remove import. * handle code blocks in middle of normal text. * support multiple code blocks in same message.
* Update matterbridge.toml.sample (#1644)PeGaSuS2021-12-021-0/+1
| | | Missing `{NOPINGNICK}` example on the general re-loadable settings
* Use Alpine stable again in Dockerfile (#1643)Sandro2021-11-292-2/+2
| | | | | * Use alpine stable again * fix build for tgs.Dockerfile
* Allow binding to IP on IRC (#1640)Santtu Lakkala2021-11-292-0/+6
| | | | Add configuration option "Bind" that is passed on to girc, allowing to choose which IP address to use on systems that have multiple ones.
* Bump versionWim2021-11-021-1/+1
|
* Release v1.23.2 (#1631)v1.23.2Wim2021-11-023-2/+10
|
* Update go-whatsapp version (#1630)snikpic2021-11-024-5/+5
|
* Bump versionWim2021-11-011-1/+1
|
* Release v1.23.1 (#1629)v1.23.1Wim2021-10-303-4/+16
|
* Do not fail on no avatar data (xmpp) #1529 (#1627)Polynomdivision2021-10-301-1/+7
| | | | | | | * Detect errors when working with AvatarData * Remove not neccessary line Co-authored-by: Wim <wim@42.be>
* Update dependencies (#1628)Wim2021-10-309-29/+93
|
* Remove wrapcheck linterWim2021-10-301-0/+1
|
* Add article. (#1625)Minecraftchest12021-10-251-0/+1
| | | Add article at https://minecraftchest1.wordpress.com/2021/06/05/how-to-install-and-setup-matterbridge/
* Do not check cache on deleted messages (mattermost). Fixes #1555 (#1624)Wim2021-10-255-6/+6
|
* Use a new msgID when replacing messages (xmpp). Fixes #1584 (#1623)Wim2021-10-241-1/+0
|
* Fix panic in msteams. Fixes #1588 (#1622)Wim2021-10-241-4/+6
|
* Keep the logger on a disabled bridge. Fixes #1616 (#1621)Wim2021-10-242-1/+6
|
* Add better error handling on Zulip (#1589)Alex Vandiver2021-10-237-13/+20
| | | | | | | | | | | | | | | | | | * zulip: Treat unknown errors with a 10-second backoff. An unknown error (including an unauthorized error) would fall through with no calls to time.Sleep, resulting in hammering the server as quickly as possible. Add a 10-second sleep in the default error case. The heartbeat is left with no explicit sleep, but all other codepaths now contain one. * version: Move version information into a separate package. This will allow it to be accessed by other sections of the code. * zulip: Use the matterbridge version in the user-agent. Co-authored-by: Wim <wim@42.be>
* Remove forbidigo linterWim2021-10-231-0/+1
|
* Fix gozulipbot vendorWim2021-10-231-0/+5
|