Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix goconst linter failure | Wim | 2018-11-13 | 1 | -3/+5 |
| | |||||
* | Disable Connect(), JoinChannel(), Send() for mattermost.plugin | Wim | 2018-11-11 | 1 | -0/+9 |
| | |||||
* | Make scopelint happy | Wim | 2018-11-08 | 1 | -0/+1 |
| | |||||
* | Make goconst linter happy | Wim | 2018-11-08 | 1 | -4/+5 |
| | |||||
* | Make gocritic linter happier | Wim | 2018-11-08 | 1 | -7/+9 |
| | |||||
* | Add better support for multiperson DM (mattermost) | Wim | 2018-10-27 | 1 | -4/+4 |
| | |||||
* | Split up cookie token and personal token (mattermost). Fixes #530 (#540) | Wim | 2018-10-26 | 1 | -1/+1 |
| | |||||
* | Fix panic by using matterclient calls in the right place. Related to ↵ | Wim | 2018-08-30 | 1 | -3/+5 |
| | | | | cb7278eb (mattermost). Closes #491 | ||||
* | Fix avatar uploads to work with MediaDownloadPath. Closes #454 | Wim | 2018-07-11 | 1 | -1/+1 |
| | |||||
* | Use nickname instead of username if defined (mattermost). Closes #452 | Wim | 2018-07-03 | 1 | -0/+3 |
| | |||||
* | Handle slack attachments sent to mattermost. Closes #447 | Wim | 2018-06-16 | 1 | -0/+12 |
| | |||||
* | Reconnect on quit. (irc) See #431 (#445) | Liam Stanley | 2018-06-09 | 1 | -1/+2 |
| | | | | | * potential fixes for #431 * go: fix formatting/gofmt/goreturns | ||||
* | Fix iconurl regression (mattermost,slack,rocketchat). Closes #430 | Wim | 2018-05-27 | 1 | -2/+4 |
| | |||||
* | Use uuid instead of userid. Fixes #429 | Wim | 2018-05-27 | 1 | -3/+6 |
| | |||||
* | Make our callbackid more unique. Fixes issue with running multiple ↵ | Wim | 2018-04-13 | 1 | -3/+3 |
| | | | | matterbridge on the same channel (slack,mattermost) | ||||
* | Add support for NoSendJoinPart. Closes #382 | Wim | 2018-03-06 | 1 | -0/+3 |
| | |||||
* | Remove debug messsage (mattermost) | Wim | 2018-03-05 | 1 | -1/+0 |
| | |||||
* | Use viper (github.com/spf13/viper) for configuration | Wim | 2018-03-04 | 1 | -41/+42 |
| | |||||
* | Improve debug messages | Wim | 2018-02-28 | 1 | -4/+4 |
| | |||||
* | Refactor using factory | Wim | 2018-02-27 | 1 | -41/+34 |
| | |||||
* | Make gometalinter happier | Wim | 2018-02-27 | 1 | -5/+5 |
| | |||||
* | Skip events for webhook | Wim | 2018-02-27 | 1 | -0/+5 |
| | |||||
* | Refactor mattermost | Wim | 2018-02-27 | 1 | -176/+206 |
| | |||||
* | Make matterclient work with prefixed log | Wim | 2018-02-21 | 1 | -0/+3 |
| | |||||
* | Use prefixed-formatter for better logging | Wim | 2018-02-21 | 1 | -1/+1 |
| | |||||
* | Move Sirupsen => sirupsen | Wim | 2018-02-20 | 1 | -1/+1 |
| | |||||
* | Download (and upload) avatar images from mattermost and telegram when ↵ | Wim | 2018-02-20 | 1 | -2/+45 |
| | | | | | | | | | | | | | | 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. | ||||
* | Send chat notification if media is too big to be re-uploaded to MediaServer. ↵ | Wim | 2018-02-03 | 1 | -0/+12 |
| | | | | See #359 | ||||
* | Download files and reupload to supported bridges (mattermost). Closes #357 | Wim | 2018-02-02 | 1 | -2/+18 |
| | |||||
* | Add URL to message in webhook if available (mattermost). See #356 | Wim | 2018-01-31 | 1 | -1/+12 |
| | |||||
* | Fix regression in mattermost bridge (mattermost). Closes #327 | Wim | 2018-01-01 | 1 | -4/+1 |
| | |||||
* | Refactor and add MediaDownloadSize to General | Wim | 2017-12-19 | 1 | -5/+3 |
| | |||||
* | Add support for comments from slack file uploads (slack) | Wim | 2017-11-13 | 1 | -2/+2 |
| | |||||
* | Fix loop, make megacheck happy | Wim | 2017-09-21 | 1 | -11/+16 |
| | |||||
* | Download files from slack and reupload to mattermost (slack/mattermost). ↵ | Wim | 2017-09-21 | 1 | -3/+18 |
| | | | | | | | | | | | | 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). | ||||
* | Fix loop from webhook by adding matterbridge prop (mattermost). Closes #261 | Wim | 2017-09-18 | 1 | -0/+7 |
| | |||||
* | Relay attachments from mattermost to slack (slack). Closes #260 | Wim | 2017-09-18 | 1 | -2/+8 |
| | |||||
* | Use override username if specified (mattermost). #260 | Wim | 2017-09-18 | 1 | -0/+6 |
| | |||||
* | Add support for deleting messages across bridges. | Wim | 2017-09-11 | 1 | -2/+12 |
| | | | | | | | | | | | | 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) | ||||
* | Send images when text is empty regression. (mattermost). Closes #254 | Wim | 2017-09-08 | 1 | -0/+1 |
| | |||||
* | Fix private channel joining bug (mattermost). Closes #248 | Wim | 2017-08-30 | 1 | -1/+6 |
| | |||||
* | Add support for editing messages across bridges. Currently mattermost/discord. | Wim | 2017-08-28 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | Our Message type has an extra ID field which contains the message ID of the specific bridge. The Send() function has been modified to return a msg ID (after the message to that specific bridge has been created). There is a lru cache of 5000 entries (message IDs). All in memory, so editing messages will only work for messages the bot has seen. Currently we go out from the idea that every message ID is unique, so we don't keep the ID separate for each bridge. (we do for each gateway though) If there's a new message from a bridge, we put that message ID in the LRU cache as key and the []*BrMsgID as value (this slice contains the message ID's of each bridge that received the new message) If there's a new message and this message ID already exists in the cache, it must be an updated message. The value from the cache gets checked for each bridge and if there is a message ID for this bridge, the ID will be added to the Message{} sent to that bridge. If the bridge sees that the ID isn't empty, it'll know it has to update the message with that specific ID instead of creating a new message. | ||||
* | Modify Send() to return also a message id | Wim | 2017-08-27 | 1 | -4/+4 |
| | |||||
* | Add support for personal access tokens (mattermost) | Wim | 2017-08-23 | 1 | -5/+34 |
| | | | | * https://docs.mattermost.com/developer/personal-access-tokens.html | ||||
* | Allow a webhookurl per channel (discord). #239 | Wim | 2017-08-12 | 1 | -2/+2 |
| | |||||
* | Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199 | Wim | 2017-07-30 | 1 | -1/+18 |
| | |||||
* | Ignore edited messages with reactions (mattermost) | Wim | 2017-07-25 | 1 | -0/+4 |
| | |||||
* | Fix webhookurl/webhookbindaddress panic (mattermost). Closes #221 | Wim | 2017-07-17 | 1 | -0/+3 |
| | |||||
* | Use GetFileLinks. Also show links to non-public files (mattermost) | Wim | 2017-07-15 | 1 | -1/+1 |
| | |||||
* | Refactor connecting logic slack/mattermost. Fixes #216 | Wim | 2017-07-15 | 1 | -22/+56 |
| |