Commit Graph

1696 Commits (master)
 

Author SHA1 Message Date
Alexander 365acc36ea
Fix error messages in telegram and slack bridges (#1862)
* Fix message html entities escaping when sending to Telegram

* Fix error messages in telegram and slack bridges

Co-authored-by: Wim <wim@42.be>
2 years ago
Glandos 0482cd191d
Rename freenode to libera in simple config (#1870)
* freenode to libera

The freenode network doesn't really work anymore

* Missing replacement for Libera
2 years ago
Wim 6a3fc71397
Update dependencies and go1.18 (#1873)
* Update dependencies and go1.18

* Exclude unnecessary linters and update build to go1.18
2 years ago
Alexander 3c4192ebf6
Fix message html entities escaping when sending to Telegram (#1855) 2 years ago
Wim e450e1c447
Bump version 2 years ago
Wim 20f841c513
Release v1.25.2 (#1853) 2 years ago
Wim d07a3e09c9
Support mattermost v7 (#1852)
Mattermost api (almost) didn't change between v6.7.x and v7.0
Everything should just work
2 years ago
Wim 4649876956
Update dependencies (#1851) 2 years ago
Sam W 5604d140e3
Ignore events from other guilds, add nosendjoinpart support (discord) (#1846)
* discord: add nosendjoinpart support

This allows the discord bridge to be configured with `nosendjoinpart`,
preventing discord-originating join/part messages from being send to
other bridged platforms.

* discord: Ignore incoming events for other guilds

Ignore all incoming discord events originating from Guild IDs other than
the one we have configured.
This is necessary because discord bots receive events for *all* discord
guilds that they are present in.

Fixes #1612
2 years ago
Wim 8751fb4bb1
Update dependencies (#1841) 2 years ago
Wim 3819062574
Bump version 2 years ago
Wim 051e6e76e9
Release v1.25.1 (#1832) 2 years ago
Wim 1e55dd47f2
Update dependencies (#1831) 2 years ago
Andy 700b95546b
Improve Slack attachments formatting (slack) (#1807)
* Improve Slack attachments formatting (slack)

* Add TitleLink
* Add Footer

* Fix linter issues
2 years ago
Wim 2fa96ec0ed
Add KeepQuotedReply option for matrix to fix regression (#1823)
Matrix quotes replies and as of matterbridge 1.24.0 we strip those as this causes
issues with bridges support threading and have PreserveThreading enabled.

Introduced via 9a8ce9b17e

But if you for example use mattermost or discord with webhooks you'll need to enable
this if you want something that looks like a reply from matrix.
See issues:
- https://github.com/42wim/matterbridge/issues/1819
- https://github.com/42wim/matterbridge/issues/1780
2 years ago
Wim 81e6f75aa4
Update dependencies (#1822) 2 years ago
Wim 888c8b9a84
Add space between filename and URL (mattermost). Fixes #1820 2 years ago
Wim e775a8a22e
Revert "Clear existing IRC event handlers before connecting new ones (#1795)"
This reverts commit f044b948e2.

Fixes #1815
2 years ago
Alexander 99fbd9cae6
Fix telegram message deletion request (#1818) 2 years ago
Wim 67adad3e08
Update dependencies (#1813) 2 years ago
Wim 2fca3c7563
Add CGO_ENABLED info also to whatsappmulti build 2 years ago
Wim c3573f1a46
Add CGO_ENABLED info to README 2 years ago
Daniil Suvorov ee932a9f8e
Fix UploadMessagesPhoto for vk community chat (vk) (#1812) 2 years ago
ValdikSS ce18c948e6
Do not apply any markup to URL entities (telegram) (#1808)
handleEntities code uses simple modification offset which does not
allow to detect whether the offset is placed before or after
the element in already modified string.
This works fine is most cases as Telegram server always sort the
elements by offset, in ascending order.
However, this is not the case when the modification, for example bold
text, is applied to the URL. In this case, the offset of URL and
bold entity is equal, which raises the issue.

This commit introduces additional hack for this case, stripping
any entities which intersect with URL.
2 years ago
Wim 7bc93c5506
Do not modify .webm files (telegram). Fixes #17** (#1802) 2 years ago
Wim d7cad3b404
Update matterbridge/gomatrix. Fixes #1772 (#1803) 2 years ago
Wim 7740a362c9
Fix build command for latest stable 2 years ago
Wim 281ef53e7d
Update dependencies (#1800) 2 years ago
Bryan Davis f044b948e2
Clear existing IRC event handlers before connecting new ones (#1795)
Clear all existing IRC event handler registrations before registering
new handlers in case we are connecting via a BNC and are seeing
a reconnect.

Fixes #1564
2 years ago
Wim 32474a5f4d
Bump version 2 years ago
Wim 26596acf80
Release v1.25.0 (#1793) 2 years ago
Wim e63870a631
Add whatsapp deprecation warning (#1792) 2 years ago
Wim ce782ff6fb
Change discord non-native threading behaviour (discord) (#1791)
Sorta regression introduced by 9a8ce9b17e
which changes the way we get replies of matrix.

This causes issues like https://github.com/42wim/matterbridge/issues/1780
We "fix" this by mimicking the old behaviour when "PreserveThreading" is
disabled.
2 years ago
Wim c6716e030c
Update dependencies (#1784) 2 years ago
Alexander 4ab72acec6
Ignore sending file with comment, if comment contains IgnoreMessages value (#1783)
* Ignore sending file with comment, if comment contains message to ignore

* Fix linter issue
2 years ago
Alexander 30aae8e257
Multiple media in one message (telegram) (#1779)
* Send multiple images/video/documents as media group

* Fix media caption quotting

* Fix errors handling

* Refactor parent id detection

* Try to reduce cognitive complexity of code

* Remove unused conditional
2 years ago
Alexander d7b7ff7bb4
Preserve threading for messages with files (slack) (#1781)
* Preserve threading for slack messages with files

* Update bridge/slack/slack.go

Co-authored-by: Wim <wim@42.be>
2 years ago
Alexander 6fe0cff342
Use slack real name as user name (slack) (#1775)
* Use slack real name as user name

* Change slack option UseRealName to UseFullName
2 years ago
Wim 5f75f9886d
Update lrstanley/girc dep (#1773) 2 years ago
Alexander 5d9604cd15
Preserve threading from telegram replies (telegram) (#1776)
* Preserve threading from telegram replies

* Add fallback for unthreaded telegram message

* Fix linter issue
2 years ago
Alexander cc36ebf1c9
Add UseFullName option (telegram) (#1777) 2 years ago
Tobias Niepel e6adecfd81
Add Dockerfile_whatsappmulti for building with WhatsApp Multi-Device support (Whatsmeow) (#1774)
Co-authored-by: Tobias Niepel <tobias.niepel@obi.de>
2 years ago
Wim 5c8f224e3b
Update README 2 years ago
Wim 952221d3b9 Fix linting (whatsapp) 2 years ago
Wim 496d5b4ec7 Add whatsappmulti buildflag for whatsapp with multidevice support (whatsapp) 2 years ago
Wim 2623a412c4 Update vendor (whatsapp) 2 years ago
Wim d64eed49bc Fix linting (whatsapp) 2 years ago
Wim fffa29c2f3 Fix channel in video/audio/image/document handling (whatsapp) 2 years ago
Wim 4da1444ffc Check for Conversation on receiving messages (whatsapp) 2 years ago
Wim 21c4e56d16 Use Conversation instead of ExtendedTextMessage (whatsapp) 2 years ago