Commit Graph

1300 Commits (ddc262593449357e4d0399af82d26cee0fb65c45)
 

Author SHA1 Message Date
xnaas ddc2625934
Update Dockerfile so inotify works (#1148)
This change would be required for the Docker image to actually read `RELOADABLE` config options from the `matterbridge.toml`.

This edit would require https://github.com/42wim/matterbridge/wiki/Deploy:-Docker to be updated as well to mention that mounting would have to change to mounting a ***directory*** not a file. inotify inside Docker cannot read directly mounted files, only directories, for whatever reason.

This will preserve setups that were configured to run the old way without breaking them and new configs can be setup "correctly" without issue.
4 years ago
Wim 7f7ca697a0
Ignore non-user messages (msteams). Fixes #1141 (#1149)
Ignore these messages for now, also add a extra
debug option for msteams so we can dump the whole
message.
4 years ago
Alexander 900375679b
Prevent re-requesting avatar data (xmpp) (#1117)
Prevent asking the server again and again for a
user's avatar if the server does not respond to
our initial request.
4 years ago
Wim 9440b9e313
Increase debug logging with function,file and linenumber (#1147)
Show the function name,file and linenumber like this
[0000]  INFO main:         [setupLogger:matterbridge.go:100] Enabling debug logging.
[0000]  INFO main:         [main:matterbridge.go:46] Running version 1.17.5-dev

Only enable this for debug as this adds some overhead.
4 years ago
Wim 393f9e998b
Update dependencies / vendor (#1146) 4 years ago
Wim ba0bfe70a8
Add StripMarkdown option (irc). (#1145)
Enable `StripMarkdown` to strip markdown for irc.
4 years ago
Wim 3c4a3e3f75
Implement xep-0245 (xmpp). Closes #1137 (#1144) 4 years ago
Wim 274fb09ed4
Fix forward from hidden users (telegram). Closes #1131 (#1143)
Use ForwardDate to check if a message is forwarded.
If we have a nil ForwardedFrom then make this an unknown user.
4 years ago
Wim d44598a900
Add an option to disable sending HTML to matrix. Fixes #1022 (#1135) 4 years ago
Wim c9cfa59f54
Do not use webhooks when token is configured (slack) (fixes #1123) (#1134) 4 years ago
Tiago Epifânio 7062234331
Avoid creating invalid url when the user doesn't have an avatar (matrix) (#1130) 4 years ago
Qais Patankar 9754569525
Fix webhook EventUserAction messages being skipped (discord) (#1133)
Fixes #1132
4 years ago
Qais Patankar 52a071e34d
Fix #1049: missing space before embeds (discord) (#1124) 4 years ago
Qais Patankar 2d8f749e36
Fix #1120: replaceAction "_" crash (discord) (#1121) 4 years ago
Wim a18cb74f03 Bump version 4 years ago
Wim 6c442e239d
Release v1.17.4 (#1112) 4 years ago
Wim eaf92fca4d
Add an ID cache (discord). Fixes #1106 (#1111)
When a webhook "edits" a message, it does this by deleting the message
and creating a new one with the new content.

On creation of this new message, we'll get another ID then already is
know by the gateway in its id cache. So we add it in our own cache and
replace it whenever we want to edit/delete it again.
4 years ago
Wim 06b7bad714
Lowercase account names. Fixes #1108 (#1110) 4 years ago
Wim 19eec2ed03
Update Rhymen/go-whatsapp. Fixes #1107 (#1109) 4 years ago
Wim d99c54343a
Remove panics and retry polling on failure (msteams). Fixes #1104 (#1105) 4 years ago
Wim 308a110000 Bump version 4 years ago
Wim 4f406b2ce6
Release v1.17.3 (#1103) 4 years ago
Wim e564c555d7
Clip too long messages on 3000 length (slack). Fixes #1081 (#1102) 4 years ago
Wim f7ec9af9e8
Add extra space before colon in attachments (irc). Fixes #1089 (#1101) 4 years ago
Wim 4d93a774ce
Ignore non-critical errors (whatsapp). Fixes #1094 (#1100) 4 years ago
Wim 2595dd30bf
Update matterbridge/go-xmpp. Fixes #1097 (#1099) 4 years ago
Wim 9190365289
Add JoinDelay option (irc). Fixes #1084 (#1098) 4 years ago
Wim 57794b3b9f
Prevent image/message looping (slack). Fixes #1088 (#1096)
Also check for our matterbridge ID in Blocks set in SubMessages.
4 years ago
ldruschk 3c36f651be
Fix the behavior of ShowTopicChange and SyncTopic (#1086)
Currently, the "topic_change" events are ignored if both, 
ShowTopicChange and SyncTopic are set, and forwarded otherwise. 

This pull requests changes the behavior such that the events are 
only forwarded if one of those two config options is set to true 
and ignored otherwise.
4 years ago
ldruschk 8e6ddadba2
Relay Joins/Topic changes in RocketChat bridge (#1085)
This pull request properly sets the events EventJoinLeave and EventTopicChange for messages from the RocketChat bridge and drops messages which are neither one of those events nor plain messages.
4 years ago
Wim 8a87a71927
Update matterbridge/go-xmpp to add PEP-0030 support (#1095) 4 years ago
Qais Patankar 0047e6f523
Sort README bridge and library links (#1093) 4 years ago
Alexander 7183095a28
Implement User Avatar spoofing of XMPP users (#1090)
* Implement User Avatar spoofing of XMPP users
4 years ago
Wim 13c90893c7
Update matterbridge/Rocket.Chat.Go.SDK (#1087) 4 years ago
Wim 976fbcd07f Bump version 4 years ago
Wim d97b077e85
Release v1.17.2 (#1080) 4 years ago
Wim 8950575bfb
Update Rhymen/go-whatsapp vendor and whatsapp version (#1078) 4 years ago
Jerry Heiselman 11fc4c286f
Clarify terminology used in mapping group chat IDs to channels in config (#1079)
* Clarify embedded docs for channel specification

Should help with #1072
4 years ago
Wim 8d08e348a9
Reset start timestamp on reconnect (whatsapp). Fixes #1059 (#1064) 4 years ago
Wim a18807f19e
Update matterbridge/go-xmpp to add xmpp avatar support (#1070) 4 years ago
Wim 29f658fd3c Use DebugWriter after upstream changes (xmpp) 4 years ago
Wim a30bb8fed0 Sync matterbridge/go-xmpp with upstream 4 years ago
Wim 092ca1cd67
Update vendor slack-go/slack (#1068) 4 years ago
Wim 0df2539641
Use upstream yaegashi/msgraph.go/msauth (msteams) (#1067) 4 years ago
Wim 0f2d8a599c
Update vendor d5/tengo (#1066) 4 years ago
Wim 54b3143a1d Bump version 4 years ago
Wim 148f7d2a91
Release v1.17.1 (#1063) 4 years ago
Wim 1aa662f763
Update client version whatsapp. Fixes #1061 (#1062)
See https://github.com/Rhymen/go-whatsapp/issues/305
4 years ago
Alex Wigen 0b86b88de7
Remove build dependencies from final docker image (multistage build) (#1057)
This multistage build takes the resulting image size down from 346MB to
90MB.
4 years ago
Qais Patankar 98033b1ba7
Don't transmit typing events from ourselves (slack/discord) (#1056) 4 years ago