Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add support for editing messages across bridges. Currently mattermost/discord. | Wim | 2017-08-28 | 1 | -15/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | 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 | -3/+3 | |
| | ||||||
* | Swap token/id. Also check for default webhookURL in isWebhookID (discord) | Wim | 2017-08-12 | 1 | -3/+9 | |
| | ||||||
* | Allow a webhookurl per channel (discord). #239 | Wim | 2017-08-12 | 1 | -21/+63 | |
| | ||||||
* | Add UseUserName option (discord) (#234) | anon724 | 2017-08-01 | 1 | -1/+6 | |
| | ||||||
* | Do not modify username in action (discord) | Wim | 2017-07-31 | 1 | -7/+3 | |
| | ||||||
* | Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199 | Wim | 2017-07-30 | 1 | -6/+27 | |
| | ||||||
* | Fix discordgo api changes | Wim | 2017-07-16 | 1 | -1/+1 | |
| | ||||||
* | Fix embeds (discord). Closes #202 | Wim | 2017-07-09 | 1 | -9/+17 | |
| | ||||||
* | Deprecate URL,useAPI,BindAddress (slack,mattermost,rocketchat)v0.16.0-rc1 | Wim | 2017-06-29 | 1 | -1/+6 | |
| | ||||||
* | Add more debugging (discord) | Wim | 2017-06-26 | 1 | -5/+6 | |
| | ||||||
* | Add webhook posting mode for discord. (#204) | Sacha Aury - Wolfman | 2017-06-26 | 1 | -1/+27 | |
| | | | | | | | | | Using it implies to configure a Webhook on discord and set the parameter : - WebhookURL (New parameter, discord-specific) Discord API does not allow to change the name of the user posting, but webhooks does. This makes the relay much more elegant, even if we might lose some more advanced features. Signed-off-by: saury07 <sacha.aury@gmail.com> | |||||
* | Add ShowEmbeds option (discord). #202 | Wim | 2017-06-24 | 1 | -1/+9 | |
| | ||||||
* | Add UserID to each message. Closes #200 | Wim | 2017-06-18 | 1 | -1/+2 | |
| | ||||||
* | Avoid nil in usermembermap (discord). See #198 | Wim | 2017-06-15 | 1 | -1/+2 | |
| | ||||||
* | Add hashtag to channel (discord) | Wim | 2017-06-03 | 1 | -2/+2 | |
| | ||||||
* | Replace long ids in channel metions (discord). Fixes #174 | Wim | 2017-05-23 | 1 | -0/+20 | |
| | ||||||
* | Fix possible crash on nil (discord) | Wim | 2017-05-22 | 1 | -5/+7 | |
| | ||||||
* | Add support for edited messages (discord) | Wim | 2017-04-15 | 1 | -0/+13 | |
| | ||||||
* | Strip custom emoji metadata (discord). Closes #148 | Wim | 2017-04-15 | 1 | -0/+8 | |
| | ||||||
* | Replace role ids in mentions to role names (discord). Closes #133 | Wim | 2017-03-18 | 1 | -0/+15 | |
| | | | | | * The bot needs to have the "Manage Roles" permission for this to work. (see Server settings - Roles - General Permissions) | |||||
* | Refactor to handle disconnects/reconnects better. | Wim | 2017-02-14 | 1 | -0/+4 | |
| | | | | Now try to reconnect every 60 seconds until forever. | |||||
* | Use nickname when present (discord). Closes #122 | Wim | 2017-02-13 | 1 | -8/+49 | |
| | ||||||
* | Add bot tag to api if not specified (discord) | Wim | 2016-11-14 | 1 | -0/+3 | |
| | ||||||
* | Refactor | Wim | 2016-11-13 | 1 | -25/+6 | |
| | ||||||
* | Add support for using avatars from discord,slack and gitter in slack | Wim | 2016-11-06 | 1 | -1/+1 | |
| | ||||||
* | Add support for dynamic IconURL (slack). Closes #43 | Wim | 2016-11-05 | 1 | -1/+2 | |
| | ||||||
* | Refactor modifyMessage | Wim | 2016-11-04 | 1 | -2/+2 | |
| | ||||||
* | Use names instead of id's for mentions (discord). Fixes #66 | Wim | 2016-10-30 | 1 | -1/+1 | |
| | ||||||
* | Add support for discord channel ID. See #57 | Wim | 2016-10-26 | 1 | -8/+22 | |
| | ||||||
* | Ignore empty content from discord. Fixes #58 | Wim | 2016-10-26 | 1 | -0/+3 | |
| | ||||||
* | Add support for discord attachments. Fixes #59 | Wim | 2016-10-26 | 1 | -0/+5 | |
| | ||||||
* | Rename discord guild to server. | Wim | 2016-10-23 | 1 | -1/+1 | |
| | ||||||
* | Cleanup discord bridge debug/info messages | Wim | 2016-09-20 | 1 | -1/+3 | |
| | ||||||
* | Add the discord bridge for real | Wim | 2016-09-19 | 1 | -0/+128 | |