3
0
mirror of https://github.com/42wim/matterbridge.git synced 2024-12-24 20:22:39 +01:00
Commit Graph

66 Commits

Author SHA1 Message Date
Wim
7b21c1c2f4 Set event channels to lowercase (irc). Closes 2018-02-22 22:51:32 +01:00
Wim
f8714d81f5 Add DebugLevel option (irc) 2018-02-22 18:56:21 +01:00
Wim
8622656005 Add more debug for events (irc) 2018-02-22 18:23:22 +01:00
Wim
d1227b5fc9 Use prefixed-formatter for better logging 2018-02-21 00:20:25 +01:00
Wim
6ea368c383 Move Sirupsen => sirupsen 2018-02-20 23:41:09 +01:00
tsudoko
1d33e60e36 Truncate messages sent to IRC based on byte count ()
* Truncate messages sent to IRC based on byte count

* Avoid unnecessary string allocations
2018-02-08 23:28:33 +01:00
Wim
80822b7fff Send chat notification if media is too big to be re-uploaded to MediaServer. See 2018-02-03 01:11:11 +01:00
ValdikSS
da908c438a Add space between colon and URL for uploaded media () 2018-02-01 17:46:10 +01:00
Wim
7764493298 Add comment to file upload from telegram. Show comments on all bridges. Closes 2018-02-01 00:41:09 +01:00
Anssi Kolehmainen
9a95293bdf Convert received IRC channel names to lowercase. Fixes () 2018-01-06 22:55:03 +01:00
Wim
97c944bb63 Add RejoinDelay option. Delay to rejoin after channel kick (irc). Closes 2017-12-23 00:11:30 +01:00
Wim
265457b451 Refactor and add MediaDownloadSize to General 2017-12-19 23:15:03 +01:00
Wim
05eb75442a Split on UTF-8 for MessageSplit (irc). Closes 2017-12-07 22:21:54 +01:00
Wim
3496ed0c7e Fix irc ACTION regression (irc). Closes 2017-12-07 22:07:45 +01:00
Wim
e0cbb69a4f Add MessageSplit option to split messages on MessageLength (irc). Closes 2017-11-24 23:29:00 +01:00
Wim
7ec95f786d Use mediaserver urls for irc,gitter and xmpp 2017-11-24 22:55:24 +01:00
Wim
1efe40add5 Add initial support for an external mediaserver.
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
2017-11-24 22:36:19 +01:00
Wim
bcdecdaa73 Fix strict user handling of girc (irc). Closes 2017-11-11 23:16:58 +01:00
Wim
4fc48b5aa4 Fix panic on empty params 2017-11-08 22:55:48 +01:00
Wim
307ff77b42 Add ServerName to TLSConfig 2017-11-08 22:55:37 +01:00
Wim
9b500bc5f7 Replace sorcix/irc and go-ircevent with girc 2017-11-08 22:54:31 +01:00
Wim
b7a8c6b60f Try again to strip colors correct. 2017-10-28 14:28:15 +02:00
Wim
299b71d982 Strip irc colors correct, strip also ctrl chars (irc). Closes 2017-10-26 23:04:44 +02:00
Wim
b49fb2b69c Add support for Quakenet auth (irc). Closes 2017-09-20 22:47:26 +02:00
Wim
ed01820722 Add support for deleting messages across bridges.
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)
2017-09-11 22:45:15 +02:00
Wim
37c350f19f Convert utf-8 back to charset (irc). 2017-08-30 20:59:54 +02:00
Wim
f4fb83e787 Use the detected charset (irc) 2017-08-29 21:35:36 +02:00
Wim
e7fcb25107 Add a charset option (irc). Closes 2017-08-29 21:31:03 +02:00
Wim
5a8d7b5f6d Modify Send() to return also a message id 2017-08-27 22:59:37 +02:00
Wim
28710d0bc7 Allow a webhookurl per channel (discord). 2017-08-12 14:51:41 +02:00
Wim
f8e6a69d6e Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. 2017-07-30 17:48:23 +02:00
Wim
38d09dba2e Update vendor (go-irc) 2017-07-28 14:26:26 +02:00
Wim
83ef61287e Refactor. Add tests 2017-07-25 20:11:52 +02:00
Wim
6dee988b76 Fix megacheck / go vet issues 2017-07-14 00:35:01 +02:00
Wim
bfc7130ed8 Try to detect the charset and convert it to utf-8. (irc). Closes 2017-07-07 23:39:38 +02:00
Wim
2ddc4f7ae9 Add UserID to each message. Closes 2017-06-18 15:44:54 +02:00
Wim
75fb2b8156 Make reconnection more robust (irc). 2017-06-18 00:13:10 +02:00
Wim
c3d45a9f06 Do not relay join/part of ourselves (irc). Closes 2017-06-17 17:58:56 +02:00
Wim
9d9cb32f4e Limit message length (irc). Closes 2017-05-29 21:54:34 +02:00
Wim
d300bb1735 Relay messages starting with ! (irc). Closes 2017-05-08 21:15:01 +02:00
Wim
b469c8ddbd Rejoin channel when kicked (irc). Closes 2017-04-08 00:42:37 +02:00
Wim
dd449a8705 Remove debug info (irc) 2017-04-01 18:10:11 +02:00
Wim
a16ad8bf3b Reuse connection when using same bridge with another gateway. See 2017-04-01 17:24:19 +02:00
Wim
163f55f9c2 Refactor to handle disconnects/reconnects better.
Now try to reconnect every 60 seconds until forever.
2017-02-14 21:12:02 +01:00
Wim
cef64e01b3 Remove callbacks after being called. Fixes (irc) 2016-11-20 17:21:15 +01:00
Wim
449ed31e25 Fix ShowJoinPart from irc bridge. Closes 2016-11-14 22:53:06 +01:00
Wim
a11f77835d Fix !users command for irc. Closes . 2016-11-14 00:12:48 +01:00
Wim
99d130d1ed Refactor 2016-11-13 23:06:37 +01:00
Wim
2dbe0eb557 Add support for dynamic IconURL (slack). Closes 2016-11-05 01:11:51 +01:00
Wim
be513622ac Add anti-flooding settings (irc). See 2016-11-01 22:52:28 +01:00