summaryrefslogtreecommitdiffstats
path: root/gateway/gateway.go
Commit message (Collapse)AuthorAgeFilesLines
* Remove debug messageWim2017-08-281-3/+0
|
* Add support for editing messages across bridges. Currently mattermost/discord.Wim2017-08-281-6/+25
| | | | | | | | | | | | | | | | | | | | | | 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-271-1/+7
|
* Handle same account in multiple gateways betterWim2017-07-301-2/+3
|
* Refactor. Add testsWim2017-07-251-112/+24
|
* Fix in/out logic. Closes #224Wim2017-07-221-24/+26
|
* Fix message modificationWim2017-07-211-5/+6
|
* Fix megacheck / go vet issuesWim2017-07-141-29/+23
|
* Replace :emoji: with unicode chars. #215Wim2017-07-091-0/+7
| | | | Add vendor github.com/peterhellberg/emojilib
* Fix samechannel gateway issue. Closes #207Wim2017-06-271-0/+12
|
* Add UserID to each message. Closes #200Wim2017-06-181-3/+0
|
* Add option IgnoreMessages to ignore messages based on regexp. (all). Closes #70Wim2017-06-181-0/+18
|
* Remove need for channel when using api. Closes #195Wim2017-06-151-0/+13
|
* Fix utf-8 issues #193Wim2017-06-151-1/+10
|
* Allow reuse of api in different gateways. See #189Wim2017-06-071-5/+16
|
* Add gateway name to messagesWim2017-06-051-0/+1
|
* Add NOPINGNICK option. Closes #175Wim2017-05-301-0/+1
|
* Fix sending to different channels on same account (slack). Closes #177Wim2017-05-241-1/+2
|
* Rejoin channel when kicked (irc). Closes #146Wim2017-04-081-0/+9
|
* Modify iconurl correctly (mattermost). Closes #145Wim2017-04-081-0/+12
|
* Fix join/leave regression (irc)v0.11.0-beta2Wim2017-04-031-0/+4
|
* Reuse connection when using same bridge with another gateway. See #87Wim2017-04-011-19/+71
|
* RefactorWim2017-03-281-67/+44
|
* Fail when bridge is unable to join a channel (general)Wim2017-03-161-1/+4
|
* Do not forward empty message from any bridge (general). Closes #128Wim2017-03-021-0/+4
|
* Add REST API supportWim2017-02-181-0/+6
|
* Refactor samechannelgatewayWim2017-02-171-9/+10
|
* Refactor. Make extra options easier for other protocolsWim2017-02-141-4/+12
|
* Refactor to handle disconnects/reconnects better.Wim2017-02-141-13/+27
| | | | Now try to reconnect every 60 seconds until forever.
* Fix IgnoreNicks (global). Closes #115Wim2017-01-211-19/+6
|
* Add channel key support (irc). Closes #27Wim2017-01-041-7/+18
|
* Add support for RemoteNickFormat in general configurationWim2016-11-201-1/+4
|
* Add gateway.inout config for bidirectional bridges. Closes #85Wim2016-11-201-1/+5
|
* Fix ShowJoinPart from irc bridge. Closes #72Wim2016-11-141-0/+8
|
* RefactorWim2016-11-131-19/+31
|
* Refactor gatewayWim2016-11-081-25/+36
|
* Add support for dynamic IconURL (slack). Closes #43Wim2016-11-051-9/+1
|
* Refactor modifyMessageWim2016-11-041-22/+19
|
* Launch every account only once. Fixes #48Wim2016-10-231-4/+5
|
* Only send to channels defined in config. Fixes #53Wim2016-10-231-1/+7
|
* Add error message about non-existing channels (slack)Wim2016-10-081-1/+5
|
* Bail out on samechannel gateway when a bridge fails to startWim2016-10-031-1/+1
|
* Bail out when a bridge fails to startWim2016-10-011-1/+4
|
* Cleanup debug messagesWim2016-09-201-1/+1
|
* Connect only once to each bridgeWim2016-09-191-3/+14
|
* Add Discord supportWim2016-09-191-0/+2
|
* Refactor for more flexibilityWim2016-09-181-0/+135
* Move from gcfg to toml configuration because gcfg was too restrictive * Implemented gateway which has support multiple in and out bridges. * Allow for bridging the same bridges, which means eg you can now bridge between multiple mattermosts. * Support multiple gateways