Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Fix megacheck / go vet issues | Wim | 2017-07-14 | 1 | -4/+2 |
| | |||||
* | Deprecate URL,useAPI,BindAddress (slack,mattermost,rocketchat)v0.16.0-rc1 | Wim | 2017-06-29 | 1 | -10/+17 |
| | |||||
* | Add UserID to each message. Closes #200 | Wim | 2017-06-18 | 1 | -1/+4 |
| | |||||
* | Fix incorrect behaviour of EditDisable (mattermost). Fixes #197 | Wim | 2017-06-15 | 1 | -0/+3 |
| | |||||
* | Add support for edited messages (mattermost) | Wim | 2017-04-15 | 1 | -1/+5 |
| | |||||
* | Modify iconurl correctly (mattermost). Closes #145 | Wim | 2017-04-08 | 1 | -0/+1 |
| | |||||
* | Reconnect on session removal (mattermost) | Wim | 2017-04-07 | 1 | -0/+1 |
| | |||||
* | Add support for showing/hiding join/leave messages from mattermost. Closes #147 | Wim | 2017-04-07 | 1 | -0/+8 |
| | |||||
* | Remove space after nick (mattermost). Closes #142 | Wim | 2017-04-01 | 1 | -6/+1 |
| | |||||
* | Refactor to handle disconnects/reconnects better. | Wim | 2017-02-14 | 1 | -0/+4 |
| | | | | Now try to reconnect every 60 seconds until forever. | ||||
* | Update public links to new API (mattermost) | Wim | 2016-11-26 | 1 | -2/+2 |
| | |||||
* | Merge branch 'refactor' | Wim | 2016-11-13 | 1 | -29/+10 |
|\ | |||||
| * | Refactor | Wim | 2016-11-13 | 1 | -29/+10 |
| | | |||||
* | | Sync with mattermost 3.5.0 | Wim | 2016-11-12 | 1 | -1/+1 |
|/ | |||||
* | Add support for dynamic IconURL (slack). Closes #43 | Wim | 2016-11-05 | 1 | -4/+4 |
| | |||||
* | Fix teamid bug (mattermost) | Wim | 2016-10-29 | 1 | -1/+1 |
| | |||||
* | Launch every account only once. Fixes #48 | Wim | 2016-10-23 | 1 | -4/+1 |
| | |||||
* | Drop messages not from our mattermost team. Fixes #49 | Wim | 2016-10-23 | 1 | -1/+4 |
| | |||||
* | Fix mattermost bridge channel join | Wim | 2016-09-30 | 1 | -1/+1 |
| | |||||
* | Remove newline splitting from outgoing mattermost messages. Should be ↵ | Wim | 2016-09-29 | 1 | -6/+2 |
| | | | | handled by receiving bridge. | ||||
* | Add support for mattermost attachments. Shows public link on bridges. Closes #32 | Wim | 2016-09-20 | 1 | -0/+5 |
| | |||||
* | Fix joining slack/mattermost channels using the webhook | Wim | 2016-09-20 | 1 | -1/+5 |
| | |||||
* | Cleanup mattermost bridge debug/info messages | Wim | 2016-09-19 | 1 | -32/+16 |
| | |||||
* | Refactor for more flexibility | Wim | 2016-09-18 | 1 | -29/+48 |
| | | | | | | | * Move from gcfg to toml configuration because gcfg was too restrictive * Implemented gateway which has support multiple in and out bridges. * Allow for bridging the same bridges, which means eg you can now bridge between multiple mattermosts. * Support multiple gateways | ||||
* | Fix info message | Wim | 2016-08-20 | 1 | -1/+1 |
| | |||||
* | Remove unused code | Wim | 2016-08-20 | 1 | -21/+0 |
| | |||||
* | Move nickformatting into bridge | Wim | 2016-08-20 | 1 | -5/+1 |
| | |||||
* | Add Connect() to Bridger interface | Wim | 2016-08-20 | 1 | -6/+10 |
| | |||||
* | Update code to mattermost 3.3.0 API changes | Wim | 2016-08-15 | 1 | -1/+2 |
| | |||||
* | Refactor bridge. Allows bridging between every protocol | Wim | 2016-08-14 | 1 | -0/+194 |