Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add initial support for getting ChannelMember info of all bridges (#678) | Wim | 2019-01-18 | 2 | -0/+39 | |
| | | | | | | | | | | | | | | * Add initial support for getting ChannelMember info of all bridges. Adds an EventGetChannelMembers event, which gets send every x time to all bridges. Bridges should respond on this event with a Message containing ChannelMembers in the EventGetChannelMembers key in the Extra field. handleEventGetChannelMembers will handle this Message and sets the contained ChannelMembers to the Bridge struct. * Add ChannelMembers support to the slack bridge | |||||
* | Fail if channel starts with hashtag (mattermost). Closes #625 | Wim | 2019-01-07 | 1 | -0/+5 | |
| | ||||||
* | Use logrus imports instead of log (#662) | Duco van Amstel | 2018-12-26 | 3 | -9/+8 | |
| | ||||||
* | Refactor gateway (#648) | Wim | 2018-12-12 | 4 | -237/+435 | |
| | | | | | | | * Decrease complexity of handleMessage, handleReceive, handleFiles * Move handlers to handlers.go * Split ignoreMessage up in ignoreTextEmpty, ignoreNicks and IgnoreTexts * Add ignoreEvent * Add testcase for ignoreTextEmpty, ignoreNicks, ignoreTexts and ignoreEvent | |||||
* | Enable gosec linter (#645) | Duco van Amstel | 2018-12-06 | 1 | -2/+2 | |
| | ||||||
* | Tidy up fetching of config values. (#616) | Patrick Connolly | 2018-12-01 | 1 | -12/+6 | |
| | ||||||
* | Extract bridgeMap into own package to improve testability (#601) | Patrick Connolly | 2018-11-30 | 4 | -33/+41 | |
| | ||||||
* | Sync channel topics between Slack bridges (#585) | Patrick Connolly | 2018-11-26 | 1 | -2/+4 | |
| | | | Added logic to allow for configurable synchronisation of topics and purposes of channels between Slack bridges. | |||||
* | Add option to ignore failing bridge on start. Fixes #455 (#603) | Wim | 2018-11-25 | 1 | -2/+31 | |
| | ||||||
* | Add protocol to msg.ID in cache (#596) | Wim | 2018-11-19 | 2 | -12/+12 | |
| | ||||||
* | Fix golint linter issues and enable it in CI (#593) | Duco van Amstel | 2018-11-15 | 3 | -26/+26 | |
| | ||||||
* | Make config.Config more unit-test friendly (#586) | Duco van Amstel | 2018-11-13 | 4 | -29/+78 | |
| | ||||||
* | Add new Slack connection and forked legacy Slack bridge (#582) | Duco van Amstel | 2018-11-13 | 1 | -21/+20 | |
| | ||||||
* | Add support for mattermost matterbridge plugin | Wim | 2018-11-11 | 2 | -3/+10 | |
| | ||||||
* | Make gochecknoinits linter happy | Wim | 2018-11-08 | 1 | -4/+1 | |
| | ||||||
* | Make scopelint happy | Wim | 2018-11-08 | 2 | -0/+2 | |
| | ||||||
* | Make goconst linter happy | Wim | 2018-11-08 | 2 | -28/+38 | |
| | ||||||
* | Add ability to show when user is typing across Slack bridges (#559) | Patrick Connolly | 2018-11-08 | 1 | -1/+8 | |
| | ||||||
* | Make gocritic linter happy | Wim | 2018-11-08 | 1 | -1/+1 | |
| | ||||||
* | Make unparam linter happy | Wim | 2018-11-08 | 1 | -2/+2 | |
| | ||||||
* | Clean up various stuff (#508) | David Hill | 2018-11-07 | 1 | -2/+2 | |
| | | | * various cleanups | |||||
* | Preserve threading between Slack instances (#529) | Patrick Connolly | 2018-11-07 | 1 | -11/+51 | |
| | | | | | | | | | | | | | | | | | | | | | | * Opportunistically preserve Slack threading when parent thread in cache. [#529] * Removed slack-specific processing from gateway. * Added docs. * Add option to enable threading, with default to off. * Did cleanup on @42wim's comments. * Update gateway/gateway.go Co-Authored-By: patcon <patrick.c.connolly@gmail.com> * Suggestion from @42wim :) * Suggestions from @42wim. * More suggestions. | |||||
* | Allow origin CHANNEL to be used in RemoteNickFormat (#515) | Patrick Connolly | 2018-10-23 | 1 | -0/+1 | |
| | | | | | | | | * Added origin CHANNEL to RemoteNickFormat. Updated config docs. [Fixes #515] * Update matterbridge.toml.sample Co-Authored-By: patcon <patrick.c.connolly@gmail.com> | |||||
* | Fix race in gateway test. (#520) | Duco van Amstel | 2018-10-13 | 1 | -29/+132 | |
| | ||||||
* | Add Gateway's name to RemoteNickFormat (#501) | Duco van Amstel | 2018-10-07 | 1 | -0/+1 | |
| | | | | | In order to support extra use cases we should add the `{GATEWAY}` tag to the `RemoteNickFormat` string which would be replaced by the value of the `name=` field from a gateway's configuration. This is _very_ useful when you are forwarding, for example, multiple channels from one chat to a single channel on another one (one-way). It will help you identify the source channel of a message on the target chat. | |||||
* | Reconnect on quit. (irc) See #431 (#445) | Liam Stanley | 2018-06-09 | 4 | -14/+17 | |
| | | | | | * potential fixes for #431 * go: fix formatting/gofmt/goreturns | |||||
* | Add config option MediaDownloadPath (#443) | Remi Reuvekamp | 2018-06-08 | 1 | -28/+69 | |
| | | | | | | | | | | | | | | * Add config option MediaUploadPath MediaDownloadPath can be used instead of MediaServerUpload, for when your webserver is on the same system as matterbridge and matterbridge has write access to the serve dir. * Limit length of hash in MediaServer urls to 8chars Full SHA256 is unnecessary for uniqueness. Also; if a file has the same first 8 charachters of the SHA256 hash, it's still not a problem, as long as the filename is not the same. | |||||
* | Add initial zulip support | Wim | 2018-05-07 | 1 | -0/+2 | |
| | ||||||
* | Use only alphanumeric for file uploads to mediaserver. Closes #416 | Wim | 2018-05-06 | 1 | -0/+6 | |
| | ||||||
* | Fix crash on invalid filenames | Wim | 2018-05-06 | 1 | -2/+6 | |
| | ||||||
* | Fix regression on empty text with files attached | Wim | 2018-03-06 | 1 | -1/+1 | |
| | ||||||
* | Get the correct config values (gateway) | Wim | 2018-03-06 | 1 | -3/+3 | |
| | ||||||
* | Fix panic on empty config. Closes #386 | Wim | 2018-03-05 | 1 | -0/+1 | |
| | ||||||
* | Fix tests and make megacheck happy | Wim | 2018-03-05 | 2 | -29/+10 | |
| | ||||||
* | Use viper (github.com/spf13/viper) for configuration | Wim | 2018-03-04 | 1 | -25/+19 | |
| | ||||||
* | Improve debug messages | Wim | 2018-02-28 | 1 | -1/+2 | |
| | ||||||
* | Do some small cleanups | Wim | 2018-02-27 | 2 | -24/+26 | |
| | ||||||
* | Add environment override back | Wim | 2018-02-27 | 1 | -0/+2 | |
| | ||||||
* | Refactor using factory | Wim | 2018-02-27 | 1 | -1/+47 | |
| | ||||||
* | Allow empty messages with file urls (irc) | Wim | 2018-02-25 | 1 | -1/+2 | |
| | ||||||
* | Use prefixed-formatter for better logging | Wim | 2018-02-21 | 2 | -16/+22 | |
| | ||||||
* | Move Sirupsen => sirupsen | Wim | 2018-02-20 | 2 | -2/+3 | |
| | ||||||
* | Add label support in RemoteNickFormat | Wim | 2018-02-20 | 1 | -0/+1 | |
| | ||||||
* | Download (and upload) avatar images from mattermost and telegram when ↵ | Wim | 2018-02-20 | 1 | -5/+23 | |
| | | | | | | | | | | | | | | 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. | |||||
* | Add SHA to FileInfo | Wim | 2018-02-15 | 1 | -0/+1 | |
| | ||||||
* | Send chat notification if media is too big to be re-uploaded to MediaServer. ↵ | Wim | 2018-02-03 | 1 | -2/+6 | |
| | | | | See #359 | |||||
* | Add ShowTopicChange option. Allow/disable topic change messages (currently ↵ | Wim | 2018-02-02 | 1 | -0/+3 | |
| | | | | only from slack). Closes #353 | |||||
* | Lowercase irc channels in config. Closes #348 | Wim | 2018-01-28 | 1 | -0/+4 | |
| | ||||||
* | Allow xmpp to receive the extra messages when text is empty. #295 | Wim | 2018-01-27 | 1 | -1/+2 | |
| | ||||||
* | Obey the Gateway value from the json (api). Closes #344 | Wim | 2018-01-21 | 1 | -1/+11 | |
| |