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
6 years ago
Wim
9b520dfb78
Fix panic on nil message.Post (mattermost). Fixes #804
6 years ago
Patrick Connolly
b33b50987b
Add support for mattermost threading ( #627 )
6 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)
7 years ago
Wim
e5989adf92
Add support for NoSendJoinPart. Closes #382
7 years ago
Wim
80fcf18e24
Remove debug messsage (mattermost)
7 years ago
Wim
f2f1d874e1
Use viper (github.com/spf13/viper) for configuration
7 years ago
Wim
594d2155e3
Improve debug messages
7 years ago
Wim
2bac867382
Refactor using factory
7 years ago
Wim
73525a4bbc
Make gometalinter happier
7 years ago
Wim
d62f49d1fc
Skip events for webhook
7 years ago
Wim
bd2a672c14
Refactor mattermost
7 years ago
Wim
67d2398fa8
Make matterclient work with prefixed log
7 years ago
Wim
d1227b5fc9
Use prefixed-formatter for better logging
7 years ago
Wim
6ea368c383
Move Sirupsen => sirupsen
7 years ago
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.
7 years ago
Wim
80822b7fff
Send chat notification if media is too big to be re-uploaded to MediaServer. See #359
7 years ago
Wim
169c614489
Download files and reupload to supported bridges (mattermost). Closes #357
7 years ago
Wim
64a20ee61b
Add URL to message in webhook if available (mattermost). See #356
7 years ago
Wim
8e78b3e6be
Fix regression in mattermost bridge (mattermost). Closes #327
7 years ago
Wim
265457b451
Refactor and add MediaDownloadSize to General
7 years ago
Wim
36a800c3f5
Add support for comments from slack file uploads (slack)
7 years ago
Wim
7aabe12acf
Fix loop, make megacheck happy
7 years ago
Wim
c4b75e5754
Download files from slack and reupload to mattermost (slack/mattermost). Closes #255
...
Refactor message.Extra to a map[string][]interface{} to have a bit more flexibility
for stuffing extra stuff.
For attached files from slack, files < 1MB size get downloaded (in memory), and get
put into Extra["file"][]config.FileInfo (containing a pointer to the buffer and
the filename). This is not async so slack channels with lots of attached files
may suffer a slowdown. (the download timeout is set at 5 seconds).
7 years ago
Wim
47b7fae61b
Fix loop from webhook by adding matterbridge prop (mattermost). Closes #261
7 years ago
Wim
1a40b0c1e9
Relay attachments from mattermost to slack (slack). Closes #260
7 years ago
Wim
82588b00c5
Use override username if specified (mattermost). #260
7 years ago
Wim
ed01820722
Add support for deleting messages across bridges.
...
Currently fully support mattermost,slack and discord.
Message deleted on the bridge or received from other bridges will be
deleted.
Partially support for Gitter.
Gitter bridge will delete messages received from other bridges.
But if you delete a message on gitter, this deletion will not be sent to
other bridges (this is a gitter API limitation, it doesn't propogate edits
or deletes via the API)
7 years ago
Wim
9039720013
Send images when text is empty regression. (mattermost). Closes #254
7 years ago
Wim
9e03fcf162
Fix private channel joining bug (mattermost). Closes #248
7 years ago