Commit Graph

1544 Commits

Author SHA1 Message Date
Wim 02e3d7852b
Update telegram-bot-api to v5 (#1660) 2021-12-12 00:35:32 +01:00
Wim 3893a035be
Update dependencies/vendor (#1659) 2021-12-12 00:05:15 +01:00
Wim 658bdd9faa
Fix telegram/handlers.go linting (#1658) 2021-12-10 22:13:54 +01:00
Wim e1eebcd4e0
Disable some more linters 2021-12-10 21:54:09 +01:00
Yash Rathore 062b831e88
Fix Zulip example in matterbridge.toml.sample (#1657)
Commit 11fc4c286f changed the example for
Zulip, in a way that was not accurate to what zulip.go expects, hence
this commit fixes the example.
2021-12-10 21:47:47 +01:00
Dan Walmsley b275efaeff
Add support for code blocks in telegram (#1650)
* 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.
2021-12-07 21:26:28 +01:00
PeGaSuS 80d3033456
Update matterbridge.toml.sample (#1644)
Missing `{NOPINGNICK}` example on the general re-loadable settings
2021-12-02 00:49:16 +01:00
Sandro bd0516f09a
Use Alpine stable again in Dockerfile (#1643)
* Use alpine stable again

* fix build for tgs.Dockerfile
2021-11-29 01:19:10 +01:00
Santtu Lakkala df4d76e466
Allow binding to IP on IRC (#1640)
Add configuration option "Bind" that is passed on to girc, allowing
to choose which IP address to use on systems that have multiple ones.
2021-11-29 01:15:51 +01:00
Wim dcbd7f8cad
Bump version 2021-11-02 23:34:42 +01:00
Wim 73ec02ab9d
Release v1.23.2 (#1631) 2021-11-02 23:22:21 +01:00
snikpic d1f8347071
Update go-whatsapp version (#1630) 2021-11-02 21:11:42 +01:00
Wim 8601eedada
Bump version 2021-11-01 23:56:24 +01:00
Wim 9afd33cdfc
Release v1.23.1 (#1629) 2021-10-30 18:47:35 +02:00
Polynomdivision 5e1be8e558
Do not fail on no avatar data (xmpp) #1529 (#1627)
* Detect errors when working with AvatarData

* Remove not neccessary line

Co-authored-by: Wim <wim@42.be>
2021-10-30 17:50:37 +02:00
Wim 835dd2635a
Update dependencies (#1628) 2021-10-30 15:17:50 +02:00
Wim f65b18c2f6
Remove wrapcheck linter 2021-10-30 15:12:31 +02:00
Minecraftchest1 b0e7b84f40
Add article. (#1625)
Add article at https://minecraftchest1.wordpress.com/2021/06/05/how-to-install-and-setup-matterbridge/
2021-10-25 19:05:13 +02:00
Wim 1635db93c7
Do not check cache on deleted messages (mattermost). Fixes #1555 (#1624) 2021-10-25 00:08:08 +02:00
Wim c4fe462d11
Use a new msgID when replacing messages (xmpp). Fixes #1584 (#1623) 2021-10-24 23:15:46 +02:00
Wim b1f403165d
Fix panic in msteams. Fixes #1588 (#1622) 2021-10-24 22:17:46 +02:00
Wim 46e4317b77
Keep the logger on a disabled bridge. Fixes #1616 (#1621) 2021-10-24 19:00:15 +02:00
Alex Vandiver e3ffbcadd8
Add better error handling on Zulip (#1589)
* 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>
2021-10-23 23:46:27 +02:00
Wim b7d73077e5
Remove forbidigo linter 2021-10-23 23:25:15 +02:00
Wim 77f61ee20a
Fix gozulipbot vendor 2021-10-23 23:20:34 +02:00
Wim 8967f02fc9
Update gozulipbot dependency (#1618) 2021-10-23 23:13:07 +02:00
Wim 831ff6d0a9
Update matterclient dep. Fixes #1617 2021-10-21 15:57:34 +02:00
Wim 2199174def
Bump version 2021-10-18 23:40:20 +02:00
Wim 55f41ddaab
Release v1.23.0 (#1615) 2021-10-17 23:49:02 +02:00
Wim 21305d93bf
Push docker images also to ghcr.io 2021-10-17 22:42:00 +02:00
KingPin 4478d5d904
Update GH actions to multi arch (arm64) (#1614)
add arm64 to the docker build
add the package to ghcr.io (github container registery)
this will make it so users can run matterbridge:latest and it will work on both amd64 & arm64
2021-10-17 22:18:20 +02:00
Wim cc6253a6b8
Tag also latest on docker builds 2021-10-17 15:48:37 +02:00
Wim 85f66853bc
Fix docker build 2021-10-17 15:37:55 +02:00
Wim 7464fd149c
Add docker builds on tags 2021-10-17 15:36:43 +02:00
Wim 86f1a8019c
Add the githash to docker builds 2021-10-17 14:28:40 +02:00
Wim b98d56dcf6
Fix docker build 2021-10-17 14:19:26 +02:00
Wim a3a8a5769d
Add docker build 2021-10-17 14:12:39 +02:00
Wim 4dd8bae5c9
Update dependencies (#1610)
* Update dependencies

* Update module to go 1.17
2021-10-17 00:47:22 +02:00
Wim 7ae45c42e7
Update README to use go install instead of go get 2021-10-17 00:41:08 +02:00
Wim 7551b4e7a3
Need to update to Go 1.17 because of gopackage/ddp dependency (#1611) 2021-10-17 00:35:44 +02:00
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>
2021-10-16 23:59:39 +02:00
KingPin 6dcc23ebb6
Update arm dockerfile to build 1.22.3 fixes #1602 (#1603)
Co-authored-by: Wim <wim@42.be>
2021-10-16 23:42:00 +02:00
Jonathan Walker (Keenan) b06a574cc5
Invalidate user in cache on user change event (#1604)
Co-authored-by: Wim <wim@42.be>
2021-10-16 23:36:30 +02:00
Wim b56f80b1b8 Add support for mattermost v6 2021-10-16 23:23:24 +02:00
Wim 20f6c05ec5 Update vendor 2021-10-16 23:23:24 +02:00
Wim 57fce93af7
Disable exhaustivestruct linter 2021-10-16 22:38:12 +02:00
Wim 110b6a1431
Build static binaries on github 2021-10-14 15:20:58 +02:00
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>
2021-08-24 22:32:50 +02:00
Wim d4195deb3a
Disable errorlint,gci and nlreturn 2021-08-24 21:41:15 +02:00
Wim 400ecfb79c
Update github actions to go1.17 and increase deadline (#1573) 2021-08-22 23:33:58 +02:00