Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Make edits/delete work for bridges that gets reused. Closes #342 | Wim | 2018-01-20 | 1 | -4/+7 |
| | |||||
* | Change RemoteNickFormat replacement order. Closes #336 | Wim | 2018-01-14 | 1 | -1/+1 |
| | |||||
* | Add initial support for an external mediaserver. #278 | Wim | 2017-11-24 | 2 | -0/+32 |
| | | | | | | | | Add 2 extra options `MediaServerUpload` and `MediaServerDownload`, where the URL for upload and download can be specified. See https://github.com/42wim/matterbridge/wiki/Mediaserver-setup-%5Badvanced%5D for an example with caddy | ||||
* | Add support for uploaded images/video/files (matrix) | Wim | 2017-11-22 | 1 | -1/+2 |
| | |||||
* | Add support for ReplaceNicks using regexp to replace nicks. Closes #269 | Wim | 2017-11-20 | 1 | -0/+14 |
| | |||||
* | Add support for ReplaceMessages using regexp to replace messages. #269 | Wim | 2017-11-15 | 1 | -0/+13 |
| | |||||
* | Do not ignore empty messages with files for bridges that support it | Wim | 2017-11-12 | 1 | -3/+6 |
| | |||||
* | Add StripNick option, only allow alphanumerical nicks. Closes #285 | Wim | 2017-10-27 | 1 | -0/+4 |
| | |||||
* | Make [general] settings default, not total override (specifically ↵ | Patrick Connolly | 2017-10-20 | 1 | -2/+2 |
| | | | | | | | | | | RemoteNickFormat) (#279) * Use general settings as default, that specific protocols override. * Fixed tab formatting. * Clarified override precedence of [general] config. | ||||
* | Download files from slack and reupload to mattermost (slack/mattermost). ↵ | Wim | 2017-09-21 | 1 | -1/+1 |
| | | | | | | | | | | | | 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). | ||||
* | Relay attachments from mattermost to slack (slack). Closes #260 | Wim | 2017-09-18 | 1 | -0/+15 |
| | |||||
* | Do not add messages without ID to cache | Wim | 2017-08-29 | 2 | -2/+4 |
| | |||||
* | Remove debug message | Wim | 2017-08-28 | 1 | -3/+0 |
| | |||||
* | Add support for editing messages across bridges. Currently mattermost/discord. | Wim | 2017-08-28 | 2 | -7/+32 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | -1/+7 |
| | |||||
* | Remove unused function | Wim | 2017-07-30 | 1 | -10/+0 |
| | |||||
* | Handle same account in multiple gateways better | Wim | 2017-07-30 | 2 | -12/+12 |
| | |||||
* | Update tests with gofmt | Wim | 2017-07-25 | 2 | -13/+13 |
| | |||||
* | Refactor. Add tests | Wim | 2017-07-25 | 4 | -112/+460 |
| | |||||
* | Fix in/out logic. Closes #224 | Wim | 2017-07-22 | 1 | -24/+26 |
| | |||||
* | Fix message modification | Wim | 2017-07-21 | 1 | -5/+6 |
| | |||||
* | Fix megacheck / go vet issues | Wim | 2017-07-14 | 1 | -29/+23 |
| | |||||
* | Replace :emoji: with unicode chars. #215 | Wim | 2017-07-09 | 1 | -0/+7 |
| | | | | Add vendor github.com/peterhellberg/emojilib | ||||
* | Fix samechannel gateway issue. Closes #207 | Wim | 2017-06-27 | 1 | -0/+12 |
| | |||||
* | Add UserID to each message. Closes #200 | Wim | 2017-06-18 | 1 | -3/+0 |
| | |||||
* | Add option IgnoreMessages to ignore messages based on regexp. (all). Closes #70 | Wim | 2017-06-18 | 1 | -0/+18 |
| | |||||
* | Remove need for channel when using api. Closes #195 | Wim | 2017-06-15 | 1 | -0/+13 |
| | |||||
* | Fix utf-8 issues #193 | Wim | 2017-06-15 | 1 | -1/+10 |
| | |||||
* | Allow reuse of api in different gateways. See #189 | Wim | 2017-06-07 | 1 | -5/+16 |
| | |||||
* | Add gateway name to messages | Wim | 2017-06-05 | 1 | -0/+1 |
| | |||||
* | Add NOPINGNICK option. Closes #175 | Wim | 2017-05-30 | 1 | -0/+1 |
| | |||||
* | Fix sending to different channels on same account (slack). Closes #177 | Wim | 2017-05-24 | 1 | -1/+2 |
| | |||||
* | Rejoin channel when kicked (irc). Closes #146 | Wim | 2017-04-08 | 1 | -0/+9 |
| | |||||
* | Modify iconurl correctly (mattermost). Closes #145 | Wim | 2017-04-08 | 1 | -0/+12 |
| | |||||
* | Fix join/leave regression (irc)v0.11.0-beta2 | Wim | 2017-04-03 | 1 | -0/+4 |
| | |||||
* | Reuse connection when using same bridge with another gateway. See #87 | Wim | 2017-04-01 | 2 | -55/+84 |
| | |||||
* | Refactor | Wim | 2017-03-28 | 2 | -70/+49 |
| | |||||
* | Fail when bridge is unable to join a channel (general) | Wim | 2017-03-16 | 1 | -1/+4 |
| | |||||
* | Do not forward empty message from any bridge (general). Closes #128 | Wim | 2017-03-02 | 1 | -0/+4 |
| |