summaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* Download files from slack and reupload to mattermost (slack/mattermost). ↵Wim2017-09-213-7/+64
| | | | | | | | | | | | Closes #255 Refactor message.Extra to a map[string][]interface{} to have a bit more flexibility for stuffing extra stuff. For attached files from slack, files < 1MB size get downloaded (in memory), and get put into Extra["file"][]config.FileInfo (containing a pointer to the buffer and the filename). This is not async so slack channels with lots of attached files may suffer a slowdown. (the download timeout is set at 5 seconds).
* Add support for Quakenet auth (irc). Closes #263Wim2017-09-202-0/+9
|
* Try quoting previous messsage (telegram). #237Wim2017-09-191-0/+21
|
* Try to not forward slack unfurls. Closes #266Wim2017-09-191-0/+6
|
* Add more debug info (telegram)Wim2017-09-191-1/+3
|
* Remove unnecessary check, make megacheck happyWim2017-09-191-19/+17
|
* Fix loop from webhook by adding matterbridge prop (mattermost). Closes #261Wim2017-09-181-0/+7
|
* Relay attachments from mattermost to slack (slack). Closes #260Wim2017-09-183-2/+36
|
* Use override username if specified (mattermost). #260Wim2017-09-181-0/+6
|
* Add partial support for deleted messages (telegram)Wim2017-09-111-0/+12
|
* 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
|