Wim
bf21604d42
Make all loggers derive from non-default instance ( #728 )
6 years ago
Wim
fb713ed91b
Add initial support for getting ChannelMember info of all bridges ( #678 )
...
* Add initial support for getting ChannelMember info of all bridges.
Adds an EventGetChannelMembers event, which gets send every x time to
all bridges. Bridges should respond on this event with a Message
containing ChannelMembers in the EventGetChannelMembers key in the
Extra field.
handleEventGetChannelMembers will handle this Message and sets the
contained ChannelMembers to the Bridge struct.
* Add ChannelMembers support to the slack bridge
6 years ago
Duco van Amstel
da8e415ae1
Use logrus imports instead of log ( #662 )
6 years ago
Duco van Amstel
16d5aeac7c
Make config.Config more unit-test friendly ( #586 )
6 years ago
Wim
98027446c8
Fix tests and make megacheck happy
7 years ago
Wim
f2f1d874e1
Use viper (github.com/spf13/viper) for configuration
7 years ago
Wim
2bac867382
Refactor using factory
7 years ago
Wim
d1227b5fc9
Use prefixed-formatter for better logging
7 years ago
Wim
6ea368c383
Move Sirupsen => sirupsen
7 years ago
Wim
e92b6de09f
Add more debug
7 years ago
Wim
25d2ff3e9b
Fix regression. Closes #323
7 years ago
Wim
265457b451
Refactor and add MediaDownloadSize to General
7 years ago
Wim
67a9d133e9
Add quick & dirty sshchat support ( https://github.com/shazow/ssh-chat )
7 years ago
Wim
5a8d7b5f6d
Modify Send() to return also a message id
7 years ago
Wim
28710d0bc7
Allow a webhookurl per channel (discord). #239
7 years ago
Wim
6dee988b76
Fix megacheck / go vet issues
7 years ago
Wim
276ac840aa
Add initial steam support
7 years ago
siinus
ef278301e3
Fix JoinChannel argument to use IRC channel key ( #172 )
7 years ago
Wim
a16ad8bf3b
Reuse connection when using same bridge with another gateway. See #87
8 years ago
Wim
2e4d58cb92
Refactor
8 years ago
Wim
fd8cfb11fb
Fail when bridge is unable to join a channel (general)
8 years ago
Wim
c5cfbc2297
Add matrix support
8 years ago
Wim
73f01ad8d8
Add REST API support
8 years ago
Wim
dc37232100
Refactor. Make extra options easier for other protocols
8 years ago
Wim
163f55f9c2
Refactor to handle disconnects/reconnects better.
...
Now try to reconnect every 60 seconds until forever.
8 years ago
Wim
fee159541f
Add initial Rocket.Chat support
8 years ago
Wim
cd18d89894
Add initial telegram support
8 years ago
Wim
99d130d1ed
Refactor
8 years ago
Wim
92d9db5a2d
Override config from environment. See #50
...
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"
8 years ago
Wim
a0b84beb9b
Add Discord support
8 years ago
Wim
7baf386ede
Refactor for more flexibility
...
* 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
8 years ago
Wim
b30e85836e
Add Slack support
8 years ago
Wim
12389d602e
Add Gitter support
8 years ago
Wim
3311c7f923
Refactor handleReceive
8 years ago
Wim
3a6c655dfb
Remove redundant function
8 years ago
Wim
e11d786775
Move nickformatting into bridge
8 years ago
Wim
889b6debc4
Add Connect() to Bridger interface
8 years ago
Wim
9cb3413d9c
Add Enable per section (protocol) instead of in general section
8 years ago
Wim
96e21dd051
Add documentation about breaking API changes for mattermost 3.3.0. Start work on 0.6.0-dev
8 years ago
Wim
ff94796700
Refactor bridge. Allows bridging between every protocol
8 years ago
Wim
1f72ca4c4e
Add initial XMPP support
8 years ago
Wim
79ffb76f6e
Add (PLAIN) SASL support
8 years ago
Wim
300cfe044a
Remove token check
8 years ago
Wim
fb586f4a96
Remove Port from IRC config. Specify it with server
8 years ago
Wim
ced371bece
Add port to BindAddress
8 years ago
Wim
a87cac1982
Remove multiple Token config. Use same channel setup as from matterbridge-plus
8 years ago
Wim
8fb5c7afa6
Remove UseSlackCircumfix. Use RemoteNickFormat
8 years ago
Wim
aceb830378
Converge with matterbridge-plus
8 years ago