Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Add REST API support | Wim | 2017-02-18 | 1 | -0/+6 |
| | |||||
* | Refactor samechannelgateway | Wim | 2017-02-17 | 2 | -90/+35 |
| | |||||
* | Refactor. Make extra options easier for other protocols | Wim | 2017-02-14 | 1 | -4/+12 |
| | |||||
* | Refactor to handle disconnects/reconnects better. | Wim | 2017-02-14 | 1 | -13/+27 |
| | | | | Now try to reconnect every 60 seconds until forever. | ||||
* | Fix IgnoreNicks (global). Closes #115 | Wim | 2017-01-21 | 2 | -21/+20 |
| | |||||
* | Add channel key support (irc). Closes #27 | Wim | 2017-01-04 | 1 | -7/+18 |
| | |||||
* | Add support for RemoteNickFormat in general configuration (samechannelgateway) | Wim | 2016-11-20 | 1 | -1/+4 |
| | |||||
* | Add support for RemoteNickFormat in general configuration | Wim | 2016-11-20 | 1 | -1/+4 |
| | |||||
* | Add gateway.inout config for bidirectional bridges. Closes #85 | Wim | 2016-11-20 | 1 | -1/+5 |
| | |||||
* | Fix ShowJoinPart from irc bridge. Closes #72 | Wim | 2016-11-14 | 1 | -0/+8 |
| | |||||
* | Fix merge issue | Wim | 2016-11-13 | 1 | -1/+1 |
| | |||||
* | Merge branch 'refactor' | Wim | 2016-11-13 | 2 | -65/+75 |
|\ | |||||
| * | Refactor | Wim | 2016-11-13 | 2 | -48/+47 |
| | | |||||
| * | Refactor gateway | Wim | 2016-11-08 | 1 | -25/+36 |
| | | |||||
* | | Validate channels for samechannelgateway. Fixes #73. | Wim | 2016-11-11 | 1 | -1/+14 |
|/ | |||||
* | Add support for dynamic IconURL (slack). Closes #43 | Wim | 2016-11-05 | 1 | -9/+1 |
| | |||||
* | Refactor modifyMessage | Wim | 2016-11-04 | 1 | -22/+19 |
| | |||||
* | Launch every account only once. Fixes #48 | Wim | 2016-10-23 | 1 | -4/+5 |
| | |||||
* | Only send to channels defined in config. Fixes #53 | Wim | 2016-10-23 | 1 | -1/+7 |
| | |||||
* | Add error message about non-existing channels (slack) | Wim | 2016-10-08 | 2 | -2/+9 |
| | |||||
* | Bail out on samechannel gateway when a bridge fails to start | Wim | 2016-10-03 | 2 | -2/+5 |
| | |||||
* | Bail out when a bridge fails to start | Wim | 2016-10-01 | 1 | -1/+4 |
| | |||||
* | Add samechannel gateway. See #35 | Wim | 2016-09-30 | 1 | -0/+84 |
| | |||||
* | Cleanup debug messages | Wim | 2016-09-20 | 1 | -1/+1 |
| |