summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Download files from slack and reupload to mattermost (slack/mattermost). ↵Wim2017-09-214-8/+65
| | | | | | | | | | | | 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 functions to upload filesWim2017-09-211-0/+17
|
* Add support for Quakenet auth (irc). Closes #263Wim2017-09-203-0/+14
|
* 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-184-2/+51
|
* Allow empty message if we have a slack attachmentWim2017-09-181-1/+1
|
* Add propsWim2017-09-181-7/+8
|
* Bump versionWim2017-09-181-1/+1
|
* Use override username if specified (mattermost). #260Wim2017-09-181-0/+6
|
* Update readmeWim2017-09-111-1/+2
|
* Release v1.2.0v1.2.0Wim2017-09-113-2/+16
|
* Update vendor (nlopes/slack)Wim2017-09-112-1/+3
|
* Update vendor (bwmarrin/discordgo) apiv6Wim2017-09-1112-111/+467
|
* Bump versionWim2017-09-111-1/+1
|
* Add partial support for deleted messages (telegram)Wim2017-09-111-0/+12
|
* Update vendor (go-telegram-bot-api/telegram-bot-api)Wim2017-09-115-62/+629
|
* Add support for deleting messages across bridges.Wim2017-09-1113-5/+98
| | | | | | | | | | | | 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
|
* Add UpdateUserNickWim2017-09-101-0/+10
|
* Release v1.1.2v1.1.2Wim2017-09-092-3/+3
|
* Update changelogWim2017-09-091-0/+6
|
* Add 4.2 support (mattermost)Wim2017-09-091-1/+2
|
* Add darwin-amd64 to nightly buildsWim2017-09-091-2/+3
|
* Send images when text is empty regression. (mattermost). Closes #254Wim2017-09-082-0/+8
|
* Send first message after connect (slack). Closes #252Wim2017-09-071-47/+42
|
* Add message debugging (gitter)Wim2017-09-071-0/+1
|
* remove comment about useAPI in sample configuration (#251)Ryan Mulligan2017-09-041-1/+0
|
* remove useAPI from sample configuration (#250)Ryan Mulligan2017-09-041-1/+0
|
* Fix sending direct messages with APIv4Wim2017-09-041-3/+3
|
* Release v1.1.1v1.1.1Wim2017-09-043-2/+6
|
* Fix public links (mattermost)Wim2017-09-041-6/+6
|
* Release v1.1.0v1.1.0Wim2017-09-012-2/+2
|
* Convert utf-8 back to charset (irc). #247Wim2017-08-301-0/+14
|
* Fix private channel joining bug (mattermost). Closes #248Wim2017-08-302-4/+15
|
* Update changelogWim2017-08-291-2/+16
|
* 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-293-12/+35
|
* Update travis to go 1.9Wim2017-08-292-2/+2
|
* Do not add messages without ID to cacheWim2017-08-293-3/+5
|
* Remove debug messageWim2017-08-281-3/+0
|
* Add support for editing messages. Remove ZWSP as loopcheck (gitter)Wim2017-08-281-6/+18
|
* Use github.com/42wim/go-gitter for nowWim2017-08-287-13/+72
|
* 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-285-25/+62
| | | | | | | | | | | | | | | | | | | | | | 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.