summaryrefslogtreecommitdiffstats
path: root/bridge/config
Commit message (Collapse)AuthorAgeFilesLines
* Add support for editing messages across bridges. Currently mattermost/discord.Wim2017-08-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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.
* Allow a webhookurl per channel (discord). #239Wim2017-08-121-1/+2
|
* Add UseUserName option (discord) (#234)anon7242017-08-011-0/+1
|
* Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199Wim2017-07-301-0/+1
|
* Refactor. Add testsWim2017-07-251-1/+0
|
* Fix megacheck / go vet issuesWim2017-07-141-1/+1
|
* Add UseInsecureURL option (telegram)Wim2017-07-041-0/+1
|
* Deprecate URL,useAPI,BindAddress (slack,mattermost,rocketchat)v0.16.0-rc1Wim2017-06-291-3/+41
|
* Add webhook posting mode for discord. (#204)Sacha Aury - Wolfman2017-06-261-0/+1
| | | | | | | | | 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-241-0/+1
|
* Add initial steam supportWim2017-06-221-0/+2
|
* Add UserID to each message. Closes #200Wim2017-06-181-0/+1
|
* Add option IgnoreMessages to ignore messages based on regexp. (all). Closes #70Wim2017-06-181-0/+1
|
* Add token authentication (api)Wim2017-06-061-1/+1
|
* Change to lowercase JSON keys (api)Wim2017-06-051-9/+9
|
* Add gateway name to messagesWim2017-06-051-0/+1
|
* Limit message length (irc). Closes #179Wim2017-05-291-0/+1
|
* Add UseFirstName option (telegram). Closes #144Wim2017-05-151-0/+1
|
* Add NoHomeServerSuffix. Option to disable homeserver on username (matrix). ↵Wim2017-05-121-0/+1
| | | | Closes #160.
* Add support for sending edited messagesWim2017-04-151-0/+2
|
* Rejoin channel when kicked (irc). Closes #146Wim2017-04-081-2/+3
|
* Reuse connection when using same bridge with another gateway. See #87Wim2017-04-011-8/+11
|
* RefactorWim2017-03-281-0/+8
|
* Do not use HTML parsemode by default. Set MessageFormat="HTML" to use it. ↵Wim2017-02-241-3/+4
| | | | (telegram) Closes #126
* Add matrix supportWim2017-02-201-0/+1
|
* Add REST API supportWim2017-02-181-6/+11
|
* Refactor to handle disconnects/reconnects better.Wim2017-02-141-0/+1
| | | | Now try to reconnect every 60 seconds until forever.
* Add channel key support (irc). Closes #27Wim2017-01-041-0/+5
|
* Add initial Rocket.Chat supportWim2016-12-031-0/+1
|
* Add support for RemoteNickFormat in general configurationWim2016-11-201-0/+1
|
* Add gateway.inout config for bidirectional bridges. Closes #85Wim2016-11-201-0/+1
|
* Add initial telegram supportWim2016-11-151-0/+1
|
* Fix ShowJoinPart from irc bridge. Closes #72Wim2016-11-141-0/+5
|
* RefactorWim2016-11-131-17/+10
|
* Add support for using avatars from discord,slack and gitter in slackWim2016-11-061-0/+1
|
* Add support for dynamic IconURL (slack). Closes #43Wim2016-11-051-0/+16
|
* Add anti-flooding settings (irc). See #40Wim2016-11-011-0/+2
|
* Override config from environment. See #50Wim2016-10-301-0/+40
| | | | | | | | | | | | | | | | Expects uppercase environment variables of MATTERBRIDGE_PROTOCOL_ACCOUNT_KEY="value" e.g. you can override this config [mattermost] [mattermost.work] Team="yourteam" Login="yourlogin" Password="yourpass" by using MATTERBRIDGE_MATTERMOST_WORK_TEAM="newteam" MATTERBRIDGE_MATTERMOST_WORK_LOGIN="newlogin" MATTERBRIDGE_MATTERMOST_WORK_PASSWORD="newpassword"
* Rename discord guild to server.Wim2016-10-231-1/+0
|
* Add samechannel gateway. See #35Wim2016-09-301-7/+15
|
* Use specified config fileWim2016-09-201-1/+1
|
* Add Discord supportWim2016-09-191-2/+4
|
* Refactor for more flexibilityWim2016-09-181-89/+55
| | | | | | | * 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
* Add Slack supportWim2016-09-051-1/+14
|
* Add Gitter supportWim2016-09-041-0/+10
|
* Add Enable per section (protocol) instead of in general sectionWim2016-08-201-0/+3
|
* Refactor bridge. Allows bridging between every protocolWim2016-08-141-0/+81