summaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* Add support for deleting messages across bridges.Wim2017-09-1111-4/+86
| | | | | | | | | | | | Currently fully support mattermost,slack and discord. Message deleted on the bridge or received from other bridges will be deleted. Partially support for Gitter. Gitter bridge will delete messages received from other bridges. But if you delete a message on gitter, this deletion will not be sent to other bridges (this is a gitter API limitation, it doesn't propogate edits or deletes via the API)
* Do not break messages on newline (slack). Closes #258Wim2017-09-101-18/+16
|
* Send images when text is empty regression. (mattermost). Closes #254Wim2017-09-081-0/+1
|
* Send first message after connect (slack). Closes #252Wim2017-09-071-47/+42
|
* Add message debugging (gitter)Wim2017-09-071-0/+1
|
* Convert utf-8 back to charset (irc). #247Wim2017-08-301-0/+14
|
* Fix private channel joining bug (mattermost). Closes #248Wim2017-08-301-1/+6
|
* Replace mentions from other bridges. (slack). Closes #233Wim2017-08-291-0/+3
|
* Use the detected charset (irc)Wim2017-08-291-1/+1
|
* Add a charset option (irc). Closes #247Wim2017-08-292-12/+18
|
* Do not add messages without ID to cacheWim2017-08-291-1/+1
|
* Add support for editing messages. Remove ZWSP as loopcheck (gitter)Wim2017-08-281-6/+18
|
* Add support for editing messages (telegram)Wim2017-08-281-3/+22
|
* Add support for editing messages (slack)Wim2017-08-281-9/+16
|
* Add support for editing messages across bridges. Currently mattermost/discord.Wim2017-08-283-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 idWim2017-08-2712-34/+34
|
* Relay notices (matrix). Closes #243Wim2017-08-271-1/+1
|
* Handle leave/join events (slack). Closes #246Wim2017-08-271-0/+4
|
* Add support for personal access tokens (mattermost)Wim2017-08-231-5/+34
| | | | * https://docs.mattermost.com/developer/personal-access-tokens.html
* Swap token/id. Also check for default webhookURL in isWebhookID (discord)Wim2017-08-121-3/+9
|
* Allow a webhookurl per channel (discord). #239Wim2017-08-1213-49/+91
|
* Add UseUserName option (discord) (#234)anon7242017-08-012-1/+7
|
* Do not modify username in action (discord)Wim2017-07-311-7/+3
|
* Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199Wim2017-07-309-15/+95
|
* Update vendor (go-irc)Wim2017-07-281-1/+1
|
* Ignore edited messages with reactions (mattermost)Wim2017-07-251-0/+4
|
* Refactor. Add testsWim2017-07-252-4/+0
|
* Disable message from other bots when using webhooks (slack)Wim2017-07-221-1/+5
|
* Handle reconnections better (xmpp). Closes #222Wim2017-07-201-2/+29
|
* Fix webhookurl/webhookbindaddress panic (mattermost). Closes #221Wim2017-07-171-0/+3
|
* Tag messages we send ourself using CallbackID hack (slack). Closes #219Wim2017-07-171-8/+8
|
* Suppress parent message when child message is received (slack) (#218)Jerry Heiselman2017-07-171-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)Wim2017-07-161-0/+9
|
* Make sure bot doesn't loop now we relay bot messages (slack)Wim2017-07-161-1/+8
|
* Fix discordgo api changesWim2017-07-161-1/+1
|
* Fix lookup bot username (slack). #213Wim2017-07-161-8/+12
|
* Use GetFileLinks. Also show links to non-public files (mattermost)Wim2017-07-151-1/+1
|
* Refactor connecting logic slack/mattermost. Fixes #216Wim2017-07-152-35/+100
|
* Fix megacheck / go vet issuesWim2017-07-148-14/+10
|
* Lookup bot username (slack). #213Wim2017-07-101-0/+9
|
* Replace HTML entities (slack). #215Wim2017-07-091-0/+2
|
* Fix embeds (discord). Closes #202Wim2017-07-091-9/+17
|
* Try to detect the charset and convert it to utf-8. (irc). Closes #209 #210Wim2017-07-071-0/+27
|
* Add UseInsecureURL option (telegram)Wim2017-07-042-4/+5
|
* Fix channel id off by 0x18000000000000 (steam)Wim2017-07-031-1/+3
|
* Deprecate URL,useAPI,BindAddress (slack,mattermost,rocketchat)v0.16.0-rc1Wim2017-06-295-27/+83
|
* Add more debugging (discord)Wim2017-06-261-5/+6
|
* Remove label from URLs (slack). Closes #205Wim2017-06-261-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 - Wolfman2017-06-262-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). #202Wim2017-06-242-1/+10
|