summaryrefslogtreecommitdiffstats
path: root/bridge/config
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests and make megacheck happyWim2018-03-051-0/+18
|
* Use viper (github.com/spf13/viper) for configurationWim2018-03-041-84/+60
|
* Add environment override backWim2018-02-271-1/+3
|
* Refactor using factoryWim2018-02-271-2/+3
|
* Add DebugLevel option (irc)Wim2018-02-221-0/+1
|
* Add label support in RemoteNickFormatWim2018-02-201-0/+1
|
* Download (and upload) avatar images from mattermost and telegram when ↵Wim2018-02-201-0/+1
| | | | | | | | | | | | | | mediaserver is configured. Closes #362 An extra avatarMap (cache) is created for mattermost and telegram. If MediaServerUpload is configured, the avatar images of users are downloaded the first time a user sends a message. If this download succeeds a message with EVENT_AVATAR_DOWNLOAD is sent to the originating protocol. This message also contains a SHA field (in msg.Extra["file"]), if this is not empty, the sha will be added to the avatarMap. (so we now have a userid-sha cache) Next time this user sends a message, the MediaServerUpload/sha/userid.png URL will be used as the avatar field.
* Add SHA to FileInfoWim2018-02-151-0/+1
|
* Add avator to fileinfoWim2018-02-141-0/+1
|
* Send chat notification if media is too big to be re-uploaded to MediaServer. ↵Wim2018-02-031-6/+8
| | | | See #359
* Add ShowTopicChange option. Allow/disable topic change messages (currently ↵Wim2018-02-021-0/+2
| | | | only from slack). Closes #353
* Print only debug messages when specified (xmpp). Closes #345Wim2018-01-261-0/+1
|
* Add RejoinDelay option. Delay to rejoin after channel kick (irc). Closes #322Wim2017-12-231-0/+1
|
* Allow specifying maximum download size of media using MediaDownloadSize ↵Wim2017-12-191-0/+3
| | | | (slack,telegram,matrix)
* Refactor and add MediaDownloadSize to GeneralWim2017-12-191-0/+8
|
* Add quick & dirty sshchat support (https://github.com/shazow/ssh-chat)Wim2017-12-031-0/+1
|
* Add MessageSplit option to split messages on MessageLength (irc). Closes #281Wim2017-11-241-2/+3
|
* Add initial support for an external mediaserver. #278Wim2017-11-241-11/+14
| | | | | | | | Add 2 extra options `MediaServerUpload` and `MediaServerDownload`, where the URL for upload and download can be specified. See https://github.com/42wim/matterbridge/wiki/Mediaserver-setup-%5Badvanced%5D for an example with caddy
* Add support for ReplaceNicks using regexp to replace nicks. Closes #269Wim2017-11-201-6/+7
|
* Add support for ReplaceMessages using regexp to replace messages. #269Wim2017-11-151-46/+47
|
* Add support for comments from slack file uploads (slack)Wim2017-11-131-2/+3
|
* Add StripNick option, only allow alphanumerical nicks. Closes #285Wim2017-10-271-0/+1
|
* Download files from slack and reupload to mattermost (slack/mattermost). ↵Wim2017-09-211-1/+6
| | | | | | | | | | | | 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-201-0/+1
|
* Relay attachments from mattermost to slack (slack). Closes #260Wim2017-09-181-0/+1
|
* Add support for deleting messages across bridges.Wim2017-09-111-0/+1
| | | | | | | | | | | | 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)
* Add a charset option (irc). Closes #247Wim2017-08-291-0/+1
|
* 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
|