Commit Graph

1661 Commits (6dafebc7cc7863e40840488a6e673f918965b0a4)
 

Author SHA1 Message Date
Wim 7464fd149c
Add docker builds on tags 3 years ago
Wim 86f1a8019c
Add the githash to docker builds 3 years ago
Wim b98d56dcf6
Fix docker build 3 years ago
Wim a3a8a5769d
Add docker build 3 years ago
Wim 4dd8bae5c9
Update dependencies (#1610)
* Update dependencies

* Update module to go 1.17
3 years ago
Wim 7ae45c42e7
Update README to use go install instead of go get 3 years ago
Wim 7551b4e7a3
Need to update to Go 1.17 because of gopackage/ddp dependency (#1611) 3 years ago
Iris Morelle 61bab22dde
Add UserName and RealName options for IRC (#1590)
This allows setting custom values for the IRC username/ident and real
name (gecos) fields at server registration time with gIRC.

Co-authored-by: Wim <wim@42.be>
3 years ago
KingPin 6dcc23ebb6
Update arm dockerfile to build 1.22.3 fixes #1602 (#1603)
Co-authored-by: Wim <wim@42.be>
3 years ago
Jonathan Walker (Keenan) b06a574cc5
Invalidate user in cache on user change event (#1604)
Co-authored-by: Wim <wim@42.be>
3 years ago
Wim b56f80b1b8 Add support for mattermost v6 3 years ago
Wim 20f6c05ec5 Update vendor 3 years ago
Wim 57fce93af7
Disable exhaustivestruct linter 3 years ago
Wim 110b6a1431
Build static binaries on github 3 years ago
Benau 53cafa9f3d
Convert .tgs with go libraries (and cgo) (telegram) (#1569)
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>
3 years ago
Wim d4195deb3a
Disable errorlint,gci and nlreturn 3 years ago
Wim 400ecfb79c
Update github actions to go1.17 and increase deadline (#1573) 3 years ago
powerjungle 86151da271
Remove newline character in bridge multiline messages (mumble) (#1572) 3 years ago
Wim 44f3e2557d
Update vendor (#1560) 3 years ago
tytan652 1f365c716e
Add support for anonymous connection (xmpp) (#1548) 3 years ago
Wim 9efcc41ab2
Update matterbridge/go-xmpp vendor (#1559) 3 years ago
Brian V 13bbeeaceb
Add space before file upload comment (slack) (#1554) 3 years ago
tytan652 da4dcec14d
Fix XMPP parseNick function (#1547) 3 years ago
minecraftchest1 761c0b79c5
Add link to service files wiki page (#1545)
Added Systemd section to README.md. Added Systemd to table of contents.
3 years ago
Brian V d93ab0496f
Use correct URL for Mediaserver Setup (#1550) 3 years ago
Wim 66b6f9749d
Update .goreleaser.yml 3 years ago
Wim 17c2d1f26a
Update matterbridge.toml.sample 3 years ago
Gary Kim a79e632cdc
Add support for separate display name (nctalk) (#1506)
Signed-off-by: Gary Kim <gary@garykim.dev>
3 years ago
Wim f36498421b
Bump version 3 years ago
Wim e45bbe4571
Release v1.22.3 (#1522)
* Release v1.22.3
3 years ago
Wim fb5a84212c
Update dependencies (#1521) 3 years ago
Nathanaël dedc1c45a1
Update Rhymen/go-whatsapp module to latest master (2b8a3e9b8aa2) (#1518) 3 years ago
Wim 6a12f9ff84
Bump version 3 years ago
Wim 641ed1873b
Release v1.22.2 (#1504) 3 years ago
Gary Kim 1d50da4b1c
Add support for message deletion (nctalk) (#1492)
* 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>
3 years ago
Wim c7897cca5d
Update irc references (#1499) 3 years ago
Wim 4091b6f6b4
Update vendor (#1498) 3 years ago
Gary Kim 766f35554e
Fix content body issue for redactions (matrix) (#1496)
Signed-off-by: Gary Kim <gary@garykim.dev>
3 years ago
Wim c86137449e
Add a MessageClipped option to set your own clipped message. Closes #1359 (#1487) 3 years ago
Gary Kim efec01a92f
Support sending file URLs (nctalk) (#1489)
* 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>
3 years ago
Avinash Reddy 4fcad8e04b
Make DocumentMessage handler use FileName attribute (whatsapp) (#1488)
* [whatsapp] make DocumentMessage handler use FileName attribute.

referenced: https://github.com/Rhymen/go-whatsapp/blob/master/message.go#L582

* fix lint
3 years ago
Chris Bobbe 4b4b2d790e
Delete now-unused `img/slack-setup-*.png` files (#1491) 3 years ago
Avinash Reddy ec6ae343dd
Fix crash on encountering VideoMessage (whatsapp) (#1483)
* [whatsapp] fix crash on encountering VideoMessage

* Update handlers.go

* gofmt
3 years ago
Wim b9fb361959
Rename .jpe files to .jpg Fixes #1463 (whatsapp) (#1485) 3 years ago
Avinash Reddy a189298ab0
Handle document messages (whatsapp) (#1475)
* [Whatsapp] Add DocumentMessage handler

* Fix typo

Thanks @42wim :)

Co-authored-by: Wim <wim@42.be>

Co-authored-by: Wim <wim@42.be>
3 years ago
Jason Robinson 714a2ad730
Add MxId/Token login option for Matrix (#1438)
* 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
3 years ago
Funatiker fa8b96dfa1
Add libwebp-dev to tgs.Dockerfile fixes Telegram sticker to WebP rendering (#1476) 3 years ago
Bill Mcilhargey 01955a0df8
Add additional variable for TGS conversion in sample config (#1472)
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
3 years ago
Alexandre GV ac4aee39e3
discord: Add AllowMention to restrict allowed mentions (#1462)
* 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
3 years ago
Wim a0bca42a7a
Update vendor (#1461)
* Update vendored libs

* Fix slack api changes
3 years ago