Commit Graph

107 Commits (master)

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

* Fix linting
2 weeks ago
Wim 13fd5c5d5b
Fix linting 2 weeks ago
Neil Hanlon 6b528ffa4f
Update post types and include system removals in skip logic (mattermost) (#2125) 2 weeks ago
Wim 8587fa8585
Fix possible panic in mattermost. (mattermost) Fixes #1947 (#2014) 1 year ago
Wim 880586bac4
Update dependencies (#1951) 1 year ago
Wim eac2a8c8dc
Remove mattermost 5 support (#1936) 1 year 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 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 888c8b9a84
Add space between filename and URL (mattermost). Fixes #1820 2 years ago
Wim 9c43eff753
Add support for using ID in channel config (mattermost) (#1715) 2 years ago
Wim c8d7fdeedc
Add UseUsername option (mattermost). Fixes #1665 (#1714) 2 years ago
Wim 2bcad846c0
Add more ignore debug messages (mattermost) (#1678) 2 years ago
Wim 15ad0165fc
Log eventtype in debug (mattermost) (#1676) 2 years ago
Wim 2e8ab11978
Use current parentID if rootId is not set (mattermost) (#1675) 2 years ago
Wim b56f80b1b8 Add support for mattermost v6 3 years ago
Qais Patankar a9d8ac8bc0
Refactor "msg-parent-not-found" to config.ParentIDNotFound (#1347) 3 years ago
Wim 19d47784bd
Add threading support with token (discord) (#1342)
Webhooks don't support the threading yet, so this is token only.
In discord you can reply on each message of a thread, but this is not possible in mattermost (so some changes added there to make sure we always answer on the rootID of the thread).

Also needs some more testing with slack.

update : It now also uses the token when replying to a thread (even if webhooks are enabled), until webhooks have support for threads.
3 years ago
Wim 4e50fd8649
Use mattermost v5 module (#1192) 4 years ago
Wim 1f830963f6
Return when we have only WebhookURL (mattermost). Fixes #954 (#960) 5 years ago
Wim 00967a98ac
Fix panic on WebhookURL only setting (mattermost). Closes #916 (#917) 5 years ago
Joona Hoikkala 80b4cec87a Add an option to skip the Mattermost server version check (#849)
Adds SkipVersionCheck bool option for mattermost
5 years ago
Wim fed77cccf3 Handle unthreaded messages (mattermost). Fixes #803 5 years ago
Wim 9b520dfb78 Fix panic on nil message.Post (mattermost). Fixes #804 5 years ago
Patrick Connolly b33b50987b Add support for mattermost threading (#627) 5 years ago
Wim f94c2b40a3
Refactor mattermost bridge (#622)
* Split up in different files
* Decrease complexity
* Fix linting issues
6 years ago
Duco van Amstel 09875fe160 Update direct dependencies where possible 6 years ago
Duco van Amstel ce21ba1545 Fix golint linter issues and enable it in CI (#593) 6 years ago
Wim f7a5077d5d Fix goconst linter failure 6 years ago
Wim d2ae3ebf9e Disable Connect(), JoinChannel(), Send() for mattermost.plugin 6 years ago
Wim 78401214b0 Make scopelint happy 6 years ago
Wim b2a07aba3a Make goconst linter happy 6 years ago
Wim 1e0bb3da95 Make gocritic linter happier 6 years ago
Wim e2b50d6194 Add better support for multiperson DM (mattermost) 6 years ago
Wim 107969c09a
Split up cookie token and personal token (mattermost). Fixes #530 (#540) 6 years ago
Wim 330ddb6a30 Fix panic by using matterclient calls in the right place. Related to cb7278eb (mattermost). Closes #491 6 years ago
Wim fa0c4025f7 Fix avatar uploads to work with MediaDownloadPath. Closes #454 6 years ago
Wim cb7278eb50 Use nickname instead of username if defined (mattermost). Closes #452 6 years ago
Wim d2c02be3a0 Handle slack attachments sent to mattermost. Closes #447 6 years ago
Liam Stanley 51327a4056 Reconnect on quit. (irc) See #431 (#445)
* potential fixes for #431
* go: fix formatting/gofmt/goreturns
6 years ago
Wim 07885f5810 Fix iconurl regression (mattermost,slack,rocketchat). Closes #430 6 years ago
Wim 411ef2691c Use uuid instead of userid. Fixes #429 6 years ago
Wim 68fbed9281 Make our callbackid more unique. Fixes issue with running multiple matterbridge on the same channel (slack,mattermost) 6 years ago
Wim e5989adf92 Add support for NoSendJoinPart. Closes #382 6 years ago
Wim 80fcf18e24 Remove debug messsage (mattermost) 6 years ago
Wim f2f1d874e1 Use viper (github.com/spf13/viper) for configuration 6 years ago
Wim 594d2155e3 Improve debug messages 6 years ago
Wim 2bac867382 Refactor using factory 6 years ago
Wim 73525a4bbc Make gometalinter happier 6 years ago
Wim d62f49d1fc Skip events for webhook 6 years ago
Wim bd2a672c14 Refactor mattermost 6 years ago