summaryrefslogtreecommitdiffstats
path: root/bridge/config
Commit message (Collapse)AuthorAgeFilesLines
* Add new Slack connection and forked legacy Slack bridge (#582)Duco van Amstel2018-11-131-0/+1
|
* Add ability to show when user is typing across Slack bridges (#559)Patrick Connolly2018-11-081-0/+2
|
* Clean up config loading. (#561)Patrick Connolly2018-11-071-22/+18
|
* Preserve threading between Slack instances (#529)Patrick Connolly2018-11-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | * Opportunistically preserve Slack threading when parent thread in cache. [#529] * Removed slack-specific processing from gateway. * Added docs. * Add option to enable threading, with default to off. * Did cleanup on @42wim's comments. * Update gateway/gateway.go Co-Authored-By: patcon <patrick.c.connolly@gmail.com> * Suggestion from @42wim :) * Suggestions from @42wim. * More suggestions.
* Remove hyphens when auto-loading envvars from viper config (#545)Patrick Connolly2018-11-031-1/+1
| | | | | | * When auto-loading envvars from toml keys, remove hyphens. See: https://unix.stackexchange.com/questions/23659/can-shell-variable-include-character
* Respond with message on connect (api) (#550)NikkyAI2018-11-021-0/+1
| | | fix #549
* Use own forks for logrus-prefixed-formatter and discordgoWim2018-08-061-1/+1
|
* Add channel password support for XMPP (#451)Bruno Bierbaumer2018-06-181-1/+1
|
* Add MediaDownloadBlacklist option. Closes #442Wim2018-06-091-1/+2
|
* Add config option MediaDownloadPath (#443)Remi Reuvekamp2018-06-081-4/+6
| | | | | | | | | | | | | | * Add config option MediaUploadPath MediaDownloadPath can be used instead of MediaServerUpload, for when your webserver is on the same system as matterbridge and matterbridge has write access to the serve dir. * Limit length of hash in MediaServer urls to 8chars Full SHA256 is unnecessary for uniqueness. Also; if a file has the same first 8 charachters of the SHA256 hash, it's still not a problem, as long as the filename is not the same.
* [WIP] Colorize username sent to IRC using its crc32 IEEE checksum (#423)Yuval Langer2018-05-111-0/+1
| | | | | | | | * Colorize username sent to IRC using its crc32 IEEE checksum * Add `ColorNicks` configuration variable * Add `ColorNicks` setting
* Add QuoteFormat option (telegram). Closes #413Wim2018-05-111-0/+1
|
* Add initial zulip supportWim2018-05-071-0/+2
|
* Add support for reloading all settings automatically after changing config ↵Wim2018-05-011-0/+11
| | | | except connection and gateway configuration. Closes #373
* Fix regression in ReplaceMessages and ReplaceNicks. Closes #407Wim2018-04-211-4/+11
|
* Add QuoteDisable option (telegram). Closes #399Wim2018-04-171-0/+1
|
* Add support for NoSendJoinPart. Closes #382Wim2018-03-061-0/+1
|
* 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
|