Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add support for editing messages (slack) | Wim | 2017-08-28 | 1 | -9/+16 | |
| | ||||||
* | Add support for editing messages across bridges. Currently mattermost/discord. | Wim | 2017-08-28 | 3 | -18/+30 | |
| | | | | | | | | | | | | | | | | | | | | | | 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 | 12 | -34/+34 | |
| | ||||||
* | Relay notices (matrix). Closes #243 | Wim | 2017-08-27 | 1 | -1/+1 | |
| | ||||||
* | Handle leave/join events (slack). Closes #246 | Wim | 2017-08-27 | 1 | -0/+4 | |
| | ||||||
* | Add support for personal access tokens (mattermost) | Wim | 2017-08-23 | 1 | -5/+34 | |
| | | | | * https://docs.mattermost.com/developer/personal-access-tokens.html | |||||
* | 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 | 13 | -49/+91 | |
| | ||||||
* | Add UseUserName option (discord) (#234) | anon724 | 2017-08-01 | 2 | -1/+7 | |
| | ||||||
* | 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 | 9 | -15/+95 | |
| | ||||||
* | Update vendor (go-irc) | Wim | 2017-07-28 | 1 | -1/+1 | |
| | ||||||
* | Ignore edited messages with reactions (mattermost) | Wim | 2017-07-25 | 1 | -0/+4 | |
| | ||||||
* | Refactor. Add tests | Wim | 2017-07-25 | 2 | -4/+0 | |
| | ||||||
* | Disable message from other bots when using webhooks (slack) | Wim | 2017-07-22 | 1 | -1/+5 | |
| | ||||||
* | Handle reconnections better (xmpp). Closes #222 | Wim | 2017-07-20 | 1 | -2/+29 | |
| | ||||||
* | Fix webhookurl/webhookbindaddress panic (mattermost). Closes #221 | Wim | 2017-07-17 | 1 | -0/+3 | |
| | ||||||
* | Tag messages we send ourself using CallbackID hack (slack). Closes #219 | Wim | 2017-07-17 | 1 | -8/+8 | |
| | ||||||
* | Suppress parent message when child message is received (slack) (#218) | Jerry Heiselman | 2017-07-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | * Suppress parent message when child message is received When a thread is started in Slack and a user makes a comment on the thread, matterbridge sends the original parent message again on each child comment. This change suppresses that. * Update slack.go Moved determination of ThreadTimestamp to handleSlackClient so the MMMessage struct doesn't need to be modified * Ran 'go fmt' | |||||
* | Add support for fallback/text in attachments (slack) | Wim | 2017-07-16 | 1 | -0/+9 | |
| | ||||||
* | Make sure bot doesn't loop now we relay bot messages (slack) | Wim | 2017-07-16 | 1 | -1/+8 | |
| | ||||||
* | Fix discordgo api changes | Wim | 2017-07-16 | 1 | -1/+1 | |
| | ||||||
* | Fix lookup bot username (slack). #213 | Wim | 2017-07-16 | 1 | -8/+12 | |
| | ||||||
* | 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 | 2 | -35/+100 | |
| | ||||||
* | Fix megacheck / go vet issues | Wim | 2017-07-14 | 8 | -14/+10 | |
| | ||||||
* | Lookup bot username (slack). #213 | Wim | 2017-07-10 | 1 | -0/+9 | |
| | ||||||
* | Replace HTML entities (slack). #215 | Wim | 2017-07-09 | 1 | -0/+2 | |
| | ||||||
* | Fix embeds (discord). Closes #202 | Wim | 2017-07-09 | 1 | -9/+17 | |
| | ||||||
* | Try to detect the charset and convert it to utf-8. (irc). Closes #209 #210 | Wim | 2017-07-07 | 1 | -0/+27 | |
| | ||||||
* | Add UseInsecureURL option (telegram) | Wim | 2017-07-04 | 2 | -4/+5 | |
| | ||||||
* | Fix channel id off by 0x18000000000000 (steam) | Wim | 2017-07-03 | 1 | -1/+3 | |
| | ||||||
* | Deprecate URL,useAPI,BindAddress (slack,mattermost,rocketchat)v0.16.0-rc1 | Wim | 2017-06-29 | 5 | -27/+83 | |
| | ||||||
* | Add more debugging (discord) | Wim | 2017-06-26 | 1 | -5/+6 | |
| | ||||||
* | Remove label from URLs (slack). Closes #205 | Wim | 2017-06-26 | 1 | -0/+9 | |
| | | | | | If slack detects a text contains an url it changes it to <http://url|url>. Strip the |url so that http://url remains. | |||||
* | Add webhook posting mode for discord. (#204) | Sacha Aury - Wolfman | 2017-06-26 | 2 | -1/+28 | |
| | | | | | | | | | 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 | 2 | -1/+10 | |
| | ||||||
* | Add initial steam support | Wim | 2017-06-22 | 3 | -0/+164 | |
| | ||||||
* | Use the last (and biggest) photo to relay (telegram). Closes #184 | Wim | 2017-06-18 | 1 | -4/+2 | |
| | ||||||
* | Add UserID to each message. Closes #200 | Wim | 2017-06-18 | 11 | -9/+18 | |
| | ||||||
* | Sent only the biggest picture to bridges (telegram) | Wim | 2017-06-18 | 1 | -2/+4 | |
| | ||||||
* | Add option IgnoreMessages to ignore messages based on regexp. (all). Closes #70 | Wim | 2017-06-18 | 1 | -0/+1 | |
| | ||||||
* | Make reconnection more robust (irc). #153 | Wim | 2017-06-18 | 1 | -8/+25 | |
| | ||||||
* | Add initial sticker/video/photo/document support (telegram). #184 | Wim | 2017-06-17 | 1 | -0/+22 | |
| | ||||||
* | Do not relay join/part of ourselves (irc). Closes #190 | Wim | 2017-06-17 | 1 | -2/+5 | |
| | ||||||
* | Fix incorrect behaviour of EditDisable (mattermost). Fixes #197 | Wim | 2017-06-15 | 1 | -0/+3 | |
| | ||||||
* | Avoid nil in usermembermap (discord). See #198 | Wim | 2017-06-15 | 1 | -1/+2 | |
| | ||||||
* | Allow reuse of api in different gateways. See #189 | Wim | 2017-06-07 | 1 | -0/+4 | |
| | ||||||
* | Add token authentication (api) | Wim | 2017-06-06 | 2 | -1/+7 | |
| | ||||||
* | Change to lowercase JSON keys (api) | Wim | 2017-06-05 | 1 | -9/+9 | |
| |