Commit Graph

1712 Commits (master)
 

Author SHA1 Message Date
Wim d16645c952
Update mattermost library (#2152)
* Update mattermost library

* Fix linting
1 week ago
Wim 65d78e38af
Update go-xmpp dependency (#2151) 2 weeks ago
Wim a89267943c
Fix linting 2 weeks ago
Wim 815d8b804f
Fix linting 2 weeks ago
Brian S. Stephan 6edd5de3b7
Trim nick whitespace when looking up the guild members (discord) (#2072)
this fixes the matching to attempt to find avatars

fixes #2059
2 weeks ago
Quantum0 2e9db32a83
Fix typos in matterbridge.toml.sample (#2077) 2 weeks ago
Ben Wiederhake 4bf1c0450c
Split messages if necessary (discord) (#2124)
* Implement and test byte-splitting helper function

* Implement discord botuser message splitting

* Implement discord webhooks message splitting
2 weeks ago
patrickxia 0bb521512a
Do not bridge CTCP commands other than ACTION (irc) (#2090)
CTCP commands other than ACTION are designed for client-to-client interaction on
IRC networks. Drop such messages when we receive them.

Also get rid of a "CTCP_ACTION" handler in the handler registration.

This

1) can't do anything (if anything, we wanted the string constant
   girc.CTCP_ACTION, which is "ACTION")
2) doesn't do anything in this context, because CTCP handlers are
   registered separately:
   f47717952b/ctcp.go (L205)

The PRIVMSG handler already listens to all CTCPs.

Thanks to @lexande for the bug report (found on a live instance).
2 weeks ago
Wim 13fd5c5d5b
Fix linting 2 weeks ago
Ben Wiederhake d055b4530e
Correctly split three-or-more byte sequences of UTF-8 (#2123) 2 weeks ago
Neil Hanlon 6b528ffa4f
Update post types and include system removals in skip logic (mattermost) (#2125) 2 weeks ago
Wim fa147c076f
Fix linting 2 weeks ago
Bryan Davis b2df32bc81
Clear existing IRC event handlers before connecting to new ones (irc) (#2138)
Clear IRC event handlers that we will be registering for the new
connection before registering new handlers. This prevents duplicate
event handlers in the case where we are connecting via a BNC and are
seeing a reconnect. Attempting to clear handlers when none have been set
is a no-op.

Fixes 42wim#1564
Co-authored-by: Andreas Vögele <andreas@andreasvoegele.com>
2 weeks ago
guangwu 733f4c71b8
Close res body (rocketchat) (#2135) 2 weeks ago
erentar 70e8c6e9d3
Move deprecated/inactive 3rd party bridges to their own sections (#2143) 2 weeks ago
Wim 2f33fe86f5
Update dependencies and build to go1.22 (#2113)
* Update dependencies and build to go1.22

* Fix api changes wrt to dependencies

* Update golangci config
2 weeks ago
Wim 56e7bd01ca
Update dependencies and remove old matterclient lib (#2067) 10 months ago
Juhani Karppinen 9459495484
Fix typo in logging (#2056) 10 months ago
Wim 89b0d362d2
Remove gitter bridge (#2035)
See https://blog.gitter.im/2023/02/13/gitter-has-fully-migrated-to-matrix/
1 year ago
Joseph Mansy 574f25337d
Add nil check for group update (telegram) (#2036) 1 year ago
Joseph Mansy 5bbe422161
Support telegram chat Join/Leave updates (#2019)
Co-authored-by: Wim <wim@42.be>
1 year ago
Faye Duxovni 6500714a93
Don't treat nil as an unknown type of error (zulip) (#2024)
Fixes #1869
1 year ago
Thom Dickson 5feafcddba
Fix broken reply (telegram) (#2026)
Fixes #2021 

* Fix broken reply

* Fix reply/quoting logic with topics

* Update handlers.go

---------

Co-authored-by: Wim <wim@42.be>
1 year ago
mvoolt 3e20a3d180
Create mumble-autolink.tengo (#2029) 1 year ago
dependabot[bot] 60639b6e50
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1 (#2018)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.29.0...v1.29.1)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Joseph Mansy 839f384e45
Return a message ID when sending with a webhook (discord) (#1976)
Resolves #1975
1 year ago
Joseph Mansy d42277979a
Support topic changes and Join/Leave messages (whatsapp) (#2017) 1 year ago
Wim 24cf007a74
Update matterbridge.toml.sample 1 year ago
Thom Dickson 601f48a50e
Add support for Telegram topics (telegram) (#1942)
Topics are surfaced by appending /<topic-id> to the channel setting for the gateway. 
An example for the topic with ID of 16 would be:

```
[[gateway.inout]]
account="telegram.mytelegram"
channel="-100xxxxxxxxxx/16"
```
1 year ago
Wim c2b8e298d8
Add extra error checking for fileinfo (api) (#2015) 1 year ago
Asiel Díaz Benítez 0917e17383
Allow to send files in Extra via /api/message (api) (#1993) 1 year ago
Wim 8587fa8585
Fix possible panic in mattermost. (mattermost) Fixes #1947 (#2014) 1 year ago
Wim f345eeae55
Set correct loglevel (whatsapp). Fixes #1980 (#2013) 1 year ago
Wim 89e2dbac15
Check client disconnect to exit for loop (api). Fixes #1983 (#2012)
Also update to latest melody upstream
1 year ago
Wim 356ada872c
Add handlers at the end. Fixes #1988 (discord) (#2011) 1 year ago
mvoolt a3deb48726
Add support for Mumble servers with no message length limit (#2008)
* Rename .{jfif,jpe} to .jpg (mumble)

* Fix messages not sending in properly if no limit is set (mumble)

Co-authored-by: yellows111 <ice_ice@email.com>

* Formatting fix (mumble)

---------

Co-authored-by: yellows111 <ice_ice@email.com>
1 year ago
ilmaisin 544cd5cd9e
Fix Android media download problem (whatsapp) (#2010) 1 year ago
Wim 53b63adc71
Update to actions v3 (#2009) 1 year ago
Joseph Mansy 2c349c50c7
Support handling delete message from whatsapp. (#1986) 1 year ago
Wim 08779c2909
Update dependencies (#2007)
* Update dependencies
1 year ago
Wim d5f9cdf912
Update builds to go 1.20 (#2006) 1 year ago
Joseph Mansy 3a4bdd7c56
Fix rate-overlimit issue when there are more than 5 whatsapp channels in a single account (whatsapp) (#1998)
Resolves #1844
1 year ago
Asiel Díaz Benítez 2b236f3ff7
add deltachat to 3rd party API bridges (#1992) 1 year ago
Joseph Mansy 768fb791c5
Use AuthorSignature as a fallback username (telegram) (#1979)
This comes in handy for annoucement type channels where neither the SenderChat or From structs contain name information.

Also Tweak username logic as when using a full name the username field can be " " instead of "".
1 year ago
Joseph Mansy d00dcf3f58
Handle Whatsapp threading/replies (whatsapp) (#1974)
* Handle Whatsapp threading/replies.
In this change we are updating whatsapp message IDs to include sender JID as this is necessary to reply to a message
https://github.com/tulir/whatsmeow/issues/88#issuecomment-1093195237
https://github.com/tulir/whatsmeow/discussions/148#discussioncomment-3094325

Based on commit 6afa93e537 from #1934
    Author: Iiro Laiho <iiro.laiho@iki.fi>

* Fix replies.
Sender JID can have a `:` inside of it, using `/` as a delimiter now.
Added messageID parser + struct.
messages sent with an attachment do not show replies
But at least common `sendMessage` will make repies from whatsapp to an attachement bridge across.

The new message ID format broke message deleting, so we change the messageID into the real id at the beginning of send.
We really do need the extra info for when we reply to a message though.

* Refactored message replies.
file/Image/audio/replies all work now.
1 year ago
Ben Wiederhake d5980303e5
Provide a multi-room multi-bridge example (#1972) 1 year ago
dependabot[bot] f436ae7b31
Bump golang.org/x/image from 0.3.0 to 0.5.0 (#1973)
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases)
- [Commits](https://github.com/golang/image/compare/v0.3.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Joseph Mansy a9ccc18d73
Prefer mp4 extension for video attachments (whatsapp) (#1971)
resolves #1967
1 year ago
Joseph Mansy ac681687f8
Handle messages with link preview not being relayed (whatsapp) (#1970)
Resolves #1840
1 year ago
dependabot[bot] 57ce19150f
Bump golang.org/x/net from 0.5.0 to 0.7.0 (#2003)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago