Wim
c8d7fdeedc
Add UseUsername option (mattermost). Fixes #1665 ( #1714 )
2022-02-06 17:33:41 +01:00
Wim
2bcad846c0
Add more ignore debug messages (mattermost) ( #1678 )
2022-01-10 22:58:53 +01:00
Wim
15ad0165fc
Log eventtype in debug (mattermost) ( #1676 )
2022-01-10 00:50:03 +01:00
Wim
2e8ab11978
Use current parentID if rootId is not set (mattermost) ( #1675 )
2022-01-10 00:37:09 +01:00
Wim
b56f80b1b8
Add support for mattermost v6
2021-10-16 23:23:24 +02:00
Qais Patankar
a9d8ac8bc0
Refactor "msg-parent-not-found" to config.ParentIDNotFound ( #1347 )
2020-12-31 18:01:57 +00:00
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.
2020-12-31 16:59:47 +01:00
Wim
4e50fd8649
Use mattermost v5 module ( #1192 )
2020-08-10 00:29:54 +02:00
Wim
1f830963f6
Return when we have only WebhookURL (mattermost). Fixes #954 ( #960 )
2019-12-15 23:49:17 +01:00
Wim
00967a98ac
Fix panic on WebhookURL only setting (mattermost). Closes #916 ( #917 )
2019-10-04 01:01:24 +02:00
Joona Hoikkala
80b4cec87a
Add an option to skip the Mattermost server version check ( #849 )
...
Adds SkipVersionCheck bool option for mattermost
2019-06-16 16:23:50 +02:00
Wim
fed77cccf3
Handle unthreaded messages (mattermost). Fixes #803
2019-04-19 23:31:45 +02:00
Wim
9b520dfb78
Fix panic on nil message.Post (mattermost). Fixes #804
2019-04-19 23:08:41 +02:00
Patrick Connolly
b33b50987b
Add support for mattermost threading ( #627 )
2019-01-09 21:50:03 +01:00
Wim
f94c2b40a3
Refactor mattermost bridge ( #622 )
...
* Split up in different files
* Decrease complexity
* Fix linting issues
2018-12-01 00:49:08 +01:00
Duco van Amstel
09875fe160
Update direct dependencies where possible
2018-11-25 21:21:04 +01:00
Duco van Amstel
ce21ba1545
Fix golint linter issues and enable it in CI ( #593 )
2018-11-15 20:43:43 +01:00
Wim
f7a5077d5d
Fix goconst linter failure
2018-11-13 20:40:15 +01:00
Wim
d2ae3ebf9e
Disable Connect(), JoinChannel(), Send() for mattermost.plugin
2018-11-11 22:44:10 +01:00
Wim
78401214b0
Make scopelint happy
2018-11-08 22:29:34 +01:00
Wim
b2a07aba3a
Make goconst linter happy
2018-11-08 22:20:03 +01:00
Wim
1e0bb3da95
Make gocritic linter happier
2018-11-08 22:01:29 +01:00
Wim
e2b50d6194
Add better support for multiperson DM (mattermost)
2018-10-27 22:02:25 +02:00
Wim
107969c09a
Split up cookie token and personal token (mattermost). Fixes #530 ( #540 )
2018-10-26 16:47:56 +02:00
Wim
330ddb6a30
Fix panic by using matterclient calls in the right place. Related to cb7278eb
(mattermost). Closes #491
2018-08-30 23:04:50 +02:00
Wim
fa0c4025f7
Fix avatar uploads to work with MediaDownloadPath. Closes #454
2018-07-11 23:44:29 +02:00
Wim
cb7278eb50
Use nickname instead of username if defined (mattermost). Closes #452
2018-07-03 22:41:09 +02:00
Wim
d2c02be3a0
Handle slack attachments sent to mattermost. Closes #447
2018-06-16 00:11:15 +02:00
Liam Stanley
51327a4056
Reconnect on quit. (irc) See #431 ( #445 )
...
* potential fixes for #431
* go: fix formatting/gofmt/goreturns
2018-06-09 12:47:40 +02:00
Wim
07885f5810
Fix iconurl regression (mattermost,slack,rocketchat). Closes #430
2018-05-27 22:30:17 +02:00
Wim
411ef2691c
Use uuid instead of userid. Fixes #429
2018-05-27 21:50:00 +02:00
Wim
68fbed9281
Make our callbackid more unique. Fixes issue with running multiple matterbridge on the same channel (slack,mattermost)
2018-04-13 22:01:03 +02:00
Wim
e5989adf92
Add support for NoSendJoinPart. Closes #382
2018-03-06 21:35:47 +01:00
Wim
80fcf18e24
Remove debug messsage (mattermost)
2018-03-05 22:22:20 +01:00
Wim
f2f1d874e1
Use viper (github.com/spf13/viper) for configuration
2018-03-04 23:52:14 +01:00
Wim
594d2155e3
Improve debug messages
2018-02-28 22:23:29 +01:00
Wim
2bac867382
Refactor using factory
2018-02-27 23:22:12 +01:00
Wim
73525a4bbc
Make gometalinter happier
2018-02-27 23:22:10 +01:00
Wim
d62f49d1fc
Skip events for webhook
2018-02-27 23:22:10 +01:00
Wim
bd2a672c14
Refactor mattermost
2018-02-27 23:22:09 +01:00
Wim
67d2398fa8
Make matterclient work with prefixed log
2018-02-21 01:11:41 +01:00
Wim
d1227b5fc9
Use prefixed-formatter for better logging
2018-02-21 00:20:25 +01:00
Wim
6ea368c383
Move Sirupsen => sirupsen
2018-02-20 23:41:09 +01:00
Wim
7886f05e88
Download (and upload) avatar images from mattermost and telegram when mediaserver is configured. Closes #362
...
An extra avatarMap (cache) is created for mattermost and telegram.
If MediaServerUpload is configured, the avatar images of users are downloaded the first time a
user sends a message.
If this download succeeds a message with EVENT_AVATAR_DOWNLOAD is sent to the originating protocol.
This message also contains a SHA field (in msg.Extra["file"]), if this is not empty, the sha will
be added to the avatarMap. (so we now have a userid-sha cache)
Next time this user sends a message, the MediaServerUpload/sha/userid.png URL will be used as the
avatar field.
2018-02-20 01:15:25 +01:00
Wim
80822b7fff
Send chat notification if media is too big to be re-uploaded to MediaServer. See #359
2018-02-03 01:11:11 +01:00
Wim
169c614489
Download files and reupload to supported bridges (mattermost). Closes #357
2018-02-02 20:23:55 +01:00
Wim
64a20ee61b
Add URL to message in webhook if available (mattermost). See #356
2018-01-31 17:35:13 +01:00
Wim
8e78b3e6be
Fix regression in mattermost bridge (mattermost). Closes #327
2018-01-01 14:20:16 +01:00
Wim
265457b451
Refactor and add MediaDownloadSize to General
2017-12-19 23:15:03 +01:00
Wim
36a800c3f5
Add support for comments from slack file uploads (slack)
2017-11-13 00:20:31 +01:00