summaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
* Add ServerName to TLSConfigWim2017-11-081-1/+1
|
* Replace sorcix/irc and go-ircevent with gircWim2017-11-081-104/+103
|
* Add support for bridging to individual steam chats. (steam) (#294)rrigby2017-11-081-2/+7
|
* Use room.URI instead of room.Name. (gitter) (#293)Patrick Connolly2017-11-081-1/+1
|
* Fix missing arg for ErrorfWim2017-11-041-1/+1
|
* Add helperWim2017-11-041-0/+28
|
* Download files from telegram and reupload to supported bridges (telegram). #278Wim2017-11-041-8/+77
|
* Show error message when file upload fails (discord)Wim2017-11-041-3/+5
|
* Add support to upload files to slack, from bridges with private urls like ↵Wim2017-11-031-0/+19
| | | | slack/mattermost/telegram. (slack)
* Allow slack messages with variables (eg. @here) to be formatted correctly. ↵Patrick Connolly2017-11-031-0/+14
| | | | (slack) (#288)
* Make megacheck happy againWim2017-11-031-6/+4
|
* Add support to upload files to discord, from bridges with private urls like ↵Wim2017-11-031-0/+18
| | | | slack/mattermost/telegram. (discord)
* Resolve slack channel to human-readable name. (slack) (#282)Patrick Connolly2017-11-021-0/+9
|
* Use DisplayName instead of deprecated username (slack). Closes #276Wim2017-11-021-1/+7
|
* Try again to strip colors correct. #286Wim2017-10-281-3/+1
|
* Add StripNick option, only allow alphanumerical nicks. Closes #285Wim2017-10-271-0/+1
|
* Strip irc colors correct, strip also ctrl chars (irc). Closes #286Wim2017-10-261-1/+3
|
* Allowed Slack bridge to extract simpler link format. (#287)Patrick Connolly2017-10-261-1/+1
| | | | | Links sometimes exist without bar delimiters. See: https://api.slack.com/docs/message-formatting#linking_to_urls
* Use bot username if specified (slack). Closes #273Wim2017-10-121-0/+3
|
* Fix loop, make megacheck happyWim2017-09-211-11/+16
|
* 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
|